:root {
  --bg: #f6f2ea;
  --bg-alt: #efe8dd;
  --surface: rgba(255, 253, 249, 0.88);
  --surface-strong: #ffffff;
  --surface-tint: #f3eee5;
  --text: #101d24;
  --text-muted: #536067;
  --text-soft: #8a949a;
  --primary: #194f4d;
  --primary-dark: #0d3331;
  --primary-soft: #dce9e6;
  --primary-glow: rgba(25, 79, 77, 0.18);
  --accent: #a87440;
  --accent-soft: rgba(168, 116, 64, 0.14);
  --border: #e3dacd;
  --border-soft: #efe8de;
  --success: #2d8b5f;
  --shadow-sm: 0 4px 14px rgba(16, 29, 36, 0.05);
  --shadow: 0 20px 48px rgba(16, 29, 36, 0.08);
  --shadow-lg: 0 30px 72px rgba(16, 29, 36, 0.14);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --radius-pill: 999px;
  --ease-out: cubic-bezier(0.2, 0.7, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.36, 0.64, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-feature-settings: "ss01", "ss02", "cv11", "tnum";
  color: var(--text);
  background:
    radial-gradient(circle at 88% 8%, rgba(25, 79, 77, 0.10), transparent 30rem),
    radial-gradient(circle at 4% 32%, rgba(168, 116, 64, 0.13), transparent 28rem),
    radial-gradient(circle at 50% 110%, rgba(25, 79, 77, 0.06), transparent 36rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  background-attachment: scroll;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--primary-soft); color: var(--primary-dark); }

.page-shell {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* ----- Ambient ----- */
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}

.orb-1 {
  top: -10rem;
  right: -10rem;
  width: 32rem;
  height: 32rem;
  background: radial-gradient(circle, rgba(25, 79, 77, 0.22), transparent 70%);
}

.orb-2 {
  top: 30vh;
  left: -14rem;
  width: 28rem;
  height: 28rem;
  background: radial-gradient(circle, rgba(168, 116, 64, 0.18), transparent 70%);
}

.orb-3 {
  right: -16rem;
  bottom: -14rem;
  width: 36rem;
  height: 36rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
}

.grain { display: none; }

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 40rem;
  height: 40rem;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(25, 79, 77, 0.12), transparent 65%);
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 600ms var(--ease-out);
  z-index: 0;
  will-change: transform, opacity;
}

@media (hover: none) { .cursor-glow { display: none; } }

.container {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* ----- Topbar ----- */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
}

.brand-link {
  display: inline-flex;
  transition: transform 200ms var(--ease-spring);
}

.brand-link:hover { transform: translateY(-1px); }

.brand { width: 174px; }

.topnav {
  display: flex;
  gap: 0.2rem;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
}

.topnav a {
  padding: 0.55rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--text-muted);
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out);
}

.topnav a:hover {
  background: var(--primary-soft);
  color: var(--primary);
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-select-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lang-select-wrap::after {
  content: "";
  position: absolute;
  right: 0.85rem;
  top: 50%;
  width: 0.45rem;
  height: 0.45rem;
  border-right: 2px solid var(--text-muted);
  border-bottom: 2px solid var(--text-muted);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.lang-select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 2.5rem;
  padding: 0 2rem 0 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.72);
  color: var(--text-muted);
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-select:hover { background: var(--surface-strong); color: var(--primary); }
.lang-select:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Eyebrow ----- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 2.1rem;
  padding: 0 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.eyebrow-dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  animation: dot-pulse 2.6s ease-in-out infinite;
}

@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 3px var(--accent-soft); }
  50% { box-shadow: 0 0 0 6px rgba(168, 116, 64, 0.06); }
}

.eyebrow-accent {
  background: linear-gradient(135deg, rgba(25, 79, 77, 0.10), rgba(168, 116, 64, 0.08));
  color: var(--primary);
  border-color: rgba(25, 79, 77, 0.20);
}

