:root {
  --bg: #05100a;
  --panel: rgba(9,31,18,.72);
  --panel-strong: rgba(11,35,22,.92);
  --line: rgba(222,247,223,.11);
  --line-strong: rgba(222,247,223,.2);
  --text: #f8f8f2;
  --muted: #d9e3d7;
  --muted-strong: #a8b9a8;
  --accent: #2ecc71;
  --accent-soft: rgba(46,204,113,.28);
  --accent-deep: #19af59;
  --shadow: 0 24px 70px rgba(0,0,0,.38);
  --shadow-lift: 0 36px 90px rgba(0,0,0,.5);
  --radius: 26px;
  --radius-sm: 14px;
  --radius-device: 32px;
  --container: 1180px;
  --gutter: 48px;
  --font-serif: "Newsreader", Georgia, serif;
  --font-mono: "IBM Plex Mono", "SFMono-Regular", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-serif);
  background:
    radial-gradient(circle at 80% 8%, rgba(46,204,113,.24), transparent 24rem),
    radial-gradient(circle at 18% 42%, rgba(36,109,63,.18), transparent 22rem),
    linear-gradient(rgba(248,248,242,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,248,242,.028) 1px, transparent 1px),
    var(--bg);
  background-size: auto, auto, 36px 36px, 36px 36px, auto;
  line-height: 1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a {
  color: inherit;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, opacity .18s ease, transform .18s ease, box-shadow .18s ease;
}
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input { font: inherit; color: inherit; }
.container { width: min(calc(100% - 2 * var(--gutter)), var(--container)); margin: 0 auto; }
.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 removed — no eyebrow elements remain in markup. */

.highlight-wash { position: relative; display: inline-block; padding-inline: 0.12em; }
.highlight-wash::before {
  content: "";
  position: absolute;
  inset: 0.18em -0.05em 0.06em -0.05em;
  background: var(--accent-soft);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 480ms cubic-bezier(.6,.15,.3,1);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(46,204,113,.12);
  background: rgba(5,16,10,.78);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.nav {
  min-height: 88px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand {
  width: max-content;
  font-size: 2.15rem;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
}
.brand span { color: var(--accent); }
.nav__right {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 16px;
}
.locale-switcher {
  display: flex;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted-strong);
}
.locale-switcher a[aria-current="page"] { color: var(--text); }
.locale-switcher a:hover { color: var(--accent); }

/* section-divider deprecated — sections now separate by whitespace + chapter eyebrow.
   Class kept for legacy markup but renders nothing. */
.section-divider { display: none; }

.hero {
  position: relative;
  overflow: hidden;
  padding: 96px 0 88px;
  background:
    radial-gradient(circle at 78% 17%, rgba(68,233,130,.32), transparent 21rem),
    radial-gradient(circle at 72% 58%, rgba(46,204,113,.16), transparent 18rem),
    linear-gradient(180deg, rgba(8,30,17,.36), rgba(5,16,10,.12));
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, rgba(46,204,113,.22) 1px, transparent 1.5px),
    linear-gradient(rgba(248,248,242,.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248,248,242,.02) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 78%, transparent 100%);
  opacity: .38;
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .9fr);
  gap: 56px;
  align-items: center;
}
.hero h1 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -.055em;
  font-size: clamp(4.6rem, 8.6vw, 7.2rem);
  line-height: .86;
  max-width: 12ch;
}
.hero__subhead {
  margin: 32px 0 0;
  max-width: 48ch;
  font-size: 1.5rem;
  line-height: 1.4;
  color: var(--text);
  font-weight: 400;
  opacity: .94;
}
.hero__subhead br { content: ""; }

.hero__cta { margin-top: 36px; }

.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
  min-height: 640px;
}
.hero__visual::before {
  content: "";
  position: absolute;
  inset: 6% -12% 4% -4%;
  z-index: -1;
  border-radius: 999px;
  background: radial-gradient(circle at 56% 50%, rgba(46,204,113,.3), transparent 58%);
  filter: blur(18px);
  animation: hero-glow-drift 7.5s ease-in-out infinite;
}
.hero__visual > .device--large {
  width: min(86%, 420px);
  transform: perspective(1200px) rotateY(-8deg) rotateZ(2deg);
  animation: hero-phone-float 7.2s ease-in-out infinite;
}

.device { margin: 0; }
.device__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-device);
  background: #010503;
  padding: 10px;
  box-shadow: var(--shadow);
}
.device__frame img { width: 100%; border-radius: 22px; }

.hero-screens {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 19.5;
}
.hero-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 22px;
  opacity: 0;
  transition: opacity 600ms ease;
}
.hero-screen.is-active { opacity: 1; }

