/* Enapoint — design system.
   The accent ramp is sampled from the ENA logo itself: #f05418 and #e43024 are
   the flame mark's own gradient stops, #781810 its wordmark maroon, and the day
   accent is the darkest point on that ramp that still clears 4.5:1 on paper.
   No runtime, no template engine: every page is self-contained. */

:root {
  --paper: #fffdfb;
  --ink: #2b100a;
  --body: #6b5450;
  --muted: #8a716c;
  --faint: #a08d88;
  --nav: #5a3a34;
  --card: #ffffff;
  --tint: #fff8f2;
  --line: rgba(42, 18, 16, 0.09);
  --line2: rgba(42, 18, 16, 0.14);
  --hairline: rgba(42, 18, 16, 0.07);
  --headerbg: rgba(255, 253, 251, 0.88);
  --shadow: 0 26px 60px -34px rgba(42, 18, 16, 0.3);
  --accent: #bc3419;
  --accent-hot: #e43024;
  --accent-warm: #f05418;
  --grad: linear-gradient(135deg, #f05418, #e43024);
  --ok: #1f8a4c;
  --warn: #b26a00;
  --bad: #c0331f;
  --radius: 18px;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: Archivo, system-ui, sans-serif;
  --display: Newsreader, Georgia, serif;
}

[data-theme="night"] {
  --paper: #120b09;
  --ink: #fff4ec;
  --body: #c9b8b0;
  --muted: #9a857c;
  --faint: #8c7871;
  --nav: #c9b8b0;
  --card: rgba(246, 239, 234, 0.055);
  --tint: rgba(240, 84, 24, 0.08);
  --line: rgba(246, 239, 234, 0.1);
  --line2: rgba(246, 239, 234, 0.18);
  --hairline: rgba(246, 239, 234, 0.08);
  --headerbg: rgba(18, 11, 9, 0.86);
  --shadow: 0 26px 60px -34px rgba(0, 0, 0, 0.7);
  --accent: #f97a44;
  --ok: #4fd18b;
  --warn: #e9a63a;
  --bad: #ff6a53;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  font-family: var(--sans);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hot); }
img, svg, video { display: block; max-width: 100%; }
button { font: inherit; }

@keyframes enaRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes enaPulse { 0% { opacity: .3; transform: scale(.85); } 70% { opacity: 0; transform: scale(1.8); } 100% { opacity: 0; transform: scale(1.8); } }
@keyframes enaSpin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.rise { animation: enaRise .5s ease both; }

/* ------------------------------------------------------------------ structure */

.shell { min-height: 100vh; display: flex; flex-direction: column; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 26px); width: 100%; }
main { flex: 1; }
.section { padding: clamp(44px, 6vw, 76px) 0; }
.section + .section { border-top: 1px solid var(--hairline); }

/* --------------------------------------------------------------------- header */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--headerbg);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-top {
  max-width: 1180px; margin: 0 auto;
  padding: 11px clamp(14px, 3vw, 26px) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 10px; flex: none; }
/* The mark is taller than it is wide, so height drives the box and the width
   follows from the file's own aspect ratio. */
.brand img { height: 34px; width: auto; }
.brand span { font-size: 15.5px; font-weight: 800; letter-spacing: .1em; color: var(--ink); }
.header-actions { display: flex; gap: 8px; align-items: center; flex: none; }

