/* Inventra CSV — public website. Design tokens are the customer app's (ui.html). */

/* ── Fonts (self-hosted, SIL OFL; no third-party requests) ───────────────── */
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-sans-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-400-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-ext-500-normal.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-400-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'IBM Plex Mono'; font-style: normal; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/ibm-plex-mono-latin-500-normal.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ── Tokens (same values as the customer app) ─────────────────────────────── */
:root {
  --bg: #f4f6f7; --surface: #ffffff; --border: #e0e6ea; --border2: #c5d0d8;
  --text: #1a1d24; --muted: #5b6270;   /* the app uses #6b7280; darkened for 4.5:1 on the grey sections */
  --accent: #02739d; --accent-hover: #015f85; --accent-bright: #00cbaa; --accent-vivid: #2ffaf9;
  --accent-surface: #edfaf8; --accent-border: #b2e8e0; --accent-mid: #009dba; --accent-navy: #0d1b2a;
  --danger: #c92a2a; --warn: #b45309; --ok: #1a7f45;
  --sans: 'IBM Plex Sans', system-ui, sans-serif; --mono: 'IBM Plex Mono', ui-monospace, monospace;
  --radius: 5px; --radius-sm: 3px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.07); --shadow-md: 0 2px 8px rgba(0,0,0,0.10);
  --ring: 0 0 0 3px rgba(0,203,170,0.15), 0 0 0 1px var(--accent-bright);
  --wrap: 1140px; --gutter: 20px;
  --grad: linear-gradient(135deg, var(--accent-navy) 0%, #0b3a55 55%, var(--accent) 100%);
}

