/* SvanaAi public website - one stylesheet for every page.
   Look: "ambient operator" - a calm, light, glassy workspace lit by a soft aurora; the one loud colour is amber,
   and it only ever means "this waits for you". Fonts: Unbounded (headlines), Geist (everything else), both self-hosted.
   Phone first: every layout starts as one column and opens up at 600/720px and 1040px. */

@font-face { font-family: "Unbounded"; src: url("fonts/unbounded.woff2") format("woff2"); font-weight: 200 900; font-display: swap; }
@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  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: "Geist"; src: url("fonts/geist-ext.woff2") format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --bg: #F6F7FA;
  --bg-2: #EEF0F6;
  --glass: rgba(255, 255, 255, .64);
  --glass-strong: rgba(255, 255, 255, .9);
  --solid: #FFFFFF;
  --line: rgba(18, 19, 26, .09);
  --line-strong: rgba(18, 19, 26, .18);
  --ink: #12131A;
  --ink-2: #3A3D4A;
  --ink-3: #5B5F70;
  --leaf: #12131A;          /* primary (buttons): the apps' near-black */
  --leaf-hover: #2A2C38;
  --on-leaf: #FFFFFF;
  --ion: #5145F5;           /* accent: the apps' indigo */
  --ion-soft: rgba(81, 69, 245, .10);
  --link: #4338E8;
  --ok: #13A26B;            /* done / included: the apps' mint green */
  --signal: #C2690E;        /* needs you: the apps' amber */
  --signal-soft: #FBF1E6;
  --signal-ink: #8F4A06;
  --haze: #8D86FF;
  --error: #B3261E;
  --sv-ai: #3D31D9;         /* "Ai" in the SvanaAi name */
  --sv-spark: #22A6CF;
  --shadow: 0 1px 0 rgba(255,255,255,.7) inset, 0 18px 50px -24px rgba(18, 19, 26, .22);
  --shadow-lift: 0 1px 0 rgba(255,255,255,.7) inset, 0 30px 80px -30px rgba(18, 19, 26, .32);
  --r-xl: 30px;
  --r-lg: 22px;
  --r-md: 14px;
  --r-sm: 10px;
  --wrap: 1180px;
  --gutter: 16px;
  --display: "Unbounded", "Segoe UI", system-ui, sans-serif;
  --text: "Geist", "Segoe UI", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --sv-ai: #7E75F2;
    --sv-spark: #5CCDEB;
    --bg: #0D0E13;
    --bg-2: #111219;
    --glass: rgba(22, 23, 31, .66);
    --glass-strong: rgba(22, 23, 31, .95);
    --solid: #16171F;
    --line: rgba(255, 255, 255, .08);
    --line-strong: rgba(255, 255, 255, .16);
    --ink: #ECEDF3;
    --ink-2: #C9CCD8;
    --ink-3: #A1A5B5;
    --leaf: #ECEDF3;
    --leaf-hover: #FFFFFF;
    --on-leaf: #0D0E13;
    --ion: #8D86FF;
    --ion-soft: rgba(141, 134, 255, .14);
    --link: #A9A3FF;
    --ok: #6FE0B0;
    --signal: #F0B45A;
    --signal-soft: rgba(240, 180, 90, .10);
    --signal-ink: #F5C77F;
    --haze: #8D86FF;
    --error: #FF8A80;
    --shadow: 0 1px 0 rgba(255,255,255,.05) inset, 0 18px 50px -24px rgba(0, 0, 0, .7);
    --shadow-lift: 0 1px 0 rgba(255,255,255,.06) inset, 0 30px 80px -30px rgba(0, 0, 0, .8);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; min-height: 100vh; overflow-x: hidden; position: relative;
  background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--link); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--ion); }
