/* autonudge.dev: one stylesheet for every page (home, privacy, terms, 404,
   signup, setup).
   Light only, on purpose: a clean, plain marketing site in the EspoCRM mould.
   Brand colours come from the gradient N (indigo #3737d6 → cobalt #2454ff →
   electric #219fff → ice #8ddfff). Same system font stack as the embedded
   Nudge form, so the form reads as part of the page. */

:root {
  --ink: #0d1530;
  --text: #3b4458;
  --muted: #687185;
  --line: #e3e7ef;
  --band: #f5f7fb;
  --brand: #2454ff;
  --brand-hover: #1640e6;
  --brand-deep: #2232b5;
  --brand-tint: rgba(36, 84, 255, 0.08);
  --electric: #219fff;
  --wa: #1fa855;
  --mail: #d97706;
  --meet: #6a4be6;
  --footer: #15171c;
  --radius: 14px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font: 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); line-height: 1.2; letter-spacing: -0.015em; }
p, ul, ol { margin: 0; }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: min(100% - 48px, 1120px); margin-inline: auto; }
@media (max-width: 600px) { .wrap { width: calc(100% - 32px); } }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.icon { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }

/* ── Buttons: pills, the way EspoCRM draws them ─────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 24px; border-radius: 999px;
  border: 1.5px solid transparent; background: none; cursor: pointer;
  font: 600 15px/1 var(--font); white-space: nowrap;
  transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn .icon { width: 18px; height: 18px; stroke-width: 2; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-hover); }
.btn-outline { border-color: var(--brand); color: var(--brand); }
.btn-outline:hover { background: var(--brand-tint); }
.btn-white { background: #fff; color: var(--brand-deep); }
.btn-white:hover { background: #eaf0ff; }
.btn-ghost { border-color: rgba(255, 255, 255, 0.75); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); }
.btn-lg { height: 54px; padding: 0 30px; font-size: 16px; }
.btn-sm {
  height: 38px; padding: 0 18px; font-size: 13px;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(13, 21, 48, 0.05); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); font-size: 23px; font-weight: 700; letter-spacing: -0.03em;
}
.brand:hover { text-decoration: none; }
/* The exact PNG Google's consent screen carries (its checker matches the
   homepage logo against it); the file has padding, so it runs larger and the
   margins take the padding back. */
.brand img { width: 44px; height: 44px; margin: -6px -4px -6px -6px; }
.nav { display: flex; align-items: center; gap: 30px; }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  color: var(--ink); font-size: 13.5px; font-weight: 500;
  letter-spacing: 0.07em; text-transform: uppercase;
}
.nav-links a:hover { color: var(--brand); text-decoration: none; }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle {
  display: none; width: 44px; height: 44px; margin-right: -10px;
  align-items: center; justify-content: center;
  border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 10px;
}
.menu-toggle .icon { width: 24px; height: 24px; }
.menu-toggle .close { display: none; }

