/* ===== Tokens ===== */
:root {
  --font-display: "Oswald", sans-serif;
  --font-body: "Montserrat", sans-serif;
  --font-weight-body: 400;
  --font-weight-ui: 500;
  --font-weight-subheading: 600;
  --font-weight-display: 700;

  --navy: #132E34;
  --navy-deep: #0E2329;
  --sage: #8AA38B;
  --forest: #3B665F;
  --sage-bg: #EDF2EC;
  --offwhite: #F5F0E8;
  --white: #FFFFFF;
  --text: #1B2A2D;
  --text-2: #5E696D;
  --border: rgba(19,46,52,0.1);
  --warm: #E9DDC9;
  --peach: #F2D3B0;
  --shadow-soft: 0 20px 40px rgba(17, 32, 36, 0.07);

  --fs-hero: clamp(3rem, 6vw, 6rem);
  --fs-display: clamp(2.2rem, 3.7vw, 3.9rem);
  --fs-sub: clamp(1.2rem, 1.8vw, 1.7rem);
  --fs-body: clamp(1rem, 1.2vw, 1.125rem);
  --fs-small: 0.8125rem;

  --radius: 18px;
  --radius-sm: 12px;
  --maxw: 1200px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(4.25rem, 8vw, 7.5rem);
}

/* ===== Base ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
body {
  margin: 0;
  background: linear-gradient(180deg, #f7f3ec 0%, #f3efe8 100%);
  color: var(--text);
  font-family: var(--font-body); font-weight: var(--font-weight-body);
  font-size: var(--fs-body); line-height: 1.7;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 10% 0%, rgba(110,155,138,0.08), transparent 24%),
              radial-gradient(circle at 90% 10%, rgba(242,211,176,0.10), transparent 28%);
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
p { margin: 0 0 1rem; max-width: 62ch; line-height: 1.7; }
h1, h2, h3, h4 { margin: 0; color: var(--navy); }

h1, .display-heading {
  font-family: var(--font-display); font-weight: var(--font-weight-display);
  text-transform: uppercase; letter-spacing: 0.04em; line-height: 0.95;
  font-size: var(--fs-display); overflow-wrap: break-word;
}
.display-heading--hero { font-size: var(--fs-hero); letter-spacing: 0.02em; }
.display-heading em, h1 em { font-style: normal; color: var(--forest); }
h2, h3, .subheading {
  font-family: var(--font-body); font-weight: var(--font-weight-subheading);
  line-height: 1.35; text-transform: none; letter-spacing: 0;
}
h2 { font-size: var(--fs-sub); }
h3 { font-size: 1.125rem; }
.eyebrow {
  font-weight: var(--font-weight-ui); font-size: var(--fs-small);
  letter-spacing: .08em; text-transform: uppercase; color: var(--forest); margin: 0 0 1rem;
}
.lead { color: var(--text-2); }
.small { font-size: var(--fs-small); color: var(--text-2); line-height: 1.6; }
.stat-num { font-family: var(--font-display); font-weight: 700; letter-spacing: .05em; line-height: 1; color: var(--navy); }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }
section { padding: var(--section-y) 0; position: relative; }
.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .6rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--forest); outline-offset: 3px; border-radius: 6px; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  min-height: 48px; padding: .8rem 1.5rem; border-radius: 999px; cursor: pointer;
  font: var(--font-weight-ui) .9375rem var(--font-body); text-decoration: none;
  border: 1.5px solid var(--navy); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
  box-shadow: 0 10px 20px rgba(19, 59, 54, 0.08);
}
.btn--primary {
  background: linear-gradient(135deg, var(--navy) 0%, #1f4d4a 100%);
  color: #fff;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 18px 28px rgba(19,59,54,.12); }
.btn--ghost { background: rgba(255,255,255,0.5); color: var(--navy); }
.btn--ghost:hover { background: rgba(255,255,255,0.9); }
.btn[disabled] { opacity: .45; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 242, 234, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; gap: 1rem; }
.brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; font-size: 1.25rem; color: var(--navy); text-decoration: none; }
.nav__links { display: flex; gap: 1.75rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { font-weight: var(--font-weight-ui); font-size: .875rem; text-decoration: none; color: var(--text-2); padding: .5rem 0; border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.nav__links a:hover, .nav__links a.active { color: var(--navy); border-color: var(--sage); }
.nav__cta { min-height: 42px; padding: .5rem 1.25rem; }
.nav__toggle { display: none; background: none; border: 1.5px solid var(--border); border-radius: 10px; width: 46px; height: 46px; cursor: pointer; color: var(--navy); }
@media (max-width: 1023px) {
  .nav__toggle { display: inline-grid; place-items: center; }
  .nav__links { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--offwhite); border-bottom: 1px solid var(--border); padding: .5rem var(--pad) 1rem; display: none; }
  .nav__links.open { display: flex; }
  .nav__links a { display: block; padding: .9rem 0; border-bottom: 1px solid var(--border); }
  .nav__cta { display: none; }
}

/* ===== Phone mockup ===== */
.phone {
  --w: 260px; width: var(--w); aspect-ratio: 390 / 812; flex: none;
  background: var(--offwhite); border: 7px solid var(--navy); border-radius: 34px;
  box-shadow: 0 24px 50px -18px rgba(16,47,60,.35); overflow: hidden; position: relative;
  font-size: 11px; line-height: 1.4; color: var(--text); text-align: left;
}
.phone p { margin: 0; max-width: none; line-height: 1.4; }
.phone--sm { --w: 200px; font-size: 9px; border-width: 6px; border-radius: 28px; }
.scr { padding: 1.4em 1.1em 0; height: 100%; display: flex; flex-direction: column; gap: .7em; }
.scr__brand { font-family: var(--font-display); font-weight: 700; letter-spacing: .2em; font-size: 1.3em; color: var(--navy); }
.scr__title { font-family: var(--font-body); font-weight: 600; font-size: 1.55em; color: var(--navy); line-height: 1.25; margin: 0; }
.scr__sub { color: var(--text-2); font-size: .95em; }
.scr__prog { display: flex; gap: .3em; }
.scr__prog i { flex: 1; height: 3px; border-radius: 3px; background: var(--border); }
.scr__prog i.on { background: var(--forest); }
.row { display: flex; align-items: center; justify-content: space-between; gap: .6em; padding: .8em .9em; border: 1px solid var(--border); border-radius: 10px; background: var(--white); font-weight: 500; }
.row small { display: block; font-weight: 400; color: var(--text-2); font-size: .9em; }
.row.sel { background: var(--sage-bg); border-color: var(--sage); }
.row .tick { color: var(--forest); font-weight: 700; }
.pill { background: var(--navy); color: #fff; text-align: center; padding: .85em; border-radius: 999px; font-weight: 500; margin-top: auto; }
.tabbar { margin-top: auto; display: flex; justify-content: space-around; padding: .8em 0 1em; border-top: 1px solid var(--border); color: var(--text-2); font-size: .85em; margin-left: -1.3em; margin-right: -1.3em; background: var(--offwhite); }
.tabbar b { color: var(--forest); font-weight: 600; }
.pill + .tabbar { margin-top: .7em; }
.bubble { padding: .8em .9em; border-radius: 12px; max-width: 88%; }
.bubble--me { align-self: flex-end; background: var(--navy); color: #fff; border-bottom-right-radius: 3px; }
.bubble--ai { align-self: flex-start; background: var(--white); border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.toggle { width: 2.6em; height: 1.5em; border-radius: 999px; background: var(--border); position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; top: .15em; left: .15em; width: 1.2em; height: 1.2em; border-radius: 50%; background: #fff; }
.toggle.on { background: var(--forest); } .toggle.on::after { left: 1.25em; }
.bars { display: flex; align-items: flex-end; gap: .4em; height: 6em; padding: .5em; background: var(--white); border: 1px solid var(--border); border-radius: 10px; }
.bars i { flex: 1; background: var(--sage); border-radius: 3px 3px 0 0; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3em; text-align: center; }
.cal i { font-style: normal; padding: .45em 0; border-radius: 50%; background: var(--white); font-size: .9em; }
.cal i.m { background: var(--sage-bg); } .cal i.h { background: var(--sage); color: #fff; }
.art { display: flex; gap: .7em; align-items: center; }
.art .th { width: 3.6em; height: 3.6em; border-radius: 8px; background: var(--warm); flex: none; }
.art:nth-child(2n) .th { background: var(--sage-bg); }
.scr-mascot { width: 5em; margin: 0 auto; }

/* ===== Hero ===== */
.hero {
  padding-top: clamp(2.5rem, 6vw, 5rem);
  background: linear-gradient(180deg, rgba(255,255,255,0.15), rgba(237,242,236,0.4));
}
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; }
.hero h1 { margin-bottom: 1.5rem; }
.hero__phones {
  position: relative;
  display: flex;
  justify-content: center;
  min-height: 520px;
}
.hero__phones .phone {
  position: absolute;
  --rot: 0deg;
  border-color: rgba(19, 59, 54, 0.8);
  box-shadow: var(--shadow-soft);
  animation: float 9s ease-in-out infinite;
}
.hero__phones .phone:nth-child(1) { left: 2%; top: 60px; --rot: -5deg; --w: 220px; animation-delay: .5s; }
.hero__phones .phone:nth-child(2) { left: 28%; top: 0; z-index: 2; --w: 250px; animation-delay: 1s; }
.hero__phones .phone:nth-child(3) { right: 0; top: 80px; --rot: 5deg; --w: 220px; animation-delay: 1.5s; }
.hero__bear { position: absolute; width: 130px; right: -6px; bottom: -22px; z-index: 3; filter: drop-shadow(0 12px 18px rgba(17,42,37,0.12)); animation: bob 7s ease-in-out infinite; }
@media (max-width: 1023px) {
  .hero__grid { grid-template-columns: minmax(0,1fr); }
  .hero__phones { min-height: 500px; max-width: 560px; margin: 0 auto; width: 100%; }
}
@media (max-width: 600px) {
  .hero__phones { min-height: 420px; }
  .hero__phones .phone:nth-child(1), .hero__phones .phone:nth-child(3) { display: none; }
  .hero__phones .phone:nth-child(2) { position: relative; left: auto; --w: 230px; }
  .hero__bear { width: 100px; right: 4%; }
}

/* ===== Problem ===== */
.problem { background: linear-gradient(135deg, #122d31 0%, #143c3a 100%); color: #E9EFEC; }
.problem h2, .problem h1 { color: #fff; }
.problem .eyebrow { color: #9CC3A8; }
.problem__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 4rem; align-items: start; }
.quote { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.08; font-size: clamp(1.7rem, 3vw, 2.9rem); color: #fff; margin: 0 0 2rem; border-left: 4px solid rgba(242,211,176,0.8); padding-left: 1.5rem; }
.quote mark { background: none; color: #9CC3A8; }
.problem p { color: #C3D0CF; }
.problem__side { border-top: 1px solid rgba(255,255,255,.18); padding-top: 1.5rem; }
.problem__side .display-heading { color: #fff; }
.gloss { font-size: var(--fs-small); color: #9FB2B3; }
@media (max-width: 899px) { .problem__grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ===== Stats ===== */
.stats__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin: 3rem 0; }
.stat { background: rgba(255,255,255,0.7); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.5rem); box-shadow: 0 18px 34px rgba(17,42,37,0.04); }
.stat--green { background: linear-gradient(135deg, rgba(136,165,141,0.12), rgba(255,255,255,0.8)); border-color: rgba(136,165,141,0.18); }
.stat .stat-num { font-size: clamp(3rem, 6vw, 5.5rem); }
.stat .tag { display: inline-block; font-size: var(--fs-small); font-weight: 600; color: var(--forest); background: var(--sage-bg); padding: .2rem .7rem; border-radius: 999px; margin-bottom: 1rem; }
.stat--green .tag { background: var(--white); }
.meter { height: 12px; background: var(--border); border-radius: 99px; overflow: hidden; margin: 1.25rem 0 .5rem; }
.stat--green .meter { background: rgba(255,255,255,.7); }
.meter i { display: block; height: 100%; width: 0; background: var(--forest); border-radius: 99px; transition: width 1.2s cubic-bezier(.2,.7,.2,1); }
.in .meter i { width: var(--v); }
.closing-quote { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; line-height: 1.2; font-size: var(--fs-display); max-width: 22ch; }
.closing-quote em { font-style: normal; color: var(--forest); }
.refs { margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid var(--border); }
.refs ol { margin: .5rem 0 0; padding-left: 1.2rem; }
.todo { background: #FFF4D6; border-radius: 4px; padding: 0 .3rem; }
@media (max-width: 799px) { .stats__grid { grid-template-columns: 1fr; } }

/* ===== Intro ===== */
.intro { background: var(--sage-bg); overflow: hidden; }
.intro__head { text-align: left; max-width: 760px; margin-bottom: 3rem; }
.intro__stage { display: flex; justify-content: center; align-items: center; gap: clamp(.75rem, 3vw, 2.5rem); position: relative; }
.intro__stage .phone--main { --w: 300px; z-index: 2; }
.intro__stage .phone--sm:first-child { transform: translateY(40px) rotate(-3deg); }
.intro__stage .phone--sm:last-child { transform: translateY(40px) rotate(3deg); }
.intro__bear { position: absolute; width: 120px; left: 50%; bottom: -30px; margin-left: 170px; z-index: 3; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 4rem; }
.steps li { list-style: none; border-top: 2px solid var(--forest); padding-top: 1rem; }
.steps { padding: 0; }
@media (max-width: 899px) {
  .intro__stage .phone--sm { display: none; }
  .intro__bear { margin-left: 100px; width: 90px; }
  .steps { grid-template-columns: 1fr; }
}

/* ===== Features ===== */
.feat { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--border); }
.feat:nth-of-type(even) .feat__text { order: 2; }
.feat__num { font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: .15em; color: var(--forest); }
.feat__text h3 { font-size: var(--fs-sub); margin: .5rem 0 1rem; }
.feat__vis { display: flex; justify-content: center; align-items: center; gap: 1rem; background: linear-gradient(135deg, rgba(136,165,141,0.08), rgba(255,255,255,0.7)); border: 1px solid var(--border); border-radius: var(--radius); padding: 2.5rem 1rem; min-height: 460px; box-shadow: 0 18px 34px rgba(17,42,37,0.02); }
.feat:nth-of-type(3n+2) .feat__vis { background: linear-gradient(135deg, rgba(242,211,176,0.14), rgba(255,255,255,0.7)); }
.note { font-size: var(--fs-small); color: var(--text-2); border-left: 3px solid var(--warm); padding-left: .9rem; margin-top: 1rem; max-width: 52ch; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.chip { font-size: var(--fs-small); font-weight: 500; padding: .3rem .8rem; border: 1px solid var(--sage); border-radius: 999px; color: var(--forest); background: var(--white); }
@media (max-width: 899px) {
  .feat { grid-template-columns: 1fr; }
  .feat:nth-of-type(even) .feat__text { order: 0; }
  .feat__vis { min-height: 0; }
  .feat__vis .phone--sm + .phone--sm { display: none; }
}

/* ===== Demo ===== */
.demo { background: rgba(255,255,255,0.4); border-block: 1px solid var(--border); }
.demo__grid { display: grid; grid-template-columns: 1fr auto; gap: clamp(2rem, 6vw, 5rem); align-items: center; margin-top: 2.5rem; }
.tabs { display: flex; flex-direction: column; gap: .75rem; }
.tab { text-align: left; display: flex; gap: 1rem; align-items: flex-start; background: rgba(247,242,234,0.7); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.1rem 1.25rem; cursor: pointer; font-family: inherit; color: inherit; transition: border-color .2s, background .2s, transform .2s ease; }
.tab:hover { border-color: var(--sage); }
.tab[aria-selected="true"] { background: var(--sage-bg); border-color: var(--forest); }
.tab .n { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; color: var(--forest); }
.tab strong { display: block; font-weight: 600; color: var(--navy); }
.tab span.d { color: var(--text-2); font-size: .9rem; line-height: 1.5; display: block; }
.demo__phone { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.demo__phone .phone { --w: 290px; }
.panel[hidden] { display: none; }
@media (max-width: 899px) { .demo__grid { grid-template-columns: 1fr; } .demo__phone { order: -1; } }

/* ===== Privacy ===== */
.privacy__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.plist { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: .9rem; }
.plist li { display: flex; gap: .9rem; align-items: flex-start; }
.plist li::before { content: ""; flex: none; width: 10px; height: 10px; margin-top: .6em; border-radius: 50%; background: var(--forest); }
.plist li.planned::before { background: transparent; border: 2px solid var(--sage); }
.legend { display: flex; gap: 1.25rem; font-size: var(--fs-small); color: var(--text-2); margin-top: 1.5rem; }
@media (max-width: 899px) { .privacy__grid { grid-template-columns: 1fr; } }

/* ===== Business ===== */
.business { background: var(--sage-bg); }
.market { max-width: 70ch; margin: 1.5rem 0 3rem; }
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; max-width: 880px; }
.plan { background: rgba(255,255,255,0.82); border: 1px solid var(--border); border-radius: var(--radius); padding: 2rem; box-shadow: 0 18px 34px rgba(17,42,37,0.04); }
.plan--plus { border: 2px solid rgba(59,102,95,0.65); position: relative; background: linear-gradient(135deg, rgba(136,165,141,0.08), rgba(255,255,255,0.86)); }
.plan .price { font-family: var(--font-body); font-weight: 600; font-size: 2.25rem; color: var(--navy); line-height: 1.2; margin: .5rem 0; }
.plan .price small { font-size: .9rem; font-weight: 400; color: var(--text-2); }
.plan .badge { position: absolute; top: -.8rem; right: 1.25rem; background: var(--forest); color: #fff; font-size: .75rem; font-weight: 600; padding: .2rem .8rem; border-radius: 999px; }
@media (max-width: 699px) { .plans { grid-template-columns: 1fr; } }

/* ===== Closing ===== */
.closing { background: var(--sage-bg); text-align: center; overflow: hidden; }
.closing .wrap { display: flex; flex-direction: column; align-items: center; }
.closing p { margin-inline: auto; }
.closing__bear { width: clamp(140px, 18vw, 200px); margin-bottom: 1.5rem; }
.closing h2.display-heading { max-width: 18ch; }
.signature { font-family: var(--font-display); font-weight: 700; letter-spacing: .15em; text-transform: uppercase; font-size: clamp(1.25rem, 2.2vw, 1.75rem); margin: 2.5rem 0 .75rem; color: var(--navy); }
.signature em { font-style: normal; color: var(--forest); }
.tagline { font-weight: 600; color: var(--forest); max-width: 40ch; }
footer { padding: 2rem 0; background: var(--navy-deep); color: #9FB2B3; font-size: var(--fs-small); }
footer .wrap { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
footer p { max-width: 70ch; margin: 0; }

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-10px) rotate(var(--rot, 0deg)); }
}

@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .meter i { transition: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__phones .phone, .hero__bear { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* overflow safety */
.hero__grid > *, .problem__grid > *, .feat > *, .demo__grid > *, .privacy__grid > *, .val__grid > * { min-width: 0; }
@media (max-width: 899px) {
  .problem__grid, .feat, .demo__grid, .privacy__grid { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 600px) {
  .hero__bear { right: 0; width: 84px; bottom: -10px; }
  .hero__phones { overflow: hidden; padding-bottom: 20px; }
  .btn-row .btn { flex: 1 1 auto; }
}

/* ===== Motion layer (only active when GSAP loads: html.fx) ===== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; }
.progress i { display: block; height: 100%; background: var(--forest); transform: scaleX(0); transform-origin: 0 50%; }
.marquee { overflow: hidden; border-block: 1px solid var(--border); background: var(--offwhite); padding: 1.1rem 0; white-space: nowrap; }
.marquee__track { display: inline-flex; will-change: transform; }
.marquee__track span { font-family: var(--font-display); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; padding-right: 1.5rem; color: transparent; -webkit-text-stroke: 1.5px var(--navy); }
.marquee__track i { font-style: normal; color: var(--sage); -webkit-text-stroke: 0; font-size: .5em; vertical-align: middle; margin: 0 .5rem; }
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
.w > span { display: inline-block; }
.fx .scrub-words .sw { opacity: .18; }
.btn .roll { display: inline-block; overflow: hidden; height: 1.4em; line-height: 1.4; vertical-align: middle; }
.btn .roll > span { display: block; transition: transform .45s cubic-bezier(.7,0,.2,1); }
.btn:hover .roll > span, .btn:focus-visible .roll > span { transform: translateY(-100%); }
.fx .phone { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .fx .scrub-words .sw { opacity: 1; } .marquee__track { transform: none !important; } }

/* ===== Beta form ===== */
.sr { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.beta { width: 100%; max-width: 560px; margin: 2rem auto 0; text-align: left; }
.beta__row { display: flex; gap: .6rem; }
.beta input[type=email] { flex: 1; min-width: 0; min-height: 52px; padding: .75rem 1.25rem; border-radius: 999px; border: 1.5px solid var(--sage); background: var(--white); font: 500 1rem var(--font-body); color: var(--text); }
.beta input[type=email]::placeholder { color: var(--text-2); font-weight: 400; }
.beta .check { display: flex; gap: .6rem; align-items: flex-start; margin-top: 1rem; font-size: var(--fs-small); color: var(--text-2); line-height: 1.5; cursor: pointer; }
.beta .check input { margin-top: .2rem; width: 18px; height: 18px; accent-color: var(--forest); flex: none; }
.beta__msg { min-height: 1.5em; margin: .75rem 0 0; font-size: .875rem; font-weight: 500; }
.beta__msg.ok { color: var(--forest); } .beta__msg.err { color: #9B2C2C; }
@media (max-width: 520px) { .beta__row { flex-direction: column; } }
.nav__mobile-cta { display: none; }
@media (max-width: 1023px) { .nav__mobile-cta { display: block; } .nav__mobile-cta a { color: var(--forest) !important; font-weight: 600 !important; } }

/* hide un-animated content only while motion libs load (removed on load/failure) */
.fx-wait .reveal, .fx-wait h1, .fx-wait .display-heading, .fx-wait .hero .lead, .fx-wait .hero .btn-row, .fx-wait .hero .eyebrow, .fx-wait .hero__phones .phone { opacity: 0; }

/* ===== Real screen exports + recreated screens matched to them ===== */
.phone--img { background: #FAF7F0; }
.phone--img > img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.scr { background: #FAF7F0; padding-top: 2em; }
.scr__title { font-weight: 700; font-size: 1.7em; letter-spacing: -.01em; }
.row { background: #F3F0E9; border-color: #E6E1D6; border-radius: 12px; font-weight: 600; color: var(--navy); }
.row.sel { background: #E3ECE3; border-color: #C9D9CB; }
.row .tick { color: var(--navy); }
.pill { background: var(--navy-deep); border-radius: 12px; font-weight: 600; }
.bubble--ai { background: #E3ECE3; border-color: transparent; }
.bubble--me { background: var(--navy-deep); }
.tabbar { background: #FAF7F0; }

/* primary action anchored to the bottom with safe-area spacing, like the app */
.pill-wrap { margin-top: auto; padding-bottom: 1.6em; display: flex; flex-direction: column; gap: .7em; }
.pill-wrap .pill { margin-top: 0; padding: 1em; }
.pill-sub { text-align: center; color: var(--text-2); font-size: .9em; font-weight: 500; }

/* ===== Product film ===== */
.film { padding-bottom: clamp(3rem, 6vw, 5rem); }
.film__head { margin-bottom: 2rem; }
.film__frame { position: relative; width: min(100% - 2 * var(--pad), var(--maxw) + 160px); margin: 0 auto; border-radius: 22px; overflow: hidden; background: var(--navy-deep); aspect-ratio: 16 / 9; box-shadow: 0 30px 70px -30px rgba(16,47,60,.45); }
.film__video { width: 100%; height: 100%; object-fit: cover; display: block; }
.film__controls { position: absolute; left: 1rem; bottom: 1rem; display: flex; gap: .5rem; }
.film__btn { display: inline-flex; align-items: center; gap: .5rem; height: 44px; min-width: 44px; padding: 0 .9rem; justify-content: center; border: 0; border-radius: 999px; cursor: pointer; background: rgba(250,248,243,.9); color: var(--navy); font: 500 .8125rem var(--font-body); backdrop-filter: blur(8px); transition: background .2s, transform .2s; }
.film__btn:hover { background: #fff; transform: translateY(-1px); }
.film__btn svg { width: 18px; height: 18px; fill: currentColor; }
.film__btn .i-play { display: none; }
.film__btn.paused .i-play { display: block; } .film__btn.paused .i-pause { display: none; }
.film__sound .wave { opacity: .25; }
.film__sound[aria-pressed="true"] .wave { opacity: 1; }
@media (max-width: 599px) { .film__frame { border-radius: 14px; } .film__sound span { display: none; } }