/* ----- Hero ----- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.78fr);
  gap: 3rem;
  padding: 3rem 0 5rem;
  align-items: center;
  min-height: 78vh;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  max-width: 36rem;
}

.hero-title {
  margin: 0.3rem 0 0;
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.95;
  letter-spacing: -0.06em;
  font-weight: 800;
  color: var(--text);
}

.hero-title .word,
.section-title .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0 0.05em;
  margin: 0 -0.05em;
}

.hero-title .word-inner,
.section-title .word-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  filter: blur(8px);
  will-change: transform, opacity, filter;
  transition:
    transform 1s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    filter 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-title .word-inner.is-in,
.section-title .word-inner.is-in {
  transform: translateY(0);
  opacity: 1;
  filter: blur(0);
}

.section-title {
  margin: 0.3rem 0 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.05em;
  font-weight: 800;
  color: var(--text);
}

.lead {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.55;
  max-width: 38ch;
  color: var(--text-muted);
}

.hero-meta {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, auto));
  gap: 0 2rem;
  justify-content: start;
}

.hero-meta li {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding-left: 0.9rem;
  border-left: 1px solid var(--border);
}

.hero-meta strong {
  font-size: 0.9rem;
  color: var(--primary);
  font-weight: 800;
  letter-spacing: -0.005em;
}

.hero-meta span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ----- Hero visual / phone ----- */
.hero-visual {
  perspective: 1400px;
  display: flex;
  justify-content: center;
}

.phone-frame {
  position: relative;
  width: 100%;
  max-width: 380px;
  padding: 1rem;
  border-radius: 38px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(243, 238, 229, 0.95)),
    var(--surface-strong);
  border: 1px solid var(--border-soft);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.5),
    0 30px 70px -30px rgba(16, 29, 36, 0.35);
  transform-style: preserve-3d;
  will-change: transform;
}

.phone-glow { display: none; }

.phone-notch {
  position: absolute;
  top: 1.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 22px;
  border-radius: var(--radius-pill);
  background: #0d1418;
  z-index: 2;
  opacity: 0.85;
}

.screen {
  border-radius: 30px;
  padding: 1rem;
  background:
    radial-gradient(circle at top right, rgba(25, 79, 77, 0.08), transparent 13rem),
    radial-gradient(circle at 8% 34%, rgba(168, 116, 64, 0.10), transparent 13rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
  min-height: 540px;
}

.screen-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-top: 0.6rem;
}

.screen-head img { width: 124px; }

.lang-pill {
  min-height: 2rem;
  padding: 0 0.8rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--border-soft);
  color: var(--text-muted);
}

/* ----- Live scan demo ----- */
.scan-stage {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.biz-card {
  position: relative;
  border-radius: 18px;
  padding: 1rem 1.1rem;
  background: linear-gradient(135deg, #fdf9f1 0%, #f4ece0 100%);
  border: 1px solid var(--border);
  box-shadow: 0 18px 32px -22px rgba(16, 29, 36, 0.35);
  overflow: hidden;
  aspect-ratio: 1.7 / 1;
}

.biz-card-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: var(--primary);
  border-style: solid;
  border-width: 0;
  opacity: 0;
}

.biz-card-corner-tl { top: 8px; left: 8px; border-top-width: 2px; border-left-width: 2px; }
.biz-card-corner-tr { top: 8px; right: 8px; border-top-width: 2px; border-right-width: 2px; }
.biz-card-corner-bl { bottom: 8px; left: 8px; border-bottom-width: 2px; border-left-width: 2px; }
.biz-card-corner-br { bottom: 8px; right: 8px; border-bottom-width: 2px; border-right-width: 2px; }

.biz-card.is-scanning .biz-card-corner { opacity: 1; }

.biz-card-inner {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
  justify-content: space-between;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.biz-card-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  align-self: flex-end;
  min-width: 0;
}

.biz-card-mark {
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 6px;
  background: var(--primary);
  color: #fbf7f0;
  font-size: 0.7rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}

.biz-card-brand {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.02em;
}

.biz-card-text {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
}

.biz-card-name {
  font-size: 1rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.015em;
  line-height: 1.1;
}

.biz-card-role {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

.biz-card-meta {
  display: flex;
  flex-direction: column;
  gap: 0.05rem;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
  min-width: 0;
}

.biz-card-meta span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scan-line {
  position: absolute;
  left: 0;
  right: 0;
  height: 38%;
  top: -38%;
  background:
    linear-gradient(180deg,
      transparent 0%,
      rgba(25, 79, 77, 0.08) 30%,
      rgba(25, 79, 77, 0.22) 80%,
      rgba(25, 79, 77, 0.7) 100%);
  border-bottom: 2px solid var(--primary);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
}

.scan-fields {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.scan-fields li {
  display: grid;
  grid-template-columns: 4.4rem 1fr auto;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid var(--border-soft);
  opacity: 0;
  transform: translateY(8px);
  will-change: opacity, transform;
}

.scan-label {
  font-size: 0.66rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.scan-value {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scan-check {
  width: 1.2rem;
  height: 1.2rem;
  border-radius: 50%;
  background: var(--primary-soft);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 250ms var(--ease-out), transform 320ms var(--ease-spring);
}

.scan-fields li.is-shown { opacity: 1; transform: translateY(0); }
.scan-fields li.is-checked .scan-check { opacity: 1; transform: scale(1); }

.scan-toast {
  align-self: stretch;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-pill);
  background: linear-gradient(135deg, #1f5e5b 0%, var(--primary-dark) 100%);
  color: #fbf7f0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  opacity: 0;
  transform: translateY(8px);
  box-shadow: 0 14px 28px -14px rgba(16, 60, 58, 0.55);
}

.scan-toast.is-shown { opacity: 1; transform: translateY(0); }

.scan-toast-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: #7fd3a3;
  box-shadow: 0 0 0 4px rgba(127, 211, 163, 0.25);
}

/* ----- CTA / Buttons ----- */
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  --mag-x: 0px;
  --mag-y: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.2rem;
  padding: 0 1.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: 0.94rem;
  font-weight: 800;
  letter-spacing: -0.005em;
  cursor: pointer;
  transform: translate3d(0, 0, 0);
  transition:
    transform 220ms var(--ease-spring),
    background-color 200ms var(--ease-out),
    box-shadow 250ms var(--ease-out),
    border-color 200ms var(--ease-out);
}

.button-lg {
  min-height: 3.6rem;
  padding: 0 1.8rem;
  font-size: 1rem;
}

.button-sm {
  min-height: 2.5rem;
  padding: 0 1rem;
  font-size: 0.82rem;
}

.button:hover {
  transform: translate3d(var(--mag-x), calc(var(--mag-y) - 2px), 0);
}

.button:active {
  transform: translate3d(0, 0, 0);
}

.button-arrow {
  display: inline-flex;
  transition: transform 240ms var(--ease-spring);
}

.button:hover .button-arrow {
  transform: translateX(3px);
}

.button-primary {
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-color: var(--primary-dark);
  color: #fbf7f0;
  box-shadow:
    0 12px 28px rgba(16, 60, 58, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.20);
  position: relative;
  overflow: hidden;
}

.button-primary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--ripple-x, 50%) var(--ripple-y, 50%), rgba(255, 255, 255, 0.25), transparent 50%);
  opacity: 0;
  transition: opacity 250ms ease;
  pointer-events: none;
}