.pill {
  padding: 9px 14px; border-radius: 99px; border: 1px solid var(--line2);
  font-size: 12.5px; font-weight: 700; color: var(--nav);
  cursor: pointer; white-space: nowrap; background: none;
  transition: border-color .18s, color .18s;
}
.pill:hover { border-color: rgba(228, 48, 36, .5); color: var(--accent); }
.icon-btn {
  width: 38px; height: 38px; border-radius: 99px; border: 1px solid var(--line2);
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; color: var(--nav); cursor: pointer; flex: none; background: none;
}
.icon-btn:hover { border-color: rgba(228, 48, 36, .5); color: var(--accent); }
.cta {
  padding: 10px 16px; border-radius: 99px; background: var(--grad); color: #fff;
  font-size: 12.5px; font-weight: 800; cursor: pointer; white-space: nowrap;
  box-shadow: 0 6px 18px rgba(232, 66, 46, .28); border: 0; display: inline-block;
}
.cta:hover { color: #fff; filter: brightness(1.05); }

.site-nav {
  max-width: 1180px; margin: 0 auto;
  padding: 6px clamp(14px, 3vw, 26px) 9px;
  display: flex; gap: 4px; overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  padding: 7px 11px; border-radius: 99px; font-size: 12.5px; font-weight: 700;
  color: var(--muted); white-space: nowrap;
}
.site-nav a:hover { color: var(--accent); background: var(--tint); }
.site-nav a[aria-current="page"] { color: var(--ink); background: var(--tint); box-shadow: inset 0 0 0 1px var(--line2); }

/* ------------------------------------------------------------------ typography */

.eyebrow {
  font-family: var(--mono); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--accent);
  margin: 0 0 14px;
}
h1 { font-family: var(--display); font-size: clamp(40px, 6.2vw, 68px); line-height: .98; letter-spacing: -.035em; font-weight: 700; margin: 0 0 22px; max-width: 18ch; text-wrap: balance; }
h2 { font-family: var(--display); font-size: clamp(30px, 4vw, 44px); line-height: 1.04; letter-spacing: -.025em; font-weight: 700; margin: 0 0 18px; text-wrap: balance; }
h3 { font-size: 18px; line-height: 1.3; font-weight: 800; margin: 0 0 8px; }
h4 { font-size: 14px; font-weight: 800; margin: 0 0 6px; }
.lede { font-size: clamp(15.5px, 1.5vw, 17.5px); color: var(--body); max-width: 62ch; margin: 0 0 22px; }
p { color: var(--body); margin: 0 0 14px; }
.small { font-size: 13px; color: var(--muted); }
.tiny { font-size: 11px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }
.mono { font-family: var(--mono); }

/* ----------------------------------------------------------------- components */

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 13px; border-radius: 99px;
  background: rgba(247, 148, 30, .12); border: 1px solid rgba(247, 148, 30, .3);
  font-size: 11px; font-family: var(--mono); letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); font-weight: 500;
}
.dot { width: 7px; height: 7px; border-radius: 99px; background: var(--accent-hot); position: relative; flex: none; }
.dot::after { content: ""; position: absolute; inset: -4px; border-radius: 99px; background: var(--accent-hot); animation: enaPulse 2.4s infinite; }

.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 22px;
}
.product-card { display: flex; flex-direction: column; min-height: 100%; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.product-card:hover { transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow); }
.product-card .product-summary { flex: 1; }
.product-price { font-family: var(--display); font-size: 22px; color: var(--ink); }
.product-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 17px; margin-top: 4px; border-top: 1px solid var(--hairline); }
.card.raised { box-shadow: var(--shadow); }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(min(190px, 100%), 1fr)); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: clamp(28px, 4vw, 52px); align-items: center; }

.stat { border-left: 2px solid var(--accent-warm); padding-left: 14px; }
.stat b { display: block; font-size: clamp(22px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; line-height: 1.1; }
.stat span { font-size: 12.5px; color: var(--muted); }

.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--hairline); font-size: 13.5px; }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt, .spec-row .k { color: var(--muted); }
.spec-row dd, .spec-row .v { margin: 0; font-weight: 700; text-align: right; overflow-wrap: anywhere; }

.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px; border-radius: 99px; border: 1px solid var(--line2);
  font-size: 12px; font-weight: 700; color: var(--nav); background: none; cursor: pointer;
}
.chip[aria-pressed="true"], .chip.on { border-color: transparent; background: var(--grad); color: #fff; }

.tag {
  display: inline-block; padding: 3px 9px; border-radius: 99px;
  font-size: 10.5px; font-family: var(--mono); letter-spacing: .1em; text-transform: uppercase;
  border: 1px solid var(--line2); color: var(--muted);
}
.tag.ok { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 40%, transparent); }
.tag.warn { color: var(--warn); border-color: color-mix(in srgb, var(--warn) 40%, transparent); }
.tag.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }

