/* Ringsworth marketing site
   Fonts: Fraunces and Instrument Sans, both SIL Open Font License 1.1, self-hosted. */

@font-face { font-family: "Fraunces"; font-style: normal; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/fraunces-latin.woff2") format("woff2"); }
@font-face { font-family: "Fraunces"; font-style: italic; font-weight: 300 800; font-display: swap;
  src: url("/assets/fonts/fraunces-latin-italic.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin.woff2") format("woff2"); }
@font-face { font-family: "Instrument Sans"; font-style: italic; font-weight: 400 700; font-display: swap;
  src: url("/assets/fonts/instrument-sans-latin-italic.woff2") format("woff2"); }

/* ---------- tokens ---------- */
:root {
  color-scheme: light;
  --bg: #f5efe3;
  --bg-2: #ede5d4;
  --surface: #fffcf5;
  --ink: #18211d;
  --ink-2: #3b4640;
  --muted: #5a645e;
  --line: #ddd2bd;
  --line-2: #cbbd9f;
  --brand: #1d4a3c;          /* livery green */
  --brand-ink: #fffcf5;
  --brand-soft: #dfe9e1;
  --brass: #94661c;          /* text-safe brass on paper */
  --brass-bright: #c4923b;   /* decorative brass */
  --go: #1f7a4f;
  --go-soft: #d8eedd;
  --stop: #a63a2a;
  --stop-soft: #f6ddd5;
  --book: #2d5a8a;
  --book-soft: #dbe6f2;
  --inv-bg: #17352c;
  --inv-ink: #f2ecdf;
  --inv-muted: #b9c6bd;
  --inv-line: #2f5145;
  --scr-bg: #fbf8f1;
  --scr-card: #ffffff;
  --scr-ink: #18211d;
  --scr-muted: #626b66;
  --scr-line: #e7e0d1;
  --bezel: #1b1f1d;
  --shadow: 0 1px 2px rgb(40 30 10 / .06), 0 12px 32px -12px rgb(40 30 10 / .22);
  --shadow-lg: 0 2px 4px rgb(40 30 10 / .06), 0 40px 80px -30px rgb(30 25 10 / .45);
  --radius: 18px;
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  --font-body: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1160px;
  --gutter: 16px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #0e1412;
    --bg-2: #131b18;
    --surface: #17201c;
    --ink: #ede7da;
    --ink-2: #cfd2c8;
    --muted: #a5aea7;
    --line: #26332d;
    --line-2: #34443c;
    --brand: #9fd2bb;
    --brand-ink: #0e1412;
    --brand-soft: #1d2e27;
    --brass: #dcb36a;
    --brass-bright: #dcb36a;
    --go: #7fd3a5;
    --go-soft: #173126;
    --stop: #f0a191;
    --stop-soft: #3a1f1a;
    --book: #9cc3ee;
    --book-soft: #182838;
    --inv-bg: #142a23;
    --inv-ink: #f2ecdf;
    --inv-muted: #b3c3b9;
    --inv-line: #2a473d;
    --scr-bg: #111614;
    --scr-card: #1b2320;
    --scr-ink: #eef0ea;
    --scr-muted: #9ea8a1;
    --scr-line: #29332f;
    --bezel: #050706;
    --shadow: 0 1px 2px rgb(0 0 0 / .4), 0 12px 32px -12px rgb(0 0 0 / .7);
    --shadow-lg: 0 2px 4px rgb(0 0 0 / .4), 0 40px 80px -30px rgb(0 0 0 / .9);
  }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 40%, transparent); text-underline-offset: .18em; }
a:hover { text-decoration-color: currentColor; }
:focus-visible { outline: 3px solid var(--brass-bright); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 32px; } }

.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px; border-radius: 10px; text-decoration: none; }
.skip:focus { top: 12px; }

