/* ==========================================================================
   Sorted. - website stylesheet, second design.
   Warm paper, deep ink and one jade full stop. Heavy sans headlines, a
   floating nav, and the product itself doing the talking: every section
   shows Sorted. working rather than describing it.
   ========================================================================== */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/inter-latin-wght-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/inter-latin-ext-wght-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("/fonts/sorted/fraunces-latin-full-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
    --ink-950: #0b1310; --ink-900: #13201b; --ink-800: #1f2e28; --ink-700: #33423b; --ink-600: #4a5852; --ink-500: #5f6b65; --ink-400: #8b948f; --ink-300: #b8beb9;
    --paper-0: #ffffff; --paper-50: #fbfaf7; --paper-100: #f6f4ef; --paper-150: #f0ede6; --paper-200: #e9e5dc; --paper-300: #e1dcd1; --paper-400: #cdc6b8;
    --jade-50: #eaf6f1; --jade-100: #d3eee3; --jade-200: #a6dcc7; --jade-300: #6cc7a6; --jade-400: #34c08f; --jade-500: #12a179; --jade-600: #0b8463; --jade-700: #08694f; --jade-800: #0a5240;
    --amber-600: #9a5b00; --amber-400: #e0a23a; --amber-50: #fcf2de; --red-600: #b42318; --red-50: #fdeeec;

    --bg: var(--paper-100);
    --text: var(--ink-900);
    --dim: var(--ink-600);

    --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --serif: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;

    --out: cubic-bezier(0.16, 1, 0.3, 1);
    --swift: cubic-bezier(0.2, 0, 0, 1);
    --bounce: cubic-bezier(0.3, 1.5, 0.5, 1);
    --shadow-card: 0 1px 2px rgba(19, 32, 27, 0.05), 0 14px 34px -16px rgba(19, 32, 27, 0.22);
    --shadow-float: 0 2px 6px rgba(19, 32, 27, 0.06), 0 26px 50px -22px rgba(19, 32, 27, 0.34);
    --hair: inset 0 0 0 1px var(--paper-300);

    --wrap: 1216px;
    --gutter: 24px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 16px; line-height: 1.6; font-feature-settings: "cv11", "ss03"; overflow-x: clip; }
a { color: inherit; text-decoration: none; }
img, svg { max-width: 100%; display: block; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--jade-100); color: var(--ink-900); }
:focus-visible { outline: 2px solid var(--jade-500); outline-offset: 3px; border-radius: 10px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink-900); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 16px; }

/* ---------- Type ---------- */

.wordmark { font-family: var(--serif); font-weight: 620; font-variation-settings: "SOFT" 100, "WONK" 0; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; color: var(--ink-900); font-size: 27px; }
.wordmark i { font-style: normal; color: var(--jade-500); }

.display { font-weight: 800; letter-spacing: -0.045em; line-height: 0.98; text-wrap: balance; }
.h2 { font-size: clamp(36px, 4.6vw, 64px); line-height: 1.02; }
.lede { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.6; color: var(--dim); max-width: 580px; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jade-700); }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--jade-500); }

/* The full stop: Sorted.'s mark, as a real dot. */
.stop { display: inline-block; width: 0.19em; height: 0.19em; margin-left: 0.04em; border-radius: 50%; background: var(--jade-500); }

/* A highlighted word; the highlight sweeps in when lit. */
mark { position: relative; background: none; color: inherit; white-space: nowrap; z-index: 0; }
mark::before { content: ""; position: absolute; z-index: -1; inset: 0.08em -0.1em 0; border-radius: 0.14em; background: var(--jade-100); transform: scaleX(0); transform-origin: 0 50%; transition: transform 0.7s var(--out); }
mark.lit::before, .in mark::before, html:not(.js) mark::before { transform: scaleX(1); }

/* ---------- Buttons: an ink pill carrying a jade dot ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 14px;
    height: 54px; padding: 0 26px; border-radius: 999px;
    background: var(--ink-900); color: #fff;
    font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap;
    box-shadow: 0 1px 2px rgba(19, 32, 27, 0.3), 0 10px 22px -12px rgba(19, 32, 27, 0.55);
    transition: transform 0.2s var(--out), box-shadow 0.2s, background 0.2s;
}
.btn:has(.go) { padding-right: 8px; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 1px 2px rgba(19, 32, 27, 0.3), 0 16px 28px -12px rgba(19, 32, 27, 0.6); }
.btn:active { transform: translateY(0) scale(0.98); }
.btn .go { width: 38px; height: 38px; border-radius: 50%; background: var(--jade-500); display: grid; place-items: center; flex: none; transition: transform 0.3s var(--bounce), background 0.2s; }
.btn .go svg { width: 16px; height: 16px; transition: transform 0.3s var(--out); }
.btn:hover .go { transform: scale(1.1); }
.btn:hover .go svg { transform: translateX(2px); }
.btn.ghost { background: transparent; color: var(--ink-900); box-shadow: inset 0 0 0 1.5px var(--paper-400); }
.btn.ghost:hover { background: #fff; box-shadow: inset 0 0 0 1.5px var(--ink-300); }
.btn.light { background: #fff; color: var(--ink-900); }
.btn.light .go { background: var(--ink-900); color: #fff; }
.btn.small { height: 42px; padding: 0 20px; font-size: 15px; }
.btn.block { width: 100%; }

/* ---------- Top bar + floating nav ---------- */

.topbar { display: block; background: var(--ink-900); color: var(--paper-100); text-align: center; font-size: 14px; font-weight: 500; padding: 9px 16px; }
.topbar b { font-weight: 600; }
.topbar .more { display: inline-block; color: var(--jade-300); margin-left: 6px; white-space: nowrap; transition: transform 0.3s var(--out); }
.topbar:hover .more { transform: translateX(4px); }

.nav { position: sticky; top: 0; z-index: 60; padding: 14px var(--gutter) 0; pointer-events: none; }
.js .nav { animation: nav-in 0.8s var(--out) both; }
.nav-shell {
    pointer-events: auto; position: relative;
    max-width: var(--wrap); margin: 0 auto; height: 60px;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 0 10px 0 4px; border-radius: 999px; border: 1px solid transparent;
    transition: max-width 0.55s var(--swift), padding 0.55s var(--swift), background 0.3s, box-shadow 0.3s, border-color 0.3s;
}
.nav.scrolled .nav-shell {
    max-width: 940px; padding: 0 9px 0 24px;
    background: rgba(255, 255, 255, 0.9); -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
    border-color: rgba(19, 32, 27, 0.07);
    box-shadow: 0 1px 2px rgba(19, 32, 27, 0.05), 0 16px 36px -18px rgba(19, 32, 27, 0.35);
}

/* The wordmark: its full stop hops when you point at it. */
.nav-brand { display: inline-flex; padding: 6px 4px; transition: transform 0.35s var(--bounce); }
.nav-brand .wordmark i { display: inline-block; }
.nav-brand:hover { transform: scale(1.04); }
.nav-brand:hover .wordmark i { animation: hop 0.55s var(--bounce); }

.nav-links { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 2px; }
/* One pill that glides to whichever link the pointer is on. */
.nav-glide { position: absolute; left: 0; top: 50%; height: 38px; margin-top: -19px; width: var(--gw, 0px); transform: translateX(var(--gx, 0px)); border-radius: 999px; background: rgba(19, 32, 27, 0.065); opacity: 0; pointer-events: none; transition: transform 0.4s var(--out), width 0.4s var(--out), opacity 0.25s; }
.nav-links.gliding .nav-glide { opacity: 1; }
.nav-link { position: relative; display: inline-flex; align-items: center; gap: 5px; height: 38px; padding: 0 14px; border-radius: 999px; font-size: 15.5px; font-weight: 500; color: var(--ink-600); transition: color 0.2s; }
.nav-link:hover, .nav-link.is-current, .has-drop.open > .nav-link { color: var(--ink-900); }
.nav-link svg { width: 14px; height: 14px; transition: transform 0.4s var(--out); }
.has-drop.open > .nav-link svg { transform: rotate(180deg); }
/* The page (or section) you're on gets a jade full stop. */
.nav-link.is-current::after { content: ""; position: absolute; left: 50%; bottom: 1px; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: var(--jade-500); animation: pop 0.4s var(--bounce) both; }