.rule { height: 1px; background: var(--hairline); border: 0; margin: 28px 0; }

.note {
  font-size: 11px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--faint); text-align: center; padding: 14px 0 0;
}

/* ------------------------------------------------------------------- visuals */

.visual {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: var(--tint); box-shadow: var(--shadow);
}
.visual img { width: 100%; height: auto; }

.meter-panel {
  border-radius: var(--radius); border: 1px solid var(--line2); background: var(--card);
  padding: 20px; box-shadow: var(--shadow);
}
.readout { display: flex; align-items: baseline; gap: 8px; }
.readout b { font-size: clamp(34px, 5vw, 46px); font-weight: 800; letter-spacing: -.03em; line-height: 1; }
.readout span { font-size: 13px; color: var(--muted); }
.bar { height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.bar > i { display: block; height: 100%; background: var(--grad); border-radius: 99px; }

/* --------------------------------------------------------------------- forms */

label { display: block; font-size: 11px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  border: 1px solid var(--line2); background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(232, 66, 46, .45); outline-offset: 1px; border-color: transparent; }
textarea { min-height: 110px; resize: vertical; }
.field { margin: 0 0 16px; }
.field-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr)); gap: 0 16px; }
.btn {
  padding: 12px 20px; border-radius: 99px; border: 0; background: var(--grad); color: #fff;
  font-weight: 800; font-size: 13.5px; cursor: pointer; box-shadow: 0 6px 18px rgba(232, 66, 46, .28);
}
.btn:hover { filter: brightness(1.05); }
.btn[disabled] { opacity: .55; cursor: not-allowed; box-shadow: none; }
.btn.ghost { background: none; color: var(--nav); border: 1px solid var(--line2); box-shadow: none; }
.btn.ghost:hover { border-color: rgba(228, 48, 36, .5); color: var(--accent); }
.btn.tiny-btn { padding: 7px 13px; font-size: 12px; }

.msg { padding: 12px 14px; border-radius: 12px; font-size: 13.5px; margin: 14px 0 0; border: 1px solid var(--line2); }
.msg.good { color: var(--ok); border-color: color-mix(in srgb, var(--ok) 35%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.msg.bad { color: var(--bad); border-color: color-mix(in srgb, var(--bad) 35%, transparent); background: color-mix(in srgb, var(--bad) 8%, transparent); }
.msg[hidden] { display: none; }

/* -------------------------------------------------------------------- tables */

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
th {
  text-align: left; padding: 11px 14px; background: var(--tint);
  font-size: 10.5px; font-family: var(--mono); letter-spacing: .12em;
  text-transform: uppercase; color: var(--faint); font-weight: 500; white-space: nowrap;
}
td { padding: 12px 14px; border-top: 1px solid var(--hairline); vertical-align: middle; }
tbody tr:hover { background: var(--tint); }
td.num, th.num { text-align: right; font-family: var(--mono); }

/* ----------------------------------------------------------------- accordion */

details.faq { border-bottom: 1px solid var(--hairline); padding: 14px 0; }
details.faq summary { cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; justify-content: space-between; gap: 14px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; color: var(--accent); font-weight: 800; }
details.faq[open] summary::after { content: "–"; }
details.faq p { margin: 10px 0 0; font-size: 14px; }

/* --------------------------------------------------------------------- steps */

.steps { counter-reset: step; display: grid; gap: 14px; }
.steps > li { list-style: none; counter-increment: step; display: flex; gap: 14px; align-items: flex-start; }
.steps > li::before {
  content: counter(step); flex: none;
  width: 26px; height: 26px; border-radius: 99px; background: var(--tint);
  border: 1px solid var(--line2); display: grid; place-items: center;
  font-size: 12px; font-weight: 800; color: var(--accent); font-family: var(--mono);
}

.stepper { display: flex; gap: 8px; align-items: center; margin: 0 0 26px; }
.stepper i {
  flex: 1; height: 3px; border-radius: 99px; background: var(--line);
}
.stepper i.done { background: var(--grad); }

/* -------------------------------------------------------------------- footer */

.site-footer { border-top: 1px solid var(--line); background: var(--tint); margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(160px, 100%), 1fr)); gap: 28px; padding: 44px 0 28px; }
.site-footer h4 { font-size: 10.5px; font-family: var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { font-size: 13.5px; color: var(--body); }
.site-footer a:hover { color: var(--accent); }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between;
  padding: 16px 0 34px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted);
}