/* ---------- type ---------- */
.display, .h2, .h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.015em; color: var(--ink); font-variation-settings: "SOFT" 30, "WONK" 0; }
.display { font-size: clamp(2.6rem, 8.5vw, 4.9rem); line-height: 1.02; font-optical-sizing: auto; letter-spacing: -0.025em; }
.display em, .h2 em { font-style: italic; color: var(--brass); font-weight: 400; }
.h2 { font-size: clamp(2rem, 5.2vw, 3.1rem); line-height: 1.08; }
.h3 { font-size: clamp(1.5rem, 3.2vw, 1.95rem); line-height: 1.15; }
.lede { font-size: clamp(1.1rem, 2.2vw, 1.28rem); color: var(--ink-2); max-width: 36em; }
.eyebrow { display: inline-flex; align-items: center; gap: .55em; font-size: .78rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--brass); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--go); box-shadow: 0 0 0 4px color-mix(in srgb, var(--go) 22%, transparent); }
.kicker { font-family: var(--font-body); font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 44px; padding: .7em 1.25em; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid transparent; transition: transform .15s ease, background-color .15s ease, box-shadow .15s ease; line-height: 1.2; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: var(--brand-ink); box-shadow: 0 8px 20px -10px color-mix(in srgb, var(--brand) 70%, transparent); }
.btn--primary:hover { background: color-mix(in srgb, var(--brand) 88%, var(--ink)); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--surface); }
.btn--large { min-height: 54px; padding: .9em 1.6em; font-size: 1.05rem; }
.btn--small { min-height: 40px; padding: .5em 1em; font-size: .92rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 86%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid color-mix(in srgb, var(--line) 70%, transparent); }
.site-header__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__name { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; }
.mark-bg { fill: var(--brand); }
.mark-ring { stroke: var(--brass-bright); }
.mark-dot { fill: var(--brass-bright); }
@media (prefers-color-scheme: dark) { .brand__mark .mark-bg { fill: #1d4a3c; } }
.nav { margin-left: auto; display: none; }
.nav__list { display: flex; gap: 4px; }
.nav__list a { display: block; padding: 8px 12px; border-radius: 999px; text-decoration: none; font-size: .95rem; color: var(--ink-2); }
.nav__list a:hover { background: var(--bg-2); color: var(--ink); }
.header-cta { display: none; }
.menu { margin-left: auto; position: relative; }
.menu summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); }
.menu summary::-webkit-details-marker { display: none; }
.menu__bars, .menu__bars::before, .menu__bars::after { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; content: ""; transition: transform .2s ease; }
.menu__bars { position: relative; }
.menu__bars::before { position: absolute; top: -6px; }
.menu__bars::after { position: absolute; top: 6px; }
.menu[open] .menu__bars { background: transparent; }
.menu[open] .menu__bars::before { transform: translateY(6px) rotate(45deg); }
.menu[open] .menu__bars::after { transform: translateY(-6px) rotate(-45deg); }
.menu__panel { position: absolute; right: 0; top: 54px; width: min(300px, calc(100vw - 32px)); background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg); padding: 10px; display: grid; gap: 2px; }
.menu__panel a:not(.btn) { padding: 12px 14px; border-radius: 12px; text-decoration: none; }
.menu__panel a:not(.btn):hover { background: var(--bg-2); }
.menu__panel .btn { margin-top: 8px; }
@media (min-width: 1000px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .menu { display: none; }
}