:focus-visible { outline: 2.5px solid var(--ion); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.025em; word-spacing: .08em; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 7.2vw, 4.4rem); line-height: 1.04; }
h2 { font-size: clamp(1.6rem, 4.2vw, 2.7rem); line-height: 1.1; }
h3 { font-size: 1.08rem; line-height: 1.3; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 50; background: var(--solid); color: var(--ink); padding: 10px 14px; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.muted { color: var(--ink-3); }
.lede { font-size: clamp(1.05rem, 2.2vw, 1.25rem); line-height: 1.55; color: var(--ink-2); max-width: 36em; }
.todo { background: var(--signal-soft); color: var(--signal-ink); border-radius: 6px; padding: 0 .35em; font-weight: 500; }

/* ---- the aurora: soft light behind the top of every page (one slow drift; nothing else moves on its own) ------ */
.aurora { position: absolute; left: 0; right: 0; top: 0; height: 900px; overflow: hidden; pointer-events: none; z-index: 0; }
.aurora::before, .aurora::after { content: ""; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .75; }
.aurora::before { width: 720px; height: 520px; left: -160px; top: -200px;
  background: radial-gradient(closest-side, rgba(111, 224, 176, .45), transparent); animation: drift 28s ease-in-out infinite alternate; }
.aurora::after { width: 640px; height: 560px; right: -200px; top: -120px;
  background: radial-gradient(closest-side, rgba(129, 120, 255, .45), transparent); animation: drift 34s ease-in-out infinite alternate-reverse; }
@media (prefers-color-scheme: dark) { .aurora::before, .aurora::after { opacity: .38; } }
@keyframes drift { from { transform: translate3d(0, 0, 0) scale(1); } to { transform: translate3d(60px, 40px, 0) scale(1.08); } }
main, .site-header, .site-footer { position: relative; z-index: 1; }
.site-header { z-index: 20; }

/* ---- header: a floating glass bar ------------------------------------------------------------------------------ */
.site-header { position: sticky; top: 0; padding-top: 10px; }
.bar {
  position: relative; display: flex; align-items: center; gap: 10px; min-height: 58px; padding: 7px 7px 7px 16px;
  background: var(--glass); border: 1px solid var(--line); border-radius: 999px; box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(18px) saturate(1.4); backdrop-filter: blur(18px) saturate(1.4);
}
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 650; letter-spacing: -.01em; white-space: nowrap; min-height: 44px; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
/* The SvanaAi name: "Ai" in indigo, and the S's electric spark runs through it in time with the logo. */
.sv-ai { color: var(--sv-ai); }
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .sv-ai { background: linear-gradient(100deg, var(--sv-ai) 0 38%, var(--sv-spark) 50%, var(--sv-ai) 62% 100%);
           background-size: 300% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text;
           color: transparent; animation: sv-ai-run 3.2s linear infinite; }
}
@keyframes sv-ai-run { 0%, 52% { background-position: 100% 0; } 80%, 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .sv-ai { animation: none; } }

.menu-button {
  margin-left: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--ink); font: inherit; font-weight: 550; cursor: pointer;
}
.menu-button .lines { width: 16px; height: 10px; position: relative; }
.menu-button .lines::before, .menu-button .lines::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.menu-button .lines::before { top: 0; }
.menu-button .lines::after { bottom: 0; }
.menu-button[aria-expanded="true"] .lines::before { transform: translateY(4px) rotate(45deg); }
.menu-button[aria-expanded="true"] .lines::after { transform: translateY(-4px) rotate(-45deg); }
.nav { display: none; }
.nav a { color: var(--ink-2); text-decoration: none; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); }
.nav a.btn, .nav a.btn:hover { color: var(--on-leaf); }
.nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-decoration-color: var(--ion); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nav.open, html:not(.js) .nav {
  display: flex; flex-direction: column; gap: 2px; position: absolute; left: 0; right: 0; top: calc(100% + 10px);
  padding: 10px; background: var(--glass-strong); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-lift);
  -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
html:not(.js) .menu-button { display: none; }
html:not(.js) .bar { border-radius: var(--r-lg); flex-wrap: wrap; }
html:not(.js) .nav { position: static; width: 100%; box-shadow: none; }
.nav.open a, html:not(.js) .nav a { padding: 12px 14px; border-radius: var(--r-md); min-height: 48px; display: flex; align-items: center; }
.nav.open a:not(.btn):hover { background: var(--ion-soft); }
.nav.open .btn, html:not(.js) .nav .btn { margin-top: 6px; justify-content: center; }
@media (min-width: 1040px) {
  .menu-button { display: none; }
  .nav, .nav.open, html:not(.js) .nav { display: flex; position: static; width: auto; flex-direction: row; align-items: center; gap: 24px; margin-left: auto;
    padding: 0; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .nav a, .nav.open a, html:not(.js) .nav a { padding: 0; min-height: 44px; display: inline-flex; align-items: center; }
  .nav .btn, .nav.open .btn { margin: 0 0 0 4px; padding: 0 20px; }
  html:not(.js) .bar { border-radius: 999px; flex-wrap: nowrap; }
}

/* ---- buttons -------------------------------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent; font: inherit; font-weight: 600; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--leaf); color: var(--on-leaf); box-shadow: 0 10px 30px -14px rgba(18, 19, 26, .55); }
.btn-primary:hover { background: var(--leaf-hover); color: var(--on-leaf); }
.btn-ghost { background: var(--glass); color: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { color: var(--ink); border-color: var(--ink-3); }
.btn[disabled] { opacity: .6; cursor: progress; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
@media (max-width: 479px) { .actions .btn { flex: 1 1 100%; } }

/* ---- sections ------------------------------------------------------------------------------------------------- */
.section { padding: 72px 0; }
@media (min-width: 720px) { .section { padding: 104px 0; } }
.section-head { max-width: 44rem; margin-bottom: 36px; }
.section-head p { margin-top: 16px; color: var(--ink-2); font-size: 1.1rem; }
.page-head { padding: 56px 0 8px; }
@media (min-width: 720px) { .page-head { padding: 80px 0 16px; } }
.page-head h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); max-width: 15em; }
.page-head .lede { margin-top: 20px; }
.page-head + .section { padding-top: 48px; }
.glass { background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(16px) saturate(1.3); backdrop-filter: blur(16px) saturate(1.3); }

