:root {
  --canvas: #fffaf3; --card: #ffffff; --sunken: #fff1e3; --line: #f5e8da; --line-strong: #e8d6c4;
  --ink: #43352d; --ink-2: #6e5c53;
  --sidebar: #ffeedd; --on-sidebar: #5f4e44; --side-strong: #43352d; --side-count: #a64b18; --side-hover: rgb(224 122 63 / .1); --side-active: rgb(224 122 63 / .2); --side-line: rgb(67 53 45 / .1);
  --accent: #ffc6a1; --mark-ink: #43352d;
  --brand: #2b6f8f; --brand-hover: #235d78; --brand-soft: #e2f1f7; --fill: #ffc6a1; --fill-hover: #ffb78a; --on-fill: #43352d;
  --urgent: #b83c3c; --urgent-soft: #fde8e6; --amber: #85590c; --amber-soft: #fff1d3;
  --google: #2f66ad; --google-soft: #e5eefa; --star: #f0ab1f; --star-off: #efe6db;
  --login-bg: #fff8ee;
  --scene-peach: #ffd6b8; --scene-peach-mark: #ffb78a; --scene-blue: #d6ecf5; --scene-blue-mark: #8fc4da; --scene-star: #ffd98f;
  --tint-peach: #ffe6d3; --tint-blue: #dcedf6; --tint-butter: #fff0c9; --meter: #8fc4da;
  --wash-peach: rgb(255 198 161 / .24); --wash-blue: rgb(165 214 234 / .2);
  --shadow: 0 1px 2px rgb(67 53 45 / .04), 0 6px 20px rgb(67 53 45 / .05);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}