/* ------------------------------------------------------------------- console */

.console-layout { display: grid; grid-template-columns: 208px 1fr; gap: 28px; align-items: start; }
.console-layout > * { min-width: 0; }
.console-nav { display: grid; gap: 4px; position: sticky; top: 108px; }
.console-nav button {
  text-align: left; padding: 10px 13px; border-radius: 12px; border: 1px solid transparent;
  background: none; color: var(--muted); font-size: 13.5px; font-weight: 700; cursor: pointer;
}
.console-nav button:hover { color: var(--accent); background: var(--tint); }
.console-nav button[aria-selected="true"] { color: var(--ink); background: var(--card); border-color: var(--line); }
.panel[hidden] { display: none; }
.kpi { display: grid; gap: 4px; }
.kpi b { font-size: clamp(20px, 2.6vw, 27px); font-weight: 800; letter-spacing: -.02em; }
.kpi span { font-size: 11.5px; color: var(--muted); }
.spark { display: flex; align-items: flex-end; gap: 4px; height: 76px; }
.spark i { flex: 1; background: var(--grad); border-radius: 4px 4px 0 0; min-height: 3px; opacity: .85; }
.drop {
  border: 1.5px dashed var(--line2); border-radius: var(--radius); padding: 28px;
  text-align: center; color: var(--muted); font-size: 13.5px; background: var(--tint);
}
.drop.hot { border-color: var(--accent-hot); color: var(--accent); }
.secret {
  font-family: var(--mono); font-size: 12.5px; word-break: break-all;
  padding: 12px 14px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line2);
}
.spinner { width: 15px; height: 15px; border: 2px solid var(--line2); border-top-color: var(--accent); border-radius: 99px; animation: enaSpin .7s linear infinite; display: inline-block; }

@media (max-width: 820px) {
  .console-layout { grid-template-columns: 1fr; }
  .console-nav { position: static; grid-auto-flow: column; overflow-x: auto; }
  .console-nav button { white-space: nowrap; }
  .console-layout .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}

.flex { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.between { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.stack { display: grid; gap: 12px; }
.mt0 { margin-top: 0; } .mb0 { margin-bottom: 0; }
.center { text-align: center; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--card); color: var(--ink);
  padding: 10px 16px; border-radius: 0 0 12px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* Brand artwork that has to change ink with the theme. Both variants ship in
   the markup so the swap costs no request and never flashes the wrong one. */
.on-dark { display: none; }
[data-theme="night"] .on-light { display: none; }
[data-theme="night"] .on-dark { display: block; }

/* ------------------------------------------------------------ forms, extra */

.split.align-start { align-items: start; }
fieldset { border: 0; padding: 0; margin: 0 0 8px; min-width: 0; }
legend { font-size: 15px; font-weight: 800; color: var(--ink); padding: 0; margin: 0 0 14px; }
fieldset + fieldset { border-top: 1px solid var(--hairline); padding-top: 18px; }
.hint { font-size: 12.5px; color: var(--muted); margin: 6px 0 0; }
label.check {
  display: flex; gap: 10px; align-items: flex-start; text-transform: none; letter-spacing: 0;
  font-family: var(--sans); font-size: 13.5px; color: var(--body); line-height: 1.5; margin: 6px 0 0;
}
label.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--accent); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--bad); }
.code {
  font-family: var(--mono); font-size: 12.5px; line-height: 1.6; white-space: pre; overflow-x: auto;
  padding: 14px 16px; border-radius: 12px; background: var(--tint); border: 1px solid var(--line2); margin: 0;
}
:focus-visible { outline: 2px solid var(--accent-hot); outline-offset: 2px; }