.drop { position: absolute; left: 50%; top: calc(100% + 18px); width: 640px; padding: 10px; border-radius: 28px; background: #fff; box-shadow: 0 0 0 1px rgba(19, 32, 27, 0.06), 0 34px 64px -26px rgba(19, 32, 27, 0.45); transform-origin: 50% 0; transform: translateX(-50%) translateY(-12px) scale(0.95); opacity: 0; visibility: hidden; transition: opacity 0.2s, transform 0.3s var(--swift), visibility 0s 0.3s; }
.drop::before { content: ""; position: absolute; left: 0; right: 0; top: -20px; height: 20px; }
.has-drop.open .drop { opacity: 1; visibility: visible; transform: translateX(-50%); transition: opacity 0.2s, transform 0.5s var(--out), visibility 0s; }
.drop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.drop-item { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; padding: 12px; border-radius: 18px; opacity: 0; transform: translateY(10px); transition: background 0.2s, opacity 0.2s, transform 0.2s; }
.has-drop.open .drop-item { opacity: 1; transform: none; transition: background 0.2s, opacity 0.4s calc(var(--i) * 35ms + 70ms), transform 0.5s var(--out) calc(var(--i) * 35ms + 70ms); }
.drop-item:hover { background: var(--paper-100); }
.drop-ico { width: 40px; height: 40px; border-radius: 13px; background: var(--jade-50); color: var(--jade-700); display: grid; place-items: center; transition: transform 0.4s var(--bounce), background 0.2s, color 0.2s; }
.drop-ico svg { width: 19px; height: 19px; }
.drop-item:hover .drop-ico { transform: scale(1.1) rotate(-6deg); background: var(--jade-500); color: #fff; }
.drop-item b { display: block; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; color: var(--ink-900); }
.drop-item small { display: block; font-size: 13px; line-height: 1.35; color: var(--ink-500); }
.drop-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 12px 14px 12px 16px; border-radius: 18px; background: var(--paper-100); font-size: 14px; color: var(--ink-600); }
.drop-foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; color: var(--ink-900); }
.drop-foot svg { width: 15px; height: 15px; transition: transform 0.3s var(--out); }
.drop-foot a:hover svg { transform: translateX(3px); }

.nav-actions { display: flex; align-items: center; gap: 6px; }
.nav-actions .signin { padding: 8px 14px; font-size: 15.5px; font-weight: 500; color: var(--ink-600); border-radius: 999px; transition: color 0.2s; }
.nav-actions .signin:hover { color: var(--ink-900); }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; border-radius: 50%; transition: background 0.2s; }
.menu-btn:active { background: var(--paper-150); }
.menu-btn span { position: absolute; left: 12px; right: 12px; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: currentColor; transition: transform 0.45s var(--out); }
.menu-btn span:first-child { transform: translateY(-4px); }
.menu-btn span:last-child { transform: translateY(4px); }
.nav.is-open .menu-btn span:first-child { transform: rotate(45deg); }
.nav.is-open .menu-btn span:last-child { transform: rotate(-45deg); }
.sheet { display: none; }
.nav-scrim { position: fixed; inset: 0; z-index: 55; background: rgba(11, 19, 16, 0.4); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity 0.35s; }
.menu-open .nav-scrim { opacity: 1; pointer-events: auto; touch-action: none; }
/* The page isn't locked with overflow:hidden - on body that makes it the
   sticky bar's scroll container, and the open menu scrolls away with the top
   of the page. The scrim swallows touches behind the menu instead. */

/* ---------- Hero: the line, then the product playing underneath ---------- */

.hero { position: relative; padding: 46px 0 0; text-align: center; background: radial-gradient(56% 420px at 50% 0%, rgba(18, 161, 121, 0.13), transparent 72%); }
.hero-head { display: flex; flex-direction: column; align-items: center; }
.badge { display: inline-flex; align-items: center; gap: 9px; height: 34px; padding: 0 14px 0 6px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 500; color: var(--ink-700); box-shadow: var(--hair), 0 6px 16px -10px rgba(19, 32, 27, 0.3); }
.badge b { font-weight: 650; color: var(--ink-900); }
.badge .tile { width: 22px; height: 22px; border-radius: 7px; background: var(--ink-900); display: grid; place-items: center; }
.badge .tile svg { width: 14px; height: 14px; }
.hero h1 { margin-top: 24px; font-size: clamp(46px, 7.4vw, 108px); line-height: 0.95; letter-spacing: -0.05em; }
.hero h1 .line { display: block; }
.hero .lede { margin-top: 24px; max-width: 640px; }
.cta-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; margin-top: 32px; }
.proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 22px; margin-top: 22px; font-size: 14.5px; font-weight: 500; color: var(--ink-600); }
.proof li { display: inline-flex; align-items: center; gap: 7px; }
.proof svg { width: 15px; height: 15px; color: var(--jade-500); flex: none; }

.theatre { position: relative; margin-top: 56px; padding: 30px; border-radius: 40px; text-align: left; display: grid; overflow: hidden; background: linear-gradient(180deg, #dff2ea 0%, #e9f3ec 55%, var(--paper-150) 100%); box-shadow: inset 0 0 0 1px rgba(11, 132, 99, 0.14); }
.theatre::before { content: ""; position: absolute; inset: 0; background: radial-gradient(38% 60% at 50% 46%, rgba(52, 192, 143, 0.32), transparent 72%); pointer-events: none; }
.scene { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 236px minmax(0, 1fr); gap: 26px; align-items: center; min-height: 372px; }
.demo { grid-area: 1 / 1; opacity: 0; visibility: hidden; transform: translateY(12px) scale(0.99); transition: opacity 0.45s, transform 0.6s var(--out), visibility 0s 0.45s; }
.demo.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s 0.1s, transform 0.6s var(--out) 0.1s; }

.card { background: #fff; border-radius: 22px; box-shadow: var(--shadow-card); padding: 20px 22px 22px; }
.label { font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-400); }
.from { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-size: 14px; }
.from b { font-weight: 650; }
.from time { margin-left: auto; font-size: 12.5px; color: var(--ink-400); }
.av { width: 34px; height: 34px; border-radius: 50%; background: var(--paper-200); display: grid; place-items: center; font-size: 12px; font-weight: 700; color: var(--ink-600); flex: none; }
.subject { margin-top: 14px; font-size: 18px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.25; }
.body { margin-top: 8px; font-size: 14.5px; line-height: 1.6; color: var(--ink-700); }
.typed { margin-top: 12px; min-height: 178px; font-size: 14.5px; line-height: 1.6; color: var(--ink-800); white-space: pre-wrap; }
.caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -0.16em; background: var(--jade-500); animation: caret 0.9s steps(1) infinite; }

.flow { position: relative; display: grid; gap: 14px; }
.flow::before { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; background: rgba(11, 132, 99, 0.2); }
.flow li { position: relative; display: grid; grid-template-columns: 32px 1fr; gap: 12px; align-items: center; }
.flow .n { width: 32px; height: 32px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--jade-200); display: grid; place-items: center; color: transparent; }
.flow .n svg { width: 15px; height: 15px; }
.flow b { display: block; font-size: 14.5px; font-weight: 650; line-height: 1.25; }
.flow small { display: block; font-size: 12.5px; color: var(--ink-600); }
.flow li.warn .n { --tick: var(--amber-400); }
.demo.is-active .flow li { animation: step-in 0.5s var(--out) both; animation-delay: calc(var(--i) * 0.95s + 0.7s); }
.demo.is-active .flow .n { animation: tick 0.4s var(--out) both; animation-delay: calc(var(--i) * 0.95s + 1.25s); }

