/* ==========================================================================
   en:graham - stylesheet
   Hand-written, no build step, no third-party requests.
   ========================================================================== */

/* --- Self-hosted Oxanium (SIL OFL 1.1) - see assets/fonts/OFL.txt --------- */
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/oxanium-latin-var.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Oxanium';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url('fonts/oxanium-latin-ext-var.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  color-scheme: light;
  --bg:        #e7dccc;
  --bg-alt:    #ddd6c5;
  --surface:   #f5e8d6;
  --ink:       #102e27;
  --ink-soft:  #35504a;
  --muted:     #576964;
  --line:      #d2bb93;
  --line-soft: #decba8;

  --accent:       #0e3932;  /* links, icons, rules */
  --accent-hi:    #17564a;  /* hover */
  --accent-solid: #0e3932;  /* button and pill fills */
  --on-accent:    #ffffff;  /* text on those fills */
  --accent-bg:    #f5e8d6;  /* tinted chips */
  --label:        #7a6440;  /* eyebrows, step numbers - the tan family */
  --glow:         #f3ead9;  /* hero wash */

  --brand-mark: var(--ink);
  --brand-word: var(--ink-soft);

  --tier-premium-ink: #6f5a3a;
  --tier-premium-bg:  #f5ede1;
  --tier-premium-line:#e0cfb4;
  --tier-adv-ink:     #0e3932;
  --tier-adv-bg:      #e8efec;
  --tier-adv-line:    #c9dbd5;

  --logo-cyan:    #00c8cf;
  --logo-magenta: #e83bbd;

  --shadow: 0 1px 2px rgba(16, 46, 39, .05), 0 8px 24px -16px rgba(16, 46, 39, .22);

  --font-display: 'Oxanium', 'Eurostile', 'Bahnschrift', system-ui, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  --font-mono: ui-monospace, 'SF Mono', 'JetBrains Mono', Menlo, Consolas, monospace;

  --maxw: 1120px;
  --gap: clamp(1rem, 2.2vw, 1.5rem);
  --pad-x: clamp(1.15rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --r: 10px;
  --r-sm: 6px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --bg:        #071d19;
    --bg-alt:    #0b2b25;
    --surface:   #0e3932;
    --ink:       #edf3f1;
    --ink-soft:  #c3d4cf;
    --muted:     #93a8a3;
    --line:      #1d574a;
    --line-soft: #143c34;

    --accent:       #c8ab86;
    --accent-hi:    #dcc4a4;
    --accent-solid: #b0936f;
    --on-accent:    #071d19;
    --accent-bg:    #133f36;
    --label:        #c8ab86;
    --glow:         #10302a;

    --brand-mark: #b0936f;
    --brand-word: #b0936f;

    --tier-premium-ink: #d8bf9e;
    --tier-premium-bg:  #2b2419;
    --tier-premium-line:#4a3f2c;
    --tier-adv-ink:     #8fd8c4;
    --tier-adv-bg:      #103a33;
    --tier-adv-line:    #266053;

    --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 30px -18px rgba(0, 0, 0, .85);
  }
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --bg:        #071d19;
  --bg-alt:    #0b2b25;
  --surface:   #0e3932;
  --ink:       #edf3f1;
  --ink-soft:  #c3d4cf;
  --muted:     #93a8a3;
  --line:      #1d574a;
  --line-soft: #143c34;

  --accent:       #c8ab86;
  --accent-hi:    #dcc4a4;
  --accent-solid: #b0936f;
  --on-accent:    #071d19;
  --accent-bg:    #133f36;
  --label:        #c8ab86;
  --glow:         #10302a;

  --brand-mark: #b0936f;
  --brand-word: #b0936f;

  --tier-premium-ink: #d8bf9e;
  --tier-premium-bg:  #2b2419;
  --tier-premium-line:#4a3f2c;
  --tier-adv-ink:     #8fd8c4;
  --tier-adv-bg:      #103a33;
  --tier-adv-line:    #266053;

  --shadow: 0 1px 2px rgba(0, 0, 0, .45), 0 10px 30px -18px rgba(0, 0, 0, .85);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, .display {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 6vw, 3.9rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.14rem, 1.9vw, 1.35rem); }