/* ------------------------------------------------------------- mobile menu */

.nav-toggle { display: none; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 16px; height: 2px; border-radius: 2px; background: currentColor; position: relative;
  transition: transform .2s ease, background .2s ease;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 960px) {
  .hide-sm { display: none; }
  .nav-toggle { display: flex; }
  .header-top { padding-bottom: 11px; }
  .site-nav {
    display: none; grid-template-columns: 1fr 1fr; gap: 4px;
    padding: 4px clamp(14px, 3vw, 26px) 16px; max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .nav-open .site-nav { display: grid; }
  .site-nav a { padding: 11px 12px; font-size: 14px; border-radius: 12px; }
}

@media (max-width: 420px) {
  .header-top { gap: 10px; }
  .header-actions { gap: 6px; }
  .header-actions .icon-btn { width: 36px; height: 36px; }
  .header-actions .cta { padding: 9px 11px; font-size: 12px; }
  .brand { gap: 8px; }
  .brand span { font-size: 13.5px; letter-spacing: .07em; }
  .card { padding: 18px; }
  .spec-row { flex-direction: column; gap: 2px; }
  .spec-row dd, .spec-row .v { text-align: left; }
}

/* ---------------------------------------------------------- partners & API */

img { height: auto; }
.brand img { height: 34px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cta-lg { padding: 13px 22px; font-size: 14px; }
.back-link { font-size: 13px; font-weight: 700; color: var(--muted); }
.back-link:hover { color: var(--accent); }

.setup-preview { padding: 24px; }
.progress-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 4px; }
.progress-list li { display: flex; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; }
.progress-list li > span {
  flex: none; width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center;
  font: 800 12px var(--mono); border: 1px solid var(--line2); color: var(--muted);
}
.progress-list li b { display: block; font-size: 14px; }
.progress-list li small { display: block; font-size: 12.5px; color: var(--muted); }
.progress-list li.done > span { background: var(--grad); color: #fff; border-color: transparent; }
.progress-list li.current { background: var(--tint); box-shadow: inset 0 0 0 1px var(--line2); }
.progress-list li.current > span { border-color: var(--accent); color: var(--accent); }

.link-card { display: flex; flex-direction: column; color: inherit; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.link-card:hover { color: inherit; transform: translateY(-3px); border-color: var(--line2); box-shadow: var(--shadow); }
.link-card p { flex: 1; }
.link-more { font-size: 13px; font-weight: 800; color: var(--accent); }
.icon-dot {
  width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--tint); border: 1px solid var(--line2); color: var(--accent); font-size: 19px; font-weight: 800;
}

.journey { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.journey li { position: relative; padding: 22px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); }
.journey-num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 99px; margin-bottom: 14px;
  background: var(--grad); color: #fff; font: 800 13px var(--mono);
}

.check-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 30px; color: var(--body); font-size: 14.5px; }
.check-list li::before {
  content: "\2713"; position: absolute; left: 0; top: 1px; width: 20px; height: 20px; border-radius: 99px;
  display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--grad);
}

.cta-band { display: flex; flex-wrap: wrap; gap: 20px; align-items: center; justify-content: space-between; padding: clamp(22px, 4vw, 36px); }
.notice { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; background: var(--tint); }