.outcome { display: flex; align-items: center; gap: 9px; margin-top: 14px; padding: 10px 10px 10px 14px; border-radius: 14px; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.outcome.send { background: var(--jade-50); color: var(--jade-800); }
.outcome.wait { background: var(--paper-100); color: var(--ink-800); }
.outcome.hold { background: var(--amber-50); color: var(--amber-600); }
.outcome .mini { margin-left: auto; }
.demo.is-active .outcome { animation: pop 0.5s var(--out) 6.9s both; }
.ring { width: 16px; height: 16px; border-radius: 50%; background: conic-gradient(var(--jade-500) 0 72%, var(--jade-100) 0); -webkit-mask: radial-gradient(circle, transparent 46%, #000 48%); mask: radial-gradient(circle, transparent 46%, #000 48%); flex: none; }
.mini { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; box-shadow: var(--hair); color: var(--ink-800); background: #fff; flex: none; white-space: nowrap; }
.mini.dark { background: var(--ink-900); color: #fff; box-shadow: none; }

.segs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 16px; text-align: left; }
.seg { position: relative; display: block; width: 100%; padding: 16px 4px 2px; }
.seg::before, .seg::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; border-radius: 3px; background: var(--paper-300); }
.seg::after { background: var(--jade-500); transform: scaleX(0); transform-origin: 0 50%; }
.seg.is-active::after { transform: scaleX(1); }
.seg.is-active.is-running::after { animation: fill-x var(--dur, 10s) linear both; }
.seg b { display: block; font-size: 15.5px; font-weight: 650; letter-spacing: -0.01em; color: var(--ink-400); transition: color 0.3s; }
.seg small { display: block; font-size: 13.5px; color: var(--ink-400); }
.seg:hover b, .seg.is-active b { color: var(--ink-900); }
.seg.is-active small { color: var(--ink-600); }

/* ---------- The questions marquee ---------- */

.asks { padding: 70px 0 10px; }
.asks-label { text-align: center; font-size: 14px; font-weight: 600; color: var(--ink-400); }
.marquee { margin-top: 20px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.ask { display: inline-flex; align-items: center; gap: 9px; height: 44px; padding: 0 18px; border-radius: 999px; background: #fff; box-shadow: var(--hair); font-size: 15.5px; font-weight: 500; color: var(--ink-700); white-space: nowrap; }
.ask i { width: 8px; height: 8px; border-radius: 50%; background: var(--jade-400); }
.ask.amber i { background: var(--amber-400); }
.ask.red i { background: #e2573f; }

/* ---------- The statement: words light up as you scroll ---------- */

.statement { padding: 130px 0 40px; text-align: center; }
.statement-text { font-size: clamp(40px, 7.2vw, 108px); line-height: 1.02; letter-spacing: -0.05em; text-wrap: initial; }
.statement-text .w { color: rgba(19, 32, 27, 0.13); transition: color 0.35s; }
.statement-text .w.lit, html:not(.js) .statement-text .w { color: var(--ink-900); }

/* ---------- Section furniture ---------- */

.section { padding: 96px 0; }
.section-head { max-width: 780px; }
.section-head.center { margin: 0 auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .lede { margin-top: 20px; }
.section-head .eyebrow { margin-bottom: 18px; }

/* ---------- What it reads before it writes ---------- */

.brain { position: relative; margin-top: 56px; display: grid; grid-template-columns: minmax(0, 0.92fr) 170px minmax(0, 1.08fr); align-items: center; }
.brain-lines { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.brain-lines path { fill: none; stroke: var(--paper-400); stroke-width: 1.5; transition: stroke 0.3s; }
.brain-lines path.on { stroke: var(--jade-500); stroke-width: 2.5; stroke-dasharray: 5 9; stroke-linecap: round; animation: dash 0.9s linear infinite; }
.sources, .answer { position: relative; z-index: 1; background: #fff; border-radius: 30px; padding: 28px; }
.sources { box-shadow: var(--hair); }
.answer { box-shadow: var(--shadow-card); }
.src-group + .src-group { margin-top: 26px; }
.src-group h3 { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
.src-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.src { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 15px 0 11px; border-radius: 999px; background: var(--paper-100); box-shadow: var(--hair); font-size: 14.5px; font-weight: 550; color: var(--ink-700); transition: background 0.25s, color 0.25s, box-shadow 0.25s, transform 0.25s var(--out); }
.src svg { width: 17px; height: 17px; color: var(--ink-400); transition: color 0.25s; }
.src:hover { transform: translateY(-1px); }
.src.on { background: var(--ink-900); color: #fff; box-shadow: none; }
.src.on svg { color: var(--jade-300); }
.core { position: relative; z-index: 1; justify-self: center; width: 92px; height: 92px; border-radius: 28px; background: var(--ink-900); display: grid; place-items: center; box-shadow: 0 0 0 10px rgba(18, 161, 121, 0.12), 0 0 70px 14px rgba(18, 161, 121, 0.38); animation: breathe 3.2s ease-in-out infinite; }
.core img { width: 92px; height: 92px; border-radius: 28px; }
.ask-line { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; }
.ask-line p { background: var(--paper-100); border-radius: 4px 16px 16px 16px; padding: 10px 14px; font-size: 14.5px; line-height: 1.5; color: var(--ink-700); }
.reply-text { margin-top: 18px; font-size: 16.5px; line-height: 1.85; color: var(--ink-800); }
.reply-text span[data-from] { border-radius: 6px; padding: 2px 3px; margin: 0 -3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; transition: color 0.3s, background 0.3s; }
.brain.is-picking .reply-text { color: var(--ink-300); }
.brain.is-picking .reply-text span.on { color: var(--ink-900); background: var(--jade-100); }
.why { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--paper-200); font-size: 14px; font-weight: 600; color: var(--jade-700); min-height: 40px; }
.why svg { width: 16px; height: 16px; flex: none; }
.brain-note { margin: 28px auto 0; max-width: 620px; text-align: center; font-size: 16px; color: var(--ink-500); }
.brain-note b { color: var(--ink-800); font-weight: 600; }

/* ---------- Would this send on its own? ---------- */

.rules-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.picks { margin-top: 32px; display: grid; gap: 10px; }
.pick { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 18px; border-radius: 20px; background: #fff; box-shadow: var(--hair); transition: box-shadow 0.2s, transform 0.25s var(--out); }
.pick:hover { transform: translateX(3px); }
.pick b { display: block; font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.pick small { display: block; font-size: 13.5px; color: var(--ink-500); }
.pick .radio { flex: none; width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--paper-400); transition: box-shadow 0.2s; }
.pick.is-on { box-shadow: inset 0 0 0 2px var(--ink-900), var(--shadow-card); }
.pick.is-on .radio { box-shadow: inset 0 0 0 7px var(--jade-500); }
.verdict-card { background: #fff; border-radius: 30px; box-shadow: var(--shadow-card); padding: 28px; }
.checks { margin-top: 12px; }
.check { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--paper-150); font-size: 15.5px; opacity: 0; transform: translateY(8px); transition: opacity 0.35s, transform 0.45s var(--out); }
.check.shown, html:not(.js) .check { opacity: 1; transform: none; }
.check .mk { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--jade-500); display: grid; place-items: center; color: #fff; transition: background 0.2s; }
.check .mk svg { width: 13px; height: 13px; }
.check .mk .no, .check.fail .mk .yes { display: none; }
.check.fail .mk { background: var(--amber-400); }
.check.fail .mk .no { display: block; }
.check.fail { font-weight: 600; }
.check small { margin-left: auto; padding-left: 12px; text-align: right; font-size: 13px; font-weight: 500; color: var(--amber-600); }
.verdict { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 16px 18px; border-radius: 18px; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; opacity: 0; transform: scale(0.96); transition: opacity 0.35s, transform 0.5s var(--bounce), background 0.3s, color 0.3s; }
.verdict.shown, html:not(.js) .verdict { opacity: 1; transform: none; }
.verdict small { display: block; font-size: 13.5px; font-weight: 500; letter-spacing: 0; opacity: 0.86; }
.verdict .dotmark { flex: none; width: 14px; height: 14px; border-radius: 50%; background: currentColor; }
.verdict.send { background: var(--jade-500); color: #fff; }
.verdict.hold { background: var(--amber-50); color: var(--amber-600); }
.rules-note { margin-top: 26px; font-size: 15px; color: var(--ink-500); max-width: 520px; }

/* ---------- Split: numbered tabs driving a live demo ---------- */

.split-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: center; }
.split-copy .lede { margin-top: 20px; }
.tabs { margin-top: 30px; display: grid; gap: 6px; }
.tab { position: relative; display: grid; grid-template-columns: 30px 1fr; gap: 12px; width: 100%; padding: 15px 20px 16px 18px; border-radius: 20px; overflow: hidden; transition: background 0.3s, box-shadow 0.3s; }
.tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--jade-500); transform: scaleX(0); transform-origin: 0 50%; }
.tab.is-active { background: #fff; box-shadow: var(--shadow-card); }
.tab.is-active.is-running::after { animation: fill-x var(--dur, 7s) linear both; }
.tab-n { padding-top: 5px; font-size: 12.5px; font-weight: 700; color: var(--ink-300); font-variant-numeric: tabular-nums; }
.tab.is-active .tab-n { color: var(--jade-600); }
.tab-title { display: block; font-size: clamp(18px, 1.7vw, 21px); font-weight: 650; letter-spacing: -0.02em; line-height: 1.3; color: var(--ink-500); transition: color 0.3s; }
.tab:hover .tab-title, .tab.is-active .tab-title { color: var(--ink-900); }
.tab-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.5s var(--swift); }
.tab-body > span { overflow: hidden; display: block; font-size: 15.5px; line-height: 1.55; color: var(--dim); }
.tab-body > span::before { content: ""; display: block; height: 6px; }
.tab.is-active .tab-body { grid-template-rows: 1fr; }

.stage { position: relative; min-height: 520px; border-radius: 36px; background: var(--paper-150); box-shadow: var(--hair); display: grid; place-items: center; padding: 34px; overflow: hidden; }
.stage .demo { width: 100%; max-width: 480px; }
.win { background: #fff; border-radius: 20px; box-shadow: var(--shadow-card); overflow: hidden; font-size: 14px; }
.win-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--paper-200); font-weight: 650; font-size: 15px; }
.win-head .right { margin-left: auto; font-size: 12.5px; font-weight: 500; color: var(--ink-400); }
.win-body { padding: 16px 18px 18px; }
.pill { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: 999px; font-size: 11.5px; font-weight: 600; white-space: nowrap; background: var(--paper-150); color: var(--ink-600); }
.pill.jade { background: var(--jade-50); color: var(--jade-700); }
.pill.amber { background: var(--amber-50); color: var(--amber-600); }
.pill.red { background: var(--red-50); color: var(--red-600); }
.pill.ink { background: var(--ink-900); color: #fff; }

.req { display: flex; gap: 12px; align-items: center; }
.req b { display: block; font-weight: 650; font-size: 15px; }
.req small { font-size: 13px; color: var(--ink-400); }
.facts { margin-top: 14px; display: grid; gap: 8px; }
.fact { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--paper-50); box-shadow: inset 0 0 0 1px var(--paper-200); font-size: 14px; color: var(--ink-700); }
.fact .ok { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: var(--jade-500); display: grid; place-items: center; flex: none; color: #fff; }
.fact .ok svg { width: 13px; height: 13px; }
.result { margin-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 12px; background: var(--jade-50); font-size: 14px; font-weight: 600; color: var(--jade-800); }
.demo.is-active .fact { animation: step-in 0.5s var(--out) both; animation-delay: calc(var(--i) * 0.7s + 0.5s); }
.demo.is-active .fact .ok { animation: pop 0.45s var(--out) both; animation-delay: calc(var(--i) * 0.7s + 1s); }
.demo.is-active .result { animation: pop 0.6s var(--out) 3.3s both; }

.suggest { border-radius: 14px; box-shadow: inset 0 0 0 1.5px var(--jade-200); background: #fbfefc; padding: 14px; }
.suggest .fromline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 650; color: var(--jade-700); }
.suggest .fromline svg { width: 14px; height: 14px; }
.suggest h4 { margin-top: 8px; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.skeleton { margin-top: 10px; display: grid; gap: 7px; }
.skeleton i { height: 8px; border-radius: 8px; background: var(--paper-200); transform: scaleX(0); transform-origin: 0 50%; }
.skeleton i:nth-child(2) { width: 92%; } .skeleton i:nth-child(3) { width: 64%; }
.suggest-bar { display: flex; gap: 8px; margin-top: 14px; }
.swap { position: relative; }
.swap .after { position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: var(--jade-500); color: #fff; opacity: 0; }
.articles { margin-top: 14px; }
.article { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 4px; border-bottom: 1px solid var(--paper-150); font-size: 14px; font-weight: 550; }
.article:last-child { border-bottom: 0; }
.article span { font-size: 12.5px; font-weight: 500; color: var(--ink-400); }
.demo.is-active .suggest { animation: step-in 0.6s var(--out) 0.4s both; }
.demo.is-active .skeleton i { animation: grow-x 0.6s var(--out) both; animation-delay: calc(var(--i) * 0.22s + 0.9s); }
.demo.is-active .article { animation: step-in 0.5s var(--out) both; animation-delay: calc(var(--i) * 0.3s + 2.2s); }
.demo.is-active .swap { animation: press 0.3s var(--swift) 4.2s both; }
.demo.is-active .swap .after { animation: fade-in 0.25s 4.35s both; }

.chat { display: grid; gap: 10px; }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.msg.bot { background: var(--paper-100); color: var(--ink-800); border-bottom-left-radius: 5px; justify-self: start; }
.msg.me { background: var(--ink-900); color: #fff; border-bottom-right-radius: 5px; justify-self: end; }
.msg u { color: var(--jade-700); font-weight: 600; text-underline-offset: 2px; }
.chat-input { display: flex; align-items: center; justify-content: space-between; margin-top: 14px; height: 42px; padding: 0 6px 0 16px; border-radius: 999px; box-shadow: var(--hair); font-size: 14px; color: var(--ink-400); }
.chat-input i { width: 30px; height: 30px; border-radius: 50%; background: var(--jade-500); display: grid; place-items: center; color: #fff; }
.chat-input svg { width: 15px; height: 15px; }
.demo.is-active .msg { animation: msg-in 0.5s var(--out) both; animation-delay: calc(var(--i) * 1.05s + 0.4s); }
.found { margin-top: 12px; display: grid; gap: 6px; }
.late { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; background: var(--paper-50); box-shadow: inset 0 0 0 1px var(--paper-200); font-size: 13.5px; }
.late b { font-weight: 650; }
.late span { margin-left: auto; color: var(--ink-500); font-size: 12.5px; }
.demo.is-active .late { animation: step-in 0.5s var(--out) both; animation-delay: calc(var(--i) * 0.35s + 2.2s); }

/* ---------- Bento: the rest of a proper helpdesk ---------- */

.bento { margin-top: 52px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.cell { grid-column: span 2; display: flex; flex-direction: column; min-height: 320px; padding: 28px; border-radius: 30px; background: #fff; box-shadow: var(--hair); overflow: hidden; }
.cell.wide { grid-column: span 3; }
.cell h3 { font-size: 23px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.15; }
.cell p { margin-top: 8px; font-size: 15.5px; color: var(--dim); max-width: 440px; }
.cell .art { margin-top: auto; padding-top: 26px; }
.cell.tint { background: var(--jade-50); box-shadow: inset 0 0 0 1px var(--jade-100); }

.moods { display: grid; gap: 8px; }
.mood { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 14px; background: var(--paper-50); box-shadow: inset 0 0 0 1px var(--paper-200); font-size: 14px; font-weight: 550; }
.mood .pill { margin-left: auto; }
.mood.hot { background: #fff; box-shadow: inset 0 0 0 1.5px #f0b8ae, 0 10px 20px -14px rgba(180, 35, 24, 0.5); }
.in .mood.hot { animation: jump 0.9s var(--bounce) 0.5s both; }

.undo { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-card); }
.undo svg { width: 46px; height: 46px; flex: none; transform: rotate(-90deg); }
.undo circle { fill: none; stroke-width: 5; }
.undo .trackc { stroke: var(--jade-100); }
.undo .timer { stroke: var(--jade-500); stroke-linecap: round; stroke-dasharray: 113; animation: countdown 9s linear infinite; }
.undo b { display: block; font-size: 17px; font-weight: 700; letter-spacing: -0.015em; }
.undo small { font-size: 13.5px; color: var(--ink-500); }
.undo .mini { margin-left: auto; height: 36px; padding: 0 18px; font-size: 14px; }

.team { display: grid; gap: 10px; }
.team .people { display: flex; align-items: center; }
.team .people .av { margin-left: -8px; box-shadow: 0 0 0 3px #fff; }
.team .people .av:first-child { margin-left: 0; }
.team .people .av.me { background: var(--jade-500); color: #fff; }
.team .people .pill { margin-left: 12px; }
.note-line { padding: 11px 14px; border-radius: 4px 16px 16px 16px; background: var(--amber-50); font-size: 14px; color: var(--ink-800); }
.note-line b { color: var(--amber-600); }

.voice { display: grid; gap: 8px; font-size: 15px; }
.voice .was { color: var(--ink-400); text-decoration: line-through; text-decoration-color: var(--red-600); }
.voice .now { padding: 11px 14px; border-radius: 14px; background: var(--jade-50); color: var(--ink-900); font-weight: 550; }
.voice .pill { justify-self: start; }

.notice { padding: 14px 16px; border-radius: 16px; background: var(--amber-50); }
.notice b { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; color: var(--ink-900); }
.notice b::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--amber-400); box-shadow: 0 0 0 4px rgba(224, 162, 58, 0.25); animation: pulse 2s ease-in-out infinite; }
.notice small { display: block; margin-top: 4px; font-size: 13.5px; color: var(--ink-600); }

/* ---------- Calculator ---------- */

.calc { margin-top: 52px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: 36px; background: #fff; box-shadow: var(--hair); overflow: hidden; }
.calc-in { padding: 44px; display: grid; gap: 34px; align-content: center; }
.field label { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; font-size: 16.5px; font-weight: 600; }
.field output { font-size: 26px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.field output small { font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--ink-500); }
.field input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 12px 0 0; background: none; cursor: pointer; --p: 50%; }
.field input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--jade-500) var(--p), var(--paper-200) var(--p)); }
.field input[type=range]::-moz-range-track { height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--jade-500) var(--p), var(--paper-200) var(--p)); }
.field input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 28px; height: 28px; margin-top: -10px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px var(--ink-900), 0 6px 14px -4px rgba(19, 32, 27, 0.5); transition: transform 0.2s var(--bounce); }
.field input[type=range]::-moz-range-thumb { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 2px var(--ink-900), 0 6px 14px -4px rgba(19, 32, 27, 0.5); }
.field input[type=range]:active::-webkit-slider-thumb { transform: scale(1.15); }
.calc-out { padding: 44px; background: var(--jade-600); color: #fff; background-image: radial-gradient(80% 90% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%); }
.calc-out .label { color: rgba(255, 255, 255, 0.75); }
.calc-big { margin-top: 10px; font-size: clamp(64px, 8vw, 112px); font-weight: 800; letter-spacing: -0.055em; line-height: 0.95; font-variant-numeric: tabular-nums; }
.calc-big small { font-size: 0.26em; font-weight: 650; letter-spacing: -0.02em; margin-left: 0.3em; }
.calc-sub { margin-top: 8px; font-size: 17px; color: rgba(255, 255, 255, 0.88); }
.calc-rows { margin-top: 26px; }
.calc-rows li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid rgba(255, 255, 255, 0.2); font-size: 15.5px; color: rgba(255, 255, 255, 0.86); }
.calc-rows b { color: #fff; font-weight: 650; text-align: right; }
.calc-out .btn { margin-top: 22px; }
.calc-note { margin-top: 18px; text-align: center; font-size: 14px; color: var(--ink-500); }

/* ---------- How it works ---------- */

.steps { margin-top: 52px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: step; }
.step { display: flex; flex-direction: column; align-items: flex-start; padding: 26px 24px 24px; border-radius: 26px; background: #fff; box-shadow: var(--hair); counter-increment: step; }
.step::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink-900); color: #fff; font-size: 19px; font-weight: 800; margin-bottom: 24px; }
.step:last-child::before { background: var(--jade-500); }
.step h3 { font-size: 21px; font-weight: 750; letter-spacing: -0.025em; line-height: 1.2; }
.step p { margin: 8px 0 20px; color: var(--dim); font-size: 15.5px; flex: 1; }
.step .pill { height: 26px; padding: 0 11px; font-size: 12.5px; }
.rails { margin-top: 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rail { padding: 22px 24px; border-radius: 22px; background: var(--paper-150); }
.rail b { display: block; font-size: 16.5px; font-weight: 650; margin-bottom: 4px; }
.rail span { color: var(--dim); font-size: 15px; }

/* ---------- Out of hours ---------- */

.night-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.night .display { font-size: clamp(42px, 5.4vw, 78px); text-wrap: initial; }
.night .lede { margin-top: 24px; }
.sky { position: relative; border-radius: 30px; background: radial-gradient(120% 90% at 80% 0%, #24423a 0%, #13201b 46%, #0b1310 100%); color: var(--paper-100); padding: 36px 34px 132px; overflow: hidden; box-shadow: var(--shadow-float); }
.sky .moon { position: absolute; right: 38px; top: 32px; width: 54px; height: 54px; border-radius: 50%; background: radial-gradient(circle at 36% 34%, #fffdf2, #f1e6c0 60%, #d8c890); box-shadow: 0 0 46px 10px rgba(255, 244, 200, 0.2); }
.sky .star { position: absolute; width: 3px; height: 3px; border-radius: 50%; background: #fff; opacity: 0.7; animation: twinkle 3.6s ease-in-out infinite; animation-delay: var(--sd, 0s); }
.sky h3 { font-size: 13px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: var(--jade-300); }
.log { margin-top: 22px; display: grid; gap: 4px; position: relative; }
.log::before { content: ""; position: absolute; left: 62px; top: 14px; bottom: 14px; width: 1px; background: rgba(255, 255, 255, 0.14); }
.log li { display: grid; grid-template-columns: 50px 1fr; gap: 26px; align-items: baseline; padding: 9px 0; font-size: 15.5px; line-height: 1.45; position: relative; }
.log li::before { content: ""; position: absolute; left: 58px; top: 17px; width: 9px; height: 9px; border-radius: 50%; background: var(--jade-400); box-shadow: 0 0 0 4px rgba(52, 192, 143, 0.18); }
.log li.you::before { background: var(--amber-400); box-shadow: 0 0 0 4px rgba(224, 162, 58, 0.2); }
.log time { font-size: 13.5px; font-weight: 600; color: rgba(246, 244, 239, 0.55); font-variant-numeric: tabular-nums; }
.log b { font-weight: 600; }
.log span { color: rgba(246, 244, 239, 0.7); }
.toast { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px 15px 14px; border-radius: 22px; background: rgba(255, 255, 255, 0.97); box-shadow: var(--shadow-float); font-size: 15px; line-height: 1.4; color: var(--ink-900); }
.toast-ico { flex: none; width: 40px; height: 40px; border-radius: 11px; overflow: hidden; }
.toast-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.toast-top b { font-weight: 650; }
.toast-top time { font-size: 13px; color: var(--ink-400); }
.sky .toast { position: absolute; left: 22px; right: 22px; bottom: 22px; max-width: 420px; }

/* ---------- The founders' line ---------- */

.quote { padding: 110px 0; text-align: center; }
.quote blockquote { font-size: clamp(30px, 4.3vw, 58px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; max-width: 980px; margin: 0 auto; text-wrap: balance; }
.quote .ul { position: relative; white-space: nowrap; }
.quote .ul svg { position: absolute; left: -2%; bottom: -0.22em; width: 104%; height: 0.36em; overflow: visible; }
.quote .ul path { fill: none; stroke: var(--jade-400); stroke-width: 7; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.1s var(--swift) 0.5s; }
.quote.in .ul path, html:not(.js) .quote .ul path { stroke-dashoffset: 0; }
.quote figcaption { margin-top: 30px; font-size: 16px; color: var(--ink-500); }

/* ---------- Add-on, pricing, FAQ ---------- */

.addon { margin-top: 44px; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 40px; padding: 40px; border-radius: 30px; background: #fff; box-shadow: var(--hair); }
.addon h3 { margin-top: 14px; font-size: 30px; font-weight: 800; letter-spacing: -0.035em; line-height: 1.1; }
.addon p { margin-top: 12px; color: var(--dim); font-size: 16.5px; }
.addon li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--paper-200); font-size: 16px; color: var(--ink-700); }
.addon li:last-child { border-bottom: 0; }
.addon li svg { width: 20px; height: 20px; color: var(--jade-600); flex: none; margin-top: 3px; }
.addon li b { color: var(--ink-900); font-weight: 650; }

.plans { margin-top: 52px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 32px 28px 28px; border-radius: 30px; background: #fff; box-shadow: var(--hair); }
.plan.featured { box-shadow: inset 0 0 0 2px var(--jade-500), var(--shadow-float); }
.plan-flag { position: absolute; top: 24px; right: 24px; }
.plan-name { font-size: 17px; font-weight: 650; }
.plan-price { margin-top: 14px; display: flex; align-items: baseline; gap: 8px; }
.plan-price b { font-size: 58px; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.plan-price span { font-size: 15px; color: var(--ink-400); }
.plan-blurb { margin-top: 12px; font-size: 15.5px; color: var(--dim); min-height: 48px; }
.plan ul { margin: 22px 0 28px; display: grid; gap: 11px; flex: 1; align-content: start; }
.plan li { display: flex; gap: 10px; font-size: 15px; line-height: 1.45; }
.plan li svg { width: 17px; height: 17px; color: var(--jade-500); flex: none; margin-top: 2px; }
.plans-note { margin-top: 26px; text-align: center; font-size: 15.5px; }
.link { font-weight: 600; color: var(--jade-700); text-decoration: underline; text-decoration-color: var(--jade-200); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.link:hover { text-decoration-color: var(--jade-500); }

.faq { margin: 44px auto 0; max-width: 820px; display: grid; gap: 10px; }
.faq details { border-radius: 20px; background: #fff; box-shadow: var(--hair); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px 24px; font-size: 18px; font-weight: 650; letter-spacing: -0.015em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--paper-150) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%2313201b' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M10 5v10M5 10h10'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform 0.3s var(--out), background-color 0.2s; }
.faq details[open] summary::after { transform: rotate(45deg); background-color: var(--jade-100); }
.faq .a { padding: 0 24px 22px; color: var(--dim); font-size: 16.5px; max-width: 700px; }
.faq .a p + p { margin-top: 12px; }

/* ---------- Inner pages: pricing, sign-up, legal ---------- */

.page-hero { padding: 64px 0 24px; text-align: center; background: radial-gradient(56% 380px at 50% 0%, rgba(18, 161, 121, 0.13), transparent 72%); }
.page-hero .display { margin-top: 22px; font-size: clamp(44px, 6.4vw, 88px); letter-spacing: -0.05em; }
.page-hero .lede { margin: 22px auto 0; max-width: 620px; }
.page-hero.left { text-align: left; }
.page-hero.left .lede { margin-left: 0; }

.plan-meta { display: grid; gap: 7px; margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: var(--paper-100); font-size: 14.5px; font-weight: 600; color: var(--ink-800); }
.plan-meta span { display: flex; align-items: center; gap: 9px; }
.plan-meta span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--jade-500); flex: none; }
.plan { transition: transform 0.4s var(--out), box-shadow 0.3s; }
.plan:hover { transform: translateY(-4px); }

.includes { margin-top: 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.includes li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 18px; background: #fff; box-shadow: var(--hair); font-size: 15.5px; font-weight: 550; line-height: 1.4; color: var(--ink-800); }
.includes svg { width: 18px; height: 18px; color: var(--jade-500); flex: none; margin-top: 2px; }

.signup { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 28px; align-items: start; padding: 40px 0 110px; }
.signup-card { background: #fff; border-radius: 32px; box-shadow: var(--shadow-card); padding: 40px; }
.signup-card h1 { margin-top: 16px; font-size: clamp(32px, 4vw, 50px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.02; }
.signup-card .lede { margin-top: 12px; font-size: 17px; }
.form { margin-top: 28px; display: grid; gap: 18px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.f-field { display: grid; gap: 7px; align-content: start; font-size: 14.5px; font-weight: 600; }
.f-field input { width: 100%; height: 50px; padding: 0 16px; border: 0; border-radius: 14px; background: var(--paper-50); box-shadow: inset 0 0 0 1.5px var(--paper-300); font: inherit; font-size: 16px; font-weight: 500; color: var(--ink-900); transition: box-shadow 0.2s, background 0.2s; }
.f-field input::placeholder { color: var(--ink-300); }
.f-field input:hover { box-shadow: inset 0 0 0 1.5px var(--paper-400); }
.f-field input:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 2px var(--jade-500), 0 0 0 4px rgba(18, 161, 121, 0.16); }
.f-field.has-error input { box-shadow: inset 0 0 0 2px var(--red-600); }
.f-hint { font-size: 13px; font-weight: 500; color: var(--ink-500); }
.f-err { font-size: 13px; font-weight: 600; color: var(--red-600); }
.f-errors { margin-top: 22px; padding: 14px 18px; border-radius: 16px; background: var(--red-50); color: var(--red-600); font-size: 14.5px; }
.f-errors ul { list-style: disc; padding-left: 18px; margin-top: 4px; }
.f-legend { font-size: 14.5px; font-weight: 600; }
.f-legend small { font-size: inherit; font-weight: 500; color: var(--ink-500); }
.plan-pick { border: 0; padding: 0; margin: -8px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.plan-pick label { position: relative; cursor: pointer; }
.plan-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.plan-pick .pp { display: grid; gap: 2px; padding: 14px 16px; border-radius: 16px; background: var(--paper-50); box-shadow: inset 0 0 0 1.5px var(--paper-300); font-size: 13.5px; color: var(--ink-500); transition: box-shadow 0.2s, background 0.2s, transform 0.3s var(--out); }
.plan-pick .pp b { font-size: 16px; font-weight: 700; color: var(--ink-900); }
.plan-pick label:hover .pp { transform: translateY(-2px); }
.plan-pick input:checked + .pp { background: var(--jade-50); box-shadow: inset 0 0 0 2px var(--jade-500); }
.plan-pick input:focus-visible + .pp { outline: 2px solid var(--jade-500); outline-offset: 3px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-check { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; line-height: 1.5; color: var(--ink-600); }
.f-check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--jade-500); }
.f-check a, .f-alt a { font-weight: 600; color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--jade-300); }
.f-alt { text-align: center; font-size: 15px; color: var(--ink-500); }
.signup-aside { position: sticky; top: 100px; display: grid; gap: 14px; }
.aside-card { border-radius: 32px; padding: 36px; background: var(--jade-600); background-image: radial-gradient(80% 90% at 100% 0%, rgba(255, 255, 255, 0.16), transparent 60%); color: #fff; }
.aside-card h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.08; }
.aside-card ol { margin-top: 26px; display: grid; gap: 18px; counter-reset: a; }
.aside-card li { display: grid; grid-template-columns: 34px 1fr; gap: 14px; counter-increment: a; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, 0.86); }
.aside-card li::before { content: counter(a); width: 34px; height: 34px; border-radius: 50%; background: rgba(255, 255, 255, 0.18); display: grid; place-items: center; font-weight: 800; color: #fff; }
.aside-card li b { display: block; font-size: 16px; font-weight: 650; color: #fff; }
.aside-note { border-radius: 24px; padding: 20px 24px; background: #fff; box-shadow: var(--hair); display: grid; gap: 10px; font-size: 15px; font-weight: 550; }
.aside-note span { display: flex; gap: 10px; align-items: center; }
.aside-note svg { width: 17px; height: 17px; color: var(--jade-500); flex: none; }

.legal-docs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.legal-docs a { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--hair); font-size: 14.5px; font-weight: 600; color: var(--ink-600); transition: color 0.2s, transform 0.3s var(--out), background 0.2s; }
.legal-docs a:hover { color: var(--ink-900); transform: translateY(-2px); }
.legal-docs a.current { background: var(--ink-900); color: #fff; box-shadow: none; }
.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 56px; padding: 36px 0 110px; align-items: start; }
.legal-toc { position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow-y: auto; padding-right: 8px; font-size: 14px; }
.legal-toc .toc-title { margin-bottom: 10px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--ink-400); }
.legal-toc ol { display: grid; gap: 2px; border-left: 2px solid var(--paper-300); }
.legal-toc a { display: block; margin-left: -2px; padding: 5px 0 5px 14px; border-left: 2px solid transparent; line-height: 1.35; color: var(--ink-500); transition: color 0.2s, border-color 0.2s; }
.legal-toc a:hover { color: var(--ink-900); }
.legal-toc a.active { color: var(--ink-900); font-weight: 600; border-left-color: var(--jade-500); }
.prose { max-width: 840px; padding: 44px 48px; border-radius: 32px; background: #fff; box-shadow: var(--hair); font-size: 16.5px; line-height: 1.7; color: var(--ink-700); }
.prose h2 { margin: 40px 0 12px; font-size: 24px; font-weight: 750; letter-spacing: -0.03em; line-height: 1.2; color: var(--ink-900); scroll-margin-top: 100px; }
.prose h3 { margin: 26px 0 8px; font-size: 18px; font-weight: 700; color: var(--ink-900); }
.prose p { margin: 0 0 14px; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 6px; }
.prose a { font-weight: 600; color: var(--jade-700); text-decoration: underline; text-decoration-color: var(--jade-200); text-underline-offset: 3px; }
.prose strong, .prose b { color: var(--ink-900); }
.prose .meta { display: flex; flex-wrap: wrap; gap: 6px 22px; padding-bottom: 18px; border-bottom: 1px solid var(--paper-200); font-size: 14px; color: var(--ink-500); }
.prose .summary { margin: 26px 0 8px; padding: 20px 24px; border-radius: 18px; background: var(--jade-50); font-size: 16px; color: var(--ink-800); }
.prose table { width: 100%; margin: 8px 0 24px; border-collapse: separate; border-spacing: 0; border-radius: 16px; box-shadow: var(--hair); overflow: hidden; font-size: 14.5px; line-height: 1.55; }
.prose th { padding: 12px 14px; text-align: left; background: var(--paper-100); font-weight: 650; color: var(--ink-900); }
.prose td { padding: 12px 14px; border-top: 1px solid var(--paper-200); vertical-align: top; }
.prose code { padding: 2px 6px; border-radius: 6px; background: var(--paper-100); font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.88em; }
.prose .defs dt { margin-top: 12px; font-weight: 650; color: var(--ink-900); }
.prose .defs dd { margin: 2px 0 0; }
.prose .callout { margin: 0 0 18px; padding: 16px 20px; border-radius: 16px; background: var(--paper-100); font-size: 15.5px; }
.prose .end { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--paper-200); font-size: 15px; color: var(--ink-500); }

/* ---------- Closing: the full stop, rising ---------- */

.closing { position: relative; padding: 110px 0 0; text-align: center; overflow: hidden; }
.closing .display { font-size: clamp(42px, 6.6vw, 96px); }
.closing .lede { margin: 24px auto 0; }
.closing .or { font-size: 15px; color: var(--ink-500); }
.closing .or a { font-weight: 600; color: var(--ink-900); text-decoration: underline; text-underline-offset: 3px; }
.sunrise { position: relative; height: 330px; margin-top: 56px; }
.sunrise::before { content: ""; position: absolute; left: 50%; top: 0; width: min(1500px, 190vw); aspect-ratio: 1; border-radius: 50%; background: var(--jade-500); transform: translateX(-50%) translateY(46%) scale(0.86); transition: transform 1.4s var(--out); }
.sunrise.in::before, html:not(.js) .sunrise::before { transform: translateX(-50%) translateY(0) scale(1); }
.pings { position: relative; z-index: 1; display: flex; justify-content: center; gap: 16px; padding: 78px var(--gutter) 0; }
.pings .toast { flex: 0 1 340px; text-align: left; }
.js .pings .toast { opacity: 0; transform: translateY(40px) scale(0.94); transition: opacity 0.6s, transform 0.9s var(--out); transition-delay: calc(var(--i) * 0.18s + 0.5s); }
.js .sunrise.in .toast { opacity: 1; transform: none; }

/* ---------- Footer ---------- */

.footer { background: var(--ink-950); color: rgba(246, 244, 239, 0.72); padding: 80px 0 0; overflow: hidden; }
.footer .wordmark { color: var(--paper-100); font-size: 34px; }
.f-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; }
.f-tag { margin-top: 16px; max-width: 340px; font-size: 15.5px; }
.f-tag b { display: block; color: var(--paper-100); font-size: 18px; font-weight: 650; margin-bottom: 6px; }
.footer h4 { color: var(--paper-100); font-size: 14.5px; font-weight: 650; margin-bottom: 14px; }
.footer li { padding: 5px 0; font-size: 15px; }
.footer a:hover { color: #fff; }
.f-base { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; flex-wrap: wrap; gap: 6px 26px; font-size: 13.5px; color: rgba(246, 244, 239, 0.5); }
.f-giant { margin: 36px 0 -0.085em; text-align: center; font-family: var(--serif); font-weight: 640; font-variation-settings: "SOFT" 100, "WONK" 0; font-size: clamp(110px, 25vw, 400px); letter-spacing: -0.045em; line-height: 0.9; color: var(--paper-100); white-space: nowrap; user-select: none; }
.f-giant i { font-style: normal; color: var(--jade-500); display: inline-block; }
.js .f-giant i { transform: translateY(-1.1em); opacity: 0; }
.js .f-giant.in i { animation: drop 0.9s var(--bounce) 0.25s both; }

/* ---------- Platform logos, inline with the name ---------- */

.pf { display: inline-block; width: 1.05em; height: 1.05em; margin-right: 0.28em; vertical-align: -0.17em; flex: none; }
.pfn { white-space: nowrap; }
.badge .pf { width: 17px; height: 17px; margin: 0 2px 0 4px; vertical-align: 0; }
.src svg.pf { margin-right: 0; }
.statement-sub { margin: 48px auto 0; max-width: 740px; font-size: clamp(18px, 1.7vw, 23px); line-height: 1.6; color: var(--ink-500); }
.statement-sub .pfn { font-weight: 600; color: var(--ink-800); }

/* ---------- Dot: the full stop from the logo, as a character ---------- */

.dot-char { display: block; overflow: visible; }
.dc-line, .dc-thin, .dc-shape, .dc-skin { stroke: var(--ink-900); stroke-linecap: round; stroke-linejoin: round; }
.dc-line, .dc-shape, .dc-skin { stroke-width: 4.5; }
.dc-thin { stroke-width: 3.6; }
.dc-line, .dc-thin { fill: none; }
.dc-skin { fill: var(--jade-500); }
.dc-ink { fill: var(--ink-900); }
.dc-shine { fill: none; stroke: #fff; stroke-opacity: 0.38; stroke-width: 4.5; stroke-linecap: round; }
.dc-steam { fill: none; stroke: var(--ink-300); stroke-width: 3.2; stroke-linecap: round; animation: steam 2.6s ease-in-out infinite; }
.dc-steam-b { animation-delay: -1.3s; }
.dc-trail { fill: none; stroke: var(--jade-300); stroke-width: 4; stroke-linecap: round; stroke-dasharray: 2 12; animation: dash 0.9s linear infinite reverse; }
.dc-eyes { transform-box: fill-box; transform-origin: center; animation: blink 5.2s infinite; }
.dc-sleepy { animation-duration: 3.4s; }
.dc-bob { animation: dc-bob 2.8s ease-in-out infinite; }
.dc-leg { transform-box: view-box; animation: swing 1.7s ease-in-out infinite; }
.dc-leg-a { transform-origin: 66px 62px; }
.dc-leg-b { transform-origin: 94px 62px; animation-delay: -0.85s; }
.dc-orbit { transform-box: view-box; transform-origin: 130px 62px; animation: orbit 3.6s linear infinite; }
.dc-upright { transform-box: fill-box; transform-origin: center; animation: orbit 3.6s linear infinite reverse; }

/* Sitting in a headline. */
.statement-text .dot-sit { display: inline-block; width: 1.36em; height: 1.04em; margin: 0 0.05em; vertical-align: -0.17em; }

/* The night shift, perched on the card. */
.sky-wrap { position: relative; }
.dot-mug { position: absolute; z-index: 2; left: 38px; top: -86px; width: 112px; }

/* Off with the post, across the closing section. */
.flyby { position: absolute; z-index: 1; left: 0; top: -70px; width: 150px; pointer-events: none; animation: flyby 18s linear infinite; }
.flyby .dot-plane { animation: glide 3.4s ease-in-out infinite; }

/* Meet Dot, and ask it something. */
.meet-grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 64px; align-items: center; }
.meet .lede { margin-top: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; height: 40px; padding: 0 16px; border-radius: 999px; background: #fff; box-shadow: var(--hair); font-size: 14.5px; font-weight: 600; color: var(--ink-700); transition: transform 0.3s var(--out), background 0.2s, color 0.2s, box-shadow 0.2s; }
.chip:hover { transform: translateY(-2px); color: var(--ink-900); }
.chip.is-on { background: var(--ink-900); color: #fff; box-shadow: none; }
.chips-note { margin-top: 16px; max-width: 460px; font-size: 13.5px; color: var(--ink-400); }
.askdot { position: relative; padding-top: 296px; }
.askdot .dot-juggle { position: absolute; z-index: 0; left: 4%; bottom: 54px; width: 300px; transition: transform 0.5s var(--out); }
.askdot.is-thinking .dot-juggle { transform: translateY(8px); }
.askdot.is-thinking .dc-orbit, .askdot.is-thinking .dc-upright { animation-duration: 0.9s; }
.say { position: absolute; z-index: 1; right: 0; top: 26px; width: min(340px, 60%); min-height: 58px; margin: 0; padding: 16px 18px; border-radius: 22px 22px 22px 6px; background: #fff; box-shadow: var(--shadow-float); font-size: 15.5px; line-height: 1.5; color: var(--ink-800); opacity: 0; transform: translateY(10px) scale(0.92); transform-origin: 0 100%; transition: opacity 0.25s, transform 0.5s var(--bounce); }
.askdot.is-saying .say { opacity: 1; transform: none; }
.askdot-box { position: relative; z-index: 2; display: flex; align-items: center; gap: 10px; height: 68px; padding: 0 10px 0 26px; border-radius: 999px; background: #fff; box-shadow: var(--hair), var(--shadow-float); transition: box-shadow 0.2s; }
.askdot-box:focus-within { box-shadow: inset 0 0 0 2px var(--jade-500), var(--shadow-float); }
.askdot-box input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font: inherit; font-size: 17px; color: var(--ink-900); }
.askdot-box input::placeholder { color: var(--ink-400); }
.askdot-box button { flex: none; width: 48px; height: 48px; border-radius: 50%; background: var(--ink-900); color: #fff; display: grid; place-items: center; transition: transform 0.3s var(--bounce), background 0.2s; }
.askdot-box button svg { width: 20px; height: 20px; }
.askdot-box button:hover { transform: scale(1.08); background: var(--jade-600); }

/* Hanging from the nav bar (desktop): he dangles by one arm under the free
   trial button once the bar is a floating pill, and sorted.js swings him
   with the scroll. He never takes a click, and ducks out of the way of the
   Product menu. --hang-drop is the gap from the button down to the bar's edge. */
.nav-actions .btn { position: relative; }
.hang { position: absolute; left: 50%; top: calc(100% + var(--hang-drop, 9px)); width: 0; height: 0; pointer-events: none; opacity: 0; transform: translateY(-30px) scale(0.5); transition: opacity 0.2s, transform 0.3s var(--swift); }
.nav.scrolled .hang { opacity: 1; transform: none; transition: opacity 0.25s 0.35s, transform 0.75s var(--bounce) 0.35s; }
.nav-shell:has(.has-drop.open) .hang { opacity: 0; transform: translateY(-16px) scale(0.7); transition: opacity 0.15s, transform 0.25s var(--swift); }
.hang-svg { position: absolute; left: -44.8px; top: -5.12px; width: 89.6px; height: 101.12px; max-width: none; overflow: visible; }
.hang-oh { opacity: 0; transition: opacity 0.12s; }
.hang-smile { transition: opacity 0.12s; }
.hang.is-scared .hang-oh { opacity: 1; }
.hang.is-scared .hang-smile { opacity: 0; }
@media (max-width: 860px) { .hang { display: none; } }

/* The footer's giant full stop is Dot too: it blinks. */
.f-giant .giant-dot { position: relative; display: inline-block; width: 0.17em; height: 0.17em; margin-left: 0.02em; border-radius: 50%; background: var(--jade-500); }
.f-giant .giant-dot::before, .f-giant .giant-dot::after { content: ""; position: absolute; top: 33%; width: 13%; height: 23%; border-radius: 50%; background: var(--ink-950); animation: blink 5.2s 1.4s infinite; }
.f-giant .giant-dot::before { left: 25%; }
.f-giant .giant-dot::after { right: 25%; }
.js .f-giant .giant-dot { transform: translateY(-1.1em); opacity: 0; }
.js .f-giant.in .giant-dot { animation: drop 0.9s var(--bounce) 0.25s both; }

@keyframes blink { 0%, 93%, 100% { transform: scaleY(1); } 96% { transform: scaleY(0.1); } }
@keyframes dc-bob { 50% { transform: translateY(-2.5px); } }
@keyframes swing { 0%, 100% { transform: rotate(12deg); } 50% { transform: rotate(-14deg); } }
@keyframes orbit { to { transform: rotate(360deg); } }
@keyframes steam { 0% { opacity: 0; transform: translateY(4px); } 40% { opacity: 0.9; } 100% { opacity: 0; transform: translateY(-8px); } }
@keyframes flyby { from { transform: translateX(-190px); } to { transform: translateX(calc(100vw + 40px)); } }
@keyframes glide { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-16px) rotate(-9deg); } }

@media (max-width: 1080px) {
    .meet-grid { grid-template-columns: 1fr; gap: 28px; }
    .sky-wrap { margin-top: 70px; }
}
@media (max-width: 620px) {
    .askdot { padding-top: 330px; }
    .askdot .dot-juggle { left: 50%; width: 220px; margin-left: -110px; }
    .say { left: 0; right: 0; top: 0; width: auto; border-radius: 22px; }
    .askdot-box { height: 62px; padding-left: 20px; }
    .askdot-box input { font-size: 16px; }
    .dot-mug { left: 22px; }
    .flyby { width: 120px; top: -58px; }
}

/* ---------- Motion ---------- */

.js .rise { animation: rise 0.9s var(--out) both; animation-delay: var(--d, 0s); }
.js .hero .stop { animation: drop 0.9s var(--bounce) 0.75s both; }
.js [data-in] { opacity: 0; transform: translateY(26px); transition: opacity 0.8s, transform 0.9s var(--out); transition-delay: var(--d, 0s); }
.js [data-in].in { opacity: 1; transform: none; }

@keyframes rise { from { opacity: 0; transform: translateY(16px); } }
@keyframes nav-in { from { opacity: 0; transform: translateY(-18px); } }
@keyframes hop { 40% { transform: translateY(-0.38em); } }
@keyframes drop { 0% { transform: translateY(-1.1em); opacity: 0; } 30% { opacity: 1; } 100% { transform: none; opacity: 1; } }
@keyframes marquee { to { transform: translateX(calc(-50% - 6px)); } }
@keyframes fill-x { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes grow-x { to { transform: scaleX(1); } }
@keyframes step-in { from { opacity: 0; transform: translateY(10px); } }
@keyframes tick { to { background: var(--tick, var(--jade-500)); box-shadow: none; color: #fff; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.7); } 100% { opacity: 1; transform: scale(1); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(12px) scale(0.92); } }
@keyframes fade-in { to { opacity: 1; } }
@keyframes caret { 50% { opacity: 0; } }
@keyframes press { 50% { transform: scale(0.9); } }
@keyframes twinkle { 50% { opacity: 0.15; } }
@keyframes dash { to { stroke-dashoffset: -14; } }
@keyframes breathe { 50% { box-shadow: 0 0 0 14px rgba(18, 161, 121, 0.1), 0 0 90px 22px rgba(18, 161, 121, 0.42); } }
@keyframes jump { 0% { transform: translateY(96px); } 100% { transform: none; } }
@keyframes countdown { from { stroke-dashoffset: 0; } to { stroke-dashoffset: 113; } }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px rgba(224, 162, 58, 0); } }

/* ---------- Smaller screens ---------- */

@media (max-width: 1080px) {
    .scene { grid-template-columns: 1fr; gap: 18px; min-height: 0; }
    .flow { grid-template-columns: 1fr 1fr; gap: 12px 18px; }
    .flow::before { display: none; }
    .typed { min-height: 150px; }
    .brain { grid-template-columns: 1fr; gap: 22px; }
    .brain-lines { display: none; }
    .core { width: 72px; height: 72px; border-radius: 22px; }
    .core img { width: 72px; height: 72px; border-radius: 22px; }
    .rules-grid, .split-grid, .night-grid { grid-template-columns: 1fr; gap: 40px; }
    .stage { min-height: 460px; }
    .bento { grid-template-columns: repeat(2, 1fr); }
    .cell, .cell.wide { grid-column: span 1; }
    .calc { grid-template-columns: 1fr; }
    .addon { grid-template-columns: 1fr; }
    .signup { grid-template-columns: 1fr; }
    .signup-aside { position: static; }
    .legal { grid-template-columns: 1fr; gap: 0; }
    .legal-toc { display: none; }
    .includes { grid-template-columns: 1fr 1fr; }
    .pings .toast:nth-child(3) { display: none; }
}
@media (max-width: 860px) {
    .nav-links, .nav-actions .signin, .nav-actions .btn { display: none; }
    .menu-btn { display: block; }
    .nav-shell, .nav.scrolled .nav-shell { padding: 0 6px 0 16px; background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-color: rgba(19, 32, 27, 0.07); box-shadow: 0 10px 28px -16px rgba(19, 32, 27, 0.35); }
    .nav.is-open .nav-shell { background: #fff; }
    .sheet { display: block; position: absolute; left: 0; right: 0; top: calc(100% + 10px); max-height: calc(100vh - 130px); max-height: calc(100dvh - 130px); overflow-y: auto; padding: 12px; border-radius: 28px; background: #fff; box-shadow: var(--shadow-float); text-align: left; clip-path: inset(0 0 100% 0 round 28px); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: clip-path 0.4s var(--swift), opacity 0.25s 0.1s, transform 0.4s var(--swift), visibility 0s 0.4s; }
    .nav.is-open .sheet { clip-path: inset(0 0 0 0 round 28px); opacity: 1; visibility: visible; transform: none; transition: clip-path 0.65s var(--out), opacity 0.2s, transform 0.65s var(--out), visibility 0s; }
    .sheet-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; border-radius: 16px; font-size: 21px; font-weight: 650; letter-spacing: -0.025em; line-height: 1.2; opacity: 0; transform: translateY(16px); transition: opacity 0.15s, transform 0.15s, background 0.2s; }
    .sheet-link svg { width: 18px; height: 18px; flex: none; color: var(--ink-300); transition: transform 0.3s var(--out), color 0.2s; }
    .sheet-link:active { background: var(--paper-100); }
    .sheet-link:active svg { transform: translateX(5px); color: var(--jade-500); }
    .sheet-end { display: grid; gap: 8px; margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--paper-200); opacity: 0; transform: translateY(16px); transition: opacity 0.15s, transform 0.15s; }
    .sheet-end p { margin: 4px 0 2px; text-align: center; font-size: 13.5px; color: var(--ink-500); }
    .nav.is-open .sheet-link, .nav.is-open .sheet-end { opacity: 1; transform: none; transition: opacity 0.4s calc(var(--i) * 45ms + 130ms), transform 0.6s var(--out) calc(var(--i) * 45ms + 130ms), background 0.2s; }
    .plans { grid-template-columns: 1fr; max-width: 480px; margin-left: auto; margin-right: auto; }
    .steps { grid-template-columns: 1fr 1fr; }
    .rails { grid-template-columns: 1fr; }
    .f-grid { grid-template-columns: 1fr 1fr; }
    .section { padding: 72px 0; }
    .statement { padding: 90px 0 20px; }
}
@media (max-width: 620px) {
    :root { --gutter: 18px; }
    .hero { padding-top: 30px; }
    .cta-row .btn { width: 100%; }
    .theatre { padding: 14px; border-radius: 28px; margin-top: 40px; }
    .card { padding: 16px 16px 18px; border-radius: 18px; }
    .flow { grid-template-columns: 1fr; }
    .segs { gap: 8px; }
    .seg small { display: none; }
    .seg b { font-size: 13.5px; }
    .sources, .answer, .verdict-card { padding: 20px; border-radius: 24px; }
    .check small { display: none; }
    .stage { padding: 14px; border-radius: 26px; min-height: 440px; }
    .bento { grid-template-columns: 1fr; }
    .cell { min-height: 0; padding: 22px; border-radius: 24px; }
    .calc-in, .calc-out { padding: 26px 22px; }
    .steps { grid-template-columns: 1fr; }
    .sky { padding: 28px 22px 124px; }
    .addon { padding: 26px; }
    .f-grid { grid-template-columns: 1fr; gap: 28px; }
    .sunrise { height: 300px; }
    .page-hero { padding-top: 40px; }
    .signup-card { padding: 24px 20px; border-radius: 26px; }
    .f-row, .plan-pick { grid-template-columns: 1fr; }
    .aside-card { padding: 26px 22px; border-radius: 26px; }
    .prose { padding: 26px 20px; border-radius: 24px; font-size: 16px; }
    .prose table { display: block; overflow-x: auto; }
    .includes { grid-template-columns: 1fr; }
    .pings { padding-top: 60px; }
    .pings .toast:nth-child(2) { display: none; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
    .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
    .marquee-track [aria-hidden] { display: none; }
}