h4 { font-size: 1rem; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-hi); text-decoration: underline; text-underline-offset: 3px; }

p a, li a, .answer a, td a, .cat-note a, .note a, .topic a, .lead a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
p a:hover, li a:hover, .answer a:hover, td a:hover, .cat-note a:hover,
.note a:hover, .topic a:hover, .lead a:hover { text-decoration-color: currentColor; }
.app-links a, .site-footer a, .card .more { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

hr { border: 0; border-top: 1px solid var(--line); margin: var(--gap) 0; }

ul, ol { margin: 0 0 1.1em; padding-left: 1.25em; }
li { margin-bottom: .35em; }
li::marker { color: var(--muted); }

code, kbd { font-family: var(--font-mono); font-size: .88em; }

img, svg { max-width: 100%; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent-solid); color: var(--on-accent);
  padding: .6rem 1rem; border-radius: 0 0 var(--r-sm) 0; font-weight: 600;
}
.skip-link:focus { left: 0; text-decoration: none; }

/* --- Layout --------------------------------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad-x); }
.narrow { max-width: 760px; }

section { padding-block: var(--section-y); }
section.tight { padding-block: clamp(2.5rem, 5vw, 3.75rem); }
section.flush-top { padding-top: 0; }
.band { background: var(--bg-alt); border-block: 1px solid var(--line-soft); }

.stack > * + * { margin-top: var(--gap); }
.center { text-align: center; }
.center .lead, .center p { margin-inline: auto; }

.lead {
  font-size: clamp(1.03rem, 1.6vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 62ch;
  line-height: 1.62;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--label);
  margin: 0 0 .9rem;
  display: block;
  font-weight: 500;
}

.section-head { max-width: 64ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head.center { margin-inline: auto; }

.grid { display: grid; gap: var(--gap); }
@media (min-width: 620px)  { .grid.two   { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 620px)  { .grid.three { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px)  { .grid.three { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 620px)  { .grid.four  { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px)  { .grid.four  { grid-template-columns: repeat(4, 1fr); } }

/* --- Brand / header -------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: 1px solid var(--line-soft);
}
.site-header .container {
  display: flex; align-items: center; gap: 1rem;
  min-height: 4.25rem;
}

.brand {
  display: inline-flex; align-items: baseline; gap: .55rem;
  font-family: var(--font-display);
  color: var(--brand-mark); text-decoration: none; margin-right: auto;
}
.brand:hover { text-decoration: none; color: var(--brand-mark); }
.brand .mark {
  font-weight: 700; font-size: 1.32rem; letter-spacing: -.01em;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .1em .38em; line-height: 1.1;
  background: var(--surface);
  /* Chromatic split: cyan offset left, magenta offset right. */
  text-shadow: -0.025em 0 0 var(--logo-cyan), 0.025em 0 0 var(--logo-magenta);
}
.brand .word { font-weight: 500; font-size: 1.07rem; letter-spacing: .005em; color: var(--brand-word); }
.brand:hover .mark { border-color: var(--accent); }

@media (forced-colors: active) {
  .brand .mark { text-shadow: none; }
}

.nav { display: flex; align-items: center; gap: .35rem; }
.nav a {
  font-size: .93rem; color: var(--ink-soft); padding: .45rem .7rem;
  border-radius: var(--r-sm); font-weight: 500;
}
.nav a:hover { background: var(--bg-alt); color: var(--ink); text-decoration: none; }
.nav a[aria-current='page'] { color: var(--ink); background: var(--bg-alt); }
.nav .btn { margin-left: .4rem; }
/* .nav a is more specific than .btn-*, so the button colours need restating here. */
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--on-accent); background: var(--accent-solid); }
.nav a.btn-primary:hover { background: var(--accent-hi); }
.nav a.btn-ghost { color: var(--ink); }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 2.3rem; height: 2.3rem; flex: none;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: var(--surface); color: var(--ink-soft); cursor: pointer;
}
.icon-btn:hover { border-color: var(--accent); color: var(--accent); }
.icon-btn svg { width: 1.05rem; height: 1.05rem; }
.nav-toggle { display: none; }