:root[data-theme="dark"] {
  --canvas: #1d2733; --card: #263240; --sunken: #2e3b4b; --line: #374657; --line-strong: #4a5b6e;
  --ink: #f1f5f9; --ink-2: #bcc9d6;
  --sidebar: #212c39; --on-sidebar: #d4dee7; --side-strong: #ffffff; --side-count: #ffc6a1; --side-hover: rgb(255 255 255 / .07); --side-active: rgb(165 214 234 / .16); --side-line: rgb(255 255 255 / .11);
  --accent: #ffc6a1; --mark-ink: #27303b;
  --brand: #a5d6ea; --brand-hover: #bde2f1; --brand-soft: #2a4656; --fill: #ffc6a1; --fill-hover: #ffd4b6; --on-fill: #27303b;
  --urgent: #ffaea3; --urgent-soft: #4a2f38; --amber: #f6cf83; --amber-soft: #3f3d33;
  --google: #b3cdf5; --google-soft: #2c3d5c; --star: #f5bd4f; --star-off: #465567;
  --login-bg: #1d2733;
  --scene-peach: #4a4650; --scene-peach-mark: #ffc6a1; --scene-blue: #2f4c5e; --scene-blue-mark: #a5d6ea; --scene-star: #8a7a5c;
  --tint-peach: #33303c; --tint-blue: #233a4c; --tint-butter: #2f3447; --meter: #a5d6ea;
  --wash-peach: rgb(255 198 161 / .13); --wash-blue: rgb(165 214 234 / .08);
  --shadow: 0 1px 2px rgb(10 18 28 / .14), 0 6px 20px rgb(10 18 28 / .16);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; background: var(--canvas); color: var(--ink);
  font: 400 15px/1.5 Geist, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased; font-feature-settings: "ss01";
}
h1, h2, h3, p { margin: 0; }
h1 { font-size: 27px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
h2 { font-size: 18px; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
h3 { font-size: 15px; font-weight: 600; line-height: 1.35; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
[hidden] { display: none !important; }
.muted { color: var(--ink-2); }
.small { font-size: 13px; }
.row { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.between { justify-content: space-between; }
.stack { display: flex; flex-direction: column; gap: 16px; }
.icon { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 8px 14px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); font-weight: 500; font-size: 14px; white-space: nowrap;
  transition: background .15s, border-color .15s, transform .15s var(--ease), box-shadow .15s;
}
.btn:hover:not(:disabled) { background: var(--sunken); border-color: var(--line-strong); }
.btn:active:not(:disabled) { transform: scale(.98); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.primary { background: var(--fill); border-color: var(--fill); color: var(--on-fill); font-weight: 600; }
.btn.primary:hover:not(:disabled) { background: var(--fill-hover); border-color: var(--fill-hover); box-shadow: 0 4px 14px color-mix(in srgb, var(--fill) 45%, transparent); }
.btn.quiet { background: transparent; border-color: transparent; color: var(--ink-2); }
.btn.quiet:hover:not(:disabled) { color: var(--ink); }
.btn.danger { color: var(--urgent); }
.btn.busy { pointer-events: none; opacity: .75; }
.btn.busy .icon { animation: spin 1s linear infinite; }

/* Shell */
.shell { display: grid; grid-template-columns: 232px minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: sticky; top: 0; height: 100vh; background: var(--sidebar); color: var(--on-sidebar);
  display: flex; flex-direction: column; gap: 4px; padding: 22px 16px 16px;
}
.logo { display: flex; align-items: center; gap: 10px; padding: 0 8px 18px; color: var(--side-strong); font-weight: 600; letter-spacing: -.01em; }
.mark { width: 30px; height: 30px; display: block; flex: none; }
.mark svg { width: 100%; height: 100%; display: block; }
.mark-bubble { fill: var(--accent); }
.mark-letter { fill: none; stroke: var(--mark-ink); stroke-width: 4.6; stroke-linecap: round; stroke-linejoin: round; }
.nav { display: flex; flex-direction: column; gap: 2px; }
.nav button {
  display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 9px;
  background: transparent; color: var(--on-sidebar); text-align: left; font-size: 14px; white-space: nowrap;
  transition: background .15s, color .15s;
}
.nav button:hover { background: var(--side-hover); color: var(--side-strong); }
.nav button[aria-current="page"] { background: var(--side-active); color: var(--side-strong); font-weight: 500; }
.nav .count { margin-left: auto; color: var(--side-count); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.sidebar-foot { margin-top: auto; display: flex; flex-direction: column; gap: 8px; padding: 12px 4px 0; border-top: 1px solid var(--side-line); }
.sidebar-foot .biz { padding: 0 8px; min-width: 0; }
.sidebar-foot strong { display: block; color: var(--side-strong); font-size: 13px; font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sidebar-foot .biz span { font-size: 12px; opacity: .85; }
.sidebar-foot .account { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.foot-actions { display: flex; gap: 4px; }
.foot-slot { flex: 1; display: flex; }
.foot-actions button { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 6px; border: 0; border-radius: 8px; background: transparent; color: var(--on-sidebar); font-size: 12px; }
.foot-actions button:hover { background: var(--side-hover); color: var(--side-strong); }
.foot-actions .icon { width: 15px; height: 15px; }
.main { padding: 26px 32px 48px; min-width: 0; max-width: 1320px; width: 100%; margin: 0 auto; }
.view { animation: rise .32s var(--ease); }
.page-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.page-head p { color: var(--ink-2); margin-top: 3px; max-width: 70ch; }

/* Cards and pills */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; background: var(--sunken); color: var(--ink-2); }
.pill.urgent { background: var(--urgent-soft); color: var(--urgent); }
.pill.high { background: var(--amber-soft); color: var(--amber); }
.pill.low, .pill.good { background: var(--brand-soft); color: var(--brand); }
.pill.google { background: var(--google-soft); color: var(--google); }
.pills { display: flex; flex-wrap: wrap; gap: 5px; }
.sync-pill { padding: 6px 12px; font-size: 13px; }
.live-dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; position: relative; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: currentColor; animation: ping 2.4s var(--ease) infinite; }
.stars { color: var(--star-off); letter-spacing: 1px; white-space: nowrap; font-size: 13px; font-family: -apple-system, "Segoe UI Symbol", sans-serif; }
.stars b { color: var(--star); font-weight: 400; }
.stars.large { font-size: 15px; }
.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; flex: none; font-size: 13px; font-weight: 600; background: var(--sunken); color: var(--ink-2); }
.avatar.urgent { background: var(--urgent-soft); color: var(--urgent); }
.avatar.high { background: var(--amber-soft); color: var(--amber); }
.avatar.low { background: var(--brand-soft); color: var(--brand); }

/* Stats */
.stats { display: grid; grid-template-columns: 1.3fr repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; display: flex; flex-direction: column; justify-content: center; transition: transform .2s var(--ease), box-shadow .2s; }
button.stat { text-align: left; color: inherit; font: inherit; }
button.stat:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat b { font-size: 26px; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.stat > span, .stat > div > span { color: var(--ink-2); font-size: 13px; }
.stat .stars b { font-size: 20px; }
.stat.urgent b { color: var(--urgent); }
.stat.google b { color: var(--google); }
.stat.progress { flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px; }
.stat.progress b { font-size: 19px; display: block; }
.ring { width: 52px; height: 52px; transform: rotate(-90deg); flex: none; }
.ring circle { fill: none; stroke-width: 7; }
.ring .track { stroke: var(--sunken); }
.ring .value { stroke: var(--brand); stroke-linecap: round; transition: stroke-dashoffset .8s var(--ease); }

/* Inbox */
.filters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.filters button { padding: 5px 11px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 13px; font-weight: 500; transition: background .15s, color .15s, border-color .15s; }
.filters button:hover { border-color: var(--line-strong); color: var(--ink); }
.filters button[aria-pressed="true"] { background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
.workspace { display: grid; grid-template-columns: 370px minmax(0, 1fr); gap: 18px; align-items: start; }
.list { display: flex; flex-direction: column; gap: 8px; }
.item {
  display: flex; gap: 12px; width: 100%; padding: 13px 14px; text-align: left; background: var(--card); color: inherit;
  border: 1px solid var(--line); border-radius: 14px; transition: border-color .15s, box-shadow .2s, transform .2s var(--ease);
}
.item:hover { border-color: var(--line-strong); box-shadow: var(--shadow); transform: translateY(-1px); }
.item[aria-current="true"] { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.item .body { min-width: 0; flex: 1; }
.item .top { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.item .name { font-weight: 600; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.item .snippet { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--ink-2); font-size: 13px; line-height: 1.4; margin: 3px 0 7px; overflow-wrap: anywhere; }
.item .snippet em { font-style: italic; }
.item.arrive { animation: arrive .55s var(--ease); }
.item.leaving { animation: leave .28s var(--ease) forwards; pointer-events: none; }
.detail { display: flex; flex-direction: column; gap: 14px; position: sticky; top: 20px; min-width: 0; }
.detail > * { animation: rise .24s var(--ease); }
.back { display: none; margin-bottom: 2px; }
.who { display: flex; gap: 12px; align-items: center; }
.who-text { min-width: 0; flex: 1; }
.who-text h2 { overflow-wrap: anywhere; }
.quote { margin: 12px 0; font-size: 15px; white-space: pre-wrap; overflow-wrap: anywhere; }
.quote.empty { color: var(--ink-2); font-style: italic; }
.callout { border-radius: 10px; padding: 11px 14px; font-size: 14px; margin-top: 12px; }
.callout strong { display: flex; align-items: center; gap: 6px; font-weight: 600; }
.callout ul { margin: 5px 0 0; padding-left: 18px; }
.callout.urgent { background: var(--urgent-soft); color: var(--urgent); }
.callout.google { background: var(--google-soft); color: var(--google); }
.callout label { display: flex; align-items: center; gap: 7px; margin-top: 8px; font-weight: 500; cursor: pointer; }
.field-label { display: block; font-size: 13px; font-weight: 600; color: var(--ink-2); margin-bottom: 7px; }
textarea, input[type="text"], input[type="email"], input[type="password"], input[type="date"], select, .input-ghost {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--canvas);
  line-height: 1.5; transition: border-color .15s, box-shadow .15s, background .15s;
}
textarea { resize: vertical; display: block; }
textarea:focus, input:focus, select:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand) 18%, transparent); background: var(--card); }
textarea[readonly] { color: var(--ink-2); }
.checks { list-style: none; margin: 10px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 13px; }
.checks li { display: flex; gap: 7px; align-items: flex-start; padding: 5px 10px; border-radius: 8px; font-weight: 500; }
.checks .icon { width: 15px; height: 15px; margin-top: 2px; }
.checks .ok { background: var(--brand-soft); color: var(--brand); align-self: flex-start; }
.checks .warn { background: var(--amber-soft); color: var(--amber); }
.checks .block { background: var(--urgent-soft); color: var(--urgent); }
.hint { color: var(--ink-2); font-size: 13px; margin-top: 10px; }
.kbd { display: inline-block; padding: 0 5px; border: 1px solid var(--line-strong); border-bottom-width: 2px; border-radius: 5px; font-size: 11px; line-height: 16px; background: var(--card); }
.answered-reply { background: var(--sunken); border-radius: 10px; padding: 12px 14px; overflow-wrap: anywhere; }

/* Empty and celebration states */
.empty { text-align: center; padding: 44px 24px; color: var(--ink-2); }
.empty h2 { color: var(--ink); margin: 12px 0 4px; }
.done-mark { width: 60px; height: 60px; display: block; margin: 0 auto; }
.done-mark circle { fill: var(--brand-soft); animation: pop .45s var(--ease); transform-origin: center; }
.done-mark path { fill: none; stroke: var(--brand); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 34; stroke-dashoffset: 34; animation: draw .45s .2s var(--ease) forwards; }

/* Steps page */
.steps { list-style: none; margin: 0 0 18px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; counter-reset: step; }
.steps li { counter-increment: step; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; transition: transform .2s var(--ease), box-shadow .2s; }
.steps li:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 28px; height: 28px; margin-bottom: 10px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: 13px; font-weight: 700; }
.steps li:nth-child(3n + 2)::before { background: var(--google-soft); color: var(--google); }
.steps li:nth-child(3n)::before { background: var(--amber-soft); color: var(--amber); }
.steps p { color: var(--ink-2); font-size: 14px; margin-top: 4px; }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); gap: 12px; }
.two ul { margin: 8px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 14px; }
.two li { margin-bottom: 3px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(235px, 1fr)); gap: 14px; }
label.field { display: block; font-size: 13px; font-weight: 600; }
label.field small { display: block; font-weight: 400; font-size: 12px; color: var(--ink-2); }
label.field input, label.field select, label.field textarea, .input-ghost { margin-top: 5px; font-size: 14px; font-weight: 400; }
.errors { margin: 8px 0 0; padding-left: 18px; color: var(--urgent); font-size: 14px; }
.ok-note { color: var(--brand); font-size: 14px; font-weight: 500; margin-top: 8px; }
.connect-steps { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; font-size: 14px; }
.connect-steps li { display: flex; gap: 8px; align-items: flex-start; }
.connect-steps .icon { width: 16px; height: 16px; margin-top: 3px; color: var(--ink-2); }
.connect-steps .done { color: var(--brand); }

