/* Keepwell home page. Tokens mirror the Keepwell design system (project/ds/keepwell/tokens.json). */
.kw {
  --ink: #1D1D1F; --ink2: #6E6E73; --ink3: #86868B; --ink-dk2: #A1A1A6;
  --canvas: #FFFFFF; --mist: #F5F5F7; --hair: #D2D2D7; --gray100: #E8E8ED; --gray300: #AEAEB2; --gray600: #48484A;
  --action: #126FD8; --action-h: #0B65CA; --action-p: #095AB6; --link: #0066CC; --link-d: #2997FF;
  --night: #000000; --night-card: #1D1D1F; --night-el: #2C2C2E;
  --saved: #126FD8; --saved-t: #095AB6; --saved-c: #126FD8; --saved-tint: #EAF3FF;
  --warn: #FF9500; --warn-d: #FF9F0A; --warn-t: #C93400; --warn-tint: #FFF4E5;
  --indigo: #4F4BC8; --navy: #1B2140; --moon: #C9CCF2;
  --ease-r: cubic-bezier(0.28, 0.11, 0.32, 1); --ease-u: cubic-bezier(0.4, 0, 0.6, 1);
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, monospace;
  --gut: 40px;
  position: relative; font-family: var(--sans); color: var(--ink); background: var(--canvas);
  -webkit-font-smoothing: antialiased; overflow-x: clip; font-size: 17px; line-height: 1.47; letter-spacing: -0.022em;
}
.kw *, .kw *::before, .kw *::after { box-sizing: border-box; }
.kw [hidden] { display: none !important; }
:where(.kw) :where(h1, h2, h3, h4, p, figure, ul, ol) { margin: 0; }
:where(.kw) a { color: var(--link); text-decoration: none; }
:where(.kw) a:hover { text-decoration: underline; }
.kw a:focus-visible, .kw button:focus-visible, .kw [tabindex]:focus-visible, .kw input:focus-visible { outline: 2px solid var(--action); outline-offset: 3px; border-radius: 6px; }
:where(.kw) button { font: inherit; letter-spacing: inherit; color: inherit; }
.kw .night a:not(.btn) { color: var(--link-d); }