:root[data-theme='dark'] .theme-toggle .i-sun,
.theme-toggle .i-moon { display: block; }
:root[data-theme='dark'] .theme-toggle .i-moon,
.theme-toggle .i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme='light']) .theme-toggle .i-moon { display: none; }
}
:root[data-theme='light'] .theme-toggle .i-moon { display: block; }
:root[data-theme='light'] .theme-toggle .i-sun { display: none; }

@media (max-width: 880px) {
  .nav-toggle { display: inline-grid; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: .15rem;
    background: var(--bg); border-bottom: 1px solid var(--line);
    padding: .75rem var(--pad-x) 1.1rem;
  }
  .nav.open { display: flex; }
  .nav a { padding: .65rem .55rem; font-size: 1rem; }
  .nav .btn { margin-left: 0; margin-top: .4rem; justify-content: center; }
}

/* --- Buttons --------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-display);
  font-weight: 600; font-size: .95rem; letter-spacing: .005em;
  padding: .68rem 1.15rem; border-radius: var(--r-sm);
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease;
  text-decoration: none; white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent-solid); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hi); color: var(--on-accent); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--surface); }
.btn-sm { padding: .45rem .8rem; font-size: .85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }
.center .btn-row { justify-content: center; }

/* --- Hero ------------------------------------------------------------------ */
.hero { padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem); position: relative; overflow: hidden; }
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60rem 30rem at 82% -10%, var(--glow), transparent 65%),
    linear-gradient(transparent 0 0);
  opacity: .9;
}
.hero h1 { max-width: 16ch; }
.hero .lead { font-size: clamp(1.08rem, 1.9vw, 1.3rem); max-width: 56ch; }
.hero .btn-row { margin-top: 2rem; }
.hero-note { margin-top: 1.5rem; font-size: .87rem; color: var(--muted); }

.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.15fr .85fr; } }

/* Terminal-ish panel */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden;
}
.panel-head {
  display: flex; align-items: center; gap: .5rem;
  padding: .6rem .9rem; border-bottom: 1px solid var(--line-soft);
  background: var(--bg-alt);
  font-family: var(--font-mono); font-size: .74rem; color: var(--muted);
  letter-spacing: .04em;
}
.dot { width: .52rem; height: .52rem; border-radius: 50%; background: var(--line); flex: none; }
.dot.live { background: var(--accent); box-shadow: 0 0 0 3px var(--accent-bg); }
.panel-body { padding: .35rem 0; }
.svc-row {
  display: flex; align-items: center; gap: .75rem;
  padding: .62rem 1rem; font-size: .92rem;
}
.svc-row + .svc-row { border-top: 1px solid var(--line-soft); }
.svc-row .name { font-weight: 600; font-family: var(--font-display); }
.svc-row .host { color: var(--muted); font-family: var(--font-mono); font-size: .78rem; margin-left: auto; }
@media (max-width: 420px) { .svc-row .host { display: none; } }

/* --- Cards ----------------------------------------------------------------- */
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r); padding: clamp(1.25rem, 2.6vw, 1.75rem);
  display: flex; flex-direction: column;
}
.card h3 { margin-bottom: .45rem; }
.card p { color: var(--ink-soft); font-size: .95rem; }
.card ul { color: var(--ink-soft); font-size: .93rem; }
a.card { color: inherit; transition: border-color .15s ease, transform .15s ease; }
a.card:hover { border-color: var(--accent); text-decoration: none; transform: translateY(-2px); }
.card .more { margin-top: auto; padding-top: 1rem; color: var(--accent); font-weight: 600; font-size: .9rem; }

.card-num {
  font-family: var(--font-display); font-weight: 700;
  color: var(--label); font-size: .85rem; letter-spacing: .1em;
  margin-bottom: .75rem; display: block;
}

.feature { display: flex; gap: .9rem; align-items: flex-start; }
.feature .ico {
  flex: none; width: 2.1rem; height: 2.1rem; border-radius: var(--r-sm);
  display: grid; place-items: center; background: var(--accent-bg); color: var(--accent);
}
.feature .ico svg { width: 1.1rem; height: 1.1rem; }
.feature h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.feature p { font-size: .94rem; color: var(--muted); margin: 0; }