/* ── Base ─────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-weight: 400; font-size: 17px; line-height: 1.6;
  color: var(--text); background: var(--surface); }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
h1, h2, h3 { font-weight: 500; line-height: 1.2; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--mono); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--radius-sm); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: .6rem; display: block; }
.lead { font-size: 1.15rem; color: #3b4250; max-width: 46rem; }
.muted { color: var(--muted); }
.todo { outline: 2px dashed var(--warn); outline-offset: 2px; }

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font: 500 1rem var(--sans);
  padding: .8em 1.35em; border-radius: var(--radius); border: 1px solid transparent; cursor: pointer;
  text-decoration: none; transition: transform .15s ease, background .2s, box-shadow .2s, border-color .2s; will-change: transform; }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(2,115,157,.25); }
.btn-primary:hover { background: var(--accent-hover); color: #fff; box-shadow: 0 6px 20px rgba(0,203,170,.28); }
.btn-ghost { background: transparent; color: var(--accent); border-color: var(--border2); }
.btn-ghost:hover { border-color: var(--accent-bright); background: var(--accent-surface); }
.btn-light { background: rgba(255,255,255,.1); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-light:hover { background: rgba(255,255,255,.18); color: #fff; border-color: var(--accent-bright); }
.btn-sm { padding: .5em .95em; font-size: .92rem; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.0); transition: background .25s, box-shadow .25s; }
.site-header.on-dark { color: #fff; }
.site-header.scrolled, .site-header.solid { background: rgba(255,255,255,.96); box-shadow: var(--shadow-md); color: var(--text); backdrop-filter: saturate(1.4) blur(8px); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; font-weight: 500; letter-spacing: .06em; }
.brand img { width: 34px; height: 34px; }
.brand .csv { color: var(--accent-bright); }
.site-header.scrolled .brand .csv, .site-header.solid .brand .csv { color: var(--accent); }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: inherit; text-decoration: none; font-size: .95rem; opacity: .85; }
.nav a:hover { opacity: 1; color: inherit; text-decoration: underline; }
.nav .nav-demo { display: none; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.on-dark:not(.scrolled) .btn-ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.on-dark:not(.scrolled) .btn-ghost:hover { background: rgba(255,255,255,.1); }
.lang { font-size: .85rem; color: inherit; opacity: .8; text-decoration: none; }
.menu-toggle { display: none; background: none; border: 1px solid currentColor; color: inherit; border-radius: var(--radius); padding: 6px 10px; font: inherit; }
@media (max-width: 980px) {
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--surface); box-shadow: var(--shadow-md); }
  .nav.open { display: flex; }
  .nav a { color: var(--text); padding: 14px var(--gutter); border-top: 1px solid var(--border); opacity: 1; }
  .menu-toggle { display: inline-block; margin-left: auto; }
  .header-cta .btn-primary { display: none; }
  .nav .nav-demo { display: block; color: var(--accent); font-weight: 500; }
}
.brand > span { white-space: nowrap; }
@media (max-width: 420px) {
  .lang { display: none; }
  .site-header .wrap { gap: 8px; }
  .brand { gap: 7px; letter-spacing: .03em; font-size: .92rem; }
  .brand img { width: 28px; height: 28px; }
  .menu-toggle { padding: 5px 8px; font-size: .9rem; }
  .header-cta .btn-sm { padding: .45em .7em; font-size: .85rem; }
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; margin-top: -68px; padding: 140px 0 90px; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; pointer-events: none; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { color: #fff; }
.hero .lead { color: rgba(255,255,255,.86); }
.hero .eyebrow { color: var(--accent-bright); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.hero-note { margin-top: 18px; font-size: .9rem; color: rgba(255,255,255,.7); }
.rise { animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.rise.d1 { animation-delay: .08s; } .rise.d2 { animation-delay: .16s; } .rise.d3 { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 120px; } }

/* ── Product mock (review screen) ─────────────────────────────────────────── */
.mock { background: var(--surface); color: var(--text); border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(255,255,255,.08); overflow: hidden; font-size: .82rem; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #eef2f4; border-bottom: 1px solid var(--border); }
.mock-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border2); display: block; }
.mock-bar span { margin-left: 10px; font-family: var(--mono); font-size: .72rem; color: var(--muted); }
.mock-body { padding: 14px; }
.mock-title { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.mock-title strong { font-weight: 500; }
.mock table { width: 100%; border-collapse: collapse; }
.mock th { text-align: left; font-weight: 500; font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; padding: 6px 6px; border-bottom: 1px solid var(--border); }
.mock td { padding: 7px 6px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.mock td.code { font-family: var(--mono); font-size: .76rem; color: var(--accent); white-space: nowrap; }
.mock tr.row { opacity: 0; transform: translateY(4px); transition: opacity .35s, transform .35s; }
.mock tr.row.in { opacity: 1; transform: none; }
.badge { display: inline-block; font-family: var(--mono); font-size: .7rem; padding: 2px 7px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.badge-ok { color: var(--ok); border-color: #b7e1c7; background: #effaf3; }
.badge-mid { color: var(--warn); border-color: #f3d9b4; background: #fff8ee; }
.badge-new { color: var(--accent); border-color: var(--accent-border); background: var(--accent-surface); }
.badge-x { color: var(--danger); border-color: #f0c2c2; background: #fff3f3; }
.mock .pending { opacity: 0; transition: opacity .3s; }
.mock .pending.in { opacity: 1; }
.mock-foot { display: flex; justify-content: flex-end; gap: 8px; align-items: center; padding-top: 12px; }
.mock-foot .done { font-family: var(--mono); font-size: .74rem; color: var(--ok); opacity: 0; transition: opacity .3s; }
.mock-foot .done.in { opacity: 1; }
.fake-btn { background: var(--accent); color: #fff; border-radius: var(--radius-sm); padding: 5px 12px; font-size: .76rem; transition: box-shadow .3s, transform .2s; }
.fake-btn.pulse { box-shadow: 0 0 0 4px rgba(0,203,170,.35); transform: scale(.97); }

/* ── Sections ─────────────────────────────────────────────────────────────── */
section { padding: 88px 0; }
section.alt { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 40px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, 1fr); } .g3 { grid-template-columns: repeat(3, 1fr); } .g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 64px 0; } }

.card { background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 22px; box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; transform-style: preserve-3d; }
.card.tilt:hover { border-color: var(--accent-border); box-shadow: 0 10px 30px rgba(2,115,157,.12), 0 0 0 1px var(--accent-border); }
.card h3 { margin-top: 10px; }
.card p { color: #3b4250; margin: 0; font-size: .97rem; }
.icon { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: var(--accent-surface); color: var(--accent); border: 1px solid var(--accent-border); }
.icon svg { width: 22px; height: 22px; }
.soon { display: inline-block; margin-left: 6px; font-size: .7rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--warn); border: 1px solid #f3d9b4; background: #fff8ee; border-radius: 999px; padding: 1px 8px; vertical-align: middle; }

/* problem */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.problem-list li { display: flex; gap: 12px; align-items: flex-start; }
.problem-list li::before { content: ""; flex: 0 0 8px; height: 8px; margin-top: .6em; border-radius: 50%; background: var(--danger); }
.ledger { font-family: var(--mono); font-size: .85rem; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; padding: 16px 18px; box-shadow: var(--shadow-sm); }
.ledger div { display: flex; justify-content: space-between; padding: 4px 0; border-bottom: 1px dashed var(--border); }
.ledger .neg { color: var(--danger); }

/* "Az Inventra NEM…" */
.not-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.not-item { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 8px; background: var(--accent-navy); color: #fff; }
.not-item .x { flex: 0 0 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--danger); color: #fff; font-weight: 500; }
.not-yes { margin-top: 18px; padding: 18px 20px; border-left: 4px solid var(--accent-bright); background: var(--accent-surface); border-radius: 0 8px 8px 0; }
@media (max-width: 800px) { .not-grid { grid-template-columns: 1fr; } }

/* workflow timeline */
.timeline { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.timeline .track { position: absolute; top: 27px; left: 10%; right: 10%; height: 3px; background: var(--border); border-radius: 3px; }
.timeline .fill { position: absolute; top: 0; left: 0; height: 100%; width: var(--p, 0%); background: linear-gradient(90deg, var(--accent), var(--accent-bright)); border-radius: 3px; transition: width .1s linear; }
.step { position: relative; text-align: center; padding: 0 6px; }
.step .dot { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 2px solid var(--border2); font-family: var(--mono); color: var(--muted); transition: border-color .3s, color .3s, box-shadow .3s; position: relative; z-index: 1; }
.step.lit .dot { border-color: var(--accent-bright); color: var(--accent); box-shadow: 0 0 0 6px rgba(0,203,170,.12); }
.step h3 { font-size: 1rem; } .step p { font-size: .9rem; color: var(--muted); }
@media (max-width: 860px) {
  .timeline { grid-template-columns: 1fr; gap: 22px; }
  .timeline .track { top: 0; bottom: 0; left: 27px; right: auto; width: 3px; height: auto; }
  .timeline .fill { width: 100%; height: var(--p, 0%); }
  .step { display: grid; grid-template-columns: 56px 1fr; gap: 16px; text-align: left; }
  .step .dot { margin: 0; }
}

/* before / after */
.ba { position: relative; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--shadow-md); user-select: none; touch-action: pan-y; }
.ba-pane { padding: 18px; font-family: var(--mono); font-size: .82rem; background: var(--surface); min-height: 300px; }
.ba-pane table { width: 100%; border-collapse: collapse; }
.ba-pane td, .ba-pane th { padding: 6px 4px; border-bottom: 1px solid var(--border); text-align: left; }
.ba-pane th { font-family: var(--sans); font-weight: 500; font-size: .72rem; text-transform: uppercase; color: var(--muted); }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x, 50%)) 0 0); background: #fffdfa; }
.ba-label { position: absolute; top: 10px; font-family: var(--sans); font-size: .75rem; font-weight: 500; padding: 3px 10px; border-radius: 999px; z-index: 2; }
.ba-before .ba-label { left: 10px; background: #fff3f3; color: var(--danger); border: 1px solid #f0c2c2; }
.ba-after-label { right: 10px; background: #effaf3; color: var(--ok); border: 1px solid #b7e1c7; }
.typo { background: #ffe3e3; text-decoration: underline wavy var(--danger); }
.dup td { background: #fff1d6; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--x, 50%); width: 0; z-index: 3; }
.ba-handle::before { content: ""; position: absolute; top: 0; bottom: 0; left: -1.5px; width: 3px; background: var(--accent-bright); box-shadow: 0 0 12px rgba(0,203,170,.6); }
.ba-handle input { position: absolute; top: 50%; left: -22px; width: 44px; height: 44px; margin: -22px 0 0; opacity: 0; cursor: ew-resize; }
.ba-knob { position: absolute; top: 50%; left: -20px; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: var(--surface); border: 2px solid var(--accent-bright); display: grid; place-items: center; color: var(--accent); pointer-events: none; font-family: var(--mono); font-size: .8rem; }
.ba-range { width: 100%; margin-top: 14px; accent-color: var(--accent); }

/* video */
.video-frame { max-width: 980px; margin: 0 auto; border-radius: 10px; overflow: hidden; background: var(--accent-navy); box-shadow: 0 30px 80px rgba(2,115,157,.25), 0 0 0 1px rgba(0,203,170,.25), 0 0 60px rgba(0,203,170,.15); }
.video-frame .mock-bar { background: #10283a; border-bottom-color: #1d3b52; }
.video-frame .mock-bar span { color: #8fb3c7; }
.video-stage { position: relative; aspect-ratio: 16 / 9; background: #0b1621 center / cover no-repeat; }
.video-stage video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.play { position: absolute; inset: 0; margin: auto; width: 86px; height: 86px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(2,115,157,.92); box-shadow: 0 0 0 10px rgba(0,203,170,.22), 0 10px 30px rgba(0,0,0,.4); display: grid; place-items: center; transition: transform .2s, box-shadow .2s; }
.play:hover { transform: scale(1.06); box-shadow: 0 0 0 14px rgba(0,203,170,.3), 0 10px 30px rgba(0,0,0,.4); }
.play svg { width: 30px; height: 30px; margin-left: 5px; fill: #fff; }
.video-missing { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #cfe3ec; padding: 24px; }
.chapters { max-width: 980px; margin: 22px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; list-style: none; padding: 0; counter-reset: ch; }
.chapters button { width: 100%; text-align: left; background: var(--surface); border: 1px solid var(--border); border-radius: 6px; padding: 10px 12px; font: .88rem/1.4 var(--sans); color: var(--text); cursor: pointer; display: flex; gap: 10px; transition: border-color .2s, background .2s; }
.chapters button:hover:not([disabled]) { border-color: var(--accent-border); background: var(--accent-surface); }
.chapters button[disabled] { cursor: default; opacity: .85; }
.chapters button.current { border-color: var(--accent-bright); background: var(--accent-surface); box-shadow: 0 0 0 3px rgba(0,203,170,.12); }
.chapters .n { font-family: var(--mono); color: var(--accent); flex: 0 0 auto; }
.chapters .t { font-family: var(--mono); color: var(--muted); margin-left: auto; padding-left: 8px; }
@media (max-width: 900px) { .chapters { grid-template-columns: 1fr; } }

/* audience, partner, about */
.pill-list { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0; }
.pill-list li { border: 1px solid var(--accent-border); background: var(--accent-surface); color: var(--accent-hover); padding: 8px 14px; border-radius: 999px; font-size: .95rem; }
.places { font-family: var(--mono); color: var(--accent-vivid); }
.about { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: start; }
.about .photo { width: 220px; aspect-ratio: 1; border-radius: 12px; background: var(--accent-surface) center / cover; border: 1px solid var(--accent-border); display: grid; place-items: center; color: var(--accent); font-family: var(--mono); font-size: .8rem; text-align: center; }
@media (max-width: 700px) { .about { grid-template-columns: 1fr; } .about .photo { width: 160px; } }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 8px; background: var(--surface); margin-bottom: 10px; transition: border-color .2s; }
.faq details[open] { border-color: var(--accent-border); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-weight: 500; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: var(--mono); font-size: 1.3rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq .a { padding: 0 18px 16px; color: #3b4250; }

/* reviews */
.reviews[hidden] { display: none; }
.review { position: relative; }
.review .stars { color: #e3a008; letter-spacing: 2px; }
.review .who { margin-top: 12px; font-size: .9rem; color: var(--muted); }
.verified { display: inline-flex; gap: 6px; align-items: center; font-size: .75rem; color: var(--ok); border: 1px solid #b7e1c7; background: #effaf3; border-radius: 999px; padding: 2px 8px; }

/* forms */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .form .row2 { grid-template-columns: 1fr; } }
label { font-size: .9rem; font-weight: 500; display: block; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=tel], input[type=number], select, textarea {
  width: 100%; font: 1rem var(--sans); color: var(--text); background: var(--surface); border: 1px solid var(--border2); border-radius: var(--radius); padding: 11px 12px; transition: border-color .2s, box-shadow .2s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent-bright); box-shadow: 0 0 0 3px rgba(0,203,170,.15); }
textarea { min-height: 120px; resize: vertical; }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; font-size: .92rem; }
.check input { margin-top: 4px; accent-color: var(--accent); width: 18px; height: 18px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form .req { color: var(--accent); font-weight: 500; }
.form .opt { color: var(--muted); font-weight: 400; font-size: .85em; }
.form-note { margin: -4px 0 0; font-size: .82rem; color: var(--muted); }
.form textarea::placeholder, .form input::placeholder { color: #8a919c; }
.missing { color: var(--danger); font-style: italic; }
.about-solo > div { max-width: 760px; }   /* text column only; the section stays aligned with the others */
.more-links { margin-top: 28px; font-size: .95rem; color: var(--muted); }
.more-links a { color: var(--accent); }
.form-msg { padding: 12px 14px; border-radius: var(--radius); font-size: .95rem; }
.form-msg.ok { background: #effaf3; color: var(--ok); border: 1px solid #b7e1c7; }
.form-msg.err { background: #fff3f3; color: var(--danger); border: 1px solid #f0c2c2; }
.contact-card { display: grid; gap: 10px; align-content: start; }
.contact-card a { word-break: break-word; }

/* footer */
.site-footer { background: var(--accent-navy); color: #b9c7d3; padding: 56px 0 28px; font-size: .93rem; }
.site-footer a { color: #e7f2f7; text-decoration: none; }
.site-footer a:hover { color: var(--accent-bright); text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-footer h2, .site-footer h3 { color: #fff; font-size: .95rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.slogan { font-family: var(--mono); font-size: .72rem; letter-spacing: .2em; color: var(--accent-bright); margin-top: 14px; }
.legal-line { border-top: 1px solid #1f3346; margin-top: 36px; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
@media (max-width: 760px) { .site-footer .cols { grid-template-columns: 1fr; } }

/* sub pages, legal pages */
.page-hero { background: var(--grad); color: #fff; margin-top: -68px; padding: 130px 0 60px; }
.page-hero h1 { color: #fff; } .page-hero .lead { color: rgba(255,255,255,.86); }
.crumbs { font-size: .85rem; margin-bottom: 14px; color: rgba(255,255,255,.75); }
.crumbs a { color: #fff; }
.prose { max-width: 760px; }
.prose h2 { margin-top: 1.6em; font-size: 1.5rem; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.legal-todo { border: 1px dashed var(--warn); background: #fff8ee; color: #7a3d06; border-radius: 6px; padding: 12px 14px; font-size: .92rem; }
dl.facts { display: grid; grid-template-columns: minmax(0, max-content) minmax(0, 1fr); gap: 8px 18px; }
dl.facts dd { overflow-wrap: anywhere; }
@media (max-width: 520px) { dl.facts { grid-template-columns: 1fr; gap: 2px; } dl.facts dd { margin-bottom: 10px; } }
.legal-todo { overflow-wrap: anywhere; }
dl.facts dt { font-weight: 500; } dl.facts dd { margin: 0; }

/* login gateway (styled like the app's sign-in) */
.login-page { min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; }
.login-top { background: var(--grad); color: #fff; padding: 28px 0 110px; text-align: center; }
.login-top .brand { justify-content: center; font-size: 1.05rem; }
.login-top .brand img { width: 42px; height: 42px; }
.login-card { width: min(440px, calc(100% - 32px)); margin: -80px auto 40px; background: var(--surface); border-radius: 10px; box-shadow: 0 18px 50px rgba(13,27,42,.18); padding: 30px; }
.login-card h1 { font-size: 1.5rem; }
.login-card .help { font-size: .88rem; color: var(--muted); margin-top: 8px; }
.login-card .err { color: var(--danger); font-size: .9rem; min-height: 1.3em; margin-top: 6px; }
.remembered { display: grid; gap: 10px; }
.remembered .slug { font-family: var(--mono); color: var(--accent); }
.login-foot { text-align: center; font-size: .88rem; color: var(--muted); margin-top: auto; padding: 24px 16px; }
.domain-hint { font-family: var(--mono); font-size: .82rem; color: var(--muted); margin-top: 6px; overflow-wrap: anywhere; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.shown { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ── Reduced motion: everything readable, nothing moving ─────────────────── */
/* Onboarding and security (2026-11-25) */
.soon.addon { color: var(--accent-hover); border-color: var(--accent-border); background: var(--accent-surface); }
.checklist, .numbered { margin: 12px 0 0; padding: 0; list-style: none; }
.checklist li, .numbered li { position: relative; padding-left: 34px; margin-bottom: 12px; color: #3b4250; font-size: .97rem; }
.checklist li::before { content: ""; position: absolute; left: 4px; top: .35em; width: 14px; height: 8px;
  border-left: 2px solid var(--accent-bright); border-bottom: 2px solid var(--accent-bright); transform: rotate(-45deg); }
.numbered { counter-reset: n; }
.numbered li { counter-increment: n; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: .05em; width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--mono); font-size: .78rem; color: var(--accent);
  border: 1.5px solid var(--accent-border); background: var(--accent-surface); }
.fineprint { margin-top: 22px; font-size: .9rem; color: var(--muted); max-width: 46rem; }
.step p a { color: var(--accent); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .mock tr.row, .mock .pending, .mock-foot .done { opacity: 1; transform: none; }
  .hero canvas { display: none; }
}