@keyframes hero-phone-float {
  0%, 100% { transform: perspective(1200px) rotateY(-8deg) rotateZ(2deg) translate3d(0,0,0); }
  50%      { transform: perspective(1200px) rotateY(-7deg) rotateZ(1deg) translate3d(0,-14px,0); }
}
@keyframes hero-glow-drift {
  0%, 100% { opacity: .65; transform: scale(.98); }
  50%      { opacity: .9;  transform: scale(1.04) translate3d(-2%,-2%,0); }
}

.problem { padding: 96px 0 120px; }
.problem__panel {
  position: relative;
  max-width: 880px;
  padding: 12px 0 12px 48px;
}
.problem__panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(46,204,113,.4) 60%, rgba(46,204,113,.08) 100%);
  box-shadow: 0 0 18px rgba(46,204,113,.35);
}
.problem__quote {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  color: var(--text);
}
.problem__kicker {
  margin: 30px 0 0;
  max-width: 56ch;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.62;
}

.pillars {
  padding: 56px 0 80px;
}
.pillars__intro {
  max-width: 760px;
  margin-bottom: 56px;
}
.pillars__intro h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(46,204,113,.18);
  border-bottom: 1px solid rgba(46,204,113,.08);
}
.pillar {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto auto 1fr;
  align-content: start;
  padding: 44px 36px 56px;
  border-right: 1px solid rgba(46,204,113,.1);
  background: transparent;
  transition: background .35s ease;
}
.pillar:last-child { border-right: 0; }
.pillar::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 0;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transition: height .35s ease, opacity .35s ease;
  opacity: 0;
}
.pillar:hover {
  background:
    radial-gradient(circle at 50% -10%, rgba(46,204,113,.07), transparent 55%);
}
.pillar:hover::before { height: 2px; opacity: 1; }

.pillar__num {
  margin: 0 0 8px;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .28em;
  color: var(--accent);
}
.pillar__eyebrow {
  margin: 0 0 28px;
  font-family: var(--font-mono);
  font-size: 1rem;
  letter-spacing: -.005em;
  color: var(--text);
  text-transform: lowercase;
}
.pillar h3 {
  margin: 0;
  font-weight: 500;
  font-size: 1.7rem;
  line-height: 1.14;
  letter-spacing: -.03em;
  max-width: 20ch;
}
.pillar__body {
  margin: 18px 0 0;
  font-family: var(--font-mono);
  font-size: .9rem;
  line-height: 1.62;
  color: var(--muted);
  max-width: 32ch;
}
.pillar .device--medium {
  width: min(100%, 280px);
  margin: 44px auto 0;
  align-self: end;
  justify-self: center;
  transition: transform .5s ease;
}
.pillar:hover .device--medium { transform: translateY(-6px); }
.pillar .device__frame {
  padding: 8px;
  box-shadow:
    0 30px 60px rgba(0,0,0,.5),
    0 0 80px rgba(46,204,113,.1);
}

.pillar:hover .highlight-wash::before,
.pillar:focus-within .highlight-wash::before { transform: scaleX(1); }

.flow {
  padding: 64px 0 96px;
  background:
    radial-gradient(circle at 88% 12%, rgba(46,204,113,.08), transparent 28rem),
    transparent;
}
.flow__intro {
  max-width: 760px;
  margin-bottom: 64px;
}
.flow__intro h2 {
  margin: 0;
  font-weight: 600;
  font-size: clamp(2.6rem, 4.6vw, 4rem);
  line-height: 1;
  letter-spacing: -.05em;
}
.flow__steps {
  display: grid;
  gap: 110px;
}
.flow-step {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 1fr);
  gap: 64px;
  align-items: center;
}
.flow-step--reverse { grid-template-columns: minmax(280px, 1fr) minmax(0, 1.15fr); }
.flow-step--reverse .flow-step__copy { order: 2; }
.flow-step--reverse .device--flow { order: 1; }

.flow-step__num {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: .82rem;
  letter-spacing: .2em;
  color: var(--accent);
}
.flow-step h3 {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2rem, 3.4vw, 2.9rem);
  line-height: 1.05;
  letter-spacing: -.04em;
  max-width: 18ch;
}
.flow-step__body {
  margin: 22px 0 0;
  max-width: 44ch;
  font-family: var(--font-mono);
  font-size: .94rem;
  color: var(--muted);
  line-height: 1.6;
}
.device--flow { width: min(100%, 360px); margin-inline: auto; }
.device--flow .device__frame { padding: 9px; }

