/* Website preview stylesheet. Tokens from the design export (HANDOFF.md, "Midnight and steel").
   Phones first; no inline styles anywhere (Content-Security-Policy style-src 'self'). */

/* Fonts: self-hosted, SIL Open Font License (see ../fonts/LICENSE-*.txt). */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-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+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: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/manrope-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+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/manrope-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/manrope-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-800-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/manrope-latin-ext-800-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, 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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../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+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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("../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+0304, U+0308, U+0329, 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; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../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+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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("../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+0304, U+0308, U+0329, 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: #f4f6f9;
  --surface: #ffffff;
  --well: #edf1f6;
  --line: #dbe2ea;
  --line-strong: #c7d1dd;
  --text: #0d1726;
  --text-2: #4d5b6c;
  --muted: #8794a3;
  --accent: #2c5282;
  --accent-hover: #234470;
  --accent-tint: rgba(44, 82, 130, 0.1);
  --accent-on-dark: #7ea6d8;
  --accent-on-dark-hover: #9bbbe3;
  --dark: #0c1a2b;
  --dark-2: #16253a;
  --dark-line: #283a52;
  --text-on-dark: #e6edf5;
  --text-on-dark-2: #b4c2d3;
  --success: #2f855a;
  --warning: #b7791f;
  --danger: #c53030;
  --info: #2b6cb0;
  --radius: 8px;
  --radius-overlay: 12px;
  --radius-badge: 6px;
  --font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --section-gap: clamp(64px, 9vw, 112px);
}

/* Touch targets: every link, button and summary outside running text carries one of these. */
.tap,
.btn {
  min-height: 44px;
  min-width: 44px;
  display: inline-flex;
  align-items: center;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

a { color: var(--accent); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent-on-dark); outline-offset: 2px; border-radius: 4px; }
img, svg { display: block; }
h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