/* Layout */
.wrap { width: min(980px, 100% - var(--gut) * 2); margin-inline: auto; }
.wide { width: min(1260px, 100% - var(--gut) * 2); margin-inline: auto; }
.sec { padding: 120px 0; }
.night { background: var(--night); color: #F5F5F7; }
.mist { background: var(--mist); }
.center { text-align: center; }
.stack { display: flex; flex-direction: column; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Type */
.t-display { font-size: 96px; line-height: 1.04; font-weight: 600; letter-spacing: -0.015em; text-wrap: balance; }
.t-h1 { font-size: 56px; line-height: 1.07; font-weight: 600; letter-spacing: -0.005em; text-wrap: balance; }
.t-h2 { font-size: 40px; line-height: 1.1; font-weight: 600; letter-spacing: 0; text-wrap: balance; }
.t-h3 { font-size: 28px; line-height: 1.14; font-weight: 600; letter-spacing: 0.007em; text-wrap: balance; }
.t-eyebrow { font-size: 17px; line-height: 1.24; font-weight: 600; letter-spacing: -0.022em; }
.t-intro { font-size: 21px; line-height: 1.38; letter-spacing: 0.011em; color: var(--ink2); text-wrap: pretty; }
.night .t-intro, .t-intro.on-night { color: var(--ink-dk2); }
.t-small { font-size: 14px; line-height: 1.43; letter-spacing: -0.016em; }
.t-cap { font-size: 12px; line-height: 1.33; letter-spacing: -0.01em; }
.muted { color: var(--ink2); }
.night .muted { color: var(--ink-dk2); }
.head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 56px; }
.head.center { align-items: center; }
.head .t-intro { max-width: 640px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; cursor: pointer; border-radius: 17px; padding: 12px 22px; font-size: 17px; line-height: 1.18; background: var(--action); color: #FFFFFF !important; text-decoration: none !important; transition: background 200ms var(--ease-u), transform 150ms ease-out; white-space: nowrap; }
.btn:hover { background: var(--action-h); }
.btn:not(:disabled):active { background: var(--action-p); transform: scale(0.96); }
.btn-sm { font-size: 12px; padding: 4px 12px; letter-spacing: -0.01em; }
.btn-md { font-size: 14px; padding: 7px 15px; }
.lnk { font-size: 17px; }
.actions { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
.center .actions, .actions.center { justify-content: center; }

/* Navigation */
.ribbon { min-height: 40px; background: var(--mist); display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; letter-spacing: -0.016em; padding: 10px 22px; text-align: center; }
.ribbon a { white-space: nowrap; }
.ribbon .dot { width: 7px; height: 7px; border-radius: 4px; background: var(--saved); flex-shrink: 0; }
.gnav { position: relative; z-index: 30; height: 44px; background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); }
.gnav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 6px; color: var(--ink) !important; text-decoration: none !important; }
.logo span { font-size: 15px; font-weight: 600; letter-spacing: -0.02em; }
.gnav__links { display: flex; gap: 36px; font-size: 12px; letter-spacing: -0.01em; }
.gnav__links a, .gnav__right a:not(.btn) { color: rgba(29,29,31,0.8); transition: color 200ms var(--ease-u); }
.gnav__links a:hover, .gnav__right a:not(.btn):hover { color: var(--ink); text-decoration: none; }
.gnav__right { display: flex; gap: 20px; align-items: center; font-size: 12px; }
.menu-btn { display: none; width: 44px; height: 44px; margin-right: -12px; border: 0; background: transparent; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 6px; }
.menu-btn span { display: block; width: 18px; height: 1.5px; background: var(--ink); border-radius: 1px; transition: transform 300ms var(--ease-u); }
.sheet { position: fixed; z-index: 40; left: 0; right: 0; top: 0; height: min(100vh, 900px); background: #FFFFFF; padding: 72px 44px 32px; display: flex; flex-direction: column; gap: 14px; }
.sheet__close { position: absolute; top: 0; right: 10px; }
.sheet a.big { font-size: 28px; font-weight: 600; color: var(--ink); opacity: 0; transform: translateY(-8px); animation: kwIn 400ms var(--ease-r) forwards; }
.sheet .rule { height: 1px; background: var(--gray100); margin: 12px 0; }
.lnav { position: sticky; top: 0; z-index: 20; height: 52px; background: rgba(255,255,255,0.8); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; transition: border-color 200ms; }
.lnav.scrolled { border-bottom-color: var(--hair); }
.lnav__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.lnav__name { font-size: 21px; font-weight: 600; letter-spacing: 0.011em; }
.lnav__right { display: flex; gap: 20px; align-items: center; }

/* One floating glass pill, shared by every page. */
.gnav { position: sticky; top: 14px; z-index: 30; width: min(1120px, calc(100% - 32px)); height: 68px; margin: 14px auto 0; border: 1px solid rgba(255,255,255,0.9); border-radius: 36px; background: rgba(246,249,253,0.76); box-shadow: 0 14px 42px rgba(27,33,64,0.10), inset 0 1px rgba(255,255,255,0.96), inset 0 -1px rgba(255,255,255,0.42); backdrop-filter: saturate(170%) blur(24px); -webkit-backdrop-filter: saturate(170%) blur(24px); }
.gnav__in { width: 100%; padding: 0 12px 0 28px; }
.gnav .logo { flex: 0 0 180px; }
.gnav .logo svg { width: 21px; height: 21px; }
.gnav .logo span { font-size: 19px; }
.gnav__links { gap: clamp(14px, 2.15vw, 32px); font-size: 14px; font-weight: 500; }
.gnav__links a { white-space: nowrap; }
.gnav__cta { flex-shrink: 0; min-height: 43px; padding: 0 18px; font-size: 14px; }
.sheet { overscroll-behavior: contain; }
#overview, #save-story, #playbooks, #revenue, #ai, #compare, #faq { scroll-margin-top: 100px !important; }

/* Reveal */
.rv { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-r), transform 600ms var(--ease-r); }
.rv.v40 { transform: translateY(40px); transition-delay: 120ms; }
.rv.in { opacity: 1; transform: none; }

/* Hero */
.hero { padding: 72px 0 0; min-height: min(100vh, 900px); display: flex; flex-direction: column; align-items: center; text-align: center; overflow: hidden; }
.hero__text { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.hero__headline { width: 100%; max-width: 980px; font-size: 84px; }
.hero__benefit { display: block; color: var(--action); transition: opacity 300ms var(--ease-r), transform 300ms var(--ease-r); }
.hero__benefit.leaving { opacity: 0; transform: translateY(-.08em); }
.hero__benefit.entering { opacity: 0; transform: translateY(.08em); transition: none; }
.hero__text .t-intro { max-width: 640px; }
.hero__note { margin-top: 4px; color: var(--ink2); }
.hero__visual { position: relative; width: min(1180px, 100% - var(--gut) * 2); margin: 56px auto 0; height: 720px; }
.hero__dash { position: absolute; right: 0; top: 0; transform-origin: top right; }
.hero__dash .tilt { transform: perspective(2400px) rotateY(-8deg) rotateX(2deg); transform-origin: right center; border-radius: 14px; }
.hero__phone { position: absolute; left: 8%; top: 40px; z-index: 2; }
.floor { position: absolute; left: 4%; right: 2%; bottom: 0; height: 60px; background: radial-gradient(closest-side, rgba(0,0,0,0.16), rgba(0,0,0,0)); }
.hero-in-1 { opacity: 0; transform: translateY(60px); transition: opacity 900ms var(--ease-r) 300ms, transform 900ms var(--ease-r) 300ms; }
.hero-in-2 { opacity: 0; transform: translateY(40px) scale(0.96); transition: opacity 900ms var(--ease-r) 600ms, transform 900ms var(--ease-r) 600ms; }
.go .hero-in-1, .go .hero-in-2 { opacity: 1; transform: none; }

/* Phone */
.ph { position: relative; width: 290px; height: 628px; border-radius: 52px; padding: 4px; background: linear-gradient(145deg, #6A6862 0%, #2E2D2A 45%, #4E4C47 100%); flex-shrink: 0; }
.ph--silver { background: linear-gradient(145deg, #EDEDF0 0%, #C3C3C8 45%, #DCDCE0 100%); }
.ph--shadow { box-shadow: 0 50px 80px -40px rgba(0,0,0,0.45); }
.ph__bz { width: 100%; height: 100%; border-radius: 48px; background: #0A0A0A; padding: 8px; }
.ph__sc { position: relative; width: 100%; height: 100%; border-radius: 40px; background: #FFFFFF; overflow: hidden; display: flex; flex-direction: column; color: #1D1D1F; letter-spacing: -0.01em; }
.ph__pill { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 88px; height: 26px; border-radius: 13px; background: #000; z-index: 9; }
.chn { padding: 48px 12px 10px; display: grid; grid-template-columns: 32px 1fr 32px; align-items: center; border-bottom: 1px solid #EFEFF2; background: rgba(255,255,255,0.92); }
.chn__mid { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.chn__t { font-size: 12px; font-weight: 600; }
.chn__s { font-size: 10px; color: #6E6E73; }
.av { width: 32px; height: 32px; border-radius: 16px; background: var(--navy); display: flex; align-items: center; justify-content: center; }
.chat { flex: 1; padding: 12px 12px 0; display: flex; flex-direction: column; gap: 6px; font-size: 13px; line-height: 1.35; overflow: hidden; }
.bb { max-width: 80%; padding: 8px 12px; border-radius: 18px; }
.bb--u { align-self: flex-end; background: var(--indigo); color: #FFFFFF; }
.bb--t { align-self: flex-start; background: #E9E9EB; }
.ts { align-self: center; font-size: 10px; color: #6E6E73; padding: 4px 0; }
.rc { align-self: flex-end; font-size: 10px; color: #6E6E73; }
.typing { align-self: flex-start; background: #E9E9EB; border-radius: 18px; padding: 11px 13px; display: flex; gap: 5px; }
.typing i { width: 7px; height: 7px; border-radius: 4px; background: #8E8E93; animation: kwDot 1.2s infinite ease-in-out; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
.pop { opacity: 0; transform: scale(0.96); transform-origin: bottom left; }
.pop.on { animation: kwPop 420ms cubic-bezier(0.34, 1.3, 0.64, 1) forwards; }
.cmp { padding: 8px 10px 18px; display: flex; gap: 8px; align-items: center; }
.glass { background: rgba(245,245,247,0.78); border: 1px solid rgba(255,255,255,0.9); box-shadow: 0 2px 10px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.cmp__plus { width: 36px; height: 36px; border-radius: 18px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmp__field { flex: 1; height: 36px; border-radius: 18px; display: flex; align-items: center; padding: 0 14px; font-size: 13px; color: #8E8E93; }

/* Dashboard (fixed 1280 wide, zoomed by script) */
.db { width: 1280px; background: #FFFFFF; border-radius: 14px; overflow: hidden; box-shadow: 0 40px 90px -30px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,0,0,0.07); font-size: 14px; letter-spacing: -0.01em; text-align: left; color: #1D1D1F; }
.db__bar { height: 40px; background: var(--mist); border-bottom: 1px solid var(--gray100); display: flex; align-items: center; gap: 8px; padding: 0 16px; }
.db__bar i { width: 12px; height: 12px; border-radius: 6px; background: var(--hair); }
.db__bar span { margin: 0 auto; font-size: 12px; color: var(--ink2); background: #FFFFFF; border-radius: 8px; padding: 4px 120px; }
.db__grid { display: grid; grid-template-columns: 216px 300px minmax(0, 1fr) 300px; height: 700px; }
.db__side { background: #FBFBFD; border-right: 1px solid var(--gray100); padding: 18px 12px; display: flex; flex-direction: column; gap: 4px; }
.db__side .it { padding: 8px 10px; border-radius: 8px; display: flex; gap: 10px; align-items: center; }
.db__side .it.on { background: var(--gray100); font-weight: 600; }
.db__app { border: 1px solid var(--gray100); background: #FFFFFF; border-radius: 10px; padding: 8px 10px; display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 600; }
.db__list { border-right: 1px solid var(--gray100); display: flex; flex-direction: column; min-width: 0; }
.db__lh { padding: 16px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #F0F0F2; font-size: 17px; font-weight: 600; }
.cv { padding: 12px 16px; border-bottom: 1px solid #F0F0F2; display: flex; gap: 10px; }
.cv.on { background: #F5F8FF; }
.cv__dot { width: 8px; height: 8px; border-radius: 4px; margin-top: 6px; flex-shrink: 0; }
.cv__b { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cv__top { display: flex; justify-content: space-between; } .cv__top b { font-weight: 600; } .cv__top span { font-size: 12px; color: var(--ink2); }
.cv__p { color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 980px; background: #F0F0F2; color: var(--gray600); align-self: flex-start; }
.tg--w { background: var(--warn-tint); color: var(--warn-t); }
.tg--w::before { content: ""; width: 6px; height: 6px; border-radius: 3px; background: var(--warn); }
.tg--s { background: var(--saved-tint); color: var(--saved-t); }
.db__conv { display: flex; flex-direction: column; min-width: 0; }
.db__ch { padding: 14px 20px; border-bottom: 1px solid #F0F0F2; display: flex; justify-content: space-between; align-items: center; }
.db__msgs { flex: 1; padding: 20px 28px; display: flex; flex-direction: column; gap: 12px; }
.msg { max-width: 64%; display: flex; flex-direction: column; gap: 4px; }
.msg div { border-radius: 16px; padding: 10px 14px; line-height: 1.4; }
.msg span { font-size: 11px; color: var(--ink2); }
.msg--me { align-self: flex-end; align-items: flex-end; } .msg--me div { background: #1D1D1F; color: #FFFFFF; }
.msg--them { align-self: flex-start; } .msg--them div { background: #F0F0F2; }
.ev { align-self: center; display: flex; gap: 8px; align-items: center; font-size: 12px; border-radius: 980px; padding: 5px 12px; background: var(--mist); color: var(--gray600); }
.ev--w { background: var(--warn-tint); color: var(--warn-t); } .ev--w::before { content: ""; width: 7px; height: 7px; border-radius: 4px; background: var(--warn); }
.ev b { font-weight: 600; }
.db__cmp { padding: 14px 20px 18px; border-top: 1px solid #F0F0F2; display: flex; gap: 10px; align-items: center; }
.db__cmp div { flex: 1; border: 1px solid var(--hair); border-radius: 12px; padding: 12px 14px; color: var(--ink2); }
.db__cmp span { background: var(--action); color: #FFFFFF; border-radius: 980px; padding: 8px 16px; }
.db__panel { border-left: 1px solid var(--gray100); background: #FBFBFD; padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.cust { display: flex; gap: 12px; align-items: center; }
.cust__av { width: 44px; height: 44px; border-radius: 22px; background: var(--gray100); display: flex; align-items: center; justify-content: center; font-weight: 600; }
.kv { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; } .kv span:first-child { color: var(--ink2); } .kv span:last-child { text-align: right; }
.subcard { background: #FFFFFF; border: 1px solid var(--gray100); border-radius: 14px; padding: 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; }
.subcard__h { display: flex; gap: 10px; align-items: center; } .subcard__h b { font-size: 14px; font-weight: 600; display: block; }
.app-ic { border-radius: 22%; background: var(--navy); display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.off { color: var(--warn-t); font-weight: 600; }
.strike { color: var(--ink2); text-decoration: line-through; }
.hl { box-shadow: 0 0 0 2px var(--warn), 0 0 28px rgba(255,149,0,0.35); border-radius: 10px; }

/* Carousel */
.car__track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 8px max(var(--gut), calc((100% - 1260px) / 2)) 28px; scroll-padding-left: max(var(--gut), calc((100% - 1260px) / 2)); scroll-behavior: smooth; outline: none; }
.car__track::-webkit-scrollbar { display: none; }
.car__end { flex: 0 0 1px; }
.fc { position: relative; flex: 0 0 372px; height: 680px; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; scroll-snap-align: start; background: #FFFFFF; transition: transform 400ms var(--ease-r); opacity: 0; transform: translateY(30px); cursor: pointer; }
.fc.in { opacity: 1; transform: none; transition: opacity 600ms var(--ease-r), transform 600ms var(--ease-r); }
.fc.in:hover { transform: scale(1.02); transition: transform 400ms var(--ease-r); }
.fc.in:hover .fc__vis { transform: translateY(-6px); }
.fc--white { box-shadow: inset 0 0 0 1px var(--gray100); }
.fc--black { background: #000000; color: #F5F5F7; }
.fc--mist { background: var(--gray100); }
.fc__head { padding: 32px 32px 0; display: flex; flex-direction: column; gap: 8px; }
.fc__vis { margin-top: auto; transition: transform 600ms var(--ease-r); }
.rbtn { position: absolute; right: 20px; bottom: 20px; width: 36px; height: 36px; border-radius: 18px; border: 0; cursor: pointer; background: rgba(29,29,31,0.64); color: #FFFFFF; display: flex; align-items: center; justify-content: center; transition: background 200ms; }
.rbtn:hover { background: rgba(29,29,31,0.8); }
.fc--black .rbtn { background: rgba(245,245,247,0.24); }
.car__ctl { display: flex; justify-content: flex-end; gap: 16px; }
.arw { width: 36px; height: 36px; border-radius: 18px; border: 0; cursor: pointer; background: var(--gray100); color: #1D1D1F; display: flex; align-items: center; justify-content: center; transition: background 200ms, opacity 200ms; }
.arw:hover { background: var(--hair); } .arw:disabled { opacity: 0.42; cursor: default; background: var(--gray100); }
.modal-dim { position: fixed; inset: 0; z-index: 50; background: rgba(0,0,0,0.48); display: flex; align-items: center; justify-content: center; padding: 40px 22px; animation: kwFade 300ms ease-out; overflow-y: auto; }
.modal-dim.tall { position: absolute; align-items: flex-start; }
.modal { position: relative; width: min(980px, 100%); background: #FFFFFF; border-radius: 28px; padding: 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; animation: kwModal 400ms var(--ease-r); outline: none; color: var(--ink); text-align: left; }
.modal__x { position: absolute; top: 20px; right: 20px; width: 36px; height: 36px; border: 0; border-radius: 18px; background: #1D1D1F; color: #FFFFFF; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.modal__txt { display: flex; flex-direction: column; gap: 16px; }
.modal__txt p { font-size: 21px; line-height: 1.38; color: #48484A; }
.modal__vis { border-radius: 18px; background: var(--mist); min-height: 320px; display: flex; align-items: center; justify-content: center; padding: 28px; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; max-width: 860px; margin: 0 auto; }
.stat__n { font-size: 80px; line-height: 1.05; font-weight: 600; letter-spacing: -0.015em; font-variant-numeric: tabular-nums; }
.stat__l { font-size: 21px; line-height: 1.38; color: var(--ink-dk2); margin-top: 8px; }
.verify { display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 600; color: #1D1D1F; background: var(--warn-d); border-radius: 980px; padding: 2px 8px; vertical-align: middle; letter-spacing: 0; }
.stats__after { margin-top: 56px; text-align: center; font-size: 21px; color: var(--ink3); }

/* Story */
.story { position: relative; }
.story__pin { position: sticky; top: 52px; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 64px; }
.story__txt { position: relative; height: 240px; }
.story__line { position: absolute; inset: 0 0 auto 0; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(16px); transition: opacity 400ms var(--ease-u), transform 400ms var(--ease-u); }
.story__line.on { opacity: 1; transform: none; }
.story__line p { font-size: 17px; color: var(--ink3); }
.prog { display: flex; flex-direction: column; gap: 12px; position: absolute; left: -36px; top: 8px; }
.prog i { width: 7px; height: 7px; border-radius: 4px; background: #48484A; transition: background 300ms; }
.prog i.on { background: #F5F5F7; }
.story__phone { position: relative; transition: transform 600ms var(--ease-r); }
.story__phone.shrink { transform: scale(0.82) translateY(-40px); }
.scr { position: absolute; inset: 0; opacity: 0; transition: opacity 300ms var(--ease-u); display: flex; flex-direction: column; }
.scr.on { opacity: 1; }
.story__tag { position: absolute; left: 50%; top: -44px; transform: translateX(-50%); white-space: nowrap; font-size: 14px; font-weight: 600; color: #000; background: var(--saved); border-radius: 980px; padding: 5px 14px; opacity: 0; transition: opacity 400ms; z-index: 3; }
.story__tag.on { opacity: 1; }
.story__end { position: absolute; left: 0; right: 0; bottom: 7%; display: flex; flex-direction: column; align-items: center; gap: 14px; opacity: 0; transform: translateY(20px); transition: opacity 600ms var(--ease-r), transform 600ms var(--ease-r); pointer-events: none; }
.story__end.on { opacity: 1; transform: none; pointer-events: auto; }
.story__pin .story__end { left: auto; right: 6%; top: 50%; bottom: auto; width: min(380px, 29vw); align-items: flex-start; text-align: left; transform: translateY(calc(-50% + 20px)); gap: 16px; }
.story__pin .story__end.on { transform: translateY(-50%); }
.story__pin .story__end p { max-width: 330px; padding: 0 !important; text-align: left !important; }
.story__pin .saved-big { font-size: clamp(64px, 6vw, 88px); }
.saved-big { font-size: 96px; line-height: 1; font-weight: 600; letter-spacing: -0.015em; color: var(--saved); }
.manage { display: flex; justify-content: space-between; align-items: center; gap: 24px; width: 280px; background: var(--night-card); border-radius: 14px; padding: 14px 16px; font-size: 15px; color: #F5F5F7; }
.story--static .story__rows { display: flex; flex-direction: column; gap: 72px; }
.srow { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 64px; align-items: center; }
.srow .ph { zoom: 0.82; }
.srow__n { font-size: 14px; font-weight: 600; color: var(--ink3); }
.static-end { margin-top: 96px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }

/* Driftwood screens */
.dw { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; background: linear-gradient(170deg, #1B2140 0%, #2A2F66 60%, #3B3896 100%); color: #FFFFFF; padding: 60px 24px 30px; position: relative; }
.dw__hi { font-size: 13px; opacity: 0.8; }
.dw__moon { width: 120px; height: 120px; border-radius: 60px; border: 3px solid rgba(255,255,255,0.55); display: flex; align-items: center; justify-content: center; font-size: 22px; font-weight: 600; }
.dw__btn { background: rgba(255,255,255,0.16); border-radius: 980px; padding: 10px 22px; font-size: 13px; font-weight: 600; }
.dw.dim::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.toast { position: absolute; left: 12px; right: 12px; top: 52px; z-index: 3; background: rgba(255,255,255,0.96); border-radius: 18px; padding: 12px 14px; display: flex; gap: 10px; align-items: center; font-size: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.3); animation: kwDrop 500ms var(--ease-r); color: #1D1D1F; }
.toast b { font-weight: 600; color: var(--warn-t); display: block; }
.toast .d { width: 10px; height: 10px; border-radius: 5px; background: var(--warn); flex-shrink: 0; }
.sheet2 { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; background: #FFFFFF; border-radius: 26px 26px 0 0; padding: 18px 16px 26px; display: flex; flex-direction: column; gap: 10px; color: #1D1D1F; box-shadow: 0 -10px 30px rgba(0,0,0,0.25); }
.sheet2__grab { width: 36px; height: 5px; border-radius: 3px; background: #D2D2D7; align-self: center; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { font-size: 12px; padding: 7px 11px; border-radius: 980px; border: 1px solid #D2D2D7; background: #FFFFFF; transition: background 200ms, color 200ms, border-color 200ms; }
.chip.sel { background: var(--indigo); color: #FFFFFF; border-color: var(--indigo); }
.offer { background: #F5F5F7; border-radius: 18px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.offer__h { display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: 600; }
.offer__p { display: flex; align-items: baseline; gap: 8px; } .offer__p s { color: #6E6E73; font-size: 13px; } .offer__p b { font-size: 22px; font-weight: 600; } .offer__p span { font-size: 11px; color: #6E6E73; }
.offer__btn { background: var(--indigo); color: #FFFFFF; border-radius: 12px; height: 40px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; }
.fine { font-size: 10px; color: #6E6E73; text-align: center; }
.confirm { position: absolute; left: 0; right: 0; bottom: 0; z-index: 4; background: #F2F2F7; border-radius: 26px 26px 0 0; padding: 16px 16px 24px; display: flex; flex-direction: column; gap: 10px; box-shadow: 0 -10px 40px rgba(0,0,0,0.3); animation: kwRise 500ms var(--ease-r) 900ms both; }
.confirm__row { background: #FFFFFF; border-radius: 12px; padding: 10px; display: flex; gap: 10px; align-items: center; font-size: 12px; }
.confirm__side { display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 600; color: var(--indigo); }
.done { display: flex; flex-direction: column; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }

/* Inbox section */
.inbox-vis { position: relative; }
.inbox-vis__zoom { margin: 0 auto; transform-origin: top center; }
.callouts { position: absolute; inset: 0; pointer-events: none; }
.co { position: absolute; display: flex; align-items: center; gap: 0; }
.co__lbl { background: #1D1D1F; color: #FFFFFF; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 980px; white-space: nowrap; opacity: 0; transition: opacity 400ms var(--ease-u); }
.co__line { height: 1px; background: #1D1D1F; width: 0; transition: width 500ms var(--ease-r); }
.co.on .co__lbl { opacity: 1; } .co.on .co__line { width: var(--len); }
.co--r { flex-direction: row-reverse; }
.inbox-mobile { display: none; }
.co-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.co-list li { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: 600; }
.co-list li::before { content: ""; width: 8px; height: 8px; border-radius: 4px; background: #1D1D1F; }

/* Playbooks */
.pb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.editor { background: #FFFFFF; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px -40px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.05); font-size: 14px; }
.editor__bar { padding: 14px 18px; border-bottom: 1px solid var(--gray100); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.editor__body { display: grid; grid-template-columns: 170px minmax(0, 1fr); }
.editor__list { border-right: 1px solid var(--gray100); padding: 10px 8px; display: flex; flex-direction: column; gap: 2px; background: #FBFBFD; }
.editor__list span { font-size: 12px; padding: 7px 8px; border-radius: 8px; display: flex; justify-content: space-between; align-items: center; gap: 6px; transition: background 200ms, box-shadow 200ms; }
.editor__list span.on { background: #FFFFFF; box-shadow: 0 0 0 2px var(--action); font-weight: 600; }
.editor__list i { width: 6px; height: 6px; border-radius: 3px; background: var(--saved); flex-shrink: 0; }
.steps { padding: 18px; display: flex; flex-direction: column; align-items: stretch; }
.step { border: 1px solid var(--gray100); border-radius: 12px; padding: 10px 12px; display: flex; gap: 10px; align-items: center; background: #FFFFFF; font-size: 13px; }
.step small { display: block; font-size: 11px; font-weight: 600; color: var(--ink2); }
.step--trig { background: var(--warn-tint); border-color: #FFD8A8; } .step--trig small { color: var(--warn-t); }
.conn { width: 1.5px; height: 14px; background: var(--hair); margin-left: 22px; }
.branches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.branch { display: flex; flex-direction: column; gap: 6px; }
.branch em { font-style: normal; font-size: 10px; color: var(--ink2); background: #F0F0F2; border-radius: 980px; padding: 2px 8px; align-self: flex-start; }
.toggle { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--saved-t); }
.toggle i { width: 34px; height: 20px; border-radius: 10px; background: var(--saved); position: relative; }
.toggle i::after { content: ""; position: absolute; right: 2px; top: 2px; width: 16px; height: 16px; border-radius: 8px; background: #FFFFFF; }
.pill { font-size: 11px; background: var(--mist); border-radius: 980px; padding: 3px 10px; }
.tiles6 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tile6 { background: #FFFFFF; border-radius: 18px; padding: 20px; display: flex; flex-direction: column; gap: 12px; min-height: 128px; border: 0; text-align: left; cursor: default; transition: box-shadow 200ms, transform 200ms; }
.tile6:hover, .tile6.on { box-shadow: 0 4px 24px rgba(0,0,0,0.08); transform: translateY(-2px); }
.tile6 b { font-size: 17px; font-weight: 600; line-height: 1.24; }
.pb__note { margin-top: 20px; display: flex; flex-direction: column; gap: 6px; }

/* Revenue */
.rev { background: #FFFFFF; border-radius: 18px; padding: 28px; box-shadow: 0 30px 80px -40px rgba(0,0,0,0.25), 0 0 0 1px rgba(0,0,0,0.06); display: flex; flex-direction: column; gap: 20px; text-align: left; }
.rev__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rev__tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.rtile { background: var(--mist); border-radius: 14px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.rtile b { font-size: 40px; font-weight: 600; line-height: 1.1; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.rev__charts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 16px; }
.chart { border: 1px solid var(--gray100); border-radius: 14px; padding: 20px 22px; display: flex; flex-direction: column; gap: 16px; }
.brow { display: grid; grid-template-columns: 110px minmax(0, 1fr) 44px; gap: 12px; align-items: center; font-size: 13px; }
.btrack { position: relative; height: 28px; }
.bfill { height: 100%; border-radius: 0 4px 4px 0; width: 0; transition: width 1000ms var(--ease-r); }
.whisk { position: absolute; top: 13px; height: 2px; background: #1D1D1F; opacity: 0; transition: opacity 400ms 900ms; }
.whisk::before, .whisk::after { content: ""; position: absolute; top: -6px; width: 2px; height: 14px; background: #1D1D1F; }
.whisk::before { left: 0; } .whisk::after { right: 0; }
.in .whisk { opacity: 1; }
.axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--ink2); border-top: 1px solid var(--gray100); padding-top: 6px; }
.lift { font-size: 13px; background: var(--saved-tint); border-radius: 10px; padding: 10px 12px; } .lift b { color: var(--saved-t); }
.frow { display: grid; grid-template-columns: 92px minmax(0, 1fr) 84px; gap: 10px; align-items: center; font-size: 13px; }
.frow .btrack { height: 24px; }
.frow span:last-child { text-align: right; }
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; margin-top: 56px; }
.col3 { display: flex; flex-direction: column; gap: 8px; }
.col3 b { font-size: 21px; font-weight: 600; }

/* AI */
.ai2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.aitile { background: var(--night-card); border-radius: 28px; padding: 40px; display: flex; flex-direction: column; gap: 40px; }
.aichat { display: flex; flex-direction: column; gap: 10px; font-size: 15px; line-height: 1.4; margin-top: auto; }
.aichat .u { align-self: flex-end; background: var(--indigo); color: #FFFFFF; border-radius: 18px; padding: 9px 13px; max-width: 82%; }
.aichat .a { align-self: flex-start; background: var(--night-el); border-radius: 18px; padding: 10px 13px; max-width: 86%; }
.aichat .lbl { align-self: flex-start; display: flex; gap: 5px; align-items: center; font-size: 11px; font-weight: 600; color: var(--ink-dk2); }
.aichat .src { align-self: flex-start; font-size: 12px; border: 1px solid #48484A; border-radius: 980px; padding: 4px 10px; color: #F5F5F7; }
.aichat .evt { align-self: center; font-size: 12px; color: #F5F5F7; background: var(--night-el); border-radius: 980px; padding: 5px 12px; display: flex; gap: 6px; align-items: center; }
.aichat .orig { align-self: flex-end; font-size: 12px; color: var(--link-d); }
.aichat .tr { display: flex; flex-direction: column; gap: 6px; }
.aichat .tr span { color: var(--ink-dk2); }
.aichat hr { border: 0; height: 1px; background: #48484A; margin: 2px 0; }
.pills4 { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 32px; }
.pills4 span { background: var(--night-card); border-radius: 980px; padding: 8px 16px; font-size: 14px; }

/* Install */
.inst { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; }
.code { background: var(--night-card); border-radius: 28px; padding: 28px 32px 36px; color: #F5F5F7; min-width: 0; }
.code__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; font-size: 12px; color: var(--ink-dk2); }
.copy { border: 0; cursor: pointer; background: var(--night-el); color: #F5F5F7; border-radius: 980px; padding: 6px 14px; font-size: 12px; }
.copy:hover { background: #3A3A3C; }
.code pre { margin: 0; font-family: var(--mono); font-size: 15px; line-height: 1.6; white-space: pre; overflow-x: auto; min-height: 168px; letter-spacing: 0; }
.k-kw { color: #FC5FA3; } .k-ty { color: #D0A8FF; } .k-fn { color: #67B7A4; } .k-st { color: #FD8F3F; } .k-bt { color: #5DD8FF; }
.caret { display: inline-block; width: 8px; height: 18px; background: #F5F5F7; vertical-align: -3px; animation: kwBlink 1s steps(2) infinite; }
.inst__phone .ph__sc { background: #F2F2F7; }
.app-home { padding: 56px 18px 0; display: flex; flex-direction: column; gap: 12px; }
.app-home h4 { margin: 0; font-size: 24px; font-weight: 700; }
.row-set { background: #FFFFFF; border-radius: 12px; padding: 11px 12px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.chatsheet { position: absolute; left: 0; right: 0; bottom: 0; top: 70px; background: #FFFFFF; border-radius: 22px 22px 0 0; box-shadow: 0 -10px 30px rgba(0,0,0,0.18); transform: translateY(100%); transition: transform 600ms var(--ease-r); display: flex; flex-direction: column; z-index: 3; }
.chatsheet.up { transform: none; }
.pills5 { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 48px; }
.pills5 span { background: var(--mist); border-radius: 980px; padding: 8px 16px; font-size: 14px; }

/* Built right */
.grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.btile { background: #FFFFFF; border-radius: 18px; padding: 32px; display: flex; flex-direction: column; gap: 10px; }
.btile svg { margin-bottom: 8px; }

/* Plans */
.plans-head { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.lineup-wrap { overflow-x: auto; scrollbar-width: none; }
.lineup-wrap::-webkit-scrollbar { display: none; }
.lineup { display: grid; grid-template-columns: repeat(4, minmax(200px, 1fr)); gap: 24px; }
.lu { display: flex; flex-direction: column; align-items: center; text-align: center; }
.lu__vis { height: 120px; width: 150px; display: flex; flex-wrap: wrap; align-content: center; justify-content: center; gap: 6px; }
.lu__name { font-size: 28px; font-weight: 600; margin-top: 16px; }
.lu__desc { font-size: 14px; color: var(--ink2); margin-top: 6px; min-height: 20px; }
.lu__price { font-size: 17px; font-weight: 600; margin-top: 12px; }
.lu__act { display: flex; gap: 16px; align-items: center; margin-top: 20px; font-size: 14px; flex-wrap: wrap; justify-content: center; }
.lu__rows { width: 100%; margin-top: 28px; }
.lu__row { border-top: 1px solid var(--hair); padding: 18px 8px; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: 14px; }
.lu__row.dash { color: var(--ink2); }
.founding { margin-top: 40px; text-align: center; }
.founding a { font-size: 17px; font-weight: 600; color: var(--saved-t); }

/* Accordion */
.acc { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.acc__it { border-top: 1px solid var(--hair); }
.acc__it:last-child { border-bottom: 1px solid var(--hair); }
.acc__btn { width: 100%; border: 0; background: transparent; cursor: pointer; text-align: left; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; font-size: 21px; font-weight: 600; color: var(--ink); }
.acc__btn svg { transition: transform 300ms var(--ease-u); flex-shrink: 0; }
.acc__body { padding: 0 0 22px; color: #48484A; max-width: 440px; }
.acc__img { position: relative; height: 440px; border-radius: 28px; background: #FFFFFF; overflow: hidden; }
.acc__pane { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; transition: opacity 500ms var(--ease-u); }
.device-pair { flex-direction: row; align-items: flex-end; gap: 18px; padding: 36px 24px; background: radial-gradient(circle at 70% 30%, #eef1fd, #fff 65%); }
.device { flex-shrink: 0; background: #313139; border: 2px solid #767780; box-shadow: 0 18px 34px rgba(27,33,64,.18), inset 0 0 0 1px #17171b; padding: 5px; overflow: hidden; }
.device--phone { width: 122px; height: 255px; border-radius: 22px; position: relative; z-index: 2; transform: translateY(10px); }
.device--pad { width: 242px; height: 182px; border-radius: 17px; }
.device__screen { width: 100%; height: 100%; background: #fff; border-radius: inherit; overflow: hidden; display: flex; flex-direction: column; color: #1D1D1F; }
.device__top { height: 19px; padding: 4px 9px 0; display: flex; justify-content: space-between; font-size: 7px; font-weight: 700; }
.device__app { display: flex; gap: 5px; align-items: center; padding: 5px 9px; border-bottom: 1px solid #ececf2; font-size: 8px; font-weight: 700; }
.device__mark { display: inline-grid; place-items: center; width: 13px; height: 13px; border-radius: 4px; background: #1B2140; color: #fff; font-size: 8px; }
.device__title { padding: 8px 9px 6px; font-size: 10px; font-weight: 700; }
.device__msg { margin: 4px 18px 4px 8px; padding: 6px 7px; border-radius: 8px 8px 8px 3px; background: #f0f1f6; font-size: 7px; line-height: 1.3; }
.device__msg--reply { margin: 4px 8px 4px 18px; border-radius: 8px 8px 3px 8px; background: #4F4BC8; color: #fff; }
.device__field { margin: auto 8px 8px; padding: 5px 7px; border: 1px solid #e4e5eb; border-radius: 8px; color: #86868B; font-size: 7px; }
.device__padbody { display: grid; grid-template-columns: 70px 1fr; flex: 1; min-height: 0; }
.device__sidebar { display: flex; flex-direction: column; gap: 4px; padding: 9px 6px; background: #f5f5f8; font-size: 7px; }
.device__sideactive { background: #e6e6f6; border-radius: 4px; padding: 3px 4px; color: #35318c; }
.device__thread { display: flex; flex-direction: column; min-width: 0; }
.device--pad .device__msg { max-width: 110px; }
.device--pad .device__msg--reply { align-self: flex-end; }
.device--pad .device__field { margin-top: auto; }

/* Final call */
.final { padding: 160px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 20px; }
.final .t-display { font-size: 80px; max-width: 900px; }

/* Footer */
.foot { background: var(--mist); padding: 24px 0 32px; font-size: 12px; line-height: 1.33; color: var(--ink2); letter-spacing: -0.01em; }
.foot__notes { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 1px solid var(--hair); }
.foot__notes ol { padding-left: 16px; }
.foot__dir { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding: 24px 0; }
.foot__col { display: flex; flex-direction: column; gap: 10px; }
.foot__col h3, .foot__col h2 { font-size: 12px; font-weight: 600; color: var(--ink); }
.foot__colbtn { display: none; }
.foot__col a { color: #424245; }
.foot__legal { border-top: 1px solid var(--hair); padding-top: 16px; display: flex; justify-content: space-between; gap: 24px; }
.foot__region { color: var(--ink); white-space: nowrap; }
.foot--minimal { padding: 22px 0; }
.foot__minimal { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* ===== Pricing ===== */
.pr-head { padding: 96px 0 56px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 16px; }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; background: var(--gray100); border-radius: 980px; padding: 4px; }
.seg__thumb { position: absolute; top: 4px; left: 4px; width: calc(50% - 4px); height: 36px; background: #FFFFFF; border-radius: 980px; box-shadow: 0 1px 4px rgba(0,0,0,0.12); transition: transform 300ms var(--ease-u); }
.seg button { position: relative; height: 36px; min-width: 120px; border: 0; background: transparent; border-radius: 980px; font-size: 14px; font-weight: 600; cursor: pointer; }
.seg-row { display: flex; gap: 12px; align-items: center; margin-top: 12px; flex-wrap: wrap; justify-content: center; }
.save-tag { font-size: 12px; font-weight: 600; color: var(--saved-t); background: var(--saved-tint); border-radius: 980px; padding: 4px 10px; }
.plans4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.plan { position: relative; border: 1px solid var(--hair); border-radius: 18px; padding: 32px 26px; display: flex; flex-direction: column; gap: 6px; background: #FFFFFF; }
.plan--pop { border: 2px solid var(--ink); }
.plan__pop { position: absolute; top: -13px; left: 26px; font-size: 12px; font-weight: 600; background: var(--ink); color: #FFFFFF; padding: 4px 10px; border-radius: 980px; }
.plan__name { font-size: 21px; font-weight: 600; }
.plan__one { color: var(--ink2); font-size: 14px; min-height: 40px; }
.roll { height: 48px; overflow: hidden; margin-top: 8px; }
.roll__in { display: flex; flex-direction: column; transition: transform 400ms var(--ease-u); }
.roll__in span { height: 48px; font-size: 40px; line-height: 48px; font-weight: 600; letter-spacing: -0.01em; font-variant-numeric: tabular-nums; }
.roll__in small { font-size: 17px; font-weight: 400; color: var(--ink2); }
.plan__bill { font-size: 12px; color: var(--ink2); min-height: 16px; }
.plan .btn { margin: 18px 0 14px; }
.plan__inc { font-size: 14px; color: var(--ink2); padding-bottom: 4px; }
.chk { display: flex; gap: 10px; align-items: flex-start; padding: 8px 0; border-top: 1px solid var(--gray100); font-size: 14px; line-height: 1.43; }
.chk svg { flex-shrink: 0; margin-top: 2px; }
.extra { margin-top: 40px; display: flex; justify-content: center; align-items: center; gap: 8px; color: var(--ink2); font-size: 14px; text-align: center; flex-wrap: wrap; position: relative; }
.info { width: 24px; height: 24px; border-radius: 12px; border: 0; background: var(--gray100); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: var(--ink); }
.tipbox { position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%); width: min(340px, 100%); background: var(--ink); color: #FFFFFF; font-size: 13px; line-height: 1.4; padding: 12px 14px; border-radius: 12px; z-index: 5; text-align: left; animation: kwFade 200ms ease-out; }
.founding-card { margin-top: 48px; background: var(--saved-tint); border-radius: 28px; padding: 40px 48px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.founding-card h2 { color: var(--ink); }
.founding-card p { color: #2D4A35; margin-top: 6px; }
.cmpt { font-size: 14px; }
.cmpt sc-for, .cmpt sc-if { display: contents; }
.cmp__row { display: grid; grid-template-columns: minmax(0, 2fr) repeat(4, minmax(0, 1fr)); align-items: center; border-bottom: 1px solid var(--gray100); }
.cmp__row > span { padding: 14px 12px; text-align: center; display: flex; justify-content: center; }
.cmp__row > span:first-child { justify-content: flex-start; padding-left: 0; }
.cmp__head { position: sticky; top: 52px; z-index: 5; background: rgba(255,255,255,0.94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); font-size: 17px; font-weight: 600; border-bottom-color: var(--hair); }
.cmp__grp { font-weight: 600; padding: 32px 0 14px; border-bottom: 1px solid var(--hair); }
.cmpt .dash { color: var(--ink2); }
.picker { display: none; }
.picker__sel { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; position: sticky; top: 52px; background: #FFFFFF; padding: 12px 0; z-index: 5; }
.picker select { width: 100%; height: 44px; border: 1px solid var(--hair); border-radius: 12px; padding: 0 12px; font: inherit; font-size: 15px; font-weight: 600; background: #FFFFFF; color: var(--ink); }
.prow { padding: 12px 0; border-bottom: 1px solid var(--gray100); font-size: 14px; }
.prow__l { color: var(--ink2); font-size: 12px; margin-bottom: 6px; }
.prow__v { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pgrp { font-size: 14px; font-weight: 600; padding: 28px 0 6px; border-bottom: 1px solid var(--hair); }
.faq { max-width: 820px; margin: 0 auto; }

/* ===== Early access ===== */
.ea { display: grid; grid-template-columns: minmax(0, 560px) auto; gap: 96px; justify-content: center; align-items: center; padding: 96px 0 120px; }
.ea__col { display: flex; flex-direction: column; gap: 16px; }
.ea form { display: flex; flex-direction: column; gap: 14px; margin-top: 24px; }
.fld { position: relative; }
.fld input, .fld select { width: 100%; height: 56px; border: 1px solid var(--hair); border-radius: 12px; padding: 22px 16px 6px; font: inherit; font-size: 17px; color: var(--ink); background: #FFFFFF; outline: none; appearance: none; -webkit-appearance: none; transition: border-color 200ms, box-shadow 200ms; }
.fld label { position: absolute; left: 17px; top: 17px; font-size: 17px; color: var(--ink2); pointer-events: none; transition: all 200ms var(--ease-u); }
.fld input:focus, .fld select:focus { border-color: var(--action); box-shadow: 0 0 0 3px rgba(0,113,227,0.25); }
.fld input:focus + label, .fld input:not(:placeholder-shown) + label, .fld select + label { top: 8px; font-size: 12px; }
.fld--sel::after { content: ""; position: absolute; right: 18px; top: 25px; width: 8px; height: 8px; border-right: 1.5px solid var(--ink2); border-bottom: 1.5px solid var(--ink2); transform: rotate(45deg); pointer-events: none; }
.fld--err input, .fld--err select { border-color: var(--warn-t); }
.fld--err label { color: var(--warn-t); }
.fld__msg { font-size: 12px; color: var(--warn-t); margin-top: 6px; }
.cbx { display: flex; gap: 10px; align-items: center; font-size: 14px; cursor: pointer; }
.cbx input { width: 20px; height: 20px; accent-color: var(--action); margin: 0; }
.cbx input:focus-visible { outline: 2px solid var(--action); outline-offset: 2px; }
.banner { display: flex; gap: 10px; align-items: center; background: var(--warn-tint); color: var(--warn-t); border-radius: 12px; padding: 12px 14px; font-size: 14px; }
.fine2 { font-size: 12px; color: var(--ink2); }
.fade-in { animation: kwFade 400ms var(--ease-u); }
.draw circle { stroke-dasharray: 64; stroke-dashoffset: 64; animation: kwDraw 500ms var(--ease-r) forwards; }
.draw path { stroke-dasharray: 20; stroke-dashoffset: 20; animation: kwDraw 400ms var(--ease-r) 400ms forwards; }
@keyframes kwDraw { to { stroke-dashoffset: 0; } }

/* ===== 404 ===== */
.nf { padding: 96px 0 140px; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }

@media (max-width: 1068px) {
  .gnav .logo { flex-basis: auto; }
  .plans4 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; }
  .ea { gap: 56px; }
}
@media (max-width: 734px) {
  .gnav { top: 10px; width: calc(100% - 24px); height: 62px; margin-top: 10px; border-radius: 33px; }
  .gnav__in { padding: 0 8px 0 17px; gap: 8px; }
  .gnav .logo span { font-size: 17px; }
  .gnav__cta { min-height: 36px; padding: 0 11px; font-size: 12px; margin-left: auto; }
  .gnav .menu-btn { flex-shrink: 0; margin-right: 0; }
  .pr-head { padding: 64px 0 40px; }
  .plans-scroll { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin: 0 calc(var(--gut) * -1); padding: 16px var(--gut) 8px; }
  .plans-scroll::-webkit-scrollbar { display: none; }
  .plans4 { grid-template-columns: repeat(4, 280px); gap: 14px; }
  .plan { scroll-snap-align: center; }
  .founding-card { padding: 28px 24px; }
  .cmpt { display: none; }
  .picker { display: block; }
  .ea { grid-template-columns: minmax(0, 1fr); padding: 56px 0 80px; gap: 48px; justify-items: center; }
  .ea__col { width: 100%; }
  .ea .btn-full { width: 100%; }
  .ea__phone .ph, .nf .ph { zoom: 0.7; }
}
@media (prefers-reduced-motion: reduce) {
  .roll__in, .seg__thumb { transition: none; }
  .draw circle, .draw path { animation: none; stroke-dashoffset: 0; }
  .fade-in, .tipbox { animation: kwFade 200ms both; }
}

/* Keyframes */
@keyframes kwIn { to { opacity: 1; transform: none; } }
@keyframes kwFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes kwModal { from { opacity: 0; transform: scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes kwPop { to { opacity: 1; transform: none; } }
@keyframes kwDot { 0%, 60%, 100% { opacity: 0.35; } 30% { opacity: 1; } }
@keyframes kwDrop { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
@keyframes kwRise { from { transform: translateY(100%); } to { transform: none; } }
@keyframes kwBlink { 0% { opacity: 1; } 50% { opacity: 0; } }

/* Tablet */
@media (max-width: 1068px) {
  .t-display { font-size: 80px; } .hero__headline { font-size: 72px; } .t-h1 { font-size: 48px; } .t-h2 { font-size: 36px; } .t-h3 { font-size: 24px; }
  .stat__n { font-size: 64px; }
  .final .t-display { font-size: 64px; }
  .gnav__links { gap: 22px; }
  .hero__visual { height: 700px; }
  .hero__phone { left: 2%; }
  .story__pin { grid-template-columns: minmax(0, 1fr) auto; gap: 40px; }
  .story__pin .spacer { display: none; }
  .pb { grid-template-columns: minmax(0, 1fr); }
  .tiles6 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .acc { gap: 40px; }
  .modal { padding: 56px; }
}

/* Mobile */
@media (max-width: 734px) {
  .kw { --gut: 22px; }
  .sec { padding: 80px 0; }
  .t-display { font-size: 48px; } .hero__headline { font-size: 44px; } .t-h1 { font-size: 36px; } .t-h2 { font-size: 28px; } .t-h3 { font-size: 24px; }
  .hero__benefit { min-height: 2.08em; }
  .t-eyebrow { font-size: 14px; } .t-intro { font-size: 19px; }
  .head { margin-bottom: 40px; }
  .gnav__links, .gnav__right { display: none; }
  .menu-btn { display: flex; }
  .lnav__tag { display: none; }
  .ribbon { font-size: 12px; }
  .hero { padding-top: 48px; min-height: 0; }
  .hero__visual { height: 520px; margin-top: 40px; }
  .hero__dash { right: -6px; top: 0; }
  .hero__phone { left: calc(50% - 99px); top: 64px; }
  .hero__phone .ph { zoom: 0.68; }
  .fc { flex-basis: 300px; height: 560px; }
  .fc__head { padding: 26px 26px 0; }
  .fc__vis.zoomable { zoom: 0.82; }
  .car__track { gap: 14px; }
  .modal { grid-template-columns: minmax(0, 1fr); padding: 56px 24px 28px; gap: 24px; }
  .modal__txt p { font-size: 17px; }
  .modal__vis { min-height: 220px; }
  .stats { grid-template-columns: minmax(0, 1fr); gap: 40px; text-align: center; }
  .stat__n { font-size: 48px; }
  .stat__l { font-size: 19px; }
  .story__pin { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr; gap: 40px; padding-top: 64px; align-items: start; justify-items: center; }
  .story__txt { height: 150px; width: 100%; text-align: center; }
  .story__line { align-items: center; }
  .prog { flex-direction: row; left: 50%; transform: translateX(-50%); top: auto; bottom: -18px; }
  .story__phone { zoom: 0.72; }
  .story__end { bottom: 4%; }
  .story__pin .story__end { left: 0; right: 0; top: auto; bottom: 4%; width: 100%; align-items: center; text-align: center; transform: translateY(20px); }
  .story__pin .story__end.on { transform: none; }
  .story__pin .story__end p { text-align: center !important; }
  .saved-big { font-size: 64px; }
  .srow { grid-template-columns: minmax(0, 1fr); gap: 56px; justify-items: center; text-align: center; }
  .srow .ph { zoom: 0.72; }
  .inbox-desk { display: none; }
  .inbox-mobile { display: block; }
  .tiles6 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .editor__body { grid-template-columns: minmax(0, 1fr); }
  .editor__list { display: none; }
  .branches { grid-template-columns: minmax(0, 1fr); }
  .cols3 { grid-template-columns: minmax(0, 1fr); gap: 24px; margin-top: 40px; }
  .rev { padding: 18px; }
  .brow { grid-template-columns: 92px minmax(0, 1fr) 40px; }
  .ai2 { grid-template-columns: minmax(0, 1fr); }
  .aitile { padding: 28px 22px; min-height: 0; }
  .inst { grid-template-columns: minmax(0, 1fr); justify-items: center; }
  .code { width: 100%; padding: 22px 20px 26px; }
  .code pre { font-size: 12px; min-height: 136px; }
  .axis span:nth-child(even) { display: none; }
  .inst__phone { zoom: 0.8; }
  .grid3 { grid-template-columns: minmax(0, 1fr); }
  .btile { padding: 26px; }
  .lineup { grid-template-columns: repeat(4, 220px); gap: 16px; }
  .lineup-wrap { margin-right: calc(var(--gut) * -1); padding-right: var(--gut); }
  .acc { grid-template-columns: minmax(0, 1fr); }
  .acc__img { order: -1; height: 300px; }
  .device-pair { gap: 10px; padding: 32px 12px; }
  .device--phone { transform: translateY(10px) scale(.9); transform-origin: bottom right; margin-right: -8px; }
  .device--pad { transform: scale(.82); transform-origin: bottom left; margin-right: -36px; }
  .final { padding: 120px 0; }
  .final .t-display { font-size: 44px; }
  .foot__dir { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 12px 0; }
  .foot__col { gap: 0; border-bottom: 1px solid var(--hair); }
  .foot__col h3, .foot__col h2 { display: none; }
  .foot__colbtn { display: flex; justify-content: space-between; align-items: center; width: 100%; border: 0; background: transparent; padding: 14px 0; font-size: 14px; font-weight: 600; color: var(--ink); cursor: pointer; }
  .foot__col .links { display: none; flex-direction: column; gap: 12px; padding: 0 0 16px 12px; font-size: 14px; }
  .foot__col.open .links { display: flex; }
  .foot__legal { flex-direction: column; gap: 12px; }
}
@media (min-width: 735px) { .foot__col .links { display: flex; flex-direction: column; gap: 10px; } }

/* Reduced motion: everything becomes a short fade */
@media (prefers-reduced-motion: reduce) {
  .rv, .rv.v40, .fc, .hero-in-1, .hero-in-2, .story__line, .story__end, .co__line { transform: none !important; transition: opacity 200ms linear !important; }
  .fc.in:hover, .fc.in:hover .fc__vis, .tile6:hover { transform: none; }
  .pop.on { animation: kwFade 200ms forwards; }
  .modal, .modal-dim, .toast, .confirm, .sheet a.big { animation: kwFade 200ms both; }
  .bfill { transition: none; }
  .chatsheet { transition: opacity 200ms; }
  .typing i, .caret { animation: none; }
}
/* Spam trap: hidden from visitors, left available to automated form fillers. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Uploaded brand lockup and hero conversation */
.brand-lockup { display: block; width: auto; height: 28px; aspect-ratio: 5 / 1; object-fit: contain; }
.gnav .brand-lockup { height: 29px; max-width: 168px; }
.hero__phone .bb { max-width: 86%; text-align: left; border-radius: 17px; overflow-wrap: break-word; }
.hero__phone .bb--t { border-bottom-left-radius: 6px; }
.hero__phone .bb--u { border-bottom-right-radius: 6px; }
.hero__phone .pop.on { animation-fill-mode: forwards; }
@media (prefers-reduced-motion: reduce) { .hero__phone .pop.on { animation: none; opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero__benefit { transition: none; } }

/* Short legal pages */
.legal-page { min-height: 100vh; display: flex; flex-direction: column; }
.legal-content { flex: 1; padding-top: clamp(84px, 10vw, 150px); padding-bottom: 100px; max-width: 760px; }
.legal-content h1 { margin-bottom: 28px; }
.legal-content p { color: var(--ink2); margin: 0 0 18px; line-height: 1.65; }
.legal-content .legal-note { margin-top: 36px; font-size: 13px; }
.legal-links { display: flex; align-items: center; gap: 22px; }