/* ---------- hero ---------- */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--brass-bright) 18%, transparent), transparent 70%); pointer-events: none; }
.hero__grid { position: relative; display: grid; gap: 48px; align-items: center; }
.hero__copy { display: grid; gap: 22px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero__cta .btn { flex: 1 1 220px; }
.hero__note { font-size: .92rem; color: var(--muted); }
.hero__art { position: relative; display: grid; justify-items: center; gap: 14px; }
.art-caption { font-size: .78rem; color: var(--muted); text-align: center; }
@media (min-width: 960px) {
  .hero { padding: 72px 0 96px; }
  .hero__grid { grid-template-columns: 1.08fr .92fr; gap: 40px; }
  .hero__cta .btn { flex: 0 0 auto; }
}

/* floating cards */
.float { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; box-shadow: var(--shadow); width: min(300px, 100%); }
.float__kicker { font-size: .7rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.float__title { font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.25; margin-top: 2px; }
.float__body { font-size: .86rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.float--brief .float__kicker { color: var(--go); }
.float--stopped .float__kicker { color: var(--stop); }
.float--brief { border-left: 4px solid var(--go); }
.float--stopped { border-left: 4px solid var(--stop); }
@media (min-width: 560px) and (max-width: 1199px) {
  .hero__art { grid-template-columns: 1fr 1fr; max-width: 640px; margin-inline: auto; column-gap: 16px; }
  .hero__art .phone, .art-caption { grid-column: 1 / -1; justify-self: center; }
  .float { width: 100%; }
}
@media (min-width: 1200px) {
  .hero__art { justify-items: end; }
  .art-caption { justify-self: end; width: 300px; }
  .float { position: absolute; width: 232px; left: -24px; }
  .float--brief { top: 170px; transform: rotate(-2deg); }
  .float--stopped { top: 400px; transform: rotate(1.5deg); }
}

/* ---------- phone mockup ---------- */
.phone { --pw: 292px; width: var(--pw); max-width: 100%; aspect-ratio: 292 / 600; border-radius: 48px; padding: 11px; background: var(--bezel); box-shadow: var(--shadow-lg), inset 0 0 0 1.5px #3a403d; position: relative; flex: none; }
.phone::after { content: ""; position: absolute; right: -3px; top: 150px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #2a2f2c; }
.phone__screen { height: 100%; border-radius: 38px; background: var(--scr-bg); color: var(--scr-ink); overflow: hidden; display: flex; flex-direction: column; font-size: 12.5px; line-height: 1.4; }
.phone__status { display: flex; align-items: center; justify-content: space-between; padding: 12px 22px 6px 26px; font-weight: 600; font-size: 12px; height: 44px; flex: none; }
.phone__status > span:first-child { width: 40px; }
.phone__island { width: 92px; height: 26px; background: #000; border-radius: 20px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px; }
.phone__island--live { width: 120px; }
.isl-dot { width: 8px; height: 8px; border-radius: 50%; background: #5fd49a; display: block; }
.isl-time { color: #5fd49a; font-style: normal; font-size: 11px; font-variant-numeric: tabular-nums; }
.phone__icons { display: flex; gap: 3px; align-items: flex-end; width: 40px; justify-content: flex-end; }
.phone__icons i { display: block; width: 4px; background: currentColor; border-radius: 1px; }
.phone__icons i:nth-child(1) { height: 5px; } .phone__icons i:nth-child(2) { height: 7px; } .phone__icons i:nth-child(3) { height: 9px; }
.phone--hero { --pw: 300px; }

.avatar { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: none; color: #fff; }
.avatar--sage { background: #4f7c66; } .avatar--brass { background: #9a6c22; } .avatar--ink { background: #2d5a8a; } .avatar--muted { background: color-mix(in srgb, var(--scr-muted) 55%, var(--scr-bg)); }

.pill { display: inline-flex; align-items: center; justify-content: center; padding: 7px 10px; border-radius: 999px; font-weight: 600; font-size: 11.5px; background: color-mix(in srgb, var(--scr-ink) 8%, var(--scr-card)); color: var(--scr-ink); white-space: nowrap; }
.pill--go { background: #1f7a4f; color: #fff; }
.pill--stop { background: color-mix(in srgb, #c0503d 16%, var(--scr-card)); color: #b43c2a; }
@media (prefers-color-scheme: dark) { .pill--stop { color: #f2a596; } }
.pulse { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #2fa36b; box-shadow: 0 0 0 0 rgb(47 163 107 / .6); animation: pulse 1.8s infinite; vertical-align: middle; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgb(47 163 107 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 163 107 / 0); } }

/* live screen */
.live { padding: 6px 16px 16px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.live__label { font-size: 11px; font-weight: 600; color: var(--scr-muted); letter-spacing: .02em; }
.live__who { display: flex; gap: 10px; align-items: center; }
.live__who .avatar { width: 44px; height: 44px; font-size: 14px; }
.live__name { font-family: var(--font-display); font-size: 20px; font-weight: 600; line-height: 1.1; }
.live__sub { color: var(--scr-muted); font-size: 11.5px; }
.transcript { display: grid; gap: 8px; }
.t { padding: 8px 10px; border-radius: 14px; background: var(--scr-card); border: 1px solid var(--scr-line); }
.t b { display: block; font-size: 10px; letter-spacing: .08em; text-transform: uppercase; color: var(--scr-muted); }
.t--ai { border-top-left-radius: 4px; }
.t--caller { border-top-right-radius: 4px; margin-left: 18px; background: color-mix(in srgb, #4f7c66 10%, var(--scr-card)); }
.live__actions { margin-top: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.live__actions .pill--go { grid-column: 1 / -1; padding: 10px; font-size: 13px; }

/* app chrome */
.app-head { padding: 4px 16px 10px; display: grid; gap: 10px; }
.app-title { font-family: var(--font-display); font-size: 24px; font-weight: 600; line-height: 1.1; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: color-mix(in srgb, var(--scr-ink) 7%, var(--scr-bg)); border-radius: 10px; padding: 2px; font-size: 11px; font-weight: 600; text-align: center; }
.seg span { padding: 5px 0; border-radius: 8px; color: var(--scr-muted); }
.seg .seg__on { background: var(--scr-card); color: var(--scr-ink); box-shadow: 0 1px 2px rgb(0 0 0 / .12); }

.inbox { padding: 0 12px 12px; display: grid; gap: 8px; }
.inbox li { display: flex; gap: 10px; padding: 10px; background: var(--scr-card); border: 1px solid var(--scr-line); border-radius: 14px; align-items: flex-start; }
.inbox li > div { min-width: 0; flex: 1; }
.inbox__name { font-weight: 700; display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; }
.inbox__name time { font-weight: 500; color: var(--scr-muted); font-size: 11px; white-space: nowrap; }
.inbox__sum { color: var(--scr-muted); font-size: 11.5px; line-height: 1.35; margin: 2px 0 6px; }
.inbox__stopped { opacity: .82; }
.tag { display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .04em; padding: 2px 8px; border-radius: 999px; background: color-mix(in srgb, var(--scr-ink) 8%, var(--scr-card)); color: var(--scr-muted); }
.tag--msg { background: color-mix(in srgb, #c4923b 20%, var(--scr-card)); color: #855a16; }
.tag--go { background: color-mix(in srgb, #1f7a4f 16%, var(--scr-card)); color: #1b6b45; }
.tag--book { background: color-mix(in srgb, #2d5a8a 15%, var(--scr-card)); color: #2a557f; }
@media (prefers-color-scheme: dark) {
  .tag--msg { color: #e3bd78; } .tag--go { color: #85d6a9; } .tag--book { color: #a2c6ef; }
}

/* lock screen */
.phone--lock .phone__screen { background: linear-gradient(170deg, #284a3e 0%, #12241e 55%, #0b1512 100%); color: #f4efe4; }
.lock { padding: 10px 12px 16px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.lock__date { font-size: 13px; font-weight: 600; opacity: .9; margin-top: 8px; }
.lock__time { font-family: var(--font-display); font-size: 76px; line-height: 1; font-weight: 500; letter-spacing: -0.02em; margin-top: 2px; }
.la { margin-top: auto; width: 100%; background: rgb(20 26 24 / .72); border: 1px solid rgb(255 255 255 / .08); border-radius: 22px; padding: 12px 12px 12px; display: grid; gap: 4px; backdrop-filter: blur(10px); }
.la__top { display: flex; justify-content: space-between; font-size: 11px; font-weight: 600; color: #b8c7bf; font-variant-numeric: tabular-nums; }
.la__brand { display: inline-flex; align-items: center; gap: 6px; }
.la__name { font-family: var(--font-display); font-size: 19px; font-weight: 600; }
.la__why { font-size: 12px; color: #d9d4c8; }
.la__btns { display: grid; grid-template-columns: 1fr 1.3fr .8fr; gap: 6px; margin-top: 6px; }
.la .pill { background: rgb(255 255 255 / .12); color: #fff; padding: 8px 4px; font-size: 11px; }
.la .pill--go { background: #2f9a64; }
.la .pill--stop { background: rgb(214 92 72 / .3); color: #ffc2b5; }

/* chat */
.chat { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.bubble { max-width: 86%; padding: 9px 12px; border-radius: 16px; font-size: 12.5px; }
.bubble--ai { background: var(--scr-card); border: 1px solid var(--scr-line); border-bottom-left-radius: 5px; }
.bubble--me { align-self: flex-end; background: #1d4a3c; color: #f4efe4; border-bottom-right-radius: 5px; }
.proposal { background: var(--scr-card); border: 1.5px solid color-mix(in srgb, #c4923b 60%, transparent); border-radius: 16px; padding: 12px; display: grid; gap: 6px; }
.proposal__k { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #94661c; }
@media (prefers-color-scheme: dark) { .proposal__k { color: #dcb36a; } }
.proposal__t { font-size: 12.5px; font-weight: 500; }
.proposal__btns { display: flex; gap: 6px; margin-top: 4px; }
.proposal__btns .pill { flex: 1; }
.version { margin-top: auto; text-align: center; font-size: 10.5px; color: var(--scr-muted); }

/* task */
.task { padding: 0 14px 14px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.task__goal { font-family: var(--font-display); font-size: 18px; font-weight: 600; line-height: 1.2; }
.task__to { font-size: 11.5px; color: var(--scr-muted); margin-top: -6px; }
.task__steps { display: grid; gap: 7px; padding: 10px 12px; background: var(--scr-card); border: 1px solid var(--scr-line); border-radius: 14px; }
.task__steps li { position: relative; padding-left: 20px; font-size: 11.5px; }
.task__steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--scr-muted); }
.task__steps .done::before { background: #1f7a4f; border-color: #1f7a4f; }
.task__steps .now { font-weight: 700; }
.task__steps .now::before { border-color: #c4923b; background: color-mix(in srgb, #c4923b 30%, transparent); }
.ask { margin-top: auto; background: color-mix(in srgb, #c4923b 14%, var(--scr-card)); border-radius: 16px; padding: 12px; display: grid; gap: 6px; }
.ask__k { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #855a16; }
@media (prefers-color-scheme: dark) { .ask__k { color: #e3bd78; } }
.ask__q { font-size: 13px; font-weight: 500; }
.ask__btns { display: grid; gap: 6px; margin-top: 2px; }
.ask__btns .pill { padding: 9px; }

/* ---------- verbs strip ---------- */
.verbs { border-block: 1px solid var(--line); background: var(--surface); padding: 40px 0; }
.verbs .kicker { margin-bottom: 24px; }
.verbs__list { display: grid; gap: 28px; }
.verb { display: grid; gap: 6px; }
.verb__icon { width: 44px; height: 44px; fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.verb__icon .accent { stroke: var(--brass-bright); }
.verb h3 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.verb p { color: var(--muted); font-size: .98rem; }
@media (min-width: 640px) { .verbs__list { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (min-width: 1000px) { .verbs__list { grid-template-columns: repeat(4, 1fr); } .verb { padding-right: 12px; } .verb + .verb { border-left: 1px solid var(--line); padding-left: 28px; } }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
@media (min-width: 960px) { .section { padding: 120px 0; } }
.section__head { display: grid; gap: 16px; max-width: 760px; margin: 0 auto 48px; text-align: center; justify-items: center; }
.section__head--left { text-align: left; justify-items: start; margin-inline: 0; }
.section__lede { font-size: 1.12rem; color: var(--ink-2); max-width: 40em; }

/* ---------- flow diagram ---------- */
.flow { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 20px 8px; box-shadow: var(--shadow); }
.flow__svg { width: 100%; height: auto; font-family: var(--font-body); }
.flow__svg--wide { display: none; }
@media (min-width: 820px) { .flow { padding: 36px 28px; } .flow__svg--wide { display: block; } .flow__svg--narrow { display: none; } }
.flow__svg--narrow { max-width: 420px; margin-inline: auto; }
.f-line { fill: none; stroke: var(--line-2); stroke-width: 2.5; }
.f-line--stop { stroke: var(--stop); stroke-dasharray: 6 6; }
.f-arrowhead { fill: var(--line-2); }
.f-node { fill: var(--bg); stroke: var(--line-2); stroke-width: 1.5; }
.f-node--go { fill: var(--go-soft); stroke: var(--go); }
.f-stop { fill: var(--stop-soft); stroke: var(--stop); stroke-width: 1.5; stroke-dasharray: 6 5; }
.f-charlie { fill: var(--brand); }
.f-ink { fill: var(--ink-2); }
.f-title { font-size: 17px; font-weight: 700; fill: var(--ink); }
.f-title--stop { fill: var(--stop); }
.f-title--inv { fill: var(--brand-ink); font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.f-sub { font-size: 14px; fill: var(--muted); }
.f-sub--inv { fill: color-mix(in srgb, var(--brand-ink) 82%, var(--brand)); }
.f-cap { font-size: 15px; font-weight: 700; fill: var(--ink); }

/* ---------- steps ---------- */
.steps { display: grid; gap: 20px; margin-top: 40px; counter-reset: s; }
.step { position: relative; padding: 24px; border-radius: var(--radius); background: transparent; border: 1px solid var(--line); display: grid; gap: 8px; }
.step__n { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; color: var(--brass); font-weight: 400; font-style: italic; }
.step h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.step p { color: var(--muted); }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(3, 1fr); } }

/* ---------- app spotlights ---------- */
.app { background: var(--bg-2); }
.spot { display: grid; gap: 40px; align-items: center; padding: 24px 0 64px; }
.spot + .spot { border-top: 1px solid var(--line); padding-top: 64px; }
.spot__copy { display: grid; gap: 16px; max-width: 540px; }
.spot__copy > p { color: var(--ink-2); }
.spot__art { display: grid; justify-items: center; }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); }
.ticks li::after { content: ""; position: absolute; left: 5.5px; top: calc(.3em + 5px); width: 7px; height: 4px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
@media (min-width: 900px) {
  .spot { grid-template-columns: 1.1fr .9fr; gap: 72px; }
  .spot--flip .spot__copy { order: 2; }
  .spot--flip .spot__art { order: 1; }
}

.grid { display: grid; gap: 16px; margin-top: 24px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 8px; align-content: start; }
.card__icon { width: 30px; height: 30px; fill: none; stroke: var(--brass); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.card h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.card p { color: var(--muted); font-size: .98rem; }
@media (min-width: 640px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- tasks (inverse) ---------- */
.tasks { background: var(--inv-bg); color: var(--inv-ink); position: relative; overflow: hidden; }
.tasks::before { content: ""; position: absolute; inset: auto -20% -40% auto; width: 80vw; height: 80vw; max-width: 1000px; max-height: 1000px; border-radius: 50%; border: 1px solid var(--inv-line); box-shadow: 0 0 0 80px color-mix(in srgb, var(--inv-line) 30%, transparent), 0 0 0 160px color-mix(in srgb, var(--inv-line) 15%, transparent); pointer-events: none; }
.tasks .h2 { color: var(--inv-ink); }
.tasks .section__lede { color: var(--inv-muted); }
.eyebrow--inv { color: #e0b871; }
.tasks .wrap { position: relative; }
.tasks__grid { display: grid; gap: 40px; align-items: start; }
.examples { display: grid; gap: 12px; }
.examples li { font-family: var(--font-display); font-size: 1.28rem; line-height: 1.3; padding: 18px 20px; border-radius: 18px; background: rgb(255 255 255 / .05); border: 1px solid var(--inv-line); }
.examples__k { display: block; font-family: var(--font-body); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #e0b871; margin-bottom: 4px; }
.task-card { display: grid; justify-items: center; }
.facts { display: grid; gap: 20px; }
.facts li { padding-left: 18px; border-left: 2px solid #c4923b; }
.facts h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--inv-ink); }
.facts p { color: var(--inv-muted); font-size: .97rem; }
@media (min-width: 720px) { .tasks__grid { grid-template-columns: 1fr 1fr; } .facts { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .tasks__grid { grid-template-columns: 1fr auto 1fr; gap: 48px; } .facts { grid-column: auto; grid-template-columns: 1fr; } }

/* ---------- reliability ---------- */
.rel__grid { display: grid; gap: 40px; }
.rel__grid .section__head { margin-bottom: 0; }
.rel__note { font-size: .98rem; color: var(--muted); padding: 14px 16px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.ladder { display: grid; gap: 0; position: relative; }
.rung { display: grid; grid-template-columns: 52px 1fr; gap: 16px; padding-bottom: 28px; position: relative; }
.rung:not(:last-child)::before { content: ""; position: absolute; left: 25px; top: 52px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--line-2) 0 6px, transparent 6px 12px); }
.rung__icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.rung__icon svg { width: 26px; height: 26px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rung__icon svg circle { fill: var(--brand); stroke: none; }
.rung:first-child .rung__icon { background: var(--brand); border-color: var(--brand); }
.rung:first-child .rung__icon svg { stroke: var(--brand-ink); }
.rung:first-child .rung__icon svg circle { fill: var(--brand-ink); }
.rung h3 { font-family: var(--font-display); font-size: 1.28rem; font-weight: 600; line-height: 1.25; padding-top: 2px; }
.rung p { color: var(--muted); margin-top: 4px; }
@media (min-width: 960px) { .rel__grid { grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; } .rel__grid .section__head { position: sticky; top: 110px; } }

/* ---------- robots ---------- */
.robots { background: var(--surface); border-block: 1px solid var(--line); }
.tiers { display: grid; gap: 16px; counter-reset: tier; }
.tier { counter-increment: tier; position: relative; padding: 26px 24px 24px; border-radius: var(--radius); background: var(--bg); border: 1px solid var(--line); display: grid; gap: 8px; }
.tier::after { content: counter(tier); position: absolute; right: 20px; top: 14px; font-family: var(--font-display); font-style: italic; font-size: 3rem; line-height: 1; color: color-mix(in srgb, var(--brass-bright) 45%, transparent); }
.tier__k { font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--stop); }
.tier h3 { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; padding-right: 40px; }
.tier p:last-child { color: var(--muted); }
.robots__foot { text-align: center; margin-top: 32px; color: var(--muted); font-style: italic; font-family: var(--font-display); font-size: 1.15rem; }
@media (min-width: 900px) {
  .tiers { grid-template-columns: repeat(3, 1fr); gap: 0; }
  .tier { border-radius: 0; }
  .tier:first-child { border-radius: var(--radius) 0 0 var(--radius); }
  .tier:last-child { border-radius: 0 var(--radius) var(--radius) 0; }
  .tier + .tier { border-left: 0; }
  .tier:nth-child(2) { background: color-mix(in srgb, var(--bg) 70%, var(--surface)); }
  .tier:nth-child(3) { background: var(--surface); }
}

/* ---------- privacy ---------- */
.privacy__list { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; }
.privacy__list li { background: var(--bg); padding: 26px 24px; display: grid; gap: 6px; }
.privacy__list h3 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.privacy__list p { color: var(--muted); font-size: .98rem; }
.privacy__more { text-align: center; margin-top: 28px; font-weight: 600; }
@media (min-width: 640px) { .privacy__list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .privacy__list { grid-template-columns: repeat(3, 1fr); } }

/* ---------- faq ---------- */
.faq { background: var(--bg-2); }
.faq__grid { display: grid; gap: 32px; }
.faq__grid .section__head { margin-bottom: 0; }
.faq__list { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 56px 18px 20px; font-weight: 600; font-size: 1.05rem; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--brass); border-bottom: 2px solid var(--brass); transform: translateY(-70%) rotate(45deg); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 20px 20px; color: var(--ink-2); }
.faq details a { font-weight: 600; }
@media (min-width: 960px) { .faq__grid { grid-template-columns: .8fr 1.2fr; gap: 72px; align-items: start; } }

/* ---------- final cta ---------- */
.cta { padding: 96px 0; text-align: center; background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--brass-bright) 16%, transparent), transparent 60%), var(--bg); }
.cta__inner { display: grid; justify-items: center; gap: 18px; }
.cta__mark { width: 64px; height: 64px; }
.cta p { color: var(--ink-2); font-size: 1.1rem; }
.cta .cta__small { font-size: .88rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding: 56px 0 28px; font-size: .95rem; }
.site-footer__inner { display: grid; gap: 40px; }
.site-footer__brand { display: grid; gap: 12px; max-width: 360px; }
.site-footer__brand p { color: var(--muted); }
.site-footer__cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 28px; }
.site-footer h2 { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; font-weight: 700; }
.site-footer ul { display: grid; gap: 6px; }
.site-footer ul a { text-decoration: none; color: var(--ink-2); display: inline-block; padding: 4px 0; overflow-wrap: anywhere; }
.site-footer ul a:hover { color: var(--ink); text-decoration: underline; }
.site-footer__legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: .85rem; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 1fr 1.4fr; } }

/* ---------- legal pages ---------- */
.legal-page { padding: 48px 0 96px; }
.legal-page .wrap { max-width: 780px; }
.draft-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border-radius: 16px; background: var(--stop-soft); border: 1.5px dashed var(--stop); color: var(--ink); margin-bottom: 36px; }
.draft-note strong { color: var(--stop); }
.draft-note svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--stop); stroke-width: 2; stroke-linecap: round; margin-top: 2px; }
.legal-page h1 { font-family: var(--font-display); font-size: clamp(2.2rem, 6vw, 3.2rem); font-weight: 500; line-height: 1.08; letter-spacing: -0.02em; }
.legal-page .updated { color: var(--muted); margin: 10px 0 28px; }
.legal-page h2 { font-family: var(--font-display); font-size: 1.55rem; font-weight: 600; margin: 44px 0 12px; line-height: 1.2; }
.legal-page h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal-page p, .legal-page li { color: var(--ink-2); }
.legal-page p + p { margin-top: 12px; }
.legal-page ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 8px; margin: 12px 0; }
.legal-page .summary { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; }
.legal-page .summary ul { margin-bottom: 0; }
.legal-page .placeholder { background: color-mix(in srgb, var(--brass-bright) 22%, transparent); padding: 0 .25em; border-radius: 4px; }
.toc { margin: 8px 0 0; padding: 18px 22px; border-left: 3px solid var(--brass-bright); background: var(--bg-2); border-radius: 0 14px 14px 0; }
.toc ol { list-style: decimal; padding-left: 1.3em; display: grid; gap: 4px; }

/* ---------- 404 ---------- */
.notfound-page { padding: 120px 0; text-align: center; }
.notfound-page .wrap { display: grid; gap: 18px; justify-items: center; }

/* ---------- refinements ---------- */
.step, .tier, .card { align-content: start; }
.f-title--sm { font-size: 15px; }
.notes { background: color-mix(in srgb, #c4923b 12%, var(--scr-card)); border-radius: 14px; padding: 9px 11px; display: grid; gap: 3px; font-size: 11.5px; }
.notes__k { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #855a16; }
@media (prefers-color-scheme: dark) { .notes__k { color: #e3bd78; } }
.notes__u { color: var(--scr-muted); display: flex; align-items: center; gap: 6px; }
.u-dot { width: 7px; height: 7px; border-radius: 50%; background: #2fa36b; display: inline-block; }
.task__heard { font-size: 11.5px; margin: 0 0 0 18px; }
.widget { margin-top: 14px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; width: 100%; }
.widget span { background: rgb(255 255 255 / .1); border-radius: 14px; padding: 8px 4px; text-align: center; font-size: 10px; color: #cfd8d2; line-height: 1.25; }
.widget b { display: block; font-family: var(--font-display); font-size: 20px; color: #fff; font-weight: 600; }