/* Icons */
.icon { width: 20px; height: 20px; flex: none; }
.icon-sm { width: 18px; height: 18px; }
.icon-md { width: 26px; height: 26px; }
.icon-lg { width: 28px; height: 28px; }
.icon-accent { color: var(--accent); }
.icon-faint { color: #a1adbb; }
.icon-bold { stroke-width: 2; }

/* Layout */
.page { min-height: 100vh; display: flex; flex-direction: column; }
.page-main { flex: 1; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px) { .container { padding-left: 20px; padding-right: 20px; } }
.section { padding-top: var(--section-gap); }
.section-last { padding-bottom: var(--section-gap); }
.section-head { display: flex; flex-direction: column; gap: 12px; max-width: 640px; margin-bottom: 40px; }
.section-head-tight { margin-bottom: 0; }
.eyebrow { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -0.01em; font-weight: 700; }
.muted-text { color: var(--text-2); font-size: 15px; line-height: 1.55; }
.fine { color: var(--text-2); font-size: 14px; line-height: 1.55; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.badge { display: inline-flex; align-items: center; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: var(--radius-badge); background: var(--well); color: var(--text-2); }
.placeholder-note { font-size: 13px; color: var(--warning); font-weight: 600; }
.preview-note { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-2); background: var(--well); border-radius: var(--radius-badge); padding: 8px 12px; }

/* Buttons */
.btn {
  justify-content: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { height: 48px; padding: 0 22px; }
.btn-block { display: flex; width: 100%; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-outline { background: var(--surface); border-color: var(--line); color: var(--text); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }
.btn-light { background: var(--accent-on-dark); color: var(--dark); font-weight: 700; }
.btn-light:hover { background: var(--accent-on-dark-hover); color: var(--dark); }
.btn-ghost-dark { border-color: rgba(230, 237, 245, 0.25); color: var(--text-on-dark); }
.btn-ghost-dark:hover { border-color: var(--accent-on-dark); color: var(--text-on-dark); }
.btn-text { background: none; color: var(--accent); padding: 0 4px; }
.btn-disabled { background: var(--well); color: var(--muted); cursor: default; }

/* Logo */
.logo { gap: 10px; text-decoration: none; color: var(--text); display: inline-flex; align-items: center; }
.logo:hover { color: var(--text); }
.mark { width: 25px; height: 28px; }
.mark-xs { width: 16px; height: 18px; }
.mark-lg { width: 36px; height: 41px; }
.wordmark { font-size: 19px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--text); }
.wordmark-a { font-weight: 800; }
.wordmark-b { font-weight: 500; }
.logo-small .mark { width: 21px; height: 24px; }
.logo-small .wordmark { font-size: 17px; }
.logo-large .wordmark { font-size: 28px; }
.logo-on-dark .wordmark { color: var(--text-on-dark); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(244, 246, 249, 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-row { height: 64px; display: flex; align-items: center; gap: 20px; position: relative; }
.header-spacer { flex: 1; }
.header-nav, .header-actions { display: none; }
.nav-link { color: var(--text-2); text-decoration: none; font-size: 15px; }
.nav-link:hover { color: var(--text); }
.nav-strong { color: var(--text); font-weight: 600; }
.header-company { color: var(--text-2); font-size: 14px; }
.menu { position: static; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu-button { justify-content: center; width: 44px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--text); cursor: pointer; }
.menu-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: 64px;
  display: flex;
  flex-direction: column;
  padding: 8px 16px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 24px rgba(13, 23, 38, 0.08);
}
.menu-link { border-bottom: 1px solid var(--well); color: var(--text); text-decoration: none; font-size: 16px; padding: 4px 0; }
.menu-strong { font-weight: 600; border-bottom: 0; }
.menu-company { padding: 12px 0; color: var(--text-2); font-size: 14px; }
.menu-panel .btn { margin-top: 8px; height: 48px; }
@media (min-width: 960px) {
  .header-row { gap: 28px; }
  .header-nav { display: flex; gap: 24px; }
  .header-actions { display: flex; align-items: center; gap: 20px; }
  .menu { display: none; }
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); }
.footer-inner { padding-top: 40px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 24px; }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer-link { color: var(--text-2); text-decoration: none; font-size: 14px; }
.footer-link:hover { color: var(--text); }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 13px; color: var(--text-2); border-top: 1px solid var(--well); padding-top: 20px; }
.footer-note { font-size: 12px; color: var(--text-2); max-width: 640px; }

/* Hero */
.hero { position: relative; overflow: hidden; background: var(--dark); color: var(--text-on-dark); }
.hero-rings { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.22; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; padding-top: clamp(40px, 8vw, 96px); padding-bottom: clamp(48px, 8vw, 96px); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; } }
.hero-copy { display: flex; flex-direction: column; gap: 24px; max-width: 560px; }
.hero-eyebrow { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--accent-on-dark); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-on-dark); }
.hero-title { font-size: clamp(34px, 5.2vw, 58px); line-height: 1.06; font-weight: 700; letter-spacing: -0.02em; text-wrap: balance; }
.hero-lead { font-size: clamp(17px, 1.6vw, 19px); line-height: 1.55; color: var(--text-on-dark-2); text-wrap: pretty; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-phone-wrap { display: flex; justify-content: center; }

/* Phone mock-up */
.phone { width: 330px; max-width: 100%; border-radius: 40px; padding: 10px; background: var(--dark-2); border: 1px solid var(--dark-line); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45); }
.phone-screen { border-radius: 31px; overflow: hidden; background: var(--surface); color: var(--text); }
.phone-top { display: flex; align-items: center; gap: 10px; padding: 16px 16px 12px; border-bottom: 1px solid var(--well); }
.phone-avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; }
.phone-id { display: flex; flex-direction: column; }
.phone-name { font-weight: 700; font-size: 14px; }
.phone-sub { font-size: 11px; color: var(--text-2); }
.phone-chat { background: var(--bg); padding: 14px 12px 16px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; line-height: 1.45; }
.bubble { max-width: 92%; padding: 9px 12px; }
.bubble-me { align-self: flex-end; max-width: 80%; background: var(--accent); color: #fff; border-radius: 16px 16px 4px 16px; }
.bubble-bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; display: flex; flex-direction: column; gap: 10px; padding: 10px 12px; }
.offer-rows { display: flex; flex-direction: column; border-top: 1px solid var(--well); }
.offer-row { display: grid; grid-template-columns: 18px 1fr auto; gap: 2px 8px; padding: 7px 0; border-bottom: 1px solid var(--well); align-items: baseline; }
.offer-n { font-size: 11px; color: var(--text-2); }
.offer-code { font-size: 12px; font-weight: 500; }
.offer-price { font-size: 11.5px; color: var(--text); text-align: right; }
.offer-price-muted { color: var(--text-2); }
.offer-where { grid-column: 2 / 4; font-size: 11.5px; color: var(--text-2); }
.phone-input { margin-top: 4px; padding: 8px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--text-2); font-size: 12px; }