.flow-step:hover .highlight-wash::before,
.flow-step:focus-within .highlight-wash::before { transform: scaleX(1); }

@supports (animation-timeline: view()) {
  .flow-step .device,
  .flow-step .flow-step__copy {
    animation: scroll-flow-in both ease-out;
    animation-timeline: view();
    animation-range: entry 8% cover 38%;
    will-change: opacity, transform;
  }
}
@keyframes scroll-flow-in {
  from { opacity: .35; transform: translateY(36px); }
  to   { opacity: 1;   transform: translateY(0); }
}

.store-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  padding: 12px 22px 12px 18px;
  border: 1px solid rgba(248,248,242,.16);
  border-radius: 14px;
  background: rgba(4,17,9,.55);
  color: var(--text);
  font-family: var(--font-mono);
  cursor: not-allowed;
  opacity: .7;
}
.store-badge__mark { display: grid; width: 28px; height: 28px; place-items: center; flex: 0 0 28px; }
.store-badge__mark svg { width: 28px; height: 28px; fill: currentColor; }
.store-badge__copy { display: grid; line-height: 1.05; }
.store-badge__copy small { font-size: .58rem; color: var(--muted-strong); }
.store-badge__copy strong { margin-top: 3px; font-size: 1.04rem; font-weight: 500; }
.store-badge__pill {
  margin-left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(46,204,113,.4);
  font-size: .64rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(46,204,113,.08);
}
.store-badge--hero {
  width: max-content;
  min-height: 72px;
  padding: 12px 24px 12px 20px;
  gap: 14px;
  border-radius: 16px;
  border-color: rgba(46,204,113,.28);
  background:
    radial-gradient(circle at 30% -20%, rgba(46,204,113,.16), transparent 60%),
    rgba(4,17,9,.7);
  opacity: .92;
}
.store-badge--hero .store-badge__mark { width: 34px; height: 34px; flex: 0 0 34px; }
.store-badge--hero .store-badge__mark svg { width: 34px; height: 34px; }
.store-badge--hero .store-badge__copy small { font-size: .64rem; }
.store-badge--hero .store-badge__copy strong { font-size: 1.18rem; }
.store-badge--nav {
  min-height: 44px;
  padding: 6px 14px 6px 12px;
  gap: 10px;
  border-radius: 10px;
  opacity: .85;
}
.store-badge--nav .store-badge__mark { width: 20px; height: 20px; flex: 0 0 20px; }
.store-badge--nav .store-badge__mark svg { width: 20px; height: 20px; }
.store-badge--nav .store-badge__copy small { font-size: .54rem; }
.store-badge--nav .store-badge__copy strong { font-size: .84rem; margin-top: 1px; }
.store-badge--nav .store-badge__pill {
  margin-left: 6px;
  padding: 3px 8px;
  font-size: .56rem;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 0 0 48px;
  border-top: 1px solid rgba(46,204,113,.18);
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(46,204,113,.14), transparent 70%),
    linear-gradient(180deg, rgba(7,22,13,.4), transparent 50%);
}
.site-footer::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 50%;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 22px rgba(46,204,113,.7),
    0 0 0 4px rgba(5,16,10,1);
}

.footer__cta {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 36px;
  padding: 96px 0 72px;
}

.footer__close {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 56px 0 0;
  margin-top: 32px;
  border-top: 1px solid rgba(46,204,113,.08);
}
.footer__close .brand--footer {
  display: inline-block;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1;
}
.footer__tagline {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .88rem;
  color: var(--muted);
  letter-spacing: -.005em;
}
.footer__close .footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 32px;
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: .82rem;
  color: var(--muted);
}
.footer__close .footer__links a {
  position: relative;
  padding: 4px 0;
  transition: color .2s ease;
}
.footer__close .footer__links a::after {
  content: "";
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .28s cubic-bezier(.6,.15,.3,1);
}
.footer__close .footer__links a:hover { color: var(--text); }
.footer__close .footer__links a:hover::after,
.footer__close .footer__links a:focus-visible::after { transform: scaleX(1); }