@media (max-width: 980px) {
  .menu-toggle { display: inline-flex; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 8px 24px 24px; background: #fff;
    border-bottom: 1px solid var(--line); box-shadow: 0 18px 40px rgba(13, 21, 48, 0.1);
    display: none;
  }
  .site-header.menu-open .nav { display: flex; }
  .site-header.menu-open .menu-toggle .open { display: none; }
  .site-header.menu-open .menu-toggle .close { display: block; }
  .nav-links { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-links a { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
  .nav-actions { margin-top: 20px; flex-direction: column; align-items: stretch; }
  .nav-actions .btn { height: 46px; }
}

/* ── Hero ───────────────────────────────────────────────────────────────── */
/* The one blue block on the page, kept deep and calm (Serdar, 2026-10-21:
   the first, brighter gradient was "too blue", but the hero stays blue).
   Everywhere else blue is for buttons, links and small marks. */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(900px 500px at 85% 15%, rgba(141, 223, 255, 0.12), transparent 60%),
    linear-gradient(118deg, #131a54 0%, #1a2a8c 45%, #2140b4 80%, #2647c4 100%);
}
.hero-mark {
  position: absolute; right: -140px; bottom: -190px; width: 720px; height: auto;
  fill: #fff; opacity: 0.06; pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 56px; align-items: center;
  padding: 92px 0 104px;
}
.hero h1 {
  color: #fff; font-size: clamp(38px, 5.2vw, 60px); font-weight: 650;
  line-height: 1.06; letter-spacing: -0.03em;
}
.hero .lead { margin-top: 22px; max-width: 33em; font-size: 19px; line-height: 1.6; color: rgba(255, 255, 255, 0.88); }
.hero .cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 12px; }
.hero .note { margin-top: 16px; font-size: 14px; color: rgba(255, 255, 255, 0.72); }

/* The follow-up, drawn: what one lead's morning looks like. Not a screenshot. */
.flow {
  justify-self: end; width: 100%; max-width: 440px; margin: 0;
  background: #fff; color: var(--text);
  border-radius: 18px; padding: 22px 22px 18px;
  box-shadow: 0 30px 80px rgba(5, 10, 50, 0.32), 0 2px 6px rgba(5, 10, 50, 0.12);
}
.flow-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.flow-kicker { font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.flow-who { margin-top: 2px; font-size: 16px; font-weight: 650; color: var(--ink); }
.flow-head time { font-size: 12.5px; color: var(--muted); white-space: nowrap; }
.flow-steps { position: relative; list-style: none; padding: 0; }
.flow-steps::before {
  content: ""; position: absolute; left: 14px; top: 26px; bottom: 22px;
  width: 2px; background: var(--line);
}
.flow-step { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding-top: 14px; }
.flow-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.flow-dot .icon { width: 15px; height: 15px; stroke-width: 2.2; }
.flow-dot .wa { width: 16px; height: 16px; fill: #fff; stroke: none; }
.dot-call { background: var(--brand); }
.dot-wa { background: var(--wa); }
.dot-in { background: #8a93a6; }
.dot-meet { background: var(--meet); }
.flow-what { display: flex; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink); line-height: 30px; }
.flow-what time { font-size: 12.5px; font-weight: 400; color: var(--muted); }
.flow-detail { font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.bubble { margin-top: 2px; padding: 8px 12px; max-width: 30ch; font-size: 13.5px; line-height: 1.45; border-radius: 4px 12px 12px 12px; }
.bubble-out { background: #e3f6e9; color: #14372a; }
.bubble-in { background: var(--band); color: var(--ink); }
.flow-foot {
  display: flex; align-items: center; gap: 8px; margin-top: 16px; padding-top: 14px;
  border-top: 1px solid var(--line); font-size: 13.5px; font-weight: 600; color: #138a4a;
}
.flow-foot .icon { width: 18px; height: 18px; stroke-width: 2.4; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding: 64px 0 72px; }
  .flow { justify-self: start; }
}

/* ── Sections ───────────────────────────────────────────────────────────── */
.section { padding: 92px 0; }
.band { background: var(--band); }
.section h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 650; color: var(--ink); letter-spacing: -0.02em; }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lede { margin-top: 16px; font-size: 18px; line-height: 1.65; color: var(--text); }
@media (max-width: 720px) { .section { padding: 68px 0; } .lede { font-size: 17px; } }

/* What is Nudge: three pillars, one line each */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }
.pillar { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.pillar h3 { margin-top: 18px; font-size: 20px; }
.pillar p { margin-top: 10px; }
@media (max-width: 900px) { .pillars { grid-template-columns: 1fr; } }

/* How it works */
.how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin-top: 52px; list-style: none; padding: 0; }
.how-num {
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 18px;
}
.how h3 { margin-top: 18px; font-size: 21px; }
.how p { margin-top: 10px; }
@media (max-width: 820px) { .how { grid-template-columns: 1fr; gap: 32px; } }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 52px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 30px; }
.feature-icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand);
}
.feature h3 { margin-top: 18px; font-size: 20px; }
.feature ul { list-style: none; padding: 0; margin-top: 14px; }
.feature li { position: relative; padding-left: 18px; margin-top: 9px; font-size: 15px; line-height: 1.55; }
.feature li::before {
  content: ""; position: absolute; left: 1px; top: 0.62em;
  width: 6px; height: 6px; border-radius: 50%; background: var(--electric);
}
.feature li strong { color: var(--ink); font-weight: 600; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* Ask your AI */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.split .btn { margin-top: 28px; }
.asks { background: var(--band); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.asks-label { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--muted); }
.asks-label .icon { width: 18px; height: 18px; color: var(--brand); }
.ask {
  align-self: flex-end; max-width: 88%;
  padding: 11px 16px; border-radius: 18px 18px 4px 18px;
  background: #fff; color: var(--ink); border: 1px solid var(--line);
  font-size: 15.5px; line-height: 1.45;
}
.ask-note { margin-top: 6px; font-size: 13.5px; color: var(--muted); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* CRM or HubSpot */
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.duo-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.duo-card h3 { font-size: 23px; }
.duo-card p { margin-top: 12px; }
.duo-card ul { list-style: none; padding: 0; margin: 18px 0 0; flex: 1; }
.duo-card li { display: flex; gap: 10px; margin-top: 8px; font-size: 15px; }
.duo-card li .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--brand); stroke-width: 2.4; }
.duo-card .btn { margin-top: 26px; align-self: flex-start; }
@media (max-width: 820px) { .duo { grid-template-columns: 1fr; } }

