/* Marketing site styles. Handwritten, no framework, no build step, and no
   network request: every asset this file references is a sibling file.
   Colours are checked against the page background for at least 4.5:1 on body
   text. Do not lower --text-muted without re-checking it. */

:root {
  --bg: #0c0e14;
  --bg-raised: #13161f;
  --surface: #191d28;
  --border: #262b3a;
  --border-bright: #394054;
  --text: #e9ebf2;        /* measured 16.2:1 on --bg */
  --text-muted: #a7aec0;  /* measured 8.7:1 on --bg, 7.6:1 on --surface */
  --accent: #ffab5e;      /* measured 10.3:1 on --bg, 9.9:1 behind --btn ink */
  --accent-strong: #ffc48c;
  --accent-ghost: rgba(255, 171, 94, 0.10);
  --accent-line: rgba(255, 171, 94, 0.28);
  --max: 1080px;
  --radius: 12px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden; /* belt and braces: nothing here should overflow anyway */
}

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); text-decoration: underline; }

/* Visible focus everywhere, including on the skip link and table links. */
:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 3px;
  border-radius: 3px;
}

code { font-family: var(--mono); font-size: 0.92em; color: var(--accent-strong); word-break: break-word; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--accent); color: #1a1200;
  padding: 10px 16px; border-radius: 8px; font-weight: 700;
  transition: top 0.15s ease;
}
.skip-link:focus { top: 12px; color: #1a1200; text-decoration: none; }

/* ---- Top bar --------------------------------------------------------- */
.topbar {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  position: sticky; top: 0; z-index: 50;
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap; min-height: 64px; padding-top: 10px; padding-bottom: 10px;
}
.brand { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.brand-mark { display: block; width: 28px; height: 28px; }
.brand-name { font-weight: 700; font-size: 17px; letter-spacing: -0.01em; }
.brand-by { font-size: 12px; color: var(--text-muted); }
.brand-by:hover { color: var(--accent); }

.topnav { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topnav a { color: var(--text-muted); font-size: 14px; font-weight: 500; }
.topnav a:hover { color: var(--text); }
.topnav .btn { color: #1a1200; }

/* ---- Buttons --------------------------------------------------------- */
.btn {
  display: inline-block;
  padding: 13px 22px;
  border-radius: 8px;
  font-weight: 650;
  font-size: 15px;
  border: 1px solid transparent;
}
.btn:hover { text-decoration: none; }
.btn-small { padding: 7px 13px; font-size: 14px; }
.btn-primary { background: var(--accent); color: #1a1200; }
.btn-primary:hover { background: var(--accent-strong); color: #1a1200; }
.btn-secondary { border-color: var(--border-bright); color: var(--text); }
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---- Sections -------------------------------------------------------- */
section { padding: 84px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

.eyebrow {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); font-weight: 700; margin-bottom: 12px;
}
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.015em; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; max-width: 20ch; }
section h2 { margin-bottom: 18px; }
h3 { font-size: 18px; font-weight: 650; margin-bottom: 8px; line-height: 1.3; }
.lede { color: var(--text-muted); font-size: 17px; max-width: 68ch; margin-bottom: 20px; }
.note { color: var(--text-muted); font-size: 15px; max-width: 68ch; margin-top: 20px; }

/* ---- Hero ------------------------------------------------------------ */
.hero {
  padding: 92px 0 84px;
  background:
    radial-gradient(circle at 12% 0%, rgba(255, 171, 94, 0.10), transparent 45%),
    radial-gradient(circle at 88% 6%, rgba(255, 171, 94, 0.05), transparent 50%);
}
.status-flag {
  display: inline-block;
  font-size: 13px; font-weight: 600;
  color: var(--accent);
  background: var(--accent-ghost);
  border: 1px solid var(--accent-line);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(33px, 6.2vw, 62px);
  font-weight: 750;
  max-width: 17ch;
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--accent); }
.hero-sub { font-size: clamp(17px, 2vw, 20px); color: var(--text-muted); max-width: 62ch; }
.hero-claim {
  margin-top: 22px;
  font-size: 17px;
  max-width: 62ch;
  border-left: 3px solid var(--accent);
  padding-left: 16px;
}

/* ---- Two-panel splits ------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.panel {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.panel p { color: var(--text-muted); font-size: 15px; }
.panel ul { list-style: none; display: grid; gap: 12px; margin-top: 14px; }
.panel li { color: var(--text-muted); font-size: 15px; padding-left: 26px; position: relative; }
.ticks li::before, .crosses li::before {
  position: absolute; left: 0; top: 0;
  font-weight: 700; font-family: var(--mono);
}
.ticks li::before { content: "+"; color: var(--accent); }
.crosses li::before { content: "x"; color: var(--text-muted); }

/* ---- Steps ----------------------------------------------------------- */
.steps { list-style: none; display: grid; gap: 26px; margin-top: 34px; max-width: 74ch; }
.steps > li { display: flex; gap: 18px; align-items: flex-start; }
.step-num {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-ghost);
  border: 1px solid var(--accent-line);
  color: var(--accent);
  font-family: var(--mono); font-weight: 700; font-size: 14px;
}
.steps p { color: var(--text-muted); font-size: 15px; }
.after-steps { margin-top: 40px; color: var(--text-muted); max-width: 70ch; }

/* ---- Code frame ------------------------------------------------------ */
.code-frame {
  margin-top: 18px;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.code-bar {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 8px 14px;
}
.code-path { font-family: var(--mono); font-size: 12px; color: var(--text-muted); }
.code-frame pre { padding: 16px 14px; overflow-x: auto; }
.code-frame code {
  font-size: 13px; color: var(--text); white-space: pre;
  word-break: normal;
}
.tk-str { color: var(--accent); }

/* ---- Tables ---------------------------------------------------------- */
/* The table scrolls inside its own box so the page itself never does. */
.table-scroll {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-raised);
}
.state-table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 15px; }
.state-table th, .state-table td {
  text-align: left; vertical-align: top;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border);
}
.state-table thead th {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text-muted); font-weight: 700;
  background: var(--surface);
}
.state-table tbody th { color: var(--text); font-weight: 600; width: 28%; }
.state-table td { color: var(--text-muted); }
.state-table tbody tr:last-child th, .state-table tbody tr:last-child td { border-bottom: none; }

