/* Briefly marketing site. Colors and type follow the poster: deep green, warm cream, bold sans. */

:root {
  --cream: #f5f1e8;
  --cream-2: #ede7da;
  --paper: #fffdf9;
  --sage: #e5ede2;
  --sage-2: #d6e3d3;
  --ink: #122018;
  --ink-2: #3a4940;
  --muted: #69766e;
  --green-950: #0a2a1b;
  --green-900: #0f3b26;
  --green-800: #164b31;
  --green-700: #1e613f;
  --green-600: #28794f;
  --green-500: #3a9163;
  --green-200: #bfd6c3;
  --green-100: #dceadc;
  --amber: #d9823a;
  --line: rgba(18, 32, 24, 0.1);
  --line-2: rgba(18, 32, 24, 0.16);
  --shadow-sm: 0 1px 2px rgba(15, 40, 25, 0.06), 0 2px 6px rgba(15, 40, 25, 0.05);
  --shadow-md: 0 2px 4px rgba(15, 40, 25, 0.04), 0 16px 32px -12px rgba(15, 40, 25, 0.16);
  --shadow-lg: 0 40px 80px -30px rgba(10, 40, 24, 0.45), 0 20px 40px -20px rgba(0, 0, 0, 0.3);
  --font-display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --container: 1200px;
  --gutter: 24px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
[id] { scroll-margin-top: 88px; }

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

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }

.i {
  width: 22px; height: 22px; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Type */

.eyebrow {
  display: inline-block;
  font: 700 13px/1.2 var(--font-display);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-700);
}

.section-title {
  font: 800 clamp(2.1rem, 4.4vw, 3.4rem) / 1.04 var(--font-display);
  letter-spacing: -0.038em;
  color: var(--ink);
  margin-top: 14px;
  text-wrap: balance;
}
.section-title .accent { color: var(--green-700); }

.lede {
  font-size: clamp(1.05rem, 1.35vw, 1.2rem);
  line-height: 1.6;
  color: var(--ink-2);
  margin-top: 18px;
  max-width: 40rem;
  text-wrap: pretty;
}

.section { padding: 120px 0; }
.section-head { max-width: 760px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }

/* Buttons */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px; border: 0;
  font: 700 15.5px/1 var(--font-display); letter-spacing: -0.01em;
  text-decoration: none; white-space: nowrap;
  transition: transform 0.2s var(--ease), background-color 0.2s, box-shadow 0.2s, color 0.2s;
}
.btn .i { width: 18px; height: 18px; stroke-width: 2.2; transition: transform 0.2s var(--ease); }
.btn:hover .i { transform: translateX(3px); }
.btn:focus-visible { outline: 3px solid var(--green-500); outline-offset: 3px; }

.btn-primary {
  background: var(--green-700); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16), 0 10px 24px -10px rgba(30, 97, 63, 0.7);
}
.btn-primary:hover { background: var(--green-800); transform: translateY(-1px); }

.btn-ghost { background: rgba(255, 255, 255, 0.4); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--ink-2); }

.btn-light { background: #fff; color: var(--green-900); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, 0.5); }
.btn-light:hover { background: var(--cream); transform: translateY(-1px); }

.btn-sm { height: 42px; padding: 0 18px; font-size: 14px; }

/* Brand */

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; }
.brand-word {
  font: 800 27px/1 var(--font-display); letter-spacing: -0.045em; color: var(--green-800);
}
.beta-pill {
  font: 700 10.5px/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-100);
  padding: 5px 8px; border-radius: 999px; border: 1px solid rgba(30, 97, 63, 0.18);
  transform: translateY(1px);
}

/* Nav */

.nav {
  position: sticky; top: 0; z-index: 50;
  transition: background-color 0.3s, box-shadow 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: rgba(245, 241, 232, 0.82);
  -webkit-backdrop-filter: saturate(1.5) blur(16px);
  backdrop-filter: saturate(1.5) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-weight: 500; font-size: 15px; color: var(--ink-2); text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--green-700); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn {
  display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-2);
  background: var(--paper); align-items: center; justify-content: center;
}
.menu-btn .i { width: 20px; height: 20px; }
.mobile-menu {
  display: none; position: absolute; left: 12px; right: 12px; top: 72px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow-md); padding: 10px;
}
.mobile-menu a {
  display: block; padding: 14px 16px; border-radius: 12px;
  font: 600 16px var(--font-display); text-decoration: none; color: var(--ink);
}
.mobile-menu a:hover { background: var(--cream); }
.mobile-menu .btn { width: 100%; margin-top: 6px; color: #fff; }
.nav.open .mobile-menu { display: block; }

/* Hero */

.hero { position: relative; padding: 36px 0 110px; }
.hero::before {
  content: ""; position: absolute; inset: -120px 0 auto auto; width: 70%; height: 900px;
  background:
    radial-gradient(closest-side at 62% 42%, rgba(58, 145, 99, 0.18), transparent 70%),
    radial-gradient(closest-side at 80% 70%, rgba(217, 130, 58, 0.08), transparent 70%);
  pointer-events: none; z-index: 0;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
}

.status-pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 7px 14px 7px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  font: 600 13.5px/1 var(--font-body); color: var(--ink-2); text-decoration: none;
}
.status-pill b { color: var(--green-700); font-weight: 700; }
.pulse {
  position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--green-500);
}
.pulse::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 2px solid var(--green-500); opacity: 0; animation: pulse 2.2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(0.5); opacity: 0.8; } 100% { transform: scale(1.6); opacity: 0; } }

.tagline {
  margin-top: 26px;
  font: 700 14px/1.3 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700);
}

.hero h1 {
  margin: 14px 0 0;
  font: 800 clamp(2.9rem, 6.3vw, 5.4rem) / 0.97 var(--font-display);
  letter-spacing: -0.05em; color: var(--ink);
}
.hero h1 .accent { display: block; color: var(--green-700); }