/* Where it fits */
.fits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 44px 24px; margin-top: 56px; list-style: none; padding: 0; text-align: center; }
.fits .icon { width: 46px; height: 46px; margin: 0 auto; color: var(--brand); stroke-width: 1.5; }
.fits span { display: block; margin-top: 14px; font-size: 15.5px; color: var(--ink); }
@media (max-width: 720px) { .fits { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; } }

/* Your data */
.trust { display: grid; grid-template-columns: 1fr 1fr; gap: 36px 56px; margin-top: 52px; }
.trust-item { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 18px; }
.trust-item h3 { font-size: 19px; }
.trust-item p { margin-top: 8px; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } }

/* Live demo: a quiet box, not a coloured band */
.demo-box {
  text-align: center; background: var(--band); border: 1px solid var(--line);
  border-radius: 24px; padding: 64px 32px;
}
.demo-box p { max-width: 40em; margin: 16px auto 0; font-size: 18px; }
.demo-box .btn { margin-top: 32px; }
@media (max-width: 600px) { .demo-box { padding: 44px 20px; } }

/* FAQ */
.faq { max-width: 820px; margin: 44px auto 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-size: 18px; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { width: 20px; height: 20px; color: var(--brand); transition: transform 0.2s; }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 40px 24px 0; }

/* Contact */
.contact { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; }
.contact .lede { margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin-top: 28px; }
.ticks li { display: flex; gap: 12px; margin-top: 14px; font-size: 16px; color: var(--ink); }
.ticks .icon { width: 20px; height: 20px; margin-top: 2px; color: var(--wa); stroke-width: 2.6; }
.contact-alt { margin-top: 32px; font-size: 15px; color: var(--muted); }
.form-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: 10px 8px; box-shadow: 0 18px 50px rgba(13, 21, 48, 0.08);
  min-height: 560px;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; gap: 40px; } .form-card { padding: 4px 0; } }