.button-primary:hover::before { opacity: 1; }

.button-primary:hover {
  box-shadow:
    0 18px 36px rgba(16, 60, 58, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.button-primary:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.button-ghost {
  background: transparent;
  border-color: rgba(25, 79, 77, 0.25);
  color: var(--primary);
}

.button-ghost:hover {
  background: rgba(255, 255, 255, 0.6);
  border-color: var(--primary);
}

.button-ghost:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

/* ----- Section base ----- */
.section {
  padding: 5rem 0;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
  align-items: flex-start;
}

/* ----- Workflow / Steps ----- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
  counter-reset: step;
}

.step {
  display: grid;
  grid-template-columns: minmax(8rem, 14vw) minmax(0, 1fr);
  gap: 2rem;
  padding: 2rem 0;
  align-items: center;
  border-top: 1px solid var(--border-soft);
  position: relative;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 900ms cubic-bezier(0.16, 1, 0.3, 1), transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.step:nth-child(odd) { transform: translate(-22px, 28px); }
.step:nth-child(even) { transform: translate(22px, 28px); }

.step.is-active {
  opacity: 1;
  transform: translate(0, 0);
}

.step:last-child {
  border-bottom: 1px solid var(--border-soft);
}

.step::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--primary) 0%, transparent 100%);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 800ms var(--ease-out);
}

.step.is-active::after {
  transform: scaleX(1);
}

.step-num {
  font-size: clamp(3.6rem, 7vw, 6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--primary);
  font-variant-numeric: tabular-nums;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.step-body h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
}

.step-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.5;
  max-width: 48ch;
}

/* ----- Teams ----- */
.section-teams {
  padding-top: 1rem;
}

.teams-card {
  position: relative;
  padding: 3.5rem;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 12% 0%, rgba(168, 116, 64, 0.12), transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(25, 79, 77, 0.14), transparent 40%),
    var(--surface);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.teams-head {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 52ch;
  margin-bottom: 2rem;
}

.teams-points {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: grid;
  gap: 0.85rem;
  max-width: 60ch;
}

.teams-points li {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 1.04rem;
  line-height: 1.5;
  color: var(--text);
  letter-spacing: -0.005em;
}

.teams-bullet {
  flex: 0 0 auto;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 0.6rem;
  box-shadow: 0 0 0 5px var(--primary-soft);
}

/* ----- Footer ----- */
.site-footer {
  margin: 3rem 0 2rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid var(--border-soft);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.footer-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-soft);
}

.footer-brand img {
  width: 154px;
  margin-bottom: 0.6rem;
}

.footer-brand p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 36ch;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  align-items: flex-end;
  text-align: right;
}