/* ---- hero ----------------------------------------------------------------------------------------------------- */
.hero { padding: 44px 0 30px; position: relative; }
.hero::before { content: ""; position: absolute; inset: -80px 0 0; pointer-events: none; z-index: -1;
  background-image: radial-gradient(color-mix(in srgb, var(--ink) 16%, transparent) 1px, transparent 1.4px); background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 60% 40%, #000 20%, transparent 75%); }
.hero-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 1040px) { .hero { padding: 80px 0 60px; } .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 56px; } }
.hero h1 { max-width: 9em; }
.hero .lede { margin-top: 22px; }
.hero-note { margin-top: 18px; color: var(--ink-3); font-size: .95rem; min-height: 1.6em; }

/* the live demo console */
.console { padding: 16px; border-radius: var(--r-xl); border: 1px solid transparent;
  background: linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
              linear-gradient(140deg, color-mix(in srgb, var(--ion) 70%, transparent), color-mix(in srgb, var(--haze) 60%, transparent) 45%, var(--line) 75%) border-box;
  box-shadow: var(--shadow-lift), 0 0 0 6px color-mix(in srgb, var(--ion) 6%, transparent), 0 40px 120px -40px color-mix(in srgb, var(--ion) 55%, transparent); }
.console h2 { font-family: var(--text); letter-spacing: 0; word-spacing: 0; }
@media (min-width: 720px) { .console { padding: 24px; } }
.console-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; margin-bottom: 14px; }
.console-title { font-weight: 600; font-size: .98rem; display: flex; align-items: center; gap: 10px; }
.pulse { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 18%, transparent); flex: none; }
.console-safe { color: var(--ink-3); font-size: .86rem; }
.ask-row { display: flex; gap: 8px; align-items: flex-end; padding: 6px; background: var(--solid); border: 1px solid var(--line-strong); border-radius: 20px; }
.ask-row:focus-within { border-color: var(--ion); box-shadow: 0 0 0 4px var(--ion-soft); }
.ask-row textarea {
  flex: 1; min-width: 0; height: 48px; max-height: 140px; resize: none; overflow-y: auto; border: 0; outline: 0; background: transparent;
  color: var(--ink); font: inherit; font-size: 1rem; line-height: 1.45; padding: 12px 10px 8px;
}
.ask-row textarea::placeholder { color: var(--ink-3); }
.ask-row .btn { flex: none; min-height: 46px; padding: 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chip {
  min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent;
  color: var(--ink-2); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
}
.chip:hover { color: var(--ink); border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.run { margin-top: 16px; min-height: 300px; }
.run-goal { font-size: .95rem; color: var(--ink-2); padding: 0 2px 10px; border-bottom: 1px dashed var(--line-strong); margin-bottom: 6px; overflow-wrap: anywhere; }
.run-goal strong { color: var(--ink); font-weight: 600; }
.steps li { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; gap: 10px; align-items: start; padding: 8px 2px; }
.steps .what { font-weight: 550; line-height: 1.35; }
.steps .note { display: block; font-weight: 400; color: var(--ink-3); font-size: .9rem; margin-top: 2px; }
.steps .time { color: var(--ink-3); font-size: .82rem; font-variant-numeric: tabular-nums; padding-top: 2px; }
.mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line-strong); margin-top: 1px; position: relative; }
.steps li.running .mark { border-color: var(--ion); border-right-color: transparent; animation: spin .8s linear infinite; }
.steps li.done .mark { border-color: var(--ok); background: var(--ok); }
.steps li.done .mark::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.steps li.pending { opacity: .45; }
.steps li.enter { animation: rise .35s ease-out both; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.gate { margin-top: 10px; padding: 16px; border-radius: var(--r-lg); background: var(--signal-soft); border: 1px solid color-mix(in srgb, var(--signal) 45%, transparent); animation: rise .35s ease-out both; }
.gate-label { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; color: var(--signal-ink); font-size: .9rem; }
.gate-label::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); box-shadow: 0 0 0 4px color-mix(in srgb, var(--signal) 22%, transparent); }
.gate p { margin-top: 6px; font-weight: 550; }
.gate-buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gate-buttons .btn { min-height: 44px; padding: 0 18px; }
.btn-signal { background: var(--signal); color: #241400; }
.btn-signal:hover { background: color-mix(in srgb, var(--signal) 85%, #000); color: #241400; }
.result { margin-top: 10px; padding: 14px 16px; border-radius: var(--r-md); background: var(--ion-soft); font-weight: 550; animation: rise .35s ease-out both; }
.result .muted { font-weight: 400; display: block; font-size: .9rem; margin-top: 2px; }
.result button { margin-top: 10px; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001s !important; animation-iteration-count: 1 !important; transition: none !important; scroll-behavior: auto !important; }
  .aurora::before, .aurora::after { animation: none !important; }
}

/* ---- surfaces strip: one employee, four ways in ---------------------------------------------------------------- */
.surfaces { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .surfaces { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1040px) { .surfaces { grid-template-columns: repeat(4, 1fr); } }
.surface { padding: 22px; display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 599px) {
  .surface { display: grid; grid-template-columns: 44px minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 18px; }
  .surface .glyph { grid-row: span 3; }
  .surface a { min-height: 40px; }
}
.surface p { color: var(--ink-2); font-size: .97rem; flex: 1; }
.surface a { font-weight: 600; text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.surface a:hover { text-decoration: underline; }
.glyph { width: 44px; height: 44px; border-radius: 13px; display: grid; place-items: center; background: var(--ion-soft); color: var(--ion); }
.glyph svg { width: 24px; height: 24px; }

/* ---- bento: the work it does, each tile with a small picture of the result ------------------------------------ */
.bento { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bento { grid-template-columns: repeat(6, 1fr); } .bento .w2 { grid-column: span 2; } .bento .w3 { grid-column: span 3; } .bento .w4 { grid-column: span 4; } }
.tile { padding: 22px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; min-width: 0; }
.tile p { color: var(--ink-2); font-size: .97rem; }
.mini { margin-top: auto; padding-top: 16px; min-width: 0; }
.mini-sheet { display: grid; grid-template-columns: 1.4fr 1fr 1fr; font-size: .8rem; border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; background: var(--solid); }
.mini-sheet span { padding: 6px 8px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-sheet span:nth-child(3n) { border-right: 0; text-align: right; }
.mini-sheet .h { background: var(--bg-2); font-weight: 600; }
.mini-sheet .f { grid-column: 1 / -1; border-bottom: 0; border-right: 0; color: var(--link); font-weight: 600; text-align: left !important; }
.mini-doc { background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 14px; display: grid; gap: 7px; }
.mini-doc i { display: block; height: 7px; border-radius: 4px; background: var(--line-strong); }
.mini-doc i.t { height: 11px; width: 55%; background: var(--ink-3); margin-bottom: 4px; }
.mini-doc i.s { width: 70%; }
.mini-deck { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-deck b { aspect-ratio: 16 / 10; border-radius: 8px; background: var(--solid); border: 1px solid var(--line); position: relative; }
.mini-deck b::before { content: ""; position: absolute; left: 12%; top: 18%; width: 50%; height: 12%; border-radius: 3px; background: var(--ink-3); }
.mini-deck b::after { content: ""; position: absolute; left: 12%; right: 12%; bottom: 16%; height: 36%; border-radius: 4px; background: linear-gradient(90deg, var(--ion-soft), color-mix(in srgb, var(--haze) 25%, transparent)); }
.mini-invoice { background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: .85rem; display: grid; gap: 4px; font-variant-numeric: tabular-nums; }
.mini-invoice div { display: flex; justify-content: space-between; gap: 12px; }
.mini-invoice .tot { border-top: 1px solid var(--line-strong); margin-top: 4px; padding-top: 6px; font-weight: 650; }
.mini-mail { background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: .88rem; display: grid; gap: 6px; }
.mini-mail .to { color: var(--ink-3); }
.held { justify-self: start; display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; background: var(--signal-soft); color: var(--signal-ink); font-weight: 600; font-size: .8rem; }
.held::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--signal); }
.mini-claim { background: var(--solid); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 14px; font-size: .9rem; }
.src { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: 3px; border-radius: 6px; background: var(--ion-soft); color: var(--ion); font-size: .72rem; font-weight: 700; vertical-align: 1px; }
.mini-devices { display: flex; align-items: flex-end; gap: 14px; padding: 0 6px 6px 0; }
.mini-devices .desk { flex: 1; aspect-ratio: 16 / 10; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--solid); position: relative; }
.mini-devices .phone { width: 22%; aspect-ratio: 9 / 18; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--solid); position: relative; }
.mini-devices .desk::before, .mini-devices .phone::before { content: ""; position: absolute; inset: 14% 12% auto; height: 18%; border-radius: 4px; background: linear-gradient(90deg, var(--ion-soft), color-mix(in srgb, var(--haze) 30%, transparent)); }
.okbadge { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--ok); }
.okbadge::after { content: ""; position: absolute; left: 7.5px; top: 4px; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.mini-goal { display: grid; gap: 8px; font-size: .88rem; }
.track { height: 8px; border-radius: 99px; background: var(--line); overflow: hidden; }
.track b { display: block; height: 100%; width: 60%; border-radius: 99px; background: linear-gradient(90deg, var(--ion), var(--ok)); }
.mini-goal .row { display: flex; justify-content: space-between; gap: 10px; color: var(--ink-3); }

/* ---- the approval gate ---------------------------------------------------------------------------------------- */
.gate-split { display: grid; gap: 14px; }
@media (min-width: 840px) { .gate-split { grid-template-columns: 1fr 1fr; } }
.lane { padding: 24px; }
.lane h3 { display: flex; align-items: center; gap: 10px; font-size: 1.15rem; }
.lane h3::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--ok); flex: none; }
.lane.waits { background: var(--signal-soft); border-color: color-mix(in srgb, var(--signal) 40%, transparent); }
.lane.waits h3::before { background: var(--signal); }
.lane ul { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; }
.lane li { padding: 8px 14px; border-radius: 999px; background: var(--solid); border: 1px solid var(--line); font-weight: 500; font-size: .95rem; }
.lane.waits li { color: var(--signal-ink); background: color-mix(in srgb, var(--solid) 70%, transparent); }
.lane p { margin-top: 14px; color: var(--ink-2); }
.rules { display: grid; gap: 14px; margin-top: 14px; }
@media (min-width: 720px) { .rules { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .rules { grid-template-columns: repeat(4, 1fr); } }
.rules li { padding: 22px; }
.rules p { margin-top: 6px; color: var(--ink-2); font-size: .97rem; }

/* ---- routines: switches you can flip ------------------------------------------------------------------------- */
.switches { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 600px) { .switches { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .switches { grid-template-columns: repeat(3, 1fr); } }
.switch {
  display: flex; align-items: center; justify-content: space-between; gap: 14px; width: 100%; min-height: 70px; padding: 10px 14px 10px 18px;
  border-radius: var(--r-md); border: 1px solid var(--line); background: var(--glass); color: var(--ink); font: inherit; text-align: left; cursor: pointer;
}
.switch:hover { border-color: var(--line-strong); }
.switch .name { font-weight: 550; line-height: 1.3; }
.switch .when { display: block; font-size: .84rem; color: var(--ink-3); font-weight: 400; }
.switch .knob { flex: none; width: 44px; height: 26px; border-radius: 99px; background: var(--line-strong); position: relative; transition: background-color .2s; }
.switch .knob::after { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.switch[aria-checked="true"] { border-color: color-mix(in srgb, var(--ion) 45%, transparent); }
.switch[aria-checked="true"] .knob { background: var(--ion); }
.switch[aria-checked="true"] .knob::after { transform: translateX(18px); }
.switch[aria-checked="false"] .when { display: none; }

/* ---- plans ---------------------------------------------------------------------------------------------------- */
.plans { display: grid; gap: 14px; grid-template-columns: 1fr; align-items: stretch; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.plan h3 { font-family: var(--display); font-weight: 500; font-size: 1.3rem; letter-spacing: -.02em; }
.price { font-family: var(--display); font-weight: 500; font-size: 2.6rem; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price .per { font-family: var(--text); font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.plan .blurb { color: var(--ink-2); }
.plan .facts { display: grid; gap: 9px; margin: 4px 0 6px; flex: 1; align-content: start; }
.plan .facts li { position: relative; padding-left: 26px; color: var(--ink-2); font-size: .97rem; line-height: 1.4; }
.plan .facts li::before { content: ""; position: absolute; left: 4px; top: 3px; width: 6px; height: 11px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.plan .facts li.lead { color: var(--ink); font-weight: 600; padding-left: 0; }
.plan .facts li.lead::before { display: none; }
.plan .btn { width: 100%; }
.plan .tax { font-size: .85rem; color: var(--ink-3); }
.plan .plan-hours { font-family: var(--display); font-size: 1.45rem; font-weight: 500; letter-spacing: -.02em; line-height: 1.15; color: var(--ink); }
.plans-state { padding: 28px; border: 1px dashed var(--line-strong); border-radius: var(--r-lg); color: var(--ink-2); grid-column: 1 / -1; }
.plans-state.error { color: var(--error); }
.pricing-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 20px; margin: 0 0 18px; }
.pricing-bar p { color: var(--ink-2); }
.select { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.select select { min-height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line-strong); background: var(--solid); color: var(--ink); font: inherit; }
.compare-wrap { overflow-x: auto; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--glass); -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .97rem; }
.compare th, .compare td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare thead th { font-family: var(--display); font-weight: 500; font-size: 1.02rem; }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.compare .yes { color: var(--ok); font-weight: 650; }
.compare .no { color: var(--ink-3); }
.scroll-hint { margin-top: 8px; font-size: .86rem; color: var(--ink-3); }
@media (min-width: 720px) { .scroll-hint { display: none; } }
.included { display: grid; gap: 10px 24px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .included { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .included { grid-template-columns: repeat(3, 1fr); } }
.included li { position: relative; padding-left: 26px; color: var(--ink-2); }
.included li::before { content: ""; position: absolute; left: 4px; top: 5px; width: 6px; height: 11px; border: solid var(--ion); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* ---- sequence (how it works: a real order of steps) ----------------------------------------------------------- */
.sequence { counter-reset: step; display: grid; }
.sequence li { counter-increment: step; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 16px; padding-bottom: 34px; position: relative; }
.sequence li::before {
  content: counter(step); width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 500; font-size: 1.1rem; background: var(--glass); border: 1px solid var(--line-strong); color: var(--ink);
}
.sequence li::after { content: ""; position: absolute; left: 23px; top: 56px; bottom: 6px; width: 2px; background: linear-gradient(var(--line-strong), transparent); }
.sequence li:last-child { padding-bottom: 0; }
.sequence li:last-child::after { display: none; }
.sequence li.asks::before { background: var(--signal-soft); border-color: var(--signal); color: var(--signal-ink); }
.sequence h3 { font-size: 1.2rem; padding-top: 11px; }
.sequence p { margin-top: 6px; color: var(--ink-2); max-width: 40em; }
.example { margin-top: 12px; padding: 12px 16px; border-left: 3px solid var(--ion); background: var(--ion-soft); border-radius: 0 var(--r-sm) var(--r-sm) 0; color: var(--ink); font-size: .97rem; max-width: 40em; }

/* ---- generic grids and cards ---------------------------------------------------------------------------------- */
.grid { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .grid.two, .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .grid.three { grid-template-columns: repeat(3, 1fr); } }
.card { padding: 24px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.card p { color: var(--ink-2); }
.asks-list { margin-top: 8px; display: grid; gap: 8px; }
.asks-list li { padding: 10px 14px; border-radius: var(--r-md); background: var(--solid); border: 1px solid var(--line); font-size: .95rem; }
.feature-group + .feature-group { margin-top: 64px; }
.feature-group > h2 { margin-bottom: 8px; font-size: clamp(1.4rem, 3.4vw, 2rem); }
.feature-group > .group-intro { color: var(--ink-2); margin-bottom: 22px; max-width: 40em; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: .95rem; }

/* ---- FAQ ------------------------------------------------------------------------------------------------------ */
.faq { display: grid; gap: 10px; max-width: 52rem; }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 20px; font-weight: 600; min-height: 58px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 10px; height: 10px; border: solid var(--ink-3); border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-2px, -2px); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(-135deg) translate(-2px, -2px); }
.faq .answer { padding: 0 20px 20px; color: var(--ink-2); max-width: 46em; }
.faq .answer p + p { margin-top: 10px; }
.faq-group + .faq-group { margin-top: 48px; }
.faq-group h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-bottom: 16px; }

/* ---- prose (about, contact) ----------------------------------------------------------------------------------- */
.prose { max-width: 42rem; }
.prose p { color: var(--ink-2); font-size: 1.07rem; }
.prose p + p, .prose h2 + p { margin-top: 14px; }
.prose h2 { font-size: clamp(1.3rem, 3vw, 1.7rem); margin-top: 44px; }
.prose h2:first-child { margin-top: 0; }

/* ---- sign up, log in ------------------------------------------------------------------------------------------ */
.auth { padding: 36px 0 90px; }
.auth-grid { display: grid; gap: 26px; align-items: start; }
@media (min-width: 960px) { .auth-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 64px; padding-top: 40px; } }
.auth-copy h1 { font-size: clamp(2rem, 5.6vw, 3.3rem); }
.auth-copy .lede { margin-top: 16px; }
.auth-points { margin-top: 26px; display: grid; gap: 12px; }
.auth-points li { position: relative; padding-left: 28px; color: var(--ink-2); }
.auth-points li::before { content: ""; position: absolute; left: 5px; top: 5px; width: 6px; height: 11px; border: solid var(--ok); border-width: 0 2px 2px 0; transform: rotate(45deg); }
@media (max-width: 959px) { .auth-points { display: none; } .auth-copy .lede { font-size: 1rem; } }
.form-card { padding: 22px; border-radius: var(--r-xl); }
@media (min-width: 720px) { .form-card { padding: 32px; } }
.form-card h2 { font-size: 1.45rem; margin-bottom: 6px; }
.form-card > p { color: var(--ink-2); }
.field { display: grid; gap: 6px; margin-top: 18px; }
.field label { font-weight: 600; font-size: .95rem; }
.field input {
  min-height: 52px; width: 100%; padding: 0 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: var(--solid); color: var(--ink); font: inherit; font-size: 1rem;
}
.field input:focus { outline: none; border-color: var(--ion); box-shadow: 0 0 0 4px var(--ion-soft); }
.field .hint { font-size: .88rem; color: var(--ink-3); }
.form-card .btn { width: 100%; margin-top: 22px; }
.form-error { color: var(--error); font-weight: 550; margin-top: 14px; }
.form-error:empty { display: none; }
.form-foot { margin-top: 18px; color: var(--ink-2); font-size: .95rem; }
.form-foot a { font-weight: 600; }
.fine { margin-top: 14px; font-size: .86rem; color: var(--ink-3); }

/* ---- download ------------------------------------------------------------------------------------------------- */
.get { display: grid; gap: 14px; }
@media (min-width: 840px) { .get { grid-template-columns: repeat(2, 1fr); } }
.get .card { gap: 12px; }
.get .card .btn { align-self: flex-start; margin-top: auto; }
@media (max-width: 479px) { .get .card .btn { align-self: stretch; } }
.card-top { display: flex; align-items: center; gap: 14px; }
.how-list { counter-reset: n; display: grid; gap: 8px; margin: 4px 0 8px; }
.how-list li { counter-increment: n; position: relative; padding-left: 32px; color: var(--ink-2); font-size: .96rem; }
.how-list li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--ion-soft); color: var(--ion); }

/* ---- closer, footer ------------------------------------------------------------------------------------------- */
.closer { padding: 30px 0 96px; }
.closer .box { padding: 36px 22px; border-radius: var(--r-xl); position: relative; overflow: hidden; }
@media (min-width: 720px) { .closer .box { padding: 64px 56px; } }
.closer .box::before { content: ""; position: absolute; left: 30%; right: -20%; bottom: -60%; height: 120%; background: radial-gradient(closest-side, rgba(81,69,245,.18), transparent); pointer-events: none; }
.closer h2 { max-width: 16em; position: relative; }
.closer .lede { margin-top: 14px; position: relative; }
.closer .actions { position: relative; }
.site-footer { border-top: 1px solid var(--line); padding: 54px 0 30px; background: color-mix(in srgb, var(--bg-2) 60%, transparent); }
.foot-grid { display: grid; gap: 28px 20px; grid-template-columns: 1fr 1fr; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot-grid .about-col { grid-column: 1 / -1; }
@media (min-width: 900px) { .foot-grid .about-col { grid-column: auto; } }
.foot-grid .about-col p { margin-top: 10px; color: var(--ink-3); max-width: 24em; font-size: .95rem; }
.site-footer h2 { font-family: var(--text); font-size: .95rem; font-weight: 650; letter-spacing: 0; margin-bottom: 6px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 40px; color: var(--ink-2); text-decoration: none; font-size: .95rem; }
.site-footer ul a:hover { color: var(--ink); text-decoration: underline; }
.legal { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: .9rem; }
.legal a { color: var(--ink-3); display: inline-flex; min-height: 40px; align-items: center; }

/* ---- small helpers ------------------------------------------------------------------------------------------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.h3-like { font-family: var(--text); font-size: 1.2rem; font-weight: 650; letter-spacing: -.01em; line-height: 1.3; }
.card .included { margin-top: 8px; }
.sequence p + p { margin-top: 10px; }
.about-intro { margin-bottom: 40px; }
.contact-line { font-size: 1.15rem; font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
@media (min-width: 1040px) { .grid.three > li:last-child:nth-child(3n+1) { grid-column: 1 / -1; } }
@media (min-width: 720px) and (max-width: 1039px) { .grid.three > li:last-child:nth-child(2n+1) { grid-column: 1 / -1; } }

/* the comparison: grouped rows, a sticky first column on small screens, ticks and dashes */
.compare { min-width: 600px; }
.compare tr.group th { padding: 22px 16px 10px; font-family: var(--display); font-weight: 500; font-size: 1rem; letter-spacing: -.01em;
  color: var(--ink); background: color-mix(in srgb, var(--ion-soft) 60%, transparent); border-bottom: 1px solid var(--line); }
.compare tbody th { width: 44%; }
.compare td { text-align: center; white-space: nowrap; }
.compare thead td, .compare thead th { position: sticky; top: 0; background: var(--glass-strong); z-index: 1; }
.compare thead th { text-align: center; }
.mark-yes { display: inline-block; width: 7px; height: 13px; border: solid var(--ok); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); margin-top: -3px; }
.mark-no { display: inline-block; width: 12px; height: 2px; border-radius: 2px; background: var(--line-strong); vertical-align: middle; }
@media (max-width: 719px) {
  .compare tbody th:not([colspan]), .compare thead td { position: sticky; left: 0; background: var(--solid); z-index: 2; min-width: 190px; white-space: normal; }
  .compare tr.group th { position: sticky; left: 0; }
}
.compare-wrap { position: relative; }
.compare td { white-space: normal; min-width: 110px; }
@media (max-width: 719px) {
  .compare { min-width: 0; font-size: .9rem; }
  .compare tbody th:not([colspan]), .compare thead td { min-width: 140px; max-width: 150px; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare td { min-width: 96px; }
}

/* ---- pricing v2: four plan cards, the recommended one lifted, "coming soon" tags -------------------------------- */
@media (min-width: 720px) and (max-width: 1099px) { .plans:not([data-compact]) { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .plans:not([data-compact]) { grid-template-columns: repeat(3, 1fr); }
  .plans[data-compact] { grid-template-columns: repeat(5, 1fr); } .plans[data-compact] .plan { padding: 22px 18px; } }
.plan-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plan-tag { color: var(--ink-2); font-weight: 600; margin-top: -6px; }
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 999px; background: var(--leaf); color: var(--on-leaf); font-size: .78rem; font-weight: 650; white-space: nowrap; }
.plan.pick { border: 1px solid transparent;
  background: linear-gradient(var(--glass-strong), var(--glass-strong)) padding-box,
              linear-gradient(150deg, var(--ion), color-mix(in srgb, var(--ok) 60%, transparent) 60%, var(--line) 90%) border-box;
  box-shadow: var(--shadow-lift), 0 30px 90px -40px color-mix(in srgb, var(--ion) 55%, transparent); }
.plan.ent .price { font-size: 2.1rem; }
.soon { display: inline-flex; align-items: center; margin-left: 8px; padding: 2px 8px; border-radius: 999px; font-family: var(--text);
  font-size: .72rem; font-weight: 650; letter-spacing: 0; vertical-align: 2px; white-space: nowrap;
  color: var(--ink-2); background: color-mix(in srgb, var(--haze) 18%, transparent); border: 1px solid color-mix(in srgb, var(--haze) 35%, transparent); }
.plan .facts li.later { color: var(--ink-3); }
.plan .facts li.later::before { border-color: var(--ink-3); }
.compare th.pick, .compare td.pick { background: color-mix(in srgb, var(--ion) 6%, transparent); }
.compare thead th.pick { color: var(--link); }
.compare tbody th .soon { margin-left: 6px; }
.addons .card h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.addons .card h3 .soon { margin-left: 0; }

/* v80: Continue with Google, sign in with a code */
.auth-forms { display: grid; }
.alt-signin { display: grid; gap: 10px; margin-top: 16px; }
.alt-signin .btn { width: 100%; justify-content: center; gap: 10px; }
.alt-signin .or { display: flex; align-items: center; gap: 12px; color: var(--ink-3); font-size: .9rem; margin: 6px 0 0; }
.alt-signin .or::before, .alt-signin .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--ion); text-decoration: underline; cursor: pointer; }

/* ---- v91: the AI-employee home page, the full features page, a day with it, the path of a task ---- */
.proof { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 30px; padding: 0; list-style: none; }
.proof li { display: flex; flex-direction: column; min-width: 92px; }
.proof strong { font-family: var(--display); font-weight: 500; font-size: 1.5rem; line-height: 1.1; }
.proof span { font-size: .86rem; color: var(--ink-3); margin-top: 2px; }
.roles .card.highlight, .card.highlight { border-color: var(--line-strong); background: var(--ion-soft); }
.center { text-align: center; margin-top: 18px; }
.jump { margin-top: 22px; }
.jump ul { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; list-style: none; }
.jump a { display: inline-block; padding: 7px 13px; border-radius: 999px; border: 1px solid var(--line); background: var(--glass); font-size: .9rem; text-decoration: none; color: var(--ink-2); }
.jump a:hover { color: var(--ink); border-color: var(--line-strong); }
.feature-group h2 .count { font-family: var(--body); font-weight: 400; font-size: .9rem; color: var(--ink-3); margin-left: 8px; vertical-align: middle; }
.feature-group { scroll-margin-top: 90px; }
.card .fine { margin-top: auto; padding-top: 10px; }
.routine-list { counter-reset: r; display: grid; gap: 8px; grid-template-columns: 1fr; padding: 0; list-style: none; }
.routine-list li { counter-increment: r; display: flex; gap: 12px; align-items: baseline; padding: 12px 16px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--glass); }
.routine-list li::before { content: counter(r, decimal-leading-zero); font-family: var(--display); font-size: .85rem; color: var(--ink-3); min-width: 2em; }
.routine-list .name { flex: 1; }
.routine-list .when { font-size: .86rem; color: var(--ink-3); white-space: nowrap; }
@media (min-width: 700px) { .routine-list { grid-template-columns: 1fr 1fr; } }
.timeline { display: grid; gap: 14px; padding: 0; list-style: none; }
.timeline li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: start; }
.timeline .t { font-family: var(--display); font-size: .95rem; color: var(--ink-3); padding-top: 4px; }
.timeline h3 { font-size: 1.12rem; }
.timeline p { margin-top: 4px; color: var(--ink-2); max-width: 44em; }
.flow { display: grid; gap: 12px; padding: 0; list-style: none; counter-reset: f; grid-template-columns: 1fr; }
.flow li { padding: 20px; position: relative; }
.flow h3 { font-size: 1.05rem; }
.flow p { margin-top: 6px; color: var(--ink-2); font-size: .95rem; }
.flow .brain { border-color: var(--line-strong); background: var(--ion-soft); }
.flow .brain b { font-weight: 600; color: var(--ink); }
@media (min-width: 900px) { .flow { grid-template-columns: repeat(5, 1fr); } .flow li { padding: 18px 16px; } }
.mini-steps { margin: 10px 0 0; padding-left: 20px; color: var(--ink-2); font-size: .95rem; display: grid; gap: 5px; }
.mini-steps .ask { color: var(--signal-ink); font-weight: 600; }
@media (min-width: 1040px) { .rules.three { grid-template-columns: repeat(3, 1fr); } }