.footer__close .footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 32px;
  padding: 22px 0 0;
  border-top: 1px solid rgba(46,204,113,.06);
  font-family: var(--font-mono);
  font-size: .76rem;
  color: var(--muted-strong);
}
.footer__copyright { margin: 0; }
.footer__cta-title {
  margin: 0;
  font-weight: 500;
  font-size: clamp(2.4rem, 4.8vw, 3.8rem);
  line-height: 1.04;
  letter-spacing: -.04em;
  max-width: 18ch;
}
.store-badge--footer {
  width: fit-content;
  min-height: 76px;
  padding: 14px 26px 14px 22px;
  gap: 16px;
  border-radius: 18px;
  border-color: rgba(46,204,113,.32);
  background:
    radial-gradient(circle at 30% -20%, rgba(46,204,113,.18), transparent 60%),
    rgba(4,17,9,.7);
  opacity: .94;
}
.store-badge--footer .store-badge__mark { width: 34px; height: 34px; flex: 0 0 34px; }
.store-badge--footer .store-badge__mark svg { width: 34px; height: 34px; }
.store-badge--footer .store-badge__copy small { font-size: .64rem; }
.store-badge--footer .store-badge__copy strong { font-size: 1.18rem; }

@media (max-width: 1100px) {
  :root { --gutter: 32px; }
  .hero__grid { gap: 32px; }
  .hero__visual { min-height: 540px; }
  .hero__visual > .device--large { width: min(92%, 360px); }
  .pillar { padding: 36px 24px 44px; }
  .pillar .device--medium { width: min(100%, 240px); }
  .flow-step, .flow-step--reverse {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 1fr);
    gap: 40px;
  }
  .device--flow { width: min(100%, 320px); }
  .problem__panel { padding: 12px 0 12px 36px; }
}

@media (max-width: 760px) {
  :root { --gutter: 20px; }

  /* nav stays sticky on mobile too — only adjust spacing */
  .nav { min-height: 72px; grid-template-columns: 1fr auto; gap: 14px; }
  .nav__right { gap: 10px; }
  .store-badge--nav .store-badge__copy { display: none; }
  .store-badge--nav { padding: 8px 12px; }
  .store-badge--nav .store-badge__pill { margin-left: 4px; }

  .hero { padding: 36px 0 56px; }
  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__content { order: 2; text-align: center; display: grid; justify-items: center; }
  .hero__visual { order: 1; min-height: 380px; }
  .hero__visual > .device--large { width: min(74vw, 320px); }
  .hero h1 { font-size: clamp(3.6rem, 14vw, 5.4rem); margin-inline: auto; }
  .hero__subhead { font-size: 1.16rem; max-width: 36ch; margin-inline: auto; }
  .hero__cta { display: flex; justify-content: center; }
  .store-badge--hero { width: max-content; max-width: 100%; }
  .store-badge--hero .store-badge__copy { text-align: center; justify-items: center; }

  .problem { padding: 56px 0 72px; }
  .problem__panel { padding: 8px 0 8px 28px; }
  .problem__panel::before { top: 12px; bottom: 12px; }
  .problem__quote { font-size: clamp(2rem, 9vw, 2.6rem); }
  .problem__kicker { font-size: .94rem; }

  .pillars { padding: 32px 0 56px; }
  .pillars__grid {
    grid-template-columns: 1fr;
    border-top: 0;
    border-bottom: 0;
  }
  .pillar {
    border-right: 0;
    border-top: 1px solid rgba(46,204,113,.14);
    padding: 44px 24px 48px;
    text-align: center;
    justify-items: center;
  }
  .pillar h3 { max-width: 22ch; margin-inline: auto; }
  .pillar__body { max-width: 32ch; margin-inline: auto; }
  .pillar .device--medium { width: min(70%, 280px); margin-top: 36px; }

  .flow { padding: 56px 0 72px; }
  .flow__intro { text-align: center; margin-inline: auto; }
  .flow__steps { gap: 72px; }
  .flow-step, .flow-step--reverse {
    grid-template-columns: 1fr;
    gap: 28px;
    text-align: center;
  }
  .flow-step__copy { justify-items: center; }
  .flow-step h3 { max-width: 22ch; margin-inline: auto; }
  .flow-step__body { max-width: 36ch; margin-inline: auto; }
  .flow-step--reverse .flow-step__copy { order: 1; }
  .flow-step--reverse .device--flow { order: 2; }
  .device--flow { width: min(72%, 300px); }

  .site-footer { padding: 0 0 48px; }
  .footer__cta { padding: 72px 0 56px; gap: 28px; }
  .footer__close { padding: 44px 0 0; margin-top: 24px; gap: 12px; }
  .footer__close .brand--footer { font-size: 1.85rem; }
  .footer__close .footer__links { gap: 10px 22px; }
  .footer__close .footer__bottom { margin-top: 24px; padding-top: 20px; }
}

@media (max-width: 480px) {
  .brand { font-size: 1.85rem; }
  .hero h1 { font-size: 3.4rem; }
  .pillar h3 { font-size: 1.55rem; }
  .flow-step h3 { font-size: 1.7rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