.footer-privacy {
  font-size: 0.88rem;
  color: var(--text-muted);
  letter-spacing: -0.005em;
}

.footer-meta a {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms var(--ease-out);
}

.footer-meta a:hover {
  border-bottom-color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.1rem;
  font-size: 0.84rem;
  color: var(--text-soft);
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ----- Scroll reveal ----- */
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; }
  .step { opacity: 1; transform: none; }
  .hero-title .word-inner,
  .section-title .word-inner { transform: none !important; filter: none !important; }
  .scan-fields li { opacity: 1; transform: none; }
  .orb { animation: none; }
}

/* ----- Responsive ----- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding: 1.5rem 0 3rem;
  }

  .hero-visual {
    order: -1;
    perspective: none;
  }

  .phone-frame {
    max-width: min(320px, calc(100vw - 2.4rem));
    transform: none !important;
    will-change: auto;
  }

  .topnav {
    display: none;
  }

  .section {
    padding: 3.5rem 0;
  }

  .step {
    grid-template-columns: 1fr;
    gap: 0.6rem;
    padding: 1.6rem 0;
  }

  .teams-card {
    padding: 2.25rem;
  }

  .footer-row {
    grid-template-columns: 1fr;
  }

  .footer-meta {
    align-items: flex-start;
    text-align: left;
  }
}

@media (max-width: 640px) {
  body {
    background:
      radial-gradient(circle at 90% 0%, rgba(25, 79, 77, 0.08), transparent 18rem),
      linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
    text-rendering: auto;
  }

  .container {
    width: min(100% - 1.2rem, 1160px);
  }

  .ambient {
    display: none;
  }

  .topbar {
    padding: 1.35rem 0 1rem;
  }

  .hero {
    gap: 1.45rem;
    padding: 0.75rem 0 3rem;
  }

  .topbar-cta {
    display: none;
  }

  .phone-frame {
    padding: 0.8rem;
    border-radius: 32px;
    box-shadow:
      inset 0 0 0 1px rgba(255, 255, 255, 0.45),
      0 18px 42px -28px rgba(16, 29, 36, 0.28);
  }

  .phone-notch {
    top: 1.05rem;
    width: 78px;
    height: 20px;
  }

  .screen {
    min-height: 0;
    border-radius: 25px;
    padding: 0.85rem;
  }

  .screen-head {
    margin-bottom: 0.8rem;
    padding-top: 0.45rem;
  }

  .screen-head img {
    width: 108px;
  }

  .lang-pill {
    min-height: 1.8rem;
    padding: 0 0.7rem;
    font-size: 0.68rem;
  }

  .scan-stage {
    gap: 0.55rem;
  }

  .biz-card {
    aspect-ratio: 1.85 / 1;
    border-radius: 15px;
    padding: 0.85rem 0.95rem;
    box-shadow: 0 12px 22px -18px rgba(16, 29, 36, 0.32);
  }

  .biz-card-corner {
    width: 12px;
    height: 12px;
  }

  .biz-card-name {
    font-size: 0.92rem;
  }

  .biz-card-role {
    font-size: 0.66rem;
  }

  .biz-card-meta {
    font-size: 0.58rem;
  }

  .scan-fields {
    gap: 0.35rem;
  }

  .scan-fields li {
    grid-template-columns: 3.75rem minmax(0, 1fr) 1rem;
    gap: 0.42rem;
    min-height: 2.35rem;
    padding: 0.48rem 0.68rem;
    border-radius: 10px;
    will-change: auto;
  }

  .scan-label {
    font-size: 0.56rem;
    letter-spacing: 0.07em;
  }

  .scan-value {
    font-size: 0.76rem;
    min-width: 0;
  }

  .scan-check {
    width: 1rem;
    height: 1rem;
  }

  .scan-check svg {
    width: 10px;
    height: 10px;
  }

  .scan-toast {
    min-height: 2.6rem;
    padding: 0.56rem 0.82rem;
    font-size: 0.76rem;
  }

  .hero-title .word-inner,
  .section-title .word-inner {
    filter: none;
  }

  .hero-meta {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  .hero-meta li {
    border-left: none;
    border-top: 1px solid var(--border);
    padding: 0.5rem 0 0;
  }

  .hero-meta li:first-child {
    border-top: none;
    padding-top: 0;
  }

  .cta-row { flex-direction: column; }
  .button { width: 100%; }
  .brand { width: 140px; }
  .site-footer { padding: 1.4rem; }
  .teams-card { padding: 1.75rem; }
}