.conclusion {
  margin-top: 30px;
  font-size: clamp(18px, 2.4vw, 22px);
  font-weight: 650;
  line-height: 1.4;
  max-width: 60ch;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

/* ---- Costs and other card grids -------------------------------------- */
.cost-grid, .bring-grid { display: grid; gap: 20px; margin-top: 32px; }
.cost-grid { grid-template-columns: repeat(2, 1fr); }
.bring-grid { grid-template-columns: repeat(3, 1fr); }
.cost, .bring {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.cost { border-top: 2px solid var(--accent); }
.cost p, .bring p { color: var(--text-muted); font-size: 15px; }

/* ---- FAQ ------------------------------------------------------------- */
.faq { margin-top: 34px; max-width: 74ch; }
.faq dt {
  font-size: 18px; font-weight: 650; color: var(--text);
  margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--border);
}
.faq dt:first-of-type { margin-top: 0; border-top: none; padding-top: 0; }
.faq dd { color: var(--text-muted); font-size: 15.5px; margin-top: 8px; }

/* ---- Closing --------------------------------------------------------- */
.closing { border-bottom: none; }
.closing-box {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 171, 94, 0.10), transparent 62%),
    var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 56px 24px;
  text-align: center;
}
.closing-box h2 { max-width: none; margin-left: auto; margin-right: auto; }
.closing-box p { color: var(--text-muted); max-width: 52ch; margin: 0 auto; }
.closing-box .cta-row { justify-content: center; }

/* ---- Footer ---------------------------------------------------------- */
footer { border-top: 1px solid var(--border); padding: 48px 0 40px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-lead { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.footer-note { color: var(--text-muted); max-width: 40ch; }
.footer-col h2 {
  font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--text); margin-bottom: 12px; font-weight: 700; max-width: none;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { color: var(--text-muted); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px;
}

/* ---- Responsive ------------------------------------------------------ */
@media (max-width: 900px) {
  .split, .cost-grid, .bring-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
  .hero { padding: 64px 0 60px; }
}

@media (max-width: 560px) {
  .topnav { gap: 14px; }
  .topnav a:not(.btn) { display: none; } /* anchors remain in the footer nav */
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: none; }
  h2 { max-width: none; }
  .panel, .cost, .bring { padding: 20px; }
  .closing-box { padding: 40px 18px; }
}