/* Email and messages */
.message { background: var(--canvas); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; white-space: pre-wrap; overflow-wrap: anywhere; font-size: 14px; margin-bottom: 12px; }
.request-grid { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 16px; align-items: start; }

/* Report */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 14px; margin-bottom: 18px; }
.bars { display: grid; grid-template-columns: 130px minmax(0, 1fr) 28px; gap: 10px; align-items: center; margin-top: 14px; font-size: 14px; }
.track { height: 10px; }
.fill { height: 10px; border-radius: 0 4px 4px 0; background: var(--fill-hover); width: 0; transition: width .8s var(--ease); }
.num { text-align: right; font-variant-numeric: tabular-nums; }

/* Sign-in */
.landing { --nav-height: 64px; background: var(--login-bg); color: var(--ink); overflow-x: clip; }
.topnav { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 22px; height: var(--nav-height); padding: 0 24px; background: var(--login-bg); }
.nav-line { position: absolute; inset: auto 0 0; height: 1px; background: var(--line); }
.topnav .logo { flex: none; padding: 0; transform-origin: center; position: relative; z-index: 1; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.nav-link { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; border: 0; border-radius: 9px; background: transparent; color: var(--ink); font-size: 14px; font-weight: 500; white-space: nowrap; transition: background .15s; }
.nav-link:hover, .nav-group.open > .nav-link { background: var(--sunken); }
.nav-link .icon { width: 13px; height: 13px; transform: rotate(-90deg); transition: transform .2s var(--ease); }
.nav-group.open > .nav-link .icon { transform: rotate(90deg); }
.nav-group { position: relative; }
.nav-panel { position: absolute; top: calc(100% + 8px); left: 0; width: 340px; padding: 8px; border: 1px solid var(--line); border-radius: 16px; background: var(--card); box-shadow: 0 2px 4px rgb(10 18 28 / .05), 0 16px 40px rgb(10 18 28 / .12); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s var(--ease), transform .16s var(--ease), visibility .16s; }
.nav-panel::before { content: ""; position: absolute; inset: -10px 0 auto; height: 10px; }
.nav-group.open .nav-panel { opacity: 1; visibility: visible; transform: none; }
.nav-item { display: flex; align-items: flex-start; gap: 11px; width: 100%; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; }
.nav-item:hover { background: var(--sunken); }
.nav-item > span:last-child { display: flex; flex-direction: column; min-width: 0; }
.nav-item strong { font-size: 14px; font-weight: 600; }
.nav-item small { color: var(--ink-2); font-size: 13px; line-height: 1.35; }
.nav-item-icon { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--sunken); color: var(--ink-2); }
.nav-item-icon .icon { width: 17px; height: 17px; }
.nav-trial { padding-block: 8px; }
.nav-mobile-actions { display: none; gap: 8px; margin-top: 8px; }
.nav-mobile-actions .btn { flex: 1; justify-content: center; }
.nav-burger { display: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: transparent; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-burger:hover { background: var(--sunken); }
.nav-burger span { display: block; width: 19px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s var(--ease), opacity .15s; }
.nav-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.landing [id] { scroll-margin-top: calc(var(--nav-height) + 44px); }
.mode-toggle-slot button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 13px; font-weight: 500; }
.mode-toggle-slot button:hover { color: var(--ink); border-color: var(--line-strong); }
.mode-toggle-slot .icon { width: 15px; height: 15px; }

/* First screen: sign-in, with the reviews sliding along the bottom */
.fold { position: relative; min-height: calc(100vh - var(--nav-height)); min-height: calc(100svh - var(--nav-height)); display: flex; flex-direction: column; }
.scenery { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* The washes fade out above the review strip, so its wave never cuts them off. */
.scenery::before { content: ""; position: absolute; inset: 0; background: radial-gradient(46% 62% at 4% 12%, var(--wash-peach), transparent 72%), radial-gradient(44% 62% at 97% 30%, var(--wash-blue), transparent 72%), radial-gradient(30% 36% at 16% 56%, var(--wash-blue), transparent 72%), radial-gradient(30% 36% at 86% 58%, var(--wash-peach), transparent 72%); -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 420px), transparent calc(100% - 240px)); mask-image: linear-gradient(to bottom, #000 calc(100% - 420px), transparent calc(100% - 240px)); }
.scene { position: absolute; display: block; transform: rotate(var(--tilt, 0deg)); animation: scene-drift var(--drift, 9s) ease-in-out infinite alternate; }
.scene svg { display: block; width: 100%; height: auto; overflow: visible; }
.scene.peach .scene-shape { fill: var(--scene-peach); }
.scene.peach .scene-mark { fill: var(--scene-peach-mark); }
.scene.blue .scene-shape { fill: var(--scene-blue); }
.scene.blue .scene-mark { fill: var(--scene-blue-mark); }
.scene-check { fill: none; stroke: var(--scene-blue-mark); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; }
.scene.star svg { fill: var(--scene-star); }
.s1 { left: 5%; top: 7%; width: clamp(120px, 12.5vw, 190px); --tilt: -7deg; --drift: 9s; }
.s2 { left: 15.5%; top: 31%; width: clamp(92px, 9vw, 136px); --tilt: 6deg; --drift: 11s; }
.s3 { left: 3.5%; top: 46%; width: clamp(84px, 8vw, 120px); --tilt: 5deg; --drift: 10s; }
.s4 { right: 5.5%; top: 9%; width: clamp(112px, 11.5vw, 172px); --tilt: 6deg; --drift: 10s; }
.s5 { right: 15%; top: 35%; width: clamp(96px, 9.5vw, 142px); --tilt: -6deg; --drift: 12s; }
.s6 { right: 3.5%; top: 50%; width: clamp(80px, 7.5vw, 112px); --tilt: 7deg; --drift: 9.5s; }
.t1 { left: 21%; top: 12%; width: 22px; --tilt: 12deg; --drift: 7s; }
.t2 { left: 15%; top: 56%; width: 15px; --tilt: -14deg; --drift: 8s; }
.t3 { right: 20.5%; top: 17%; width: 18px; --tilt: -10deg; --drift: 7.5s; }
.t4 { right: 14%; top: 60%; width: 24px; --tilt: 15deg; --drift: 8.5s; }
@keyframes scene-drift { from { transform: translateY(-7px) rotate(var(--tilt, 0deg)); } to { transform: translateY(9px) rotate(calc(var(--tilt, 0deg) + 2deg)); } }
.hero { position: relative; flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 20px 16px 10px; }
.hero h1 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.08; letter-spacing: -.03em; text-align: center; margin-bottom: 8px; }
.hero-sub { position: relative; max-width: 520px; margin-bottom: 16px; color: var(--ink-2); font-size: 16px; text-align: center; text-wrap: balance; }
.band { position: relative; overflow: hidden; padding-top: 8px; }
.band-wave { position: absolute; left: 0; bottom: 0; width: 100%; height: 72%; display: block; }
.band-wave path { fill: var(--sunken); }
.band-label { position: relative; display: block; text-align: center; color: var(--ink-2); font-size: 12px; font-weight: 600; margin-bottom: 6px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(to right, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; animation: slide 80s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(-50%); } }
.feed-pair { flex: none; width: 390px; padding: 2px 14px 6px; }
.feed-pair:nth-child(even) { padding-top: 10px; }
.bubble { width: 88%; padding: 9px 13px; border: 1px solid var(--line); border-radius: 15px; background: var(--card); color: var(--ink); font-size: 13px; line-height: 1.4; box-shadow: var(--shadow); }
.bubble.review { border-bottom-left-radius: 5px; }
.bubble.answer { margin: 6px 0 0 12%; border-color: transparent; border-bottom-right-radius: 5px; background: var(--brand-soft); }
.feed-pair:nth-child(even) .bubble.review { margin-left: 12%; border-bottom-left-radius: 15px; border-bottom-right-radius: 5px; }
.feed-pair:nth-child(even) .bubble.answer { margin-left: 0; border-bottom-right-radius: 15px; border-bottom-left-radius: 5px; }
.bubble-who { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 2px; font-weight: 600; }
.bubble small { display: block; color: var(--brand); font-size: 11px; font-weight: 600; }
.to-how { position: relative; display: flex; align-items: center; gap: 6px; margin: 2px auto 6px; padding: 5px 12px; border: 0; border-radius: 999px; background: transparent; color: var(--ink-2); font-size: 13px; font-weight: 500; }
.to-how:hover { color: var(--ink); background: var(--side-hover); }
.to-how .icon { width: 15px; height: 15px; transform: rotate(-90deg); animation: nudge 2.4s var(--ease) infinite; }
@keyframes nudge { 50% { translate: 0 3px; } }