/* --- Topic list (education) ------------------------------------------------ */
.topics { display: grid; gap: 0; border-top: 1px solid var(--line); }
.topic {
  border-bottom: 1px solid var(--line);
  padding: 1.4rem 0;
  display: grid; gap: .35rem 2rem;
}
@media (min-width: 780px) { .topic { grid-template-columns: 17rem 1fr; } }
.topic h3 { font-size: 1.08rem; margin: 0; }
.topic p { margin: 0; color: var(--ink-soft); font-size: .96rem; }

/* --- Badges / tiers --------------------------------------------------------- */
.badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .09em;
  text-transform: uppercase; font-weight: 600;
  padding: .2rem .5rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--muted); background: var(--bg-alt);
  white-space: nowrap;
  margin-bottom: .35rem
}
.card > .badge, .tier > .badge { align-self: flex-start; }
.badge.basic    { color: var(--muted); }
.badge.base     { color: var(--muted); }
.badge.premium  { color: var(--tier-premium-ink); border-color: var(--tier-premium-line); background: var(--tier-premium-bg); }
.badge.advanced { color: var(--tier-adv-ink);     border-color: var(--tier-adv-line);     background: var(--tier-adv-bg); }
/* "Recommended" is the only solid pill, so it reads apart from the tier chips
   even where it shares their hue. */
.badge.rec { color: var(--on-accent); background: var(--accent-solid); border-color: var(--accent-solid); }

/* --- App catalogue ---------------------------------------------------------- */
.filters {
  display: flex; flex-wrap: wrap; gap: .5rem; align-items: center;
  margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line);
}
.filters .label { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: .35rem; }
.chip {
  font-family: var(--font-display); font-weight: 600; font-size: .85rem;
  padding: .38rem .8rem; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink-soft);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip[aria-pressed='true'] { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.cat { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.cat > h2 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); margin-bottom: .3rem; }
.cat > .cat-note { color: var(--muted); font-size: .94rem; max-width: 70ch; margin-bottom: 1.25rem; }
.cat.is-hidden { display: none; }

.apps { display: grid; gap: .9rem; }
@media (min-width: 680px) { .apps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .apps { grid-template-columns: repeat(3, 1fr); } }

.app {
  border: 1px solid var(--line); border-radius: var(--r);
  background: var(--surface); padding: 1.05rem 1.1rem 1rem;
  display: flex; flex-direction: column; gap: .5rem;
}
.app.is-hidden { display: none; }
.app-top { display: flex; align-items: center; gap: .55rem; flex-wrap: wrap; }
.app-top h3 { font-size: 1.02rem; margin: 0; }
.app p { font-size: .9rem; color: var(--muted); margin: 0; line-height: 1.55; }
.app-links { display: flex; flex-wrap: wrap; gap: .35rem .9rem; margin-top: auto; padding-top: .45rem; }
.app-links a { font-size: .82rem; font-family: var(--font-mono); letter-spacing: .01em; }
.app-links a::after { content: ' ↗'; font-size: .75em; opacity: .6; }

/* --- Pricing ---------------------------------------------------------------- */
.tiers { display: grid; gap: var(--gap); align-items: start; }
@media (min-width: 900px) { .tiers { grid-template-columns: repeat(3, 1fr); } }