/* How it works */
.steps-list { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 640px) { .steps-list { grid-template-columns: 1fr 1fr; column-gap: 24px; } }
@media (min-width: 1024px) { .steps-list { grid-template-columns: repeat(4, 1fr); } }
.steps-item { display: flex; flex-direction: column; gap: 16px; padding: 28px 24px 28px 0; border-bottom: 1px solid var(--line); }
.steps-top { display: flex; justify-content: space-between; align-items: center; }
.steps-num { font-size: 13px; color: var(--text-2); }
.steps-text { font-size: 17px; font-weight: 600; line-height: 1.35; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 16px; }
.feature { padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.feature-title { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 18px; font-weight: 700; }

/* Trust */
.trust { display: grid; grid-template-columns: 1fr; gap: 40px; padding: clamp(24px, 4vw, 48px); align-items: start; }
@media (min-width: 900px) { .trust { grid-template-columns: 1fr 1.4fr; gap: 48px; } }
.trust-left { display: flex; flex-direction: column; gap: 28px; }
.trust-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); column-gap: 32px; }
.trust-item { display: flex; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--well); font-size: 15px; line-height: 1.5; }
.trust-item .icon { margin-top: 2px; }
.sheet { position: relative; width: 200px; height: 250px; margin: 8px 0 0 4px; }
.sheet-paper { position: absolute; inset: 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 4px; padding: 20px 18px; display: flex; flex-direction: column; gap: 10px; }
.sheet-id { font-size: 11px; color: var(--accent); }
.sheet-line { height: 6px; background: var(--well); border-radius: 3px; }
.sheet-w50 { width: 50%; } .sheet-w64 { width: 64%; } .sheet-w72 { width: 72%; } .sheet-w80 { width: 80%; } .sheet-w84 { width: 84%; } .sheet-w90 { width: 90%; }
.sheet-rule { height: 1px; background: var(--line); margin: 6px 0; }
.stamp { position: absolute; right: -26px; bottom: 18px; width: 96px; height: 96px; border-radius: 50%; border: 2px solid var(--accent); display: grid; place-items: center; transform: rotate(-14deg); background: rgba(255, 255, 255, 0.85); }
.stamp-inner { width: 78px; height: 78px; border-radius: 50%; border: 1px dashed var(--accent); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: var(--accent); text-align: center; font-size: 8px; line-height: 10px; }
.stamp-big { font-size: 9px; line-height: 11px; letter-spacing: 0.1em; }

/* Pricing */
.pricing { display: flex; flex-direction: column; gap: 20px; }
.pilot-note { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px 16px; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent-hover); font-weight: 600; font-size: 15px; }
.tiers { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px 16px; align-items: stretch; }
.tier { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; display: flex; flex-direction: column; gap: 20px; }
.tier-featured { border: 2px solid var(--accent); padding: 27px 23px; box-shadow: 0 8px 28px rgba(13, 23, 38, 0.07); }
.tier-flag { position: absolute; top: -13px; left: 22px; padding: 4px 10px; border-radius: var(--radius-badge); background: var(--accent); color: #fff; font-size: 12px; font-weight: 600; letter-spacing: 0.04em; }
.tier-head { display: flex; flex-direction: column; gap: 6px; }
.tier-name { font-size: 20px; font-weight: 700; }
.tier-lead { font-size: 14px; color: var(--text-2); }
.tier-price { display: flex; align-items: baseline; gap: 6px; }
.tier-amount { font-size: 28px; font-weight: 500; }
.tier-per { color: var(--text-2); font-size: 14px; }
.tier-rows { display: flex; flex-direction: column; border-top: 1px solid var(--well); }
.tier-row { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--well); font-size: 14px; }
.tier-row .icon { margin-top: 1px; }
.tier-row-no { color: var(--text-2); }
.tier-num { flex: none; min-width: 18px; font-weight: 500; color: var(--accent); }
.tier-cta { margin-top: auto; }

