/* =========================================================================
   Get More SEO — design system. One stylesheet, every page.

   Direction: search visibility as an OWNED, compounding asset (not rented ad
   clicks). Warm paper ground, near-black ink, deep emerald brand. A single clay
   accent is reserved for the signature "owned vs rented" chart. Display face is
   Bricolage Grotesque (character, used big), body is Inter, and a mono utility
   face (Space Mono) labels the things this brand actually measures.
   Light theme, mobile-first, restrained motion.
   ========================================================================= */

/* ---- Fonts (self-hosted latin subsets, preloaded in the layout) ---- */
@font-face {
  font-family: 'Bricolage Grotesque'; font-style: normal; font-weight: 200 800;
  font-display: swap; src: url('/assets/fonts/bricolage.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter'; font-style: normal; font-weight: 100 900;
  font-display: swap; src: url('/assets/fonts/inter.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono'; font-style: normal; font-weight: 400;
  font-display: swap; src: url('/assets/fonts/spacemono-400.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Mono'; font-style: normal; font-weight: 700;
  font-display: swap; src: url('/assets/fonts/spacemono-700.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+2000-206F, U+2122, U+2212, U+FEFF, U+FFFD;
}

:root {
  /* Palette */
  --paper: #F6F5F1;        /* warm page ground */
  --surface: #FFFFFF;
  --surface-2: #FBFAF7;
  --ink: #0F1512;          /* near-black, faint warmth */
  --ink-2: #2C342F;
  --muted: #59635C;        /* secondary text */
  --faint: #8A938C;        /* captions */
  --line: #E4E3DB;         /* warm hairline */
  --line-2: #EDECE5;

  --brand: #0B6E4F;        /* deep emerald */
  --brand-deep: #094E39;
  --brand-bright: #0E8A62;
  --brand-tint: #E9F1EC;   /* soft emerald surface */
  --brand-tint-2: #DCEAE1;
  --brand-ink: #0A5A41;    /* emerald text on light */

  --clay: #BE6A3A;         /* signature accent — chart + rare emphasis only */
  --clay-tint: #F3E7DD;

  --dark: #0E1A14;         /* deep band background */
  --dark-2: #14241C;
  --on-dark: #EAF1EC;
  --on-dark-muted: #9DB3A6;

  --warn: #B0741A;
  --danger: #B23A36;
  --ok: #0B6E4F;

  /* Type */
  --font-display: 'Bricolage Grotesque', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Metrics */
  --maxw: 1180px;
  --maxw-narrow: 760px;
  --nav-h: 70px;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(15,21,18,.04), 0 1px 1px rgba(15,21,18,.03);
  --shadow-md: 0 14px 40px -22px rgba(15,21,18,.28), 0 2px 8px -4px rgba(15,21,18,.08);
  --shadow-lg: 0 30px 70px -30px rgba(9,78,57,.35);
}

/* ---- Reset / base ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.62;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  padding-top: var(--nav-h);
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
img, svg { max-width: 100%; display: block; }
a { color: var(--brand-ink); text-decoration: none; }
a:hover { color: var(--brand-deep); }
strong { font-weight: 600; color: var(--ink); }
::selection { background: var(--brand-tint-2); color: var(--brand-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0;
  color: var(--ink);
  font-optical-sizing: auto;
}
h1 { font-size: clamp(2.4rem, 5.4vw, 4.1rem); font-weight: 800; letter-spacing: -0.035em; line-height: 1.02; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 700; letter-spacing: -0.03em; }
h3 { font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em; }
h4 { font-size: 1.06rem; font-weight: 700; }
p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.container--narrow { max-width: var(--maxw-narrow); }
@media (max-width: 560px) { .container { padding: 0 20px; } }

.section { padding: 92px 0; }
.section--sm { padding: 64px 0; }
.section--surface { background: var(--surface); }
.section--tint { background: var(--brand-tint); }
.section--dark { background: var(--dark); color: var(--on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .section--dark h4 { color: #fff; }
.section--dark p { color: var(--on-dark-muted); }
.section--dark a { color: #fff; }
@media (max-width: 760px) { .section { padding: 64px 0; } }

.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.15rem; color: var(--muted); margin-top: 18px; }
.section--dark .section-head p { color: var(--on-dark-muted); }

.eyebrow {
  font-family: var(--font-mono); font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .14em; color: var(--brand-ink);
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--brand); border-radius: 2px; }
.section--dark .eyebrow { color: #6FD3A8; }
.section--dark .eyebrow::before { background: #6FD3A8; }

.lead { font-size: 1.2rem; color: var(--muted); line-height: 1.55; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 600; font-size: 1rem;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; line-height: 1;
  transition: transform .16s ease, box-shadow .16s ease, background .16s ease, border-color .16s ease, color .16s ease;
}
.btn:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 12px 26px -14px rgba(9,78,57,.6); }
.btn-primary:hover { background: var(--brand-deep); color: #fff; transform: translateY(-1px); box-shadow: 0 18px 32px -14px rgba(9,78,57,.7); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { color: var(--ink); border-color: #cfceC4; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; transform: translateY(-1px); }
.btn-on-dark { background: #fff; color: var(--ink); }
.btn-on-dark:hover { background: var(--paper); color: var(--ink); transform: translateY(-1px); }
.btn-ghost-dark { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn-ghost-dark:hover { color: #fff; border-color: rgba(255,255,255,.6); }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.text-link { font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform .16s ease; }
.text-link:hover::after { transform: translateX(3px); }

/* ---- Navigation ---- */
.nav {
  position: fixed; inset: 0 0 auto 0; height: var(--nav-h); z-index: 100;
  background: rgba(246,245,241,.82); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.18rem; letter-spacing: -0.03em; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand-mark { width: 30px; height: 30px; flex: none; }
.nav-menu { display: flex; align-items: center; gap: 6px; }
.nav-menu a { padding: 9px 14px; border-radius: 999px; color: var(--ink-2); font-weight: 500; font-size: .98rem; }
.nav-menu a:hover { color: var(--ink); background: rgba(15,21,18,.05); }
.nav-menu a.is-active { color: var(--brand-ink); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .2s ease; }
.nav-toggle span::before { position: absolute; top: -6px; } .nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 920px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu, .nav-links-wrap { display: none; }
  .nav[data-open="1"] .nav-links-wrap {
    display: block; position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-md);
    padding: 14px 20px 22px;
  }
  .nav[data-open="1"] .nav-menu { display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
  .nav[data-open="1"] .nav-menu a { padding: 13px 12px; border-radius: 10px; font-size: 1.05rem; }
  .nav[data-open="1"] .nav-cta { margin-top: 14px; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
  .nav-cta .nav-signin { display: none; }
  .nav[data-open="1"] .nav-cta .nav-signin { display: inline-flex; }
}
.nav-signin { color: var(--ink-2); font-weight: 500; padding: 9px 12px; }

/* ---- Hero ---- */
.hero { padding: 64px 0 84px; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { margin-bottom: 22px; }
.hero h1 .accent { color: var(--brand-ink); }
.hero-sub { font-size: 1.22rem; color: var(--muted); max-width: 36ch; margin-bottom: 30px; }
.hero .btn-row { margin-bottom: 26px; }
.hero-note { font-family: var(--font-mono); font-size: .82rem; color: var(--faint); letter-spacing: -0.01em; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.hero-note span { display: inline-flex; align-items: center; gap: 7px; }
.hero-note span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-sub { max-width: none; }
  .hero-visual { order: -1; }
}

/* ---- Signature: owned vs rented chart ---- */
.chartcard { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; box-shadow: var(--shadow-md); }
.chartcard h3 { font-size: 1.02rem; }
.chart-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; gap: 12px; }
.chart-tag { font-family: var(--font-mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.chart-legend { display: flex; gap: 18px; margin-top: 16px; flex-wrap: wrap; }
.chart-legend span { font-family: var(--font-mono); font-size: .74rem; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.swatch { width: 16px; height: 3px; border-radius: 3px; display: inline-block; }
.swatch--owned { background: var(--brand); }
.swatch--rented { background: var(--clay); }
.chart svg { width: 100%; height: auto; }

/* ---- Cards & grids ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.card--pad-lg { padding: 34px; }
.card h3 { margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 1rem; }
.card-ico { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-tint); color: var(--brand-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.card-ico svg { width: 22px; height: 22px; }

/* Manage-list (what we manage) */
.manage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px 30px; }
@media (max-width: 860px) { .manage-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .manage-grid { grid-template-columns: 1fr; } }
.manage-item { display: flex; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.manage-item .tick { color: var(--brand); flex: none; margin-top: 2px; }
.manage-item h4 { margin-bottom: 3px; }
.manage-item p { color: var(--muted); font-size: .94rem; margin: 0; }

/* ---- Old vs Modern compare ---- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } }
.compare-col { border-radius: var(--radius); padding: 30px; border: 1px solid var(--line); }
.compare-col--old { background: var(--surface-2); }
.compare-col--new { background: var(--brand-tint); border-color: var(--brand-tint-2); }
.compare-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.compare-tag { font-family: var(--font-mono); font-size: .66rem; text-transform: uppercase; letter-spacing: .12em; padding: 4px 9px; border-radius: 999px; }
.compare-col--old .compare-tag { background: #ECEAE2; color: var(--faint); }
.compare-col--new .compare-tag { background: var(--brand); color: #fff; }
.compare-list { list-style: none; margin: 0; padding: 0; }
.compare-list li { padding: 11px 0 11px 30px; position: relative; color: var(--ink-2); border-top: 1px solid rgba(15,21,18,.07); font-size: 1rem; }
.compare-list li:first-child { border-top: none; }
.compare-col--old .compare-list li::before { content: "×"; position: absolute; left: 4px; color: var(--faint); font-weight: 700; }
.compare-col--new .compare-list li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }

/* ---- Stat / fact strip ---- */
.factstrip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 760px) { .factstrip { grid-template-columns: 1fr; gap: 18px; } }
.fact { padding: 4px 0; }
.fact .num { font-family: var(--font-display); font-weight: 800; font-size: 2.5rem; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
.section--dark .fact .num { color: #fff; }
.fact .lbl { color: var(--muted); margin-top: 10px; font-size: .98rem; }
.section--dark .fact .lbl { color: var(--on-dark-muted); }
.fact .src { font-family: var(--font-mono); font-size: .68rem; color: var(--faint); margin-top: 8px; }

/* ---- Process (a real sequence → numbered) ---- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; padding-top: 18px; border-top: 2px solid var(--line); }
.step .no { font-family: var(--font-mono); font-weight: 700; font-size: .8rem; color: var(--brand-ink); letter-spacing: .08em; }
.step h3 { font-size: 1.12rem; margin: 12px 0 8px; }
.step p { color: var(--muted); font-size: .96rem; }

/* ---- Who it's for ---- */
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { font-size: .95rem; font-weight: 500; padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }

/* ---- Outcomes ---- */
.outcomes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 860px) { .outcomes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .outcomes { grid-template-columns: 1fr; } }
.outcome { padding: 20px; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-weight: 500; }
.outcome .tick { color: var(--brand); flex: none; }

/* ---- Pricing ---- */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: start; }
@media (max-width: 940px) { .plans { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: relative; box-shadow: var(--shadow-sm); }
.plan--featured { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.plan--featured::before { content: "Recommended"; position: absolute; top: -13px; left: 32px; font-family: var(--font-mono); font-size: .68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: var(--brand); color: #fff; padding: 5px 12px; border-radius: 999px; }
.plan-name { font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; letter-spacing: -0.02em; }
.plan-tagline { color: var(--muted); font-size: .98rem; margin: 8px 0 22px; min-height: 48px; }
.plan-price { display: flex; align-items: baseline; gap: 6px; }
.plan-price .amt { font-family: var(--font-display); font-weight: 800; font-size: 2.7rem; letter-spacing: -0.03em; }
.plan-price .per { color: var(--muted); font-size: 1rem; }
.plan-meta { font-family: var(--font-mono); font-size: .76rem; color: var(--faint); margin: 10px 0 24px; display: flex; flex-direction: column; gap: 4px; }
.plan-meta b { color: var(--ink-2); font-weight: 700; }
.plan ul { list-style: none; margin: 24px 0; padding: 24px 0 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.plan ul li { padding-left: 28px; position: relative; color: var(--ink-2); font-size: .98rem; }
.plan ul li::before { content: "✓"; position: absolute; left: 2px; color: var(--brand); font-weight: 700; }
.plan ul li.muted { color: var(--faint); }
.plan ul li.muted::before { content: "—"; color: var(--faint); }

/* ---- FAQ ---- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 6px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; font-weight: 400; color: var(--brand); transition: transform .2s ease; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding: 0 44px 22px 0; color: var(--muted); }
.faq details > div p { color: var(--muted); }

/* ---- CTA band ---- */
.ctaband { border-radius: var(--radius-lg); background: var(--dark); color: #fff; padding: 56px; text-align: center; position: relative; overflow: hidden; }
.ctaband h2 { color: #fff; max-width: 18ch; margin: 0 auto 16px; }
.ctaband p { color: var(--on-dark-muted); max-width: 52ch; margin: 0 auto 28px; font-size: 1.12rem; }
.ctaband .btn-row { justify-content: center; }
.ctaband::after { content: ""; position: absolute; inset: auto -10% -60% -10%; height: 70%; background: radial-gradient(60% 100% at 50% 0%, rgba(14,138,98,.30), transparent 70%); pointer-events: none; }
@media (max-width: 600px) { .ctaband { padding: 40px 24px; } }

/* ---- Forms ---- */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow-sm); }
@media (max-width: 560px) { .form-card { padding: 24px; } }
.field { margin-bottom: 20px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; gap: 0; } }
label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 8px; color: var(--ink); }
label .opt { font-weight: 400; color: var(--faint); font-size: .85rem; }
.input, select.input, textarea.input {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--ink);
  padding: 13px 15px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: var(--surface-2); transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.input:focus, select.input:focus, textarea.input:focus { outline: none; border-color: var(--brand); background: #fff; box-shadow: 0 0 0 3px rgba(11,110,79,.12); }
textarea.input { min-height: 130px; resize: vertical; }
select.input { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2359635C' stroke-width='2.4'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; padding-right: 40px; }
.field-error { border-color: var(--danger) !important; }
.error-text { color: var(--danger); font-size: .86rem; margin-top: 7px; }
.hint { color: var(--faint); font-size: .86rem; margin-top: 7px; }
.checkbox { display: flex; gap: 12px; align-items: flex-start; }
.checkbox input { margin-top: 4px; width: 18px; height: 18px; accent-color: var(--brand); flex: none; }
.checkbox label { font-weight: 400; color: var(--muted); font-size: .94rem; margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
fieldset { border: none; margin: 0 0 8px; padding: 0; }
.fieldset-legend { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-ink); margin: 28px 0 18px; padding-top: 22px; border-top: 1px solid var(--line); }
.code-input { font-family: var(--font-mono); font-size: 1.6rem; letter-spacing: .5em; text-align: center; }

/* ---- Alerts / flash ---- */
.alert { border-radius: var(--radius-sm); padding: 15px 18px; margin-bottom: 22px; font-size: .96rem; border: 1px solid; display: flex; gap: 11px; align-items: flex-start; }
.alert-ok { background: var(--brand-tint); border-color: var(--brand-tint-2); color: var(--brand-deep); }
.alert-err { background: #FAEDEC; border-color: #F0D5D3; color: var(--danger); }
.alert-info { background: #F2F4F8; border-color: #E2E7EF; color: #3A4658; }
.alert .ico { flex: none; margin-top: 1px; }

/* ---- Split / asset section ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 36px; } }
.checklist { list-style: none; margin: 22px 0 0; padding: 0; }
.checklist li { padding: 12px 0 12px 34px; position: relative; border-top: 1px solid var(--line); color: var(--ink-2); }
.checklist li:first-child { border-top: none; }
.checklist li::before { content: ""; position: absolute; left: 0; top: 14px; width: 20px; height: 20px; border-radius: 50%; background: var(--brand-tint); }
.checklist li::after { content: "✓"; position: absolute; left: 5px; top: 11px; color: var(--brand); font-size: .8rem; font-weight: 700; }
.section--dark .checklist li { border-color: rgba(255,255,255,.12); color: var(--on-dark); }

/* ---- Blog ---- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 920px) { .post-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }
.post-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .16s ease, box-shadow .16s ease; }
.post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.post-card .cat { font-family: var(--font-mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-ink); margin-bottom: 14px; }
.post-card h3 { font-size: 1.22rem; margin-bottom: 10px; color: var(--ink); }
.post-card h3 a { color: inherit; }
.post-card p { color: var(--muted); font-size: .96rem; flex: 1; }
.post-meta { font-family: var(--font-mono); font-size: .72rem; color: var(--faint); margin-top: 18px; display: flex; gap: 12px; }

.article { max-width: 760px; margin: 0 auto; }
.article-header { max-width: 760px; margin: 0 auto 14px; }
.article-header .cat { font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--brand-ink); }
.article-header h1 { font-size: clamp(2rem, 4.4vw, 3rem); margin: 16px 0 18px; }
.article-meta { font-family: var(--font-mono); font-size: .76rem; color: var(--faint); display: flex; gap: 14px; flex-wrap: wrap; }
.article-body { font-size: 1.12rem; line-height: 1.75; color: var(--ink-2); }
.article-body > h2 { font-size: 1.7rem; margin: 48px 0 16px; scroll-margin-top: 90px; }
.article-body > h3 { font-size: 1.28rem; margin: 34px 0 12px; scroll-margin-top: 90px; }
.article-body p { margin: 0 0 1.3rem; }
.article-body ul, .article-body ol { margin: 0 0 1.3rem; padding-left: 1.3rem; }
.article-body li { margin-bottom: .6rem; }
.article-body a { text-decoration: underline; text-underline-offset: 2px; }
.article-body blockquote { margin: 28px 0; padding: 6px 0 6px 24px; border-left: 3px solid var(--brand); color: var(--ink); font-size: 1.18rem; }
.article-body figure.stat { background: var(--brand-tint); border-radius: var(--radius-sm); padding: 22px 24px; margin: 28px 0; }
.article-body figure.stat .big { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--brand-deep); letter-spacing: -0.02em; }
.article-body figure.stat figcaption { font-family: var(--font-mono); font-size: .72rem; color: var(--muted); margin-top: 8px; }
.article-body figure.stat figcaption a { color: var(--muted); }

.toc { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 22px 24px; margin: 0 0 36px; }
.toc strong { font-family: var(--font-mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); font-weight: 700; }
.toc ol { margin: 12px 0 0; padding-left: 18px; }
.toc li { margin-bottom: 7px; }
.toc a { color: var(--ink-2); }
.toc a:hover { color: var(--brand-ink); }

.cta-inline { background: var(--brand-tint); border: 1px solid var(--brand-tint-2); border-radius: var(--radius); padding: 28px 30px; margin: 40px 0; }
.cta-inline h3 { margin-bottom: 8px; }
.cta-inline p { color: var(--muted); margin-bottom: 18px; }

.breadcrumbs { font-family: var(--font-mono); font-size: .74rem; color: var(--faint); margin-bottom: 8px; }
.breadcrumbs a { color: var(--faint); }
.breadcrumbs a:hover { color: var(--brand-ink); }

/* ---- Portal ---- */
.portal-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 32px; }
.statusline { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.badge { font-family: var(--font-mono); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 5px 11px; border-radius: 999px; }
.badge-ok { background: var(--brand-tint); color: var(--brand-deep); }
.badge-warn { background: #F6EFD9; color: var(--warn); }
.badge-muted { background: #ECEAE2; color: var(--faint); }
.portal-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .portal-grid { grid-template-columns: 1fr; } }
.onboard { list-style: none; margin: 0; padding: 0; }
.onboard li { display: flex; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); align-items: flex-start; }
.onboard li:first-child { border-top: none; }
.onboard .mark { width: 22px; height: 22px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: flex; align-items: center; justify-content: center; font-size: .7rem; }
.onboard .done .mark { background: var(--brand); border-color: var(--brand); color: #fff; }
.onboard .done span { color: var(--faint); text-decoration: line-through; }
.dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: .96rem; }
.dl dt { color: var(--faint); font-family: var(--font-mono); font-size: .78rem; padding-top: 2px; }
.dl dd { margin: 0; color: var(--ink); }

/* ---- Misc ---- */
.muted-text { color: var(--muted); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.note-mono { font-family: var(--font-mono); font-size: .8rem; color: var(--faint); }
.divider { height: 1px; background: var(--line); border: none; margin: 0; }
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { font-size: 1.5rem; margin: 40px 0 14px; }
.legal h3 { font-size: 1.15rem; margin: 26px 0 10px; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.devbanner { background: var(--clay-tint); color: #7A4420; font-family: var(--font-mono); font-size: .8rem; text-align: center; padding: 8px 16px; border-bottom: 1px solid #E8D3C2; }

/* ---- Footer ---- */
.footer { background: var(--dark); color: var(--on-dark); padding: 64px 0 36px; margin-top: 0; }
.footer a { color: var(--on-dark-muted); }
.footer a:hover { color: #fff; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
@media (max-width: 820px) { .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; } }
@media (max-width: 480px) { .footer-top { grid-template-columns: 1fr; } }
.footer .brand { color: #fff; }
.footer-blurb { color: var(--on-dark-muted); font-size: .96rem; margin-top: 14px; max-width: 34ch; }
.footer h4 { color: #fff; font-family: var(--font-mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; font-size: .96rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; font-size: .85rem; color: var(--on-dark-muted); font-family: var(--font-mono); }

/* ---- Accessibility / motion ---- */
:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 16px; }
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