/* Setup wizard */
.wizard-wrap { max-width: 820px; }
.wizard-title { max-width: none; font-size: clamp(34px, 5vw, 52px); }
.wizard-steps { list-style: none; padding: 0; margin: 8px 0 22px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.wizard-steps li { display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; color: var(--muted); min-width: 0; }
.wizard-steps li::before { content: ""; height: 4px; border-radius: 99px; background: var(--line); order: -1; }
.wizard-steps li.done::before, .wizard-steps li[aria-current="step"]::before { background: var(--grad); }
.wizard-steps li span { display: none; }
.wizard-steps li b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wizard-steps li[aria-current="step"] b { color: var(--ink); }
.wizard { padding: clamp(20px, 4vw, 34px); }
.wizard fieldset + fieldset { border-top: 0; padding-top: 0; }
.wizard legend { font-family: var(--display); font-size: clamp(24px, 3vw, 30px); line-height: 1.15; letter-spacing: -.02em; margin-bottom: 18px; }
.wizard legend .tiny { display: block; font-family: var(--mono); margin-bottom: 8px; letter-spacing: .12em; }
.wizard legend:focus { outline: none; }
.field-label { font-size: 11px; font-family: var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); margin: 0 0 10px; }
.optional { text-transform: none; letter-spacing: 0; font-family: var(--sans); color: var(--muted); margin-left: 6px; }

.choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
.choice-grid.wide { grid-template-columns: 1fr; }
.choice { position: relative; display: block; margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--sans); cursor: pointer; }
.choice input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.choice > span {
  display: block; height: 100%; padding: 14px 16px 14px 44px; border-radius: 14px; border: 1px solid var(--line2);
  background: var(--paper); transition: border-color .15s, background .15s, box-shadow .15s; position: relative;
}
.choice > span::before {
  content: ""; position: absolute; left: 16px; top: 17px; width: 16px; height: 16px; border-radius: 99px;
  border: 2px solid var(--line2); background: var(--paper);
}
.choice b { display: block; color: var(--ink); font-size: 14.5px; }
.choice small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 2px; }
.choice:hover > span { border-color: rgba(228, 48, 36, .45); }
.choice input:checked + span { border-color: var(--accent); background: var(--tint); box-shadow: inset 0 0 0 1px var(--accent); }
.choice input:checked + span::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 4px, var(--paper) 5px); }
.choice input:focus-visible + span { outline: 2px solid var(--accent-hot); outline-offset: 2px; }
.choice input[aria-invalid="true"] + span { border-color: var(--bad); }

.chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chip { position: relative; margin: 0; text-transform: none; letter-spacing: 0; font-family: var(--sans); cursor: pointer; }
.check-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chip span {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px; border-radius: 99px;
  border: 1px solid var(--line2); font-size: 13.5px; font-weight: 700; color: var(--nav); transition: all .15s;
}
.check-chip span::before { content: "+"; font-weight: 800; color: var(--accent); }
.check-chip input:checked + span { background: var(--grad); color: #fff; border-color: transparent; }
.check-chip input:checked + span::before { content: "\2713"; color: #fff; }
.check-chip input:focus-visible + span { outline: 2px solid var(--accent-hot); outline-offset: 2px; }

.wizard-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.wizard-nav [data-prev] { margin-right: auto; }
.wizard-nav [hidden] { display: none; }
.review { display: grid; gap: 14px; }
.review-block { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; }
.review-block .between { margin-bottom: 6px; }

.wizard-done { padding: clamp(22px, 4vw, 36px); }
.wizard-done:focus { outline: none; }
.done-mark {
  width: 52px; height: 52px; border-radius: 99px; display: grid; place-items: center; margin-bottom: 16px;
  background: var(--grad); color: #fff; font-size: 24px; font-weight: 800;
}

@media (max-width: 560px) {
  .wizard-steps li b { display: none; }
  .wizard-steps { margin-bottom: 16px; }
  .wizard-nav .btn { flex: 1; }
  .wizard-nav [data-prev] { margin-right: 0; flex: 0 0 auto; }
  .cta-band .flex, .notice .cta { width: 100%; }
  .cta-band .cta, .notice .cta { text-align: center; flex: 1; }
}

/* The smallest phones drop the wordmark so the header never scrolls sideways;
   the mark alone still links home. */
@media (max-width: 340px) {
  .site-header .brand span { display: none; }
}