.tier { position: relative; }
.tier.featured { border-color: var(--accent); box-shadow: var(--shadow); }
.tier .flag {
  position: absolute; top: -.72rem; left: 1.4rem;
  background: var(--accent-solid); color: var(--on-accent);
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase;
  padding: .2rem .55rem; border-radius: 999px; font-weight: 600;
}
.price {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1; color: var(--ink);
  margin: .2rem 0 .1rem; letter-spacing: -.02em;
}
.price .unit { font-size: .9rem; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.tier ul { list-style: none; padding: 0; margin: 1.1rem 0 0; font-size: .93rem; }
.tier li { position: relative; padding-left: 1.6rem; color: var(--ink-soft); margin-bottom: .55rem; }
.tier li::before {
  content: ''; position: absolute; left: 0; top: .34em; width: .95rem; height: .95rem;
  background: var(--accent); opacity: .85;
  -webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5 6.2 11.8 2.5 8.1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M13.5 4.5 6.2 11.8 2.5 8.1' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: .94rem; min-width: 34rem; }
th, td { text-align: left; padding: .85rem 1.1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
thead th {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-weight: 600; background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
tbody tr:last-child td { border-bottom: 0; }
td.num { white-space: nowrap; font-family: var(--font-display); font-weight: 600; color: var(--ink); }
td .sub { display: block; color: var(--muted); font-size: .86rem; margin-top: .15rem; }

.note {
  border-left: 2px solid var(--accent); background: var(--bg-alt);
  padding: 1rem 1.25rem; border-radius: 0 var(--r-sm) var(--r-sm) 0;
  font-size: .94rem; color: var(--ink-soft);
}
.note strong { color: var(--ink); }

/* --- Steps ------------------------------------------------------------------ */
.steps { counter-reset: step; display: grid; gap: var(--gap); }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { border-top: 2px solid var(--line); padding-top: 1rem; }
.step::before {
  counter-increment: step; content: '0' counter(step);
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  color: var(--label); display: block; margin-bottom: .55rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: .3rem; }
.step p { font-size: .93rem; color: var(--muted); margin: 0; }

/* --- FAQ --------------------------------------------------------------------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0;
  font-family: var(--font-display); font-weight: 600; font-size: 1.04rem;
  position: relative; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: .35rem; top: 1.45rem;
  width: .7rem; height: .7rem; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform .18s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq summary:hover { color: var(--accent); }
.faq .answer { padding: 0 0 1.35rem; color: var(--ink-soft); font-size: .96rem; max-width: 72ch; }

/* --- CTA band ---------------------------------------------------------------- */
.cta {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
  padding: clamp(2rem, 5vw, 3.25rem); text-align: center; box-shadow: var(--shadow);
}
.cta h2 { margin-bottom: .55rem; }
.cta .lead { margin-bottom: 1.75rem; }

/* --- Contact ------------------------------------------------------------------ */
.contact-grid { display: grid; gap: var(--gap); }
@media (min-width: 880px) { .contact-grid { grid-template-columns: 1.1fr .9fr; } }
.contact-line { display: flex; gap: .75rem; align-items: flex-start; margin-bottom: 1.35rem; }
.contact-line .ico { flex: none; width: 2.1rem; height: 2.1rem; border-radius: var(--r-sm); display: grid; place-items: center; background: var(--accent-bg); color: var(--accent); }
.contact-line .ico svg { width: 1.05rem; height: 1.05rem; }
.contact-line .t { font-family: var(--font-display); font-weight: 600; display: block; }
.contact-line .d { color: var(--muted); font-size: .92rem; }
.big-link { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.1rem, 2.6vw, 1.5rem); word-break: break-word; }

/* --- Footer --------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line); background: var(--bg-alt);
  padding-block: clamp(2.5rem, 5vw, 3.5rem) 2rem; margin-top: auto;
}
.footer-grid { display: grid; gap: 2rem; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer h4 {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: .9rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5rem; }
.site-footer a { color: var(--ink-soft); font-size: .93rem; }
.site-footer a:hover { color: var(--accent); }
/* .site-footer a is more specific than .brand, so the lockup needs restating. */
.site-footer .brand, .site-footer .brand:hover { color: var(--brand-mark); font-size: inherit; }
.site-footer .brand .word { color: var(--brand-word); }
.site-footer .blurb { color: var(--muted); font-size: .9rem; max-width: 34ch; margin-top: .9rem; }
.colophon {
  margin-top: 2.5rem; padding-top: 1.35rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; justify-content: space-between;
  color: var(--muted); font-size: .84rem;
}

body { display: flex; flex-direction: column; min-height: 100vh; }
main { flex: 1; }

/* --- Footer tagline --------------------------------------------------------- */
.site-footer .tagline {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.02rem; color: var(--ink);
  margin: .9rem 0 0; max-width: 28ch; line-height: 1.3;
}
.site-footer .blurb { margin-top: .5rem; }