/* ── Footer: dark, columns, the way EspoCRM closes a page ───────────────── */
.site-footer { background: var(--footer); color: rgba(255, 255, 255, 0.68); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 40px; padding: 72px 0 48px; }
.site-footer .brand { color: #fff; }
.footer-about { margin-top: 16px; max-width: 24em; }
.site-footer h4 { color: #fff; font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer ul { list-style: none; padding: 0; margin-top: 16px; }
.site-footer li { margin-top: 10px; }
.site-footer a { color: rgba(255, 255, 255, 0.68); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  padding: 24px 0 36px; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 13.5px;
}
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* ── Legal pages (privacy, terms) and the 404 ───────────────────────────── */
.legal { padding: 72px 0 104px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(32px, 4vw, 42px); font-weight: 650; letter-spacing: -0.02em; }
.legal .updated { margin-top: 10px; color: var(--muted); font-size: 14px; }
.legal h2 { margin-top: 44px; font-size: 21px; font-weight: 650; color: var(--ink); }
.legal h3 { margin-top: 28px; font-size: 17px; font-weight: 650; }
.legal p, .legal ul, .legal ol { margin-top: 12px; font-size: 16px; line-height: 1.7; }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin-top: 6px; }
.legal b, .legal strong { color: var(--ink); font-weight: 600; }
.legal code { font-size: 0.92em; background: var(--band); padding: 1px 5px; border-radius: 5px; }

.notfound { padding: 120px 0 140px; text-align: center; }
.notfound h1 { font-size: clamp(32px, 4vw, 44px); }
.notfound p { margin-top: 14px; font-size: 18px; }
.notfound .btn { margin-top: 32px; }

/* ── Setup page (/setup): sign in, pick a door, four steps ──────────────── */
.setup { padding: 64px 0 104px; }
.setup .wrap { max-width: 760px; }
.setup-kicker { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand); }
.setup h1 { margin-top: 10px; font-size: clamp(32px, 4vw, 42px); font-weight: 650; letter-spacing: -0.02em; }
.setup h2 { margin-top: 44px; font-size: 21px; font-weight: 650; }
.setup .lede { margin-top: 14px; }
.setup-actions { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.fine { margin-top: 14px; font-size: 14px; color: var(--muted); }
.whoami { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--brand); cursor: pointer; }
.link-btn:hover { text-decoration: underline; }