/* The rest of the page */
.story { position: relative; overflow: clip; background-color: var(--sunken); padding: 56px 20px 88px; transition: background-color .8s ease; }
.story[data-tint="peach"] { background-color: var(--tint-peach); }
.story[data-tint="blue"] { background-color: var(--tint-blue); }
.story[data-tint="butter"] { background-color: var(--tint-butter); }
.story-inner { position: relative; max-width: 1000px; margin-inline: auto; }
.story h2 { font-size: clamp(26px, 3vw, 36px); line-height: 1.12; letter-spacing: -.025em; }
.story-head { text-align: center; max-width: 620px; margin: 0 auto 56px; }
.story-head p { color: var(--ink-2); font-size: 17px; margin-top: 10px; }
.step-num { display: inline-grid; place-items: center; width: 34px; height: 34px; margin-bottom: 12px; border-radius: 11px; background: var(--fill); color: var(--on-fill); font-weight: 600; font-size: 15px; }
.step h3 { font-size: 22px; letter-spacing: -.015em; line-height: 1.25; }
.step-text p { color: var(--ink-2); font-size: 16px; margin-top: 8px; }
.mock { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); font-size: 14px; }
.mock-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 2px 12px; padding: 10px 2px; border-bottom: 1px solid var(--line); }
.mock-row:first-child { padding-top: 2px; }
.mock-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.mock-row strong { font-weight: 600; }
.mock-row span.mock-text { grid-column: 1 / -1; color: var(--ink-2); font-size: 13px; }
.mock-quote { padding: 11px 13px; border-radius: 12px; background: var(--brand-soft); line-height: 1.45; }
.mock-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.mock-bars { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 10px 12px; }
.mock-bar { display: block; height: 10px; border-radius: 5px; background: var(--fill-hover); transform-origin: left; transform: scaleX(0); transition: transform 1s var(--ease) .25s; }
.in .mock-bar { transform: scaleX(1); }
.promises { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 36px; }
.promise { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--shadow); }
.promise p { color: var(--ink-2); font-size: 14px; margin-top: 6px; }
.promise:nth-child(2) { transition-delay: .1s; }
.promise:nth-child(3) { transition-delay: .2s; }
.promise-title { text-align: center; }
.promises + .promise-title { margin-top: 64px; }
.proof-head { margin-top: 96px; }
.proof-group { margin-top: 56px; }
.proof-group-head { max-width: 560px; margin-bottom: 20px; }
.proof-group-head h3 { font-size: 22px; letter-spacing: -.01em; }
.proof-group-head p { color: var(--ink-2); margin-top: 4px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.proof-card { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.proof-card b { color: var(--ink); font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1.1; }
.proof-card p { flex: 1; margin-top: 8px; color: var(--ink-2); font-size: 14px; }
.proof-source { display: block; margin-top: 12px; color: var(--brand); font-size: 12px; font-weight: 500; }
.proof-source:hover { color: var(--brand-hover); }
.proof-callout { margin-top: 56px; padding: 28px; border-radius: 18px; background: var(--brand-soft); }
.proof-callout h3 { font-size: 22px; letter-spacing: -.01em; }
.proof-callout p { max-width: 680px; margin-top: 6px; color: var(--ink); }
.proof-note { max-width: 720px; margin: 20px auto 0; color: var(--ink-2); font-size: 13px; text-align: center; }
.proof-note + .promise-title { margin-top: 96px; }
.faq-head { margin-top: 96px; margin-bottom: 28px; }
.faq { display: flex; flex-direction: column; gap: 10px; max-width: 760px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); box-shadow: var(--shadow); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 15px 18px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { flex: none; width: 16px; height: 16px; color: var(--ink-2); transform: rotate(-90deg); transition: transform .2s var(--ease); }
.faq details[open] summary .icon { transform: rotate(90deg); }
.faq details p { padding: 0 18px 16px; color: var(--ink-2); }
.finish { text-align: center; margin-top: 88px; }
.finish p { color: var(--ink-2); max-width: 520px; margin: 10px auto 20px; }
.finish .btn { padding-inline: 22px; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .75s var(--ease), transform .75s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@supports (animation-timeline: view()) {
  .mock { animation: drift linear both; animation-timeline: view(); }
}
@keyframes drift { from { transform: translateY(26px); } to { transform: translateY(-26px); } }
.input-ghost { display: block; min-height: 1.5em; box-sizing: content-box; width: auto; }
.login-form { width: 100%; max-width: 400px; }
.login-form form { display: flex; flex-direction: column; gap: 12px; padding: 22px 24px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 2px 4px rgb(67 53 45 / .03), 0 16px 40px rgb(67 53 45 / .07); }
.login-form p { color: var(--ink-2); margin-top: 3px; }
.auth-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: var(--sunken); }
.auth-tabs button { padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; transition: background .2s var(--ease), color .2s var(--ease); }
.auth-tabs button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.password-box { display: block; position: relative; }
.password-box input { padding-right: 62px; }
.password-box button { position: absolute; right: 6px; top: calc(50% + 2.5px); transform: translateY(-50%); padding: 4px 8px; border: 0; border-radius: 6px; background: transparent; color: var(--brand); font-size: 13px; font-weight: 600; }
.auth-switch { font-size: 14px; text-align: center; }
.auth-switch button { padding: 0; border: 0; background: none; color: var(--brand); font: inherit; font-weight: 600; }
.auth-switch button:hover { text-decoration: underline; }
.login-form .login-error { color: var(--urgent); font-size: 14px; font-weight: 500; }
.shake { animation: shake .35s; }

/* Workspace */
.side-label { display: block; margin: 14px 0 4px; padding: 0 12px; color: var(--on-sidebar); font-size: 11px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; opacity: .7; }
.nav .demo-switch { margin-top: 12px; border: 1px dashed var(--side-line); }
.banner { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 12px 16px; border-radius: 14px; background: var(--amber-soft); color: var(--ink); font-size: 14px; }
.banner > .icon { flex: none; color: var(--amber); }
.banner > div { flex: 1; min-width: 0; }
.banner.demo { background: var(--brand-soft); }
.banner.demo > .icon { color: var(--brand); }
.banner.urgent { background: var(--urgent-soft); }
.banner.urgent > .icon { color: var(--urgent); }
.banner .btn { flex: none; }
.head-name { font-weight: 500; }
.row.center { justify-content: center; }
.stats.five { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.card-head { margin-bottom: 12px; }
.over-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.needs { display: flex; flex-direction: column; gap: 8px; }
.need { display: flex; align-items: center; gap: 12px; width: 100%; padding: 11px 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--card); text-align: left; animation: rise .45s var(--ease) backwards; transition: transform .18s var(--ease), border-color .18s, box-shadow .18s; }
.need:nth-child(2) { animation-delay: .05s; }
.need:nth-child(3) { animation-delay: .1s; }
.need:nth-child(4) { animation-delay: .15s; }
.need:nth-child(5) { animation-delay: .2s; }
.need:nth-child(6) { animation-delay: .25s; }
.need:hover { transform: translateY(-1px); border-color: var(--line-strong); box-shadow: var(--shadow); }
.need-icon { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; background: var(--sunken); color: var(--ink-2); }
.need.urgent { background: var(--urgent-soft); border-color: transparent; }
.need.urgent .need-icon { background: var(--card); color: var(--urgent); }
.need.urgent strong { color: var(--urgent); }
.need.high .need-icon { background: var(--amber-soft); color: var(--amber); }
.need.low .need-icon { background: var(--brand-soft); color: var(--brand); }
.need-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.need-body strong { font-weight: 600; font-size: 14px; }
.need-body span { color: var(--ink-2); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.need-go { flex: none; color: var(--ink-2); }
.need-go .icon { width: 15px; height: 15px; transform: rotate(180deg); }
.caught-up { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 24px 0; color: var(--ink-2); }
.rating-bars { grid-template-columns: 34px minmax(0, 1fr) 24px; margin-top: 0; }
.recent { display: flex; flex-direction: column; }
.recent-row { display: flex; flex-direction: column; gap: 1px; width: 100%; padding: 9px 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; text-align: left; }
.recent-row:last-child { border-bottom: 0; }
.recent-row:hover { background: var(--sunken); border-radius: 9px; }
.recent-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.recent-top strong { font-weight: 600; }
.setup { display: flex; flex-direction: column; gap: 14px; margin-bottom: 16px; border-color: var(--fill); }
.setup-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.setup-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: var(--canvas); }
.setup-steps li > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.setup-steps span:not(.tick) { color: var(--ink-2); font-size: 13px; }
.setup-steps strong { font-weight: 600; }
.setup-steps li.done strong { text-decoration: line-through; color: var(--ink-2); }
.tick { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 2px solid var(--line-strong); border-radius: 50%; }
.done .tick { background: var(--fill); border-color: var(--fill); color: var(--on-fill); }
.tick .icon { width: 13px; height: 13px; }
.empty-state { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 44px 24px; text-align: center; }
.empty-state p { max-width: 440px; color: var(--ink-2); }
.empty-state .row { margin-top: 8px; }
.empty-icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--sunken); color: var(--ink-2); }
.stack.tight { gap: 10px; }
.followup-row { display: flex; align-items: center; gap: 14px; }
.followup-body { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.followup-body .recent-top { width: 100%; justify-content: flex-start; }
.followup-actions { flex: none; }
.followup-fields { display: grid; grid-template-columns: minmax(0, 1fr) 170px; gap: 12px; }
.two-forms { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.two-forms { margin-top: 16px; align-items: start; scroll-margin-top: 16px; }
.conn-logo { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; font-weight: 700; font-size: 19px; }
.form-grid.compact { grid-template-columns: minmax(0, 1fr) 130px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 16px 0; color: var(--ink-2); }
.price b { color: var(--ink); font-size: 44px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.plan-features { list-style: none; margin: 0 0 20px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.plan-features li { display: flex; align-items: center; gap: 9px; }
.plan-features .icon { width: 16px; height: 16px; color: var(--brand); }
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; align-items: start; }
.tier { display: flex; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); box-shadow: var(--shadow); }
.tier.highlight { border: 2px solid var(--fill-hover); }
.tier:nth-child(2) { transition-delay: .1s; }
.tier:nth-child(3) { transition-delay: .2s; }
.tier .price { margin: 12px 0 14px; }
.tier .price b { font-size: 38px; }
.tier .plan-features { margin: 16px 0 0; }
.tier .plan-features li { align-items: flex-start; font-size: 14px; }
.tier .plan-features .icon { margin-top: 3px; flex: none; }
.tier-go { width: 100%; justify-content: center; }
.soon { display: inline-block; margin-left: 3px; padding: 0 7px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11px; font-style: normal; font-weight: 600; }
.pricing-head { margin-top: 84px; margin-bottom: 28px; }
.plan-status { flex: none; }
.plan-notes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.plan-note { margin-top: 4px; }
.plan-demo { margin-top: 12px; }
.hint.flush, .banner.flush { margin: 0; }
.voice-list { display: flex; flex-direction: column; gap: 8px; }
.voice-list:empty { display: none; }
.voice-item { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 12px; }
.voice-item p { min-width: 0; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }
.voice-item .btn { flex: none; }
.settings-layout { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 20px; align-items: start; }
.settings-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; }
.settings-nav button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; border-radius: 10px; background: transparent; color: var(--ink-2); font-size: 14px; text-align: left; transition: background .15s, color .15s; }
.settings-nav button:hover { background: var(--sunken); color: var(--ink); }
.settings-nav button[aria-current="page"] { background: var(--card); color: var(--ink); font-weight: 500; box-shadow: var(--shadow); }
.settings-panel { min-width: 0; animation: rise .35s var(--ease) backwards; }
.settings-divider { height: 1px; background: var(--line); }
.form-grid.two-col { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.narrow-form { max-width: 480px; }
.segmented label { display: block; cursor: pointer; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented label span { display: block; padding: 7px 10px; border-radius: 8px; color: var(--ink-2); font-size: 14px; font-weight: 500; text-align: center; }
.segmented input:checked + span { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.segmented input:focus-visible + span { outline: 2px solid var(--brand); outline-offset: 2px; }
.toggles { display: flex; flex-direction: column; }
.toggle { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.toggle:last-child { border-bottom: 0; }
.toggle-text { display: flex; flex-direction: column; min-width: 0; }
.toggle-text strong { font-weight: 500; }
.toggle-text span { color: var(--ink-2); font-size: 13px; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.switch { flex: none; position: relative; width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong); transition: background .2s var(--ease); }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .25); transition: transform .2s var(--ease); }
.toggle input:checked + .switch { background: var(--fill-hover); }
.toggle input:checked + .switch::after { transform: translateX(18px); }
.toggle input:focus-visible + .switch { outline: 2px solid var(--brand); outline-offset: 2px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tags:empty { display: none; }
.tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 4px 3px 11px; border-radius: 999px; background: var(--sunken); font-size: 13px; }
.tag button { display: grid; place-items: center; width: 20px; height: 20px; border: 0; border-radius: 50%; background: transparent; color: var(--ink-2); font-size: 15px; line-height: 1; }
.tag button:hover { background: var(--line-strong); color: var(--ink); }
.theme-options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.theme-option { padding: 10px; border: 2px solid var(--line); border-radius: 14px; background: var(--card); text-align: left; transition: border-color .15s; }
.theme-option:hover { border-color: var(--line-strong); }
.theme-option[aria-pressed="true"] { border-color: var(--fill-hover); }
.theme-swatch { display: block; height: 74px; margin-bottom: 9px; border-radius: 9px; border: 1px solid rgb(127 127 127 / .25); }
.theme-swatch.light { background: linear-gradient(90deg, #ffeedd 28%, #fffaf3 28%); }
.theme-swatch.dark { background: linear-gradient(90deg, #212c39 28%, #1d2733 28%); }
.theme-swatch.system { background: linear-gradient(135deg, #fffaf3 50%, #1d2733 50%); }
.theme-label { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 500; }
.theme-label .icon { width: 16px; height: 16px; }
.logo-home { border: 0; background: none; font: inherit; font-weight: 600; text-align: left; border-radius: 10px; }
.logo-home:hover { opacity: .8; }
a.btn { color: var(--ink); text-decoration: none; }
.link-card { margin-bottom: 16px; }
.link-row { display: flex; gap: 8px; }
.link-row input { flex: 1; min-width: 0; }
.link-row .btn { flex: none; }
.link-detect:empty { display: none; }
.link-detect { margin-top: -8px; color: var(--brand); font-size: 13px; font-weight: 500; }
.sources { display: flex; flex-direction: column; gap: 8px; }
.source { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 13px; }
.source-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.source-body strong { font-weight: 600; }
.source-body a { overflow: hidden; color: var(--ink-2); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.source .conn-logo { flex: none; width: 38px; height: 38px; border-radius: 11px; font-size: 16px; background: var(--brand-soft); color: var(--brand); }
.source-actions { flex: none; }
.auto-note { display: flex; gap: 10px; padding: 11px 13px; border-radius: 12px; background: var(--sunken); color: var(--ink-2); font-size: 13px; }
.auto-note .icon { flex: none; margin-top: 1px; }
.auto-note strong { color: var(--ink); }
.request-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
.request-step:first-child { grid-column: 1 / -1; }
.step-title { display: flex; gap: 12px; align-items: flex-start; }
.step-title h2 { margin-bottom: 1px; }
.small-num { flex: none; margin: 0; width: 28px; height: 28px; border-radius: 9px; font-size: 14px; }
.chips { gap: 6px; }
.chip { padding: 4px 11px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--card); color: var(--ink-2); font-size: 13px; }
.chip:hover { color: var(--ink); background: var(--sunken); }
.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 11px; background: var(--sunken); }
.segmented button { padding: 7px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--ink-2); font-size: 14px; font-weight: 500; }
.segmented button[aria-pressed="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }
.form-grid.compact-even { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: end; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.request-send .message { margin: 0; min-height: 118px; }
.sent-check { margin: 0; background: var(--brand-soft); }
.sent-check > .icon { color: var(--brand); }
.request-history { margin-top: 16px; }
.history { display: flex; flex-direction: column; }
.history-row { display: flex; align-items: center; gap: 10px; padding: 9px 2px; border-bottom: 1px solid var(--line); }
.history-row:last-child { border-bottom: 0; }
.history-row strong { flex: 1; min-width: 0; font-weight: 500; }
.demo-offer { display: flex; align-items: center; gap: 14px; }
.demo-offer > div { flex: 1; min-width: 0; }
.demo-offer .empty-icon { flex: none; width: 44px; height: 44px; border-radius: 13px; }

/* Toasts */
.toasts { position: fixed; z-index: 20; left: 50%; bottom: 24px; transform: translateX(-50%); display: flex; flex-direction: column; gap: 8px; align-items: center; width: min(92vw, 460px); pointer-events: none; }
.toast { display: flex; align-items: center; gap: 12px; padding: 10px 12px 10px 16px; border-radius: 12px; background: var(--ink); color: var(--canvas); font-size: 14px; font-weight: 500; box-shadow: 0 10px 30px rgb(0 0 0 / .25); animation: toast-in .3s var(--ease); pointer-events: auto; }
.toast.error { background: var(--urgent); color: var(--canvas); }
.toast button { border: 0; background: rgb(127 127 127 / .28); color: inherit; border-radius: 7px; padding: 3px 9px; font-size: 13px; font-weight: 600; }
.toast.out { animation: toast-out .2s forwards; }

.loading { min-height: 100vh; display: grid; place-items: center; color: var(--ink-2); }

@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes arrive { 0% { opacity: 0; transform: translateY(-14px) scale(.98); background: var(--brand-soft); } 60% { background: var(--brand-soft); } }
@keyframes leave { to { opacity: 0; transform: translateX(26px); } }
@keyframes ping { 70%, 100% { transform: scale(2.6); opacity: 0; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(12px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(8px); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

@media (max-width: 1100px) {
  .workspace { grid-template-columns: 310px minmax(0, 1fr); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .shell { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: sticky; top: 0; z-index: 10; height: auto; padding: 12px 16px 8px; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .logo { padding: 0; }
  .nav { order: 3; width: 100%; flex-direction: row; overflow-x: auto; margin: 6px -16px 0; padding: 0 16px; width: calc(100% + 32px); scrollbar-width: none; }
  .nav button { width: auto; padding: 7px 11px; flex: none; }
  .nav .icon { display: none; }
  .nav .count { margin-left: 2px; }
  .side-label { display: none; }
  .nav .demo-switch { margin-top: 0; }
  .stats.five { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats.five .stat:last-child { grid-column: span 2; }
  .demo-offer { flex-wrap: wrap; }
  .over-grid, .two-forms, .pricing, .plan-notes { grid-template-columns: minmax(0, 1fr); }
  .followup-row { flex-wrap: wrap; }
  .settings-layout { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .settings-nav { position: static; flex-direction: row; overflow-x: auto; scrollbar-width: none; margin-inline: -16px; padding: 0 16px 4px; }
  .settings-nav button { flex: none; width: auto; }
  .settings-nav .icon { display: none; }
  .form-grid.two-col, .theme-options { grid-template-columns: minmax(0, 1fr); }
  .theme-swatch { height: 44px; }
  .request-flow { grid-template-columns: minmax(0, 1fr); }
  .form-grid.compact-even { grid-template-columns: minmax(0, 1fr); }
  .source { flex-wrap: wrap; }
  .source-body { flex-basis: 60%; }
  .followup-fields, .form-grid.compact { grid-template-columns: minmax(0, 1fr); }
  .banner { flex-wrap: wrap; }
  .sidebar-foot { margin: 0; padding: 0; border: 0; }
  .sidebar-foot .biz { display: none; }
  .foot-actions button span { display: none; }
  .main { padding: 18px 16px 40px; }
  h1 { font-size: 23px; }
  .stat.progress { grid-column: span 2; }
  .view:has(.workspace.show-detail) .page-head, .view:has(.workspace.show-detail) .stats { display: none; }
  .workspace { grid-template-columns: minmax(0, 1fr); }
  .workspace .detail { display: none; position: static; }
  .workspace.show-detail .detail { display: flex; }
  .workspace.show-detail .list-col { display: none; }
  .back { display: inline-flex; align-self: flex-start; }
  .card { padding: 16px; }
  .request-grid { grid-template-columns: minmax(0, 1fr); }
  .bars { grid-template-columns: 105px minmax(0, 1fr) 24px; }
  .landing { --nav-height: 58px; }
  .topnav { gap: 8px; padding: 0 12px; }
  .topnav .logo { font-size: 14px; }
  .nav-actions { gap: 2px; }
  .nav-actions .mode-toggle-slot button { width: 40px; height: 40px; justify-content: center; padding: 0; border: 0; background: transparent; }
  .nav-actions .mode-toggle-slot span { display: none; }
  .nav-signin, .nav-trial { display: none; }
  .nav-burger { display: flex; }
  .nav-links { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 10px 12px 14px; border-bottom: 1px solid var(--line); background: var(--login-bg); box-shadow: 0 16px 28px rgb(10 18 28 / .1); max-height: calc(100svh - var(--nav-height)); overflow-y: auto; }
  .nav-links.open { display: flex; }
  .nav-links .nav-link { justify-content: space-between; padding: 12px; font-size: 15px; }
  .nav-group .nav-panel { position: static; display: none; width: auto; padding: 2px 0 6px; border: 0; background: transparent; box-shadow: none; opacity: 1; visibility: visible; transform: none; }
  .nav-group.open .nav-panel { display: block; }
  .nav-mobile-actions { display: flex; }
  .hero { padding-top: 16px; }
  .scene { display: none; }
  .feed-pair { width: 300px; }
  .step { grid-template-columns: minmax(0, 1fr); gap: 22px; margin-bottom: 60px; }
  .step:nth-of-type(even) .step-text { order: 0; }
  .promises { grid-template-columns: minmax(0, 1fr); }
  .btn.wide-mobile { flex: 1 1 100%; }
}
/* Sign-in page: things that respond to scrolling */
.nav-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: linear-gradient(90deg, var(--fill-hover), var(--meter)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.story-block { padding-top: 110px; }
.story-block:first-child { padding-top: 0; }
.story-block > .story-head { margin-top: 0; }
.story-decor { position: absolute; inset: 0; pointer-events: none; }
.d1 { left: 3%; top: 8%; width: 110px; --tilt: -6deg; }
.d2 { right: 6%; top: 14%; width: 22px; --tilt: 12deg; }
.d3 { right: 3%; top: 27%; width: 118px; --tilt: 6deg; }
.d4 { left: 2.5%; top: 37%; width: 104px; --tilt: 5deg; }
.d5 { left: 6%; top: 50%; width: 20px; --tilt: -12deg; }
.d6 { right: 3%; top: 55%; width: 100px; --tilt: -5deg; }
.d7 { left: 3%; top: 72%; width: 108px; --tilt: -5deg; }
.d8 { right: 6%; top: 86%; width: 24px; --tilt: 14deg; }

.journey { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; }
.journey-steps { position: relative; padding-left: 28px; }
.journey-line { position: absolute; left: 0; top: 8vh; bottom: 8vh; width: 4px; border-radius: 2px; background: var(--line-strong); overflow: hidden; }
.journey-line span { display: block; height: 100%; border-radius: 2px; background: linear-gradient(var(--fill-hover), var(--meter)); transform: scaleY(0); transform-origin: top; }
.step { display: flex; flex-direction: column; justify-content: center; min-height: 42vh; }
.step.reveal.in { transition: opacity .45s ease, transform .75s var(--ease); }
.step.reveal.in:not(.active) { opacity: .38; }
.step.active .step-num { background: var(--meter); animation: pop .4s var(--ease); }
.step-inline { display: none; margin-top: 18px; }
.journey-stage { position: sticky; top: calc(var(--nav-height) / 2 + 27vh); align-self: start; }
.stage-inner { position: relative; height: 46vh; min-height: 340px; max-height: 440px; border-radius: 28px; background-color: var(--tint-peach); transition: background-color .6s ease; }
.stage-inner[data-step="1"] { background-color: var(--tint-blue); }
.stage-inner[data-step="2"] { background-color: var(--tint-butter); }
.stage-inner[data-step="3"] { background-color: var(--brand-soft); }
.stage-card { position: absolute; inset: 0 28px; display: grid; align-content: center; opacity: 0; transform: translateY(26px) scale(.97); transition: opacity .45s ease, transform .55s var(--ease); pointer-events: none; }
.stage-card.active { opacity: 1; transform: none; }
.stage-card .mock { animation: none; font-size: 15px; padding: 20px; }
.stage-card .mock-bar { transform: scaleX(0); }
.stage-card.active .mock-bar { transform: scaleX(1); }
.stage-card.active .mock-row { animation: rise .5s var(--ease) both; }
.stage-card.active .mock-row:nth-child(2) { animation-delay: .12s; }
.stage-card.active .mock-row:nth-child(3) { animation-delay: .24s; }
.stage-card.active .mock-foot .pill { animation: pop .45s var(--ease) .35s both; }
.stage-card.active .mock-foot .btn { animation: tap 2.4s var(--ease) .5s infinite; }
@keyframes tap { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(.94); } 80% { transform: scale(1.04); } }
.stage-dots { position: absolute; left: 0; right: 0; bottom: 18px; display: flex; justify-content: center; gap: 8px; }
.stage-dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background-color .3s ease, transform .3s var(--ease); }
.stage-dots span.active { background: var(--brand); transform: scale(1.35); }

.try-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; padding: 28px; border-radius: 26px; background: var(--card); box-shadow: 0 2px 4px rgb(67 53 45 / .05), 0 18px 44px rgb(67 53 45 / .1); }
.try-label { display: block; margin: 16px 0 8px; font-size: 13px; font-weight: 600; }
.try-label:first-child { margin-top: 0; }
.try-tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.try-chip { padding: 7px 13px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; font-size: 14px; font-weight: 500; transition: background-color .2s ease, transform .2s var(--ease); }
.try-chip:hover { transform: translateY(-1px); background: var(--sunken); }
.try-chip[aria-pressed="true"] { border-color: transparent; background: var(--fill); color: var(--on-fill); }
.try-samples { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.try-sample { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 10px; background: transparent; font-size: 13px; text-align: left; transition: background-color .2s ease; }
.try-sample:hover, .try-sample[aria-pressed="true"] { background: var(--sunken); }
.try-sample .stars { flex: none; font-size: 11px; }
.try-right { display: flex; flex-direction: column; gap: 10px; }
.try-card { flex: 1; padding: 20px; border-radius: 18px; background: var(--brand-soft); }
.try-reply { min-height: 150px; margin-top: 12px; line-height: 1.55; }
.try-check { min-height: 26px; margin-top: 10px; opacity: 0; transform: scale(.85); transition: opacity .3s ease, transform .35s var(--ease); }
.try-check.show { opacity: 1; transform: none; }
.try-check .pill.good { background: var(--card); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.lift { --n: 0; transition: opacity .75s var(--ease), transform .75s var(--ease), translate .25s var(--ease), box-shadow .25s ease; transition-delay: calc(var(--n) * 90ms), calc(var(--n) * 90ms), 0s, 0s; }
.promise.lift:nth-child(2), .tier.lift:nth-child(2) { --n: 1; }
.promise.lift:nth-child(3), .tier.lift:nth-child(3) { --n: 2; }
.lift:hover { translate: 0 -5px; box-shadow: 0 2px 4px rgb(67 53 45 / .06), 0 16px 34px rgb(67 53 45 / .13); }
.proof-meter { display: block; height: 6px; margin-top: 10px; border-radius: 4px; background: var(--star-off); overflow: hidden; }
.proof-meter span { display: block; width: var(--share); height: 100%; border-radius: 4px; background: var(--meter); transform: scaleX(0); transform-origin: left; transition: transform 1.1s var(--ease) .1s; }
.in .proof-meter span { transform: scaleX(1); }
.proof-callout { background: linear-gradient(115deg, var(--tint-peach), var(--tint-butter)); }
.tier.highlight { background: linear-gradient(var(--tint-peach), var(--card) 34%); }
.tier .plan-features li { opacity: 0; }
.tier.in .plan-features li { animation: tick-in .45s var(--ease) both; animation-delay: calc(var(--n) * 45ms + .15s); }
@keyframes tick-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.faq details { transition: translate .2s var(--ease), box-shadow .2s ease; }
.faq details:hover { translate: 0 -2px; }
.faq details[open] p { animation: rise .35s var(--ease) both; }
.finish { margin-top: 0; padding: 56px 24px; border-radius: 28px; background: linear-gradient(115deg, #ffc6a1, #fff0c9 52%, #a5d6ea); color: #43352d; }
.finish h2, .finish p { color: #43352d; }
.finish .btn.primary { background: var(--card); color: var(--ink); transition: transform .2s var(--ease); }
.finish .btn.primary:hover { background: var(--card); transform: scale(1.05); }
/* Signed-in app: previews, search and account screens */
button:disabled .soon { opacity: 1; }
.btn:disabled:has(.soon) { opacity: .75; }
.site-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 22px 28px; background: var(--login-bg); color: var(--ink-2); font-size: 13px; }
.site-footer nav, .help-legal { display: flex; gap: 14px; }
.site-footer button, .help-legal button { padding: 0; border: 0; background: none; color: var(--ink-2); font-size: 13px; }
.site-footer button:hover, .help-legal button:hover { color: var(--ink); text-decoration: underline; }
.help-legal { justify-content: center; margin-top: 22px; }
.legal-dialog { width: min(520px, calc(100vw - 32px)); padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--card); color: var(--ink); box-shadow: 0 20px 60px rgb(20 20 30 / .25); }
.legal-dialog::backdrop { background: rgb(40 40 50 / .4); }
.legal-draft { display: inline-block; margin: 10px 0 8px; }
.legal-dialog ol { margin: 12px 0 0; padding-left: 20px; }
.legal-dialog li { padding: 3px 0; }
.forgot-link { align-self: flex-end; margin-top: -6px; padding: 0; border: 0; background: none; color: var(--brand); font-size: 13px; font-weight: 500; }
.forgot-link:hover { text-decoration: underline; }
.biz-add { display: block; width: 100%; margin-top: 8px; padding: 6px 8px; border: 1px dashed var(--side-line); border-radius: 9px; background: none; color: var(--on-sidebar); font-size: 12px; text-align: left; }
.list-search { display: grid; grid-template-columns: minmax(0, 1fr) 106px; gap: 8px; margin-bottom: 10px; }
.list-search input, .list-search select { min-width: 0; padding: 8px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: var(--card); font-size: 13px; }
.reply-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 12px; }
.tool-chip { padding: 4px 10px; border: 1px solid var(--line-strong); border-radius: 999px; background: none; color: var(--ink-2); font-size: 12px; opacity: .7; }
.team-card { margin-top: 14px; }
.team-card h3 .soon { margin-left: 4px; }
.team-member { display: flex; align-items: center; gap: 12px; }
.team-member > div { flex: 1; min-width: 0; }
.role-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.role-grid > div { padding: 14px; border-radius: 12px; background: var(--sunken); }
.trend-bars { grid-template-columns: 76px minmax(0, 1fr) 72px; }
.report-trend { margin-bottom: 18px; }
.google-connect { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.google-connect-body { flex: 1; min-width: 0; }
.google-mark { flex: none; background: var(--google-soft); color: var(--google); }
.file-btn { cursor: pointer; }
.file-btn:focus-within { outline: 2px solid var(--brand); outline-offset: 2px; }
.current-plan { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; margin-bottom: 16px; }
.current-plan h2 { margin: 2px 0 8px; font-size: 24px; }
.current-plan-billing { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-left: 24px; border-left: 1px solid var(--line); }
.trial-meter { height: 8px; margin-bottom: 6px; border-radius: 4px; background: var(--star-off); overflow: hidden; }
.trial-meter span { display: block; height: 100%; border-radius: 4px; background: var(--meter); }
.billing-history { margin-top: 16px; }
@media (max-width: 1100px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1240px) { .story-decor { display: none; } }
@media (max-width: 860px) {
  .steps, .role-grid, .current-plan { grid-template-columns: minmax(0, 1fr); }
  .current-plan-billing { padding: 16px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .google-connect { flex-wrap: wrap; }
  .view:has(.workspace) .stats { display: flex; gap: 8px; margin-bottom: 14px; overflow-x: auto; }
  .view:has(.workspace) .stats .stat { flex: none; min-width: 124px; padding: 10px 12px; }
  .view:has(.workspace) .stats .ring { display: none; }
  .view:has(.workspace) .stats .stat b { font-size: 18px; }
}
@media (max-width: 860px) {
  .journey { display: block; }
  .journey-steps { padding-left: 0; }
  .journey-line, .journey-stage { display: none; }
  .step { min-height: 0; margin-bottom: 48px; }
  .step.reveal.in:not(.active) { opacity: 1; }
  .step-inline { display: block; }
  .story-block { padding-top: 72px; }
  .try-box { grid-template-columns: minmax(0, 1fr); padding: 18px; }
  .try-reply { min-height: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stage-card, .stage-inner, .story, .proof-meter span, .lift, .try-check { transition: none; }
  .stage-card.active .mock-row, .stage-card.active .mock-foot .pill, .stage-card.active .mock-foot .btn, .step.active .step-num, .faq details[open] p { animation: none !important; }
  .stage-card .mock-bar { transform: scaleX(1); }
  .proof-meter span { transform: scaleX(1); }
  .tier .plan-features li { opacity: 1; }
  .tier.in .plan-features li { animation: none; }
  .marquee-track, .mock, .to-how .icon, .scene { animation: none !important; }
  .marquee { overflow-x: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .mock-bar { transform: none; transition: none; }
}
@media print {
  :root[data-theme="dark"] { --ink: #43352d; --ink-2: #6e5c53; --card: #ffffff; --line: #f5e8da; --canvas: #ffffff; color-scheme: light; }
  .sidebar, .toasts, .no-print { display: none !important; }
  .shell { display: block; }
  body { background: #fff; }
  .card, .stat { break-inside: avoid; }
}