/* FAQ */
.faq-wrap { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.faq-intro { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.faq-intro .muted-text { margin-top: 8px; }
.faq { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; justify-content: space-between; gap: 16px; width: 100%; padding: 16px 0; font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; }
.faq-q::-webkit-details-marker { display: none; }
.faq-item[open] .faq-sign { transform: rotate(45deg); }
.faq-a { margin: 0 0 22px; max-width: 680px; color: var(--text-2); font-size: 15px; line-height: 1.6; }

/* Under-construction page */
.construction-body { background: var(--dark); color: var(--text-on-dark); }
.construction { position: relative; min-height: 100vh; display: grid; place-items: center; overflow: hidden; padding: 24px 16px; }
.construction-card { position: relative; max-width: 560px; display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center; }
.construction-title { font-size: clamp(26px, 4vw, 40px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.construction-lead { font-size: 17px; line-height: 1.55; color: var(--text-on-dark-2); }

/* Flows: registration and login */
.narrow { max-width: 760px; }
.flow-page { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 20px; }
.flow-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; }
.flow-head-stack { flex-direction: column; align-items: flex-start; }
.flow-title { font-size: clamp(26px, 3.6vw, 34px); line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; }
.flow-count { font-size: 14px; color: var(--text-2); font-weight: 600; }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.stepper-item { display: flex; flex-direction: column; gap: 8px; font-size: 12px; color: var(--text-2); min-width: 0; }
.stepper-bar { height: 4px; border-radius: 2px; background: var(--line); }
.stepper-done .stepper-bar { background: var(--accent); }
.stepper-item[aria-current="step"] { color: var(--text); font-weight: 700; }
.stepper-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 479px) { .stepper-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }
.form-card { padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.form-head { display: flex; flex-direction: column; gap: 6px; }
.form-title { font-size: 20px; font-weight: 700; }
.form-lead { color: var(--text-2); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field-label { font-size: 14px; font-weight: 600; color: var(--text); }
.field-help { font-size: 13px; color: var(--text-2); line-height: 1.5; }
.optional { font-weight: 400; color: var(--text-2); }
.input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 16px;
}
.input::placeholder { color: var(--muted); }
.input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--text-2) 50%), linear-gradient(135deg, var(--text-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.fieldset { border: 0; margin: 0; padding: 0; }
.fieldset legend { padding: 0; margin-bottom: 8px; }
.strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.strength span { height: 4px; border-radius: 2px; background: var(--well); }
.segmented { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: var(--radius); background: var(--well); }
.segment { position: relative; display: flex; }
.segment-input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.segment-text { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 44px; border-radius: 6px; font-weight: 600; font-size: 15px; color: var(--text-2); }
.segment-input:checked + .segment-text { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(13, 23, 38, 0.12); }
.segment-input:focus-visible + .segment-text { outline: 3px solid var(--accent-on-dark); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--surface); font-size: 14px; cursor: pointer; }
.chip-input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip-box { width: 18px; height: 18px; border-radius: 4px; border: 1px solid var(--line-strong); display: grid; place-items: center; color: transparent; background: var(--surface); flex: none; }
.chip:has(.chip-input:checked) { border-color: var(--accent); background: var(--accent-tint); }
.chip:has(.chip-input:checked) .chip-box { background: var(--accent); border-color: var(--accent); color: #fff; }
.chip:has(.chip-input:focus-visible) { outline: 3px solid var(--accent-on-dark); }
.icon-xs { width: 14px; height: 14px; }
.choice { display: flex; align-items: flex-start; gap: 12px; min-height: 44px; padding: 10px 0; font-size: 15px; cursor: pointer; }
.choice input { width: 20px; height: 20px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.choice-detail { color: var(--text-2); font-size: 13px; }
.form-card:has(.segment-input[value="buys"]:checked) .sells-only { display: none; }
.sells-only { display: flex; flex-direction: column; gap: 20px; padding: 16px; border-radius: var(--radius); background: var(--bg); }
.alerts-email { display: none; margin-top: 4px; }
.alerts:has(.alerts-other:checked) .alerts-email { display: block; }
.zone-block { display: flex; flex-direction: column; gap: 8px; }
.file-row { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: var(--radius); }
.file-icon { width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-tint); display: grid; place-items: center; flex: none; }
.file-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.file-name { display: flex; flex-wrap: wrap; gap: 4px 10px; font-weight: 600; font-size: 14px; }
.file-size { color: var(--text-2); font-weight: 400; font-size: 13px; }
.file-ok { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--success); font-weight: 600; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 28px 16px; border: 1.5px dashed var(--line-strong); border-radius: var(--radius); background: var(--bg); text-align: center; font-size: 15px; }
.link-like { color: var(--accent); font-weight: 600; }
.info-box { display: flex; gap: 10px; align-items: center; padding: 12px 14px; border-radius: var(--radius); background: var(--accent-tint); color: var(--accent-hover); font-size: 14px; font-weight: 600; }
.summary { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.summary-head { display: flex; justify-content: space-between; align-items: center; padding: 0 16px; background: var(--bg); border-bottom: 1px solid var(--line); }
.summary-title { font-weight: 700; font-size: 15px; }
.summary-edit { font-weight: 600; font-size: 14px; text-decoration: none; }
.summary-rows { margin: 0; padding: 4px 16px; }
.summary-row { display: grid; grid-template-columns: minmax(110px, 40%) 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--well); font-size: 14px; }
.summary-row:last-child { border-bottom: 0; }
.summary-row dt { color: var(--text-2); }
.summary-row dd { margin: 0; overflow-wrap: anywhere; }
.agrees { display: flex; flex-direction: column; }
.flow-nav { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.flow-nav-spacer { flex: 1; }
.flow-foot { display: flex; justify-content: center; }
.btn-text { font-size: 14px; font-weight: 600; text-decoration: none; }
.btn:disabled { opacity: 0.55; cursor: default; }
.center-card { max-width: 520px; width: 100%; margin: 0 auto; padding: clamp(24px, 5vw, 40px); display: flex; flex-direction: column; gap: 16px; text-align: center; align-items: center; }
.center-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-tint); display: grid; place-items: center; }
.center-actions { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 8px; }
.tfa-step { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding-bottom: 20px; border-bottom: 1px solid var(--well); }
.tfa-num { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-size: 13px; font-weight: 500; }
.tfa-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.tfa-qr-row { flex-direction: row; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
.tfa-text { display: flex; flex-direction: column; gap: 8px; flex: 1 1 200px; }
.tfa-title { font-weight: 700; font-size: 15px; }
.tfa-key { font-size: 15px; letter-spacing: 0.06em; padding: 8px 10px; background: var(--well); border-radius: var(--radius-badge); align-self: flex-start; }
.qr { width: 136px; height: 136px; border: 1px solid var(--line); border-radius: var(--radius-badge); flex: none; }
.code-input { max-width: 200px; letter-spacing: 0.3em; font-size: 20px; }
.codes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 16px; padding: 14px 16px; background: var(--well); border-radius: var(--radius); font-size: 14px; }
@media (min-width: 560px) { .codes { grid-template-columns: repeat(4, 1fr); } }
.codes-actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Login */
.auth-page { padding-top: clamp(28px, 6vw, 72px); padding-bottom: clamp(48px, 8vw, 96px); display: flex; justify-content: center; }
.auth-card { width: 100%; max-width: 440px; padding: clamp(20px, 5vw, 36px); display: flex; flex-direction: column; gap: 18px; }
.field-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.auth-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.auth-foot { text-align: center; }
.code-input-wide { max-width: none; text-align: center; font-size: 24px; letter-spacing: 0.5em; }
.success-box { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-radius: var(--radius); background: rgba(47, 133, 90, 0.1); color: var(--success); font-weight: 600; font-size: 15px; }

/* Account */
.account-page { max-width: 960px; padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 20px; }
.account-head { display: flex; flex-direction: column; gap: 6px; }
.account-who { color: var(--text-2); font-size: 15px; }
.status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); border: 1px solid; }
.status-text { display: flex; flex-direction: column; gap: 4px; font-size: 14px; line-height: 1.5; color: var(--text-2); min-width: 0; }
.status-title { font-weight: 700; font-size: 16px; color: var(--text); }
.status-info { background: rgba(43, 108, 176, 0.08); border-color: rgba(43, 108, 176, 0.3); color: var(--info); }
.status-warning { background: rgba(183, 121, 31, 0.08); border-color: rgba(183, 121, 31, 0.35); color: var(--warning); }
.status-success { background: rgba(47, 133, 90, 0.08); border-color: rgba(47, 133, 90, 0.3); color: var(--success); }
.status-danger { background: rgba(197, 48, 48, 0.06); border-color: rgba(197, 48, 48, 0.3); color: var(--danger); }
.pay-rows { margin: 8px 0 0; display: flex; flex-direction: column; gap: 4px; }
.pay-row { display: grid; grid-template-columns: minmax(120px, 40%) 1fr; gap: 12px; color: var(--text); }
.pay-row dt { color: var(--text-2); }
.pay-row dd { margin: 0; overflow-wrap: anywhere; }
.account-nav { display: flex; flex-wrap: wrap; gap: 4px 20px; border-bottom: 1px solid var(--line); }
.account-link { color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 14px; }
.account-link:hover { color: var(--accent); }
.account-section { padding: clamp(20px, 4vw, 32px); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: 80px; }
.signal-grid { display: flex; flex-wrap: wrap; gap: 20px 28px; align-items: flex-start; }
.signal-qr { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.signal-steps { flex: 1 1 260px; display: flex; flex-direction: column; gap: 12px; }
.signal-step { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; }
.signal-step .tfa-num { flex: none; }
.signal-hint { font-size: 14px; color: var(--text-2); padding-top: 4px; }
.rows { display: flex; flex-direction: column; border-top: 1px solid var(--well); }
.row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 16px; padding: 8px 0; border-bottom: 1px solid var(--well); font-size: 14px; min-height: 56px; }
.section-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.plan-box { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: var(--radius); background: var(--bg); }
.plan-name { font-weight: 700; font-size: 18px; }
.meter { width: 100%; height: 8px; margin-top: 6px; }
.table-wrap { position: relative; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 480px; }
.table th { text-align: left; font-size: 12px; font-weight: 600; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.04em; padding: 8px 10px 8px 0; border-bottom: 1px solid var(--line); }
.table td { padding: 6px 10px 6px 0; border-bottom: 1px solid var(--well); }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--well); color: var(--text-2); }
.pill-paid { background: rgba(47, 133, 90, 0.1); color: var(--success); }
.pill-due { background: rgba(183, 121, 31, 0.12); color: #8a5a12; }
.pill-overdue { background: rgba(197, 48, 48, 0.1); color: var(--danger); }
.empty { padding: 18px; border-radius: var(--radius); background: var(--bg); color: var(--text-2); font-size: 14px; text-align: center; }
.person { justify-content: flex-start; }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--accent-tint); color: var(--accent); display: grid; place-items: center; font-weight: 700; font-size: 13px; flex: none; }
.person-id { display: flex; flex-direction: column; gap: 2px; flex: 1 1 160px; min-width: 0; }
.person-name { font-weight: 600; font-size: 15px; }
.you { font-size: 13px; color: var(--text-2); font-weight: 600; }
.invite { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.invite-field { flex: 1 1 240px; }
.invite .btn { height: 48px; }
.danger { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; padding: 16px; border: 1px solid rgba(197, 48, 48, 0.3); border-radius: var(--radius); }
.btn-danger { background: var(--surface); border-color: rgba(197, 48, 48, 0.45); color: var(--danger); }
.btn-danger:hover { background: rgba(197, 48, 48, 0.06); color: var(--danger); }

/* Legal pages */
.legal-page { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 20px; }
.legal-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.legal-tabs { display: inline-flex; gap: 4px; padding: 4px; border-radius: var(--radius); background: var(--well); align-self: flex-start; }
.legal-tab { padding: 0 16px; border-radius: 6px; color: var(--text-2); text-decoration: none; font-weight: 600; font-size: 15px; justify-content: center; }
.legal-tab-on { background: var(--surface); color: var(--text); box-shadow: 0 1px 3px rgba(13, 23, 38, 0.12); }
.legal-grid { display: grid; grid-template-columns: 1fr; gap: 24px; align-items: start; }
.legal-toc { display: none; }
@media (min-width: 860px) {
  .legal-grid { grid-template-columns: 240px 1fr; }
  .legal-toc { display: flex; flex-direction: column; position: sticky; top: 88px; }
}
.legal-toc-link { color: var(--text-2); text-decoration: none; font-size: 14px; }
.legal-toc-link:hover { color: var(--accent); }
.legal-body { padding: clamp(20px, 4vw, 36px); display: flex; flex-direction: column; gap: 28px; }
.legal-section { display: flex; flex-direction: column; gap: 10px; scroll-margin-top: 88px; font-size: 15px; line-height: 1.65; }
.legal-h2 { font-size: 18px; font-weight: 700; }

/* Screens index */
.screens-page { padding-top: clamp(28px, 5vw, 56px); padding-bottom: clamp(48px, 7vw, 88px); display: flex; flex-direction: column; gap: 24px; }
.screens-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.screens-card { padding: 20px; display: flex; flex-direction: column; gap: 8px; }
.screens-list { display: flex; flex-direction: column; }
.screens-link { text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--well); width: 100%; }