.callout { margin-top: 24px; padding: 14px 18px; border: 1px solid; border-radius: 12px; font-size: 15px; line-height: 1.55; }
.callout .btn { margin-top: 12px; }
.callout-error { background: #fff4f2; border-color: #f5c6bd; color: #8a2414; }
.callout-warn { background: #fff8eb; border-color: #f0d495; color: #6b4a06; }
.callout-ok { background: #effaf3; border-color: #bfe8cd; color: #14532d; }

.doors { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.door {
  display: flex; flex-direction: column; gap: 8px; padding: 22px;
  text-align: left; font: inherit; color: var(--text); cursor: pointer;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.door:hover { border-color: #b9c6ff; }
.door[aria-pressed="true"] { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.door h3 { display: flex; align-items: center; gap: 10px; font-size: 18px; }
.door h3 .icon { color: var(--brand); }
.door p { font-size: 15px; }
@media (max-width: 640px) { .doors { grid-template-columns: 1fr; } }

.panel { margin-top: 20px; padding: 24px; background: var(--band); border: 1px solid var(--line); border-radius: var(--radius); }
.panel h3 { font-size: 17px; }
.panel h4 { margin-top: 24px; font-size: 15px; font-weight: 650; color: var(--ink); }
.panel p { margin-top: 8px; font-size: 15px; }
.code { position: relative; margin-top: 10px; }
.code pre {
  margin: 0; padding: 14px 84px 14px 16px; overflow-x: auto; white-space: pre;
  background: #0f1424; color: #e6ebff; border-radius: 10px;
  font: 13px/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.code.wrapped pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.copy {
  position: absolute; top: 8px; right: 8px; height: 30px; padding: 0 12px;
  border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.14); color: #fff;
  font: 600 12.5px/1 var(--font); cursor: pointer;
}
.copy:hover { background: rgba(255, 255, 255, 0.24); }
@media (max-width: 600px) { .panel { padding: 18px 16px; } }

.ssteps { list-style: none; padding: 0; margin-top: 18px; border: 1px solid var(--line); border-radius: var(--radius); }
.sstep { padding: 22px 24px; border-top: 1px solid var(--line); }
.sstep:first-child { border-top: 0; }
.sstep-head { display: flex; align-items: center; gap: 14px; }
.sstep-num {
  width: 34px; height: 34px; border-radius: 50%; flex-shrink: 0;
  display: grid; place-items: center;
  background: var(--brand-tint); color: var(--brand); font-weight: 700; font-size: 15px;
}
.sstep-num .icon { width: 17px; height: 17px; stroke-width: 2.6; }
.sstep-head h3 { flex: 1; min-width: 0; font-size: 18px; }
.sstep-sum { font-size: 14px; color: var(--muted); text-align: right; overflow-wrap: anywhere; }
.sstep-body { margin-top: 16px; padding-left: 48px; }
.sstep.locked .sstep-num { background: var(--band); color: var(--muted); }
.sstep.locked h3 { color: var(--muted); }
.sstep.done .sstep-num { background: #e3f6e9; color: #138a4a; }
@media (max-width: 600px) {
  .sstep { padding: 18px 16px; }
  .sstep-body { padding-left: 0; }
  .sstep-head { flex-wrap: wrap; }
  .sstep-sum { flex-basis: 100%; text-align: left; padding-left: 48px; }
}

.form-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.field {
  display: flex; flex: 1 1 260px; max-width: 420px; overflow: hidden;
  background: #fff; border: 1.5px solid var(--line); border-radius: 12px;
}
.field:focus-within { border-color: var(--brand); }
.field input {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px; border: 0; outline: none;
  background: transparent; color: var(--ink); font: 16px var(--font);
}
.field span {
  display: flex; align-items: center; padding: 0 14px; white-space: nowrap;
  background: var(--band); border-left: 1px solid var(--line); color: var(--muted); font-size: 15px;
}
.hint { margin-top: 10px; font-size: 14px; color: var(--muted); }
.err { margin-top: 10px; font-size: 14.5px; color: #b42318; }

.explain { padding: 18px 20px; background: var(--band); border: 1px solid var(--line); border-radius: 12px; }
.explain p { font-size: 15px; }
.explain ul { margin-top: 6px; padding-left: 20px; }
.explain li { margin-top: 8px; font-size: 15px; }
.explain b { color: var(--ink); font-weight: 600; }
.explain + .setup-actions { margin-top: 20px; }

.progress { list-style: none; padding: 0; }
.progress li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 12px; padding: 6px 0; font-size: 15px; color: var(--muted); }
.pstate { width: 18px; height: 18px; margin-top: 3px; border: 2px solid #cfd5e2; border-radius: 50%; }
.progress .doing { color: var(--ink); font-weight: 600; }
.progress .doing .pstate { border-color: var(--brand); border-right-color: transparent; animation: spin 0.8s linear infinite; }
.progress .done { color: var(--ink); }
.progress .done .pstate {
  border-color: #138a4a;
  background: #138a4a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}
.progress .failed { color: #b42318; font-weight: 600; }
.progress .failed .pstate {
  border-color: #b42318;
  background: #b42318 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='4' stroke-linecap='round'%3E%3Cpath d='M18 6 6 18M6 6l12 12'/%3E%3C/svg%3E") center / 10px no-repeat;
}
.pdetail { display: block; font-size: 14px; font-weight: 400; color: var(--muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Signup page (/signup): the request-access form, on its own */
.signup { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 64px; align-items: start; padding: 72px 0 104px; }
.signup h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 650; letter-spacing: -0.02em; }
.signup .lede { margin-top: 18px; }
.signup .how { grid-template-columns: 1fr; gap: 22px; margin-top: 34px; }
.signup .how h3 { margin-top: 0; font-size: 17px; }
.signup .how p { margin-top: 4px; font-size: 15px; }
.signup .how li { display: grid; grid-template-columns: 46px minmax(0, 1fr); gap: 16px; align-items: start; }
@media (max-width: 900px) { .signup { grid-template-columns: 1fr; gap: 40px; padding-top: 56px; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
  .progress .doing .pstate { animation-duration: 3s; }
}