.hero-sub {
  margin-top: 26px; max-width: 34rem;
  font-size: clamp(1.06rem, 1.35vw, 1.22rem); line-height: 1.62; color: var(--ink-2);
  text-wrap: pretty;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-fine {
  display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px;
  font-size: 14px; color: var(--muted); font-weight: 500;
}
.hero-fine span { display: inline-flex; align-items: center; gap: 7px; }
.hero-fine .i { width: 16px; height: 16px; color: var(--green-600); stroke-width: 2.4; }

.hero-props {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 52px; padding-top: 30px; border-top: 1px solid var(--line);
}
.prop { display: flex; gap: 12px; padding-right: 18px; }
.prop + .prop { padding-left: 18px; border-left: 1px solid var(--line); }
.prop .i { width: 30px; height: 30px; color: var(--green-700); stroke-width: 1.6; margin-top: 2px; }
.prop h3 {
  font: 800 13px/1.25 var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.prop p { margin-top: 6px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }

/* Hero visual */

.hero-visual { position: relative; display: flex; justify-content: center; min-height: 660px; }

.phone {
  position: relative; z-index: 2;
  width: 318px; height: 652px; border-radius: 54px; padding: 11px;
  background: linear-gradient(145deg, #2a2d2b, #0b0c0c 40%, #1b1d1c);
  box-shadow: var(--shadow-lg), inset 0 0 0 1.5px rgba(255, 255, 255, 0.08), inset 0 0 0 5px #070808;
  transform: rotate(3deg);
}
.phone::before {
  content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 74px;
  border-radius: 0 3px 3px 0; background: #1a1c1b;
}
.phone-screen {
  position: relative; height: 100%; border-radius: 44px; overflow: hidden;
  background: #fbfbf9; display: flex; flex-direction: column;
}
.island {
  position: absolute; top: 11px; left: 50%; transform: translateX(-50%);
  width: 96px; height: 28px; border-radius: 20px; background: #050606; z-index: 3;
}
.status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 28px 0 34px; height: 46px;
  font: 600 14.5px/1 var(--font-body); color: #111;
}
.status-icons { display: flex; gap: 5px; align-items: center; }
.status-icons svg { height: 11px; width: auto; fill: #111; }

.thread-head {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 8px 16px 12px; border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  background: rgba(250, 250, 248, 0.9);
}
.thread-head .back {
  position: absolute; left: 14px; top: 20px; width: 22px; height: 22px; color: #1e613f; stroke-width: 2.4;
}
.avatar-bot {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(160deg, #2a7a50, #164b31); box-shadow: inset 0 -2px 6px rgba(0, 0, 0, 0.15);
}
.avatar-bot svg { width: 22px; height: 22px; }
.avatar-bot.sm { width: 30px; height: 30px; }
.avatar-bot.sm svg { width: 16px; height: 16px; }
.thread-name { font: 600 12.5px/1 var(--font-body); color: #111; display: inline-flex; align-items: center; gap: 3px; }
.thread-name .i { width: 10px; height: 10px; stroke-width: 3; color: #999; }

.thread {
  flex: 1; display: flex; flex-direction: column; gap: 7px;
  padding: 14px 12px 10px; overflow: hidden;
  transition: opacity 0.5s;
}
.thread > :first-child { margin-top: auto; }
.thread.fade { opacity: 0; }

.day-label { align-self: center; font: 600 11px/1 var(--font-body); color: #8b918d; margin-bottom: 4px; }
.day-label b { color: #6c726e; font-weight: 600; }

.bubble {
  max-width: 82%; padding: 9px 13px; border-radius: 19px;
  font-size: 13.5px; line-height: 1.38; letter-spacing: -0.005em;
  animation: pop 0.38s var(--ease) both;
  text-wrap: pretty;
}
.bubble.in { align-self: flex-start; background: #eceeea; color: #121613; border-bottom-left-radius: 6px; }
.bubble.out { align-self: flex-end; background: var(--green-700); color: #fff; border-bottom-right-radius: 6px; }
.bubble-meta { font: 500 10.5px/1 var(--font-body); color: #9aa09c; padding: 2px 6px 4px; }
.bubble-meta.right { align-self: flex-end; }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.96); } to { opacity: 1; transform: none; } }

.typing {
  align-self: flex-start; display: inline-flex; gap: 4px; padding: 12px 14px;
  background: #eceeea; border-radius: 19px; border-bottom-left-radius: 6px;
  animation: pop 0.3s var(--ease) both;
}
.typing span {
  width: 7px; height: 7px; border-radius: 50%; background: #9aa19c;
  animation: blink 1.1s infinite;
}
.typing span:nth-child(2) { animation-delay: 0.15s; }
.typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.composer {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px 26px;
}
.composer .plus {
  width: 30px; height: 30px; border-radius: 50%; background: #ececea; display: grid; place-items: center;
  color: #777; font-size: 18px; line-height: 1;
}
.composer .compose-field {
  flex: 1; height: 34px; border-radius: 17px; border: 1px solid #dededb;
  display: flex; align-items: center; justify-content: space-between; padding: 0 4px 0 14px;
  font-size: 13px; color: #a3a7a4;
}
.composer .send {
  width: 26px; height: 26px; border-radius: 50%; background: var(--green-600); color: #fff;
  display: grid; place-items: center;
}
.composer .send .i { width: 14px; height: 14px; stroke-width: 3; }

.cup {
  position: absolute; z-index: 1; right: -34px; bottom: 26px; width: 200px;
  filter: drop-shadow(0 30px 30px rgba(40, 25, 10, 0.28));
}

.float-card {
  position: absolute; z-index: 3;
  background: rgba(255, 253, 249, 0.86);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(255, 255, 255, 0.7); border-radius: 22px;
  box-shadow: 0 24px 50px -18px rgba(15, 40, 25, 0.38), 0 0 0 1px var(--line);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js .float-card { opacity: 0; transform: translateY(14px) scale(0.97); }
.js .float-card.show { opacity: 1; transform: none; }

.notif { left: -56px; top: 104px; width: 300px; padding: 14px 16px 16px; }
.notif-top { display: flex; align-items: center; gap: 8px; }
.notif-top .avatar-bot { width: 22px; height: 22px; border-radius: 6px; }
.notif-top .avatar-bot svg { width: 13px; height: 13px; }
.notif-app { font: 700 11px/1 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; color: #5b645f; }
.notif-when { margin-left: auto; font-size: 11.5px; color: #8b918d; }
.notif-label {
  margin-top: 10px; font: 800 11px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--green-700);
}
.notif p { margin-top: 5px; font-size: 13.5px; line-height: 1.42; color: var(--ink); font-weight: 500; }

.chip {
  display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px 11px 11px;
  border-radius: 16px; font: 600 13px/1.2 var(--font-body); color: var(--ink);
}
.chip .dot {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
}
.chip .dot .i { width: 16px; height: 16px; stroke-width: 2.2; }
.chip small { display: block; font-weight: 500; color: var(--muted); font-size: 11.5px; margin-top: 2px; }
.chip-asked { right: -24px; top: 132px; }
.chip-locked { right: -44px; top: 214px; }
.chip-locked .dot { background: var(--green-700); color: #fff; }

/* Problem: before and after */

.compare { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 22px; margin-top: 56px; }
.compare-card {
  position: relative; border-radius: 30px; padding: 30px; overflow: hidden;
  display: flex; flex-direction: column;
}
.compare-card.bad { background: #ebe6dc; border: 1px solid var(--line); }
.compare-card.good {
  background: radial-gradient(120% 90% at 100% 0%, #1f6140 0%, var(--green-900) 55%, var(--green-950) 100%);
  color: #e8f0ea;
}
.compare-tag {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px;
  font: 800 12px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px;
}
.bad .compare-tag { background: rgba(18, 32, 24, 0.07); color: #6b5a4a; }
.good .compare-tag { background: rgba(255, 255, 255, 0.1); color: #cfe3d4; }
.compare-card h3 {
  margin-top: 18px; font: 800 clamp(1.4rem, 2.2vw, 1.75rem) / 1.15 var(--font-display); letter-spacing: -0.03em;
}
.good h3 { color: #fff; }

.group-chat {
  margin-top: 22px; background: var(--paper); border-radius: 22px; padding: 16px;
  border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px;
  flex: 1;
}
.gc-head {
  display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.gc-avatars { display: flex; }
.gc-avatars span {
  width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--paper);
  font: 700 10px/20px var(--font-body); text-align: center; color: #fff;
}
.gc-avatars span + span { margin-left: -7px; }
.gc-title { font: 700 14px/1.2 var(--font-display); }
.gc-title small { display: block; font: 500 11.5px var(--font-body); color: var(--muted); }
.gc-missed {
  margin-left: auto; display: inline-flex; align-items: center; gap: 6px;
  font: 600 11.5px/1 var(--font-body); color: #b4451f; background: #fbe6dc; padding: 6px 9px; border-radius: 999px;
}
.gc-missed .i { width: 13px; height: 13px; stroke-width: 2.4; }
.gc-msg { display: flex; gap: 8px; align-items: flex-end; font-size: 13.5px; line-height: 1.35; }
.gc-msg .who { font: 700 11px/1 var(--font-body); color: var(--muted); margin: 0 0 3px 2px; }
.gc-msg .b { background: #eceeea; padding: 8px 12px; border-radius: 16px; border-bottom-left-radius: 5px; }
.gc-msg.me { justify-content: flex-end; }
.gc-msg.me .b { background: #3b82f6; color: #fff; border-radius: 16px; border-bottom-right-radius: 5px; }
.gc-msg time { font-size: 10.5px; color: #a1a6a2; padding-bottom: 6px; white-space: nowrap; }

.compare-foot {
  display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px;
}
.stat-pill {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 9px 13px; border-radius: 12px;
  font-size: 13px; font-weight: 500;
}
.stat-pill b { font: 800 16px/1 var(--font-display); letter-spacing: -0.02em; }
.bad .stat-pill { background: rgba(255, 255, 255, 0.55); color: #6b5a4a; }
.bad .stat-pill b { color: #8a3b1c; }
.good .stat-pill { background: rgba(255, 255, 255, 0.08); color: #b9d2c0; }
.good .stat-pill b { color: #fff; }

.lock-screen {
  margin-top: 22px; flex: 1; border-radius: 26px; padding: 26px 18px 18px;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(120, 190, 150, 0.25), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex; flex-direction: column; align-items: center;
}
.ls-time { font: 700 64px/1 var(--font-display); letter-spacing: -0.04em; color: #fff; }
.ls-date { font-size: 14px; color: #b9d2c0; margin-top: 6px; font-weight: 500; }
.ls-notif {
  margin-top: auto; width: 100%; border-radius: 20px; padding: 13px 15px;
  background: rgba(255, 255, 255, 0.92); color: var(--ink);
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.6);
}
.ls-notif p { margin-top: 7px; font-size: 13.5px; line-height: 1.42; font-weight: 500; }
.ls-sleep { margin-top: 16px; font-size: 13px; color: #9fbfa9; display: flex; align-items: center; gap: 7px; }
.ls-sleep .i { width: 15px; height: 15px; }

/* How it works */

.panel {
  background: var(--sage); border-radius: 40px; padding: 84px 64px;
  border: 1px solid rgba(30, 97, 63, 0.08);
}
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 52px; counter-reset: step; }
.step {
  position: relative; background: var(--paper); border-radius: 24px; padding: 26px 22px 24px;
  border: 1px solid var(--line);
}
.step-num {
  display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 12px;
  font: 800 14px/1 var(--font-display); color: #fff; background: var(--green-700);
}
.step h3 { margin-top: 18px; font: 800 18px/1.25 var(--font-display); letter-spacing: -0.02em; }
.step p { margin-top: 8px; font-size: 14.5px; line-height: 1.55; color: var(--ink-2); }
.step:not(:last-child)::after {
  content: ""; position: absolute; top: 44px; right: -13px; width: 10px; height: 10px;
  border-top: 2px solid var(--green-200); border-right: 2px solid var(--green-200);
  transform: rotate(45deg); z-index: 1;
}

.demo {
  margin-top: 28px; background: var(--paper); border-radius: 32px; padding: 26px;
  border: 1px solid var(--line); box-shadow: var(--shadow-md);
}
.demo-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.demo-title { display: flex; align-items: center; gap: 12px; }
.demo-title .live {
  display: inline-flex; align-items: center; gap: 7px;
  font: 800 11.5px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--green-700); background: var(--green-100); padding: 7px 10px; border-radius: 999px;
  white-space: nowrap;
}
.demo-title h3 { font: 800 18px/1.2 var(--font-display); letter-spacing: -0.02em; }

.tabs {
  display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px;
  background: var(--cream); border: 1px solid var(--line);
}
.tab {
  border: 0; background: transparent; padding: 10px 16px; border-radius: 999px;
  font: 600 14px/1 var(--font-body); color: var(--ink-2); white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { background: var(--green-700); color: #fff; box-shadow: var(--shadow-sm); }
.tab:focus-visible { outline: 2px solid var(--green-500); outline-offset: 2px; }

.narration {
  display: flex; align-items: center; gap: 14px; margin-top: 20px;
  padding: 14px 14px 14px 18px; border-radius: 18px; background: var(--cream);
  min-height: 70px;
}
.narr-time {
  flex: none; font: 800 13px/1 var(--font-display); color: var(--green-700);
  background: var(--green-100); padding: 8px 10px; border-radius: 9px; white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.narr-text { flex: 1; font-size: 15.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.replay {
  flex: none; display: inline-flex; align-items: center; gap: 7px; border: 0;
  background: var(--paper); padding: 10px 14px; border-radius: 12px;
  font: 600 13.5px/1 var(--font-body); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line-2);
}
.replay:hover { color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink-2); }
.replay .i { width: 15px; height: 15px; stroke-width: 2.2; }
.progress { height: 3px; margin: 12px 6px 0; border-radius: 3px; background: var(--line); overflow: hidden; }
.progress span { display: block; height: 100%; width: 0; background: var(--green-600); transition: width 0.5s var(--ease); }

.people { display: none; gap: 8px; margin-top: 18px; overflow-x: auto; padding-bottom: 2px; }
.person {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 8px;
  border: 0; padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--cream);
  font: 600 14px/1 var(--font-body); color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--line);
}
.person[aria-selected="true"] { background: var(--ink); color: #fff; box-shadow: none; }
.person .badge {
  position: absolute; top: -4px; right: -4px; min-width: 18px; height: 18px; padding: 0 5px;
  border-radius: 9px; background: var(--amber); color: #fff; font: 700 11px/18px var(--font-body);
  text-align: center; display: none;
}
.person .badge.on { display: block; animation: pop 0.3s var(--ease) both; }

.face {
  width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  font: 700 11.5px/1 var(--font-display); color: #fff; flex: none;
}
.face.maya { background: #d9823a; }
.face.jordan { background: #3a7bd5; }
.face.sam { background: #8a5cc7; }
.face.pat { background: var(--green-800); }

.demo-phones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.demo-label { display: flex; align-items: center; gap: 9px; margin: 0 4px 10px; }
.demo-label strong { font: 700 14.5px/1.1 var(--font-display); }
.demo-label div span { font-size: 12.5px; color: var(--muted); display: block; margin-top: 2px; }

.mini-phone {
  border-radius: 34px; padding: 7px; background: linear-gradient(145deg, #262928, #0b0c0c 45%, #181a19);
  box-shadow: 0 20px 40px -24px rgba(0, 0, 0, 0.55), inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  transition: box-shadow 0.4s, transform 0.4s var(--ease);
}
.mini-phone.ping { box-shadow: 0 0 0 3px rgba(58, 145, 99, 0.5), 0 24px 44px -22px rgba(30, 97, 63, 0.6); transform: translateY(-3px); }
.mini-screen {
  height: 470px; border-radius: 28px; background: #fbfbf9; overflow: hidden;
  display: flex; flex-direction: column;
}
.mini-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 11px 18px 0 22px; height: 30px; font: 600 11.5px/1 var(--font-body); color: #111;
  font-variant-numeric: tabular-nums;
}
.mini-status svg { height: 8px; width: auto; fill: #111; }
.mini-head {
  display: flex; align-items: center; gap: 8px; padding: 8px 12px 10px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.mini-head b { font: 700 12.5px/1.1 var(--font-display); display: block; }
.mini-head small { font-size: 10.5px; color: #8b918d; }
.mini-thread {
  flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 10px;
  overflow-y: auto; scrollbar-width: none;
}
.mini-thread::-webkit-scrollbar { display: none; }
.mini-thread > :first-child { margin-top: auto; }
.mini-thread .bubble { font-size: 12.5px; padding: 8px 11px; border-radius: 16px; max-width: 88%; }
.mini-thread .bubble.in { border-bottom-left-radius: 5px; }
.mini-thread .bubble.out { border-bottom-right-radius: 5px; }
.mini-thread .typing { padding: 10px 12px; }
.mini-thread .typing span { width: 6px; height: 6px; }
.mini-empty { margin: auto; text-align: center; font-size: 12px; color: #a3a8a4; padding: 0 12px; }
.gap-label { align-self: center; font: 600 10.5px/1 var(--font-body); color: #9aa09c; margin: 4px 0; }

/* Features */

.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 56px; }
.feat {
  position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: 26px;
  padding: 28px; transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat-icon {
  width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center;
  background: var(--green-100); color: var(--green-700);
}
.feat-icon .i { width: 22px; height: 22px; }
.feat h3 { margin-top: 20px; font: 800 19px/1.25 var(--font-display); letter-spacing: -0.022em; }
.feat p { margin-top: 9px; font-size: 15px; line-height: 1.58; color: var(--ink-2); text-wrap: pretty; }
.feat .new {
  position: absolute; top: 24px; right: 24px;
  font: 800 10.5px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); background: #fbeee2; padding: 6px 8px; border-radius: 999px;
}

.feat.big { grid-column: span 2; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; padding: 34px; }
.feat.big h3 { font-size: clamp(1.5rem, 2.3vw, 1.9rem); letter-spacing: -0.03em; }
.feat.big p { font-size: 16px; }
.feat.dark {
  background: radial-gradient(120% 100% at 0% 100%, #1f6140 0%, var(--green-900) 50%, var(--green-950) 100%);
  border-color: transparent; color: #e6efe8;
}
.feat.dark h3 { color: #fff; }
.feat.dark p { color: #bcd3c3; }
.feat.dark .feat-icon { background: rgba(255, 255, 255, 0.1); color: #cfe6d6; }
.feat.sage { background: var(--sage); border-color: rgba(30, 97, 63, 0.1); }

.race { display: flex; flex-direction: column; gap: 10px; }
.race-row {
  display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 16px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.08);
}
.race-row .face { width: 30px; height: 30px; }
.race-row .who { font: 700 14px/1.1 var(--font-display); color: #fff; }
.race-row .ts { font: 500 12px/1.2 ui-monospace, "SF Mono", Menlo, monospace; color: #9fbfa9; margin-top: 3px; }
.race-row .yes {
  margin-left: auto; font: 800 13px/1 var(--font-display); padding: 7px 11px; border-radius: 10px;
  background: #fff; color: var(--green-900);
}
.race-row.win { background: rgba(255, 255, 255, 0.14); border-color: rgba(160, 220, 180, 0.45); }
.race-result {
  display: flex; align-items: center; gap: 10px; margin-top: 4px;
  font-size: 13.5px; color: #cfe6d6; font-weight: 500;
}
.race-result .lockbadge {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 11px; border-radius: 10px;
  background: var(--green-500); color: #fff; font: 800 12.5px/1 var(--font-display);
}
.race-result .lockbadge .i { width: 14px; height: 14px; stroke-width: 2.4; }

.silent { display: flex; flex-direction: column; gap: 8px; }
.silent .bubble { animation: none; font-size: 13.5px; max-width: 90%; }
.silent .bubble.in { background: var(--paper); border: 1px solid var(--line); }
.silent .cases { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.silent .cases span {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 10px;
  background: var(--paper); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: var(--ink-2);
}
.silent .cases .i { width: 13px; height: 13px; color: var(--green-600); stroke-width: 2.6; }

/* Reliability band */

.band {
  position: relative; overflow: hidden;
  background: radial-gradient(90% 120% at 100% 0%, #1b5638 0%, var(--green-900) 45%, var(--green-950) 100%);
  color: #dce9df; padding: 120px 0;
}
.band::after {
  content: ""; position: absolute; right: -120px; bottom: -160px; width: 520px; height: 520px;
  background: url("logo-mark-light.svg") center / contain no-repeat; opacity: 0.05; pointer-events: none;
}
.band .eyebrow { color: #8fd0a8; }
.band .section-title { color: #fff; }
.band .lede { color: #b7cfbe; }
.band-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 72px; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.stat { padding: 34px 26px 0 0; }
.stat + .stat { padding-left: 26px; border-left: 1px solid rgba(255, 255, 255, 0.12); }
.stat-num {
  font: 800 clamp(3.4rem, 6.4vw, 5.4rem) / 0.9 var(--font-display); letter-spacing: -0.06em; color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-num small { font-size: 0.34em; letter-spacing: -0.02em; margin-left: 4px; color: #8fd0a8; }
.stat h3 { margin-top: 16px; font: 700 16px/1.3 var(--font-display); color: #fff; letter-spacing: -0.01em; }
.stat p { margin-top: 6px; font-size: 14.5px; line-height: 1.55; color: #a9c4b1; }

/* Roadmap */

.agents { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 52px; }
.agent {
  position: relative; border-radius: 26px; padding: 28px; background: var(--paper);
  border: 1px solid var(--line); overflow: hidden;
}
.agent.live { border: 2px solid var(--green-600); box-shadow: 0 20px 44px -24px rgba(30, 97, 63, 0.45); }
.agent-status {
  display: inline-flex; align-items: center; gap: 7px;
  font: 800 11px/1 var(--font-display); letter-spacing: 0.12em; text-transform: uppercase;
  padding: 7px 10px; border-radius: 999px; background: var(--cream); color: var(--muted);
}
.agent.live .agent-status { background: var(--green-100); color: var(--green-700); }
.agent-head { display: flex; align-items: center; gap: 12px; margin-top: 20px; }
.agent-head .feat-icon { width: 42px; height: 42px; border-radius: 13px; }
.agent:not(.live) .feat-icon { background: var(--cream-2); color: var(--muted); }
.agent h3 { font: 800 19px/1.2 var(--font-display); letter-spacing: -0.02em; }
.agent .sub { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; }
.agent ul { margin-top: 18px; display: grid; gap: 9px; }
.agent li { display: flex; gap: 9px; align-items: flex-start; font-size: 14.5px; color: var(--ink-2); }
.agent li .i { width: 17px; height: 17px; margin-top: 2px; color: var(--green-600); stroke-width: 2.4; }
.agent:not(.live) li { color: var(--muted); }
.agent:not(.live) li .i { color: #b8b3a8; }
.agent:not(.live) ul { filter: blur(0.4px); opacity: 0.8; }

/* Apply */

.apply-grid { display: grid; grid-template-columns: 0.92fr 1.08fr; gap: 44px; align-items: start; }
.offer {
  margin-top: 34px; border-radius: 26px; padding: 26px; background: var(--paper);
  border: 1px solid var(--line);
}
.offer-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.offer-price b { font: 800 64px/0.9 var(--font-display); letter-spacing: -0.06em; color: var(--green-800); }
.offer-price span { font: 700 17px/1.2 var(--font-display); color: var(--ink); }
.offer-after { margin-top: 10px; font-size: 14.5px; color: var(--muted); }
.offer-after a { color: var(--green-700); font-weight: 600; }
.offer ul { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 11px; }
.offer li { display: flex; gap: 10px; font-size: 15px; color: var(--ink); font-weight: 500; }
.offer li .i { width: 19px; height: 19px; color: var(--green-600); stroke-width: 2.4; margin-top: 1px; }
.scarcity {
  display: flex; gap: 12px; align-items: flex-start; margin-top: 16px; padding: 16px 18px;
  border-radius: 18px; background: rgba(255, 255, 255, 0.5); border: 1px dashed rgba(30, 97, 63, 0.3);
  font-size: 14px; color: var(--ink-2); line-height: 1.5;
}
.scarcity .i { color: var(--green-700); margin-top: 1px; }

.form-card {
  background: var(--paper); border-radius: 30px; padding: 36px; border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.form-card h3 { font: 800 26px/1.15 var(--font-display); letter-spacing: -0.03em; }
.form-card h3 + p { margin-top: 8px; color: var(--ink-2); font-size: 15px; line-height: 1.55; }
.form { margin-top: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font: 600 13.5px/1.2 var(--font-body); color: var(--ink); }
.field label .opt { font-weight: 500; color: var(--muted); }
.field input, .field select {
  height: 52px; border-radius: 14px; border: 1px solid var(--line-2); background: #fff;
  padding: 0 16px; font: 500 15.5px var(--font-body); color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2369766e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px;
}
.field input::placeholder { color: #a7ada9; }
.field input:focus, .field select:focus {
  outline: none; border-color: var(--green-600); box-shadow: 0 0 0 4px rgba(40, 121, 79, 0.15);
}
.field input.invalid { border-color: #c2502b; box-shadow: 0 0 0 4px rgba(194, 80, 43, 0.12); }
.consent {
  grid-column: 1 / -1; display: flex; gap: 12px; align-items: flex-start;
  font-size: 12.5px; line-height: 1.5; color: var(--muted);
}
.consent input {
  flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--green-700);
}
.consent a { color: var(--ink-2); }
.form .btn { grid-column: 1 / -1; width: 100%; height: 58px; font-size: 16px; margin-top: 4px; }
.form .btn[disabled] { opacity: 0.7; cursor: progress; }
.form-note { grid-column: 1 / -1; font-size: 12.5px; color: var(--muted); text-align: center; }
.form-error {
  grid-column: 1 / -1; display: none; padding: 12px 14px; border-radius: 12px;
  background: #fbe9e2; color: #8a2f13; font-size: 14px;
}
.form-error.on { display: block; }
.dev-note {
  grid-column: 1 / -1; display: none; padding: 10px 12px; border-radius: 12px;
  border: 1px dashed #c9a24a; background: #fdf6e3; color: #7a5a12; font-size: 12.5px; line-height: 1.45;
}
.dev-note.on { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.success { display: none; text-align: center; padding: 30px 10px 10px; }
.success.on { display: block; animation: pop 0.5s var(--ease) both; }
.success-mark {
  width: 76px; height: 76px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center;
  background: var(--green-700); color: #fff; box-shadow: 0 0 0 10px var(--green-100);
}
.success-mark .i { width: 36px; height: 36px; stroke-width: 2.6; }
.success h3 { margin-top: 28px; }
.success p { margin: 10px auto 0; max-width: 26rem; color: var(--ink-2); line-height: 1.6; }

/* FAQ */

.faq-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.faq-list { border-top: 1px solid var(--line-2); }
.faq-item { border-bottom: 1px solid var(--line-2); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 24px 2px; font: 700 18px/1.35 var(--font-display); letter-spacing: -0.015em; color: var(--ink);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--green-700); }
.faq-item summary:focus-visible { outline: 2px solid var(--green-500); outline-offset: 4px; border-radius: 6px; }
.faq-toggle {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%;
  background: var(--paper); border: 1px solid var(--line-2); transition: background-color 0.2s, transform 0.3s var(--ease);
}
.faq-toggle::before, .faq-toggle::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; border-radius: 2px;
  background: var(--ink); transform: translate(-50%, -50%);
}
.faq-toggle::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s var(--ease); }
.faq-item[open] .faq-toggle { background: var(--green-700); border-color: var(--green-700); }
.faq-item[open] .faq-toggle::before, .faq-item[open] .faq-toggle::after { background: #fff; }
.faq-item[open] .faq-toggle::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq-item .answer { padding: 0 60px 26px 2px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.faq-item .answer a { color: var(--green-700); font-weight: 600; }

/* Final CTA */

.cta-panel {
  position: relative; overflow: hidden; border-radius: 40px; padding: 88px 64px;
  background: radial-gradient(100% 140% at 0% 0%, #22704a 0%, var(--green-900) 50%, var(--green-950) 100%);
  color: #dce9df;
  display: grid; grid-template-columns: 1.3fr 0.7fr; gap: 40px; align-items: center;
}
.cta-panel::after {
  content: ""; position: absolute; right: -70px; top: -60px; width: 380px; height: 380px;
  background: url("logo-mark-light.svg") center / contain no-repeat; opacity: 0.07;
}
.cta-panel h2 {
  font: 800 clamp(2.3rem, 4.8vw, 3.9rem) / 1.02 var(--font-display); letter-spacing: -0.045em; color: #fff;
}
.cta-panel h2 span { color: #8fd0a8; }
.cta-panel p { margin-top: 18px; font-size: 18px; line-height: 1.6; color: #b7cfbe; max-width: 32rem; }
.cta-side { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.cta-side small { color: #9fbfa9; font-size: 13.5px; }

/* Footer */

.footer { background: var(--green-950); color: #a9c4b1; padding: 72px 0 36px; margin-top: 120px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 40px; }
.footer .brand-word { color: #fff; }
.footer .beta-pill { background: rgba(255, 255, 255, 0.08); color: #8fd0a8; border-color: rgba(143, 208, 168, 0.25); }
.footer-blurb { margin-top: 16px; font-size: 14.5px; line-height: 1.6; max-width: 20rem; }
.footer h4 {
  font: 800 12px/1 var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: #fff;
}
.footer ul { margin-top: 18px; display: grid; gap: 11px; }
.footer a { color: #a9c4b1; text-decoration: none; font-size: 14.5px; transition: color 0.2s; }
.footer a:hover { color: #fff; }
.footer-contact { margin-top: 18px; font-size: 14.5px; line-height: 1.6; }
.footer-contact a { color: #fff; font-weight: 600; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 56px; padding-top: 26px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13px;
}

/* Legal pages */

.legal-wrap { padding: 40px 0 0; }
.legal { max-width: 780px; margin: 0 auto; }
.legal-head { padding-bottom: 32px; border-bottom: 1px solid var(--line-2); }
.legal-head h1 {
  margin-top: 14px; font: 800 clamp(2.3rem, 5vw, 3.4rem) / 1.04 var(--font-display); letter-spacing: -0.04em;
}
.legal-head p { margin-top: 14px; color: var(--muted); font-size: 15px; }
.draft-note {
  margin-top: 24px; padding: 16px 18px; border-radius: 16px; border: 1px dashed #c9a24a;
  background: #fdf6e3; color: #6d5010; font-size: 14px; line-height: 1.55;
}
.prose { padding-top: 12px; font-size: 16.5px; line-height: 1.72; color: var(--ink-2); }
.prose h2 {
  margin: 44px 0 12px; font: 800 22px/1.25 var(--font-display); letter-spacing: -0.02em; color: var(--ink);
}
.prose h3 { margin: 26px 0 8px; font: 700 17px/1.3 var(--font-display); color: var(--ink); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose li { margin-bottom: 7px; }
.prose li::marker { color: var(--green-600); }
.prose a { color: var(--green-700); font-weight: 600; }
.prose strong { color: var(--ink); }
.prose .callout {
  margin: 18px 0; padding: 18px 20px; border-radius: 16px; background: var(--sage);
  border: 1px solid rgba(30, 97, 63, 0.12); color: var(--ink);
}
.prose table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 11px 12px; border-bottom: 1px solid var(--line-2); }
.prose th { font: 700 13px/1.3 var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.legal-nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.legal-nav a {
  padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; text-decoration: none;
  color: var(--ink-2); background: var(--paper); border: 1px solid var(--line);
}
.legal-nav a[aria-current="page"] { background: var(--green-700); color: #fff; border-color: var(--green-700); }

/* Reveal on scroll */

.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: 0.08s; }
.js .reveal.d2 { transition-delay: 0.16s; }
.js .reveal.d3 { transition-delay: 0.24s; }

/* Responsive */

@media (max-width: 1120px) {
  .cup { display: none; }
  .notif { left: 0; }
  .chip-asked { right: -10px; }
  .chip-locked { right: -18px; }
}

@media (max-width: 1023px) {
  .section { padding: 96px 0; }
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .nav-cta .btn { display: none; }

  .hero { padding-bottom: 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero-copy { text-align: left; }
  .hero-visual { min-height: 0; padding: 10px 0 20px; }

  .compare { grid-template-columns: 1fr; }
  .panel { padding: 64px 32px; border-radius: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .step:nth-child(2)::after { display: none; }

  .people { display: flex; }
  .demo-phones { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }
  .demo-phone { display: none; }
  .demo-phone.active { display: block; }
  .demo-label { display: none; }
  .mini-screen { height: 440px; }
  .mini-thread .bubble { font-size: 13.5px; }

  .bento { grid-template-columns: 1fr 1fr; }
  .feat.big { grid-column: 1 / -1; }

  .band-grid { grid-template-columns: 1fr; gap: 0; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { padding-top: 40px; }

  .agents { grid-template-columns: 1fr; }
  .apply-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; gap: 28px; }
  .cta-panel { grid-template-columns: 1fr; padding: 64px 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .section { padding: 76px 0; }
  .nav-inner { height: 66px; }
  .mobile-menu { top: 64px; }
  .brand-word { font-size: 24px; }
  .brand-mark { width: 32px; height: 32px; }

  .hero { padding-top: 20px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-props { grid-template-columns: 1fr; gap: 18px; }
  .prop + .prop { padding-left: 0; border-left: 0; }

  .phone { width: 286px; height: 590px; border-radius: 48px; transform: none; }
  .phone-screen { border-radius: 38px; }
  .notif { left: auto; right: -6px; top: auto; bottom: -34px; width: 272px; }
  .chip-asked, .chip-locked { display: none; }

  .compare-card { padding: 22px; border-radius: 26px; }
  .gc-missed { display: none; }
  .panel { padding: 52px 18px; border-radius: 28px; margin: 0 -4px; }
  .steps { grid-template-columns: 1fr; }
  .step::after { display: none; }
  .demo { padding: 16px; border-radius: 26px; }
  .tabs { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); border-radius: 16px; }
  .tab { padding: 9px 6px; font-size: 12.5px; line-height: 1.25; white-space: normal; border-radius: 12px; }
  .people { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; overflow: visible; }
  .person { flex-direction: column; justify-content: center; gap: 5px; padding: 8px 4px; border-radius: 14px; font-size: 12.5px; }
  .person .badge { right: 6px; }
  .narration { flex-wrap: wrap; padding: 14px; }
  .narr-text { flex-basis: 100%; order: 3; }
  .replay { margin-left: auto; }

  .bento { grid-template-columns: 1fr; }
  .feat.big { grid-template-columns: 1fr; padding: 26px; }
  .feat { padding: 24px; }

  .stats { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding: 30px 0 0; border-left: 0; }
  .stat + .stat { margin-top: 30px; border-top: 1px solid rgba(255, 255, 255, 0.12); }

  .form-card { padding: 24px 18px; border-radius: 26px; }
  .form { grid-template-columns: 1fr; }
  .faq-item .answer { padding-right: 8px; }
  .cta-panel { padding: 52px 22px; border-radius: 30px; }
  .footer-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* 404 */

.notfound { max-width: 620px; margin: 0 auto; padding: 80px 0 40px; text-align: center; }
.notfound h1 {
  margin-top: 14px; font: 800 clamp(2.6rem, 6vw, 4.2rem) / 1 var(--font-display); letter-spacing: -0.045em;
}
.notfound h1 .accent { color: var(--green-700); }
.notfound p { margin: 18px auto 32px; font-size: 18px; line-height: 1.6; color: var(--ink-2); }

/* Employee consent page */

.optin-steps { list-style: decimal; padding-left: 22px; margin: 0 0 8px; }
.optin-steps li { margin-bottom: 12px; }
.consent-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 44px 0 14px; }
.consent-head h2 { margin: 0; }
.consent-form {
  background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; padding: 30px 30px 26px;
  color: var(--ink); font-size: 15px; line-height: 1.6;
}
.cf-top { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; margin-bottom: 8px; border-bottom: 1px solid var(--line-2); }
.cf-top strong { display: block; font: 800 19px/1.2 var(--font-display); letter-spacing: -0.02em; }
.cf-top span { font-size: 13px; color: var(--muted); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.cf-line { display: flex; align-items: flex-end; gap: 12px; margin-top: 22px; }
.cf-line span { flex: none; font-weight: 600; font-size: 14px; }
.cf-line i { flex: 1; border-bottom: 1.5px solid var(--ink); height: 1px; }
.cf-consent { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; padding: 16px; border-radius: 10px; background: var(--cream); }
.cf-box { flex: none; width: 20px; height: 20px; margin-top: 3px; border: 1.8px solid var(--ink); border-radius: 4px; background: #fff; }
.cf-consent p { margin: 0; font-size: 14px; line-height: 1.6; }
.cf-sign { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.welcome-preview { max-width: 420px; margin: 14px 0 16px; padding: 16px; border-radius: 22px; background: #fbfbf9; border: 1px solid var(--line); }
.wp-head { display: flex; align-items: center; gap: 8px; padding-bottom: 12px; margin-bottom: 10px; border-bottom: 1px solid var(--line); }
.wp-head b { font: 700 14px var(--font-display); }
.welcome-preview .bubble { max-width: 100%; animation: none; font-size: 14.5px; }

@media (max-width: 640px) {
  .consent-form { padding: 22px 18px; }
  .cf-sign { grid-template-columns: 1fr; gap: 0; }
  .consent-head { flex-wrap: wrap; }
}

@media print {
  .nav, .footer, .no-print { display: none !important; }
  body { background: #fff; }
  .legal-wrap { padding: 0; }
  .consent-form { border-color: #000; }
  .cf-consent { background: #fff; border: 1px solid #000; }
}

/* Employee sign-up page */

.signup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; padding-top: 24px; }
.signup-intro h1 {
  margin-top: 14px; font: 800 clamp(2.3rem, 4.6vw, 3.4rem) / 1.04 var(--font-display); letter-spacing: -0.04em;
}
.signup-points { margin-top: 26px; display: grid; gap: 12px; }
.signup-points li { display: flex; gap: 10px; font-size: 16px; color: var(--ink); font-weight: 500; }
.signup-points .i { width: 20px; height: 20px; color: var(--green-600); stroke-width: 2.4; margin-top: 1px; }
.signup-intro .welcome-preview { margin-top: 32px; }
.signup-sample-note { margin-top: 8px; font-size: 13px; color: var(--muted); }
.form.one-col { grid-template-columns: 1fr; }
.consent-strong {
  padding: 16px; border-radius: 14px; background: var(--cream); border: 1px solid var(--line-2);
  color: var(--ink-2); font-size: 13.5px;
}
.consent-strong input.invalid { outline: 2px solid #c2502b; outline-offset: 2px; }
.consent-strong a { color: var(--green-700); font-weight: 600; }
.form-note a { color: var(--ink-2); }

@media (max-width: 1023px) {
  .signup-grid { grid-template-columns: 1fr; gap: 32px; }
  .signup-intro .welcome-preview, .signup-sample-note { display: none; }
}