/* ---- contact page: help cards, the message form ------------------------------------------------------------------ */
.contact-hero { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-hero { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 48px; } }
.reach { gap: 10px; }
.reach .contact-line { margin-top: 2px; }
.reach .fine { margin-top: 0; }
.reach .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 479px) { .reach .btn { align-self: stretch; } }
.help-grid .card { gap: 10px; }
.help-grid h3 { font-size: 1.12rem; }
.card-links { margin-top: auto; padding-top: 6px; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.card-links a { font-weight: 600; }
.contact-write { display: grid; gap: 28px; align-items: start; }
@media (min-width: 960px) { .contact-write { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 56px; } }
.write-copy .lede { margin: 16px 0 20px; }
.field select, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--r-md); border: 1px solid var(--line-strong);
  background: var(--solid); color: var(--ink); font: inherit; font-size: 1rem;
}
.field select { min-height: 52px; padding-top: 0; padding-bottom: 0; cursor: pointer; }
.field textarea { min-height: 150px; resize: vertical; line-height: 1.5; }
.field select:focus, .field textarea:focus { outline: none; border-color: var(--ion); box-shadow: 0 0 0 4px var(--ion-soft); }
.field.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
#contact-form { position: relative; }
.form-sent:focus { outline: none; }

.form-sent p + p { margin-top: 10px; }
.write-copy .included { grid-template-columns: 1fr; }
