/* ==========================================================================
   Unmild Designer — marketing site
   Design system, documented.

   COLOR — anchored on H=247 degrees (the app's own violet UI accent). The
   app's three real UI colors -- violet 247, PCB green 144, copper 32 --
   sit 103-112 degrees apart, a loose triadic relationship. Every neutral
   in this file is the same 247 hue at low saturation (a tinted-black, not
   true gray), so panels, borders and text all sit in one coherent
   temperature. Accent ramps are single hue/saturation pairs stepped only
   by lightness.

   TYPE — modular scale, base 18px, ratio 1.25 (major third). Each heading
   size is a fluid clamp() interpolated between the scale step at a 400px
   viewport and the step two above it at 1440px, using the standard fluid-
   type formula (slope = delta-px / delta-vw). Nothing here is eyeballed.

   SPACE — 8pt grid (4px half-step at the bottom only): 4 8 12 16 24 32 48
   64 96 128.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,500;0,600;0,700;0,800;1,500&family=Source+Sans+3:ital,wght@0,400;0,500;0,600;1,400&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  /* ---- neutrals, all H=247, S falling as L rises out of the dark ---- */
  --bg: #0b0a17;
  --bg-raised: #110f1f;
  --surface: #191629;
  --surface-2: #232037;
  --line: #2f2d43;
  --line-soft: rgba(47, 45, 67, 0.55);

  --ink: #f0eff6;
  --muted: #9492ab;
  --muted-2: #6b6783;

  /* ---- accent ramps: one hue + saturation, stepped by lightness ---- */
  --accent-300: #a196f8;
  --accent: #705ff2;
  --accent-600: #4c37e6;
  --accent-700: #3622ce;
  --accent-tint: rgba(112, 95, 242, 0.13);

  --copper: #e2943c;
  --copper-tint: rgba(226, 148, 60, 0.14);
  --copper-700: #b47022;

  --pcb: #1c9c4f;

  /* ---- type ---- */
  --font-display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --font-body: 'Source Sans 3', 'Segoe UI', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --fs-00: 0.72rem;
  --fs-0: 0.9rem;
  --fs-1: 1.125rem;
  --fs-2: clamp(1.125rem, 1.0168rem + 0.4327vw, 1.4062rem);
  --fs-3: clamp(1.4062rem, 1.271rem + 0.5409vw, 1.7578rem);
  --fs-4: clamp(2.1973rem, 1.986rem + 0.8451vw, 2.7466rem);
  --fs-5: clamp(2.7466rem, 2.1524rem + 2.3768vw, 4.2915rem);
  --fs-6: clamp(2.7466rem, 2.2933rem + 1.8131vw, 3.9251rem);

  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --radius: 10px;
  --radius-sm: 6px;
  --radius-lg: 18px;
  --container: 1180px;
  --ease: cubic-bezier(0.2, 0.7, 0.3, 1);

  color-scheme: dark;
}

/* ==========================================================================
   Reset
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-1);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}
h3, h4 { letter-spacing: -0.01em; }
code, .mono { font-family: var(--font-mono); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--accent-600); color: #fff;
  padding: 0.75em 1.25em; border-radius: 0 0 8px 0; z-index: 200;
  font-family: var(--font-display); font-weight: 600;
}
.skip-link:focus { left: 0; }

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

/* ==========================================================================
   Layout
   ========================================================================== */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(1.25rem, 4vw, 2.5rem); }
.section { padding-block: var(--sp-9); }
.section-tight { padding-block: var(--sp-8); }
.section-head { max-width: 58ch; margin-bottom: var(--sp-7); }
.section-head p { color: var(--muted); font-size: var(--fs-2); margin-top: var(--sp-3); }
.center { text-align: center; margin-inline: auto; }
.divider { border: none; height: 1px; background: var(--line); }

/* ==========================================================================
   Typography
   ========================================================================== */
h1 { font-size: var(--fs-5); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
p { max-width: 62ch; }
p.lede { font-size: var(--fs-2); color: var(--muted); line-height: 1.55; }
.text-muted { color: var(--muted); }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--fs-00); color: var(--copper);
  display: inline-flex; align-items: center; gap: 0.6em; letter-spacing: 0.01em;
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 3px var(--copper-tint); }

.link-inline { color: var(--accent-300); text-decoration-color: rgba(161, 150, 248, 0.4); text-underline-offset: 3px; }
.link-inline:hover { text-decoration-color: currentColor; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  padding: 0.95em var(--sp-6);
  border-radius: var(--radius-sm);
  font-family: var(--font-display); font-weight: 600; font-size: 0.96rem;
  border: 1px solid transparent; text-decoration: none;
  transition: background-color 0.15s var(--ease), border-color 0.15s var(--ease), color 0.15s var(--ease), transform 0.1s var(--ease);
  white-space: nowrap; position: relative;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent-600); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 1px 2px rgba(0,0,0,0.3);
}
.btn-primary:hover { background: var(--accent-700); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { border-color: var(--copper); color: var(--copper); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-4); align-items: center; }
.btn-ghost {
  background: none; color: var(--muted); font-family: var(--font-body); font-weight: 600; font-size: 0.95rem;
  text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px;
}
.btn-ghost:hover { color: var(--ink); text-decoration-color: var(--copper); }

/* ==========================================================================
   Nav
   ========================================================================== */
.site-nav { position: sticky; top: 0; z-index: 100; border-bottom: 1px solid var(--line-soft); }
.site-nav::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: rgba(11, 10, 23, 0.82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex-shrink: 0; }
.brand-word { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.01em; }
.brand-version { font-family: var(--font-mono); font-size: 0.68rem; color: var(--muted-2); border: 1px solid var(--line); border-radius: 999px; padding: 0.15em 0.55em; margin-left: 0.3em; }

.nav-links { display: flex; align-items: center; gap: var(--sp-6); font-family: var(--font-display); font-size: 0.92rem; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); transition: color 0.15s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .btn { font-size: 0.88rem; padding: 0.65em 1.25em; }

.nav-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; border-radius: 8px; }
.nav-toggle:hover { background: var(--surface); }
.nav-toggle svg { width: 20px; height: 20px; }

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }
  .nav-links {
    position: fixed; inset: 4.25rem 0 0 0; background: var(--bg);
    flex-direction: column; align-items: flex-start;
    padding: var(--sp-6) clamp(1.25rem, 4vw, 2.5rem); gap: var(--sp-5); font-size: 1.15rem;
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: opacity 0.18s var(--ease), transform 0.18s var(--ease), visibility 0.18s;
    border-top: 1px solid var(--line-soft);
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
  .nav-links .btn { width: 100%; }
}

/* ==========================================================================
   Hero -- a fine schematic grid, not a gradient glow.
   ========================================================================== */
.hero { padding-block: clamp(2.75rem, 6vw, 5rem) var(--sp-9); position: relative; overflow: clip; }
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(148, 146, 171, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 146, 171, 0.08) 1px, transparent 1px);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(60% 55% at 32% 15%, #000 0%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 32% 15%, #000 0%, transparent 75%);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { max-width: 480px; }
}
.hero h1 { margin-bottom: var(--sp-5); font-size: var(--fs-6); }
.hero h1 em { font-style: normal; color: var(--copper); }
.hero-sub { font-size: var(--fs-2); color: var(--muted); margin-bottom: var(--sp-6); line-height: 1.55; }
.hero-media { position: relative; }
.hero-media .shot { animation: rise-in 0.7s var(--ease) both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(18px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero-media .shot { animation: none; } }
.hero-note { display: flex; align-items: center; gap: 0.6em; font-family: var(--font-mono); font-size: var(--fs-00); color: var(--muted-2); margin-top: var(--sp-3); }
.hero-note .dot { width: 6px; height: 6px; border-radius: 50%; background: #ef6a6a; box-shadow: 0 0 0 3px rgba(239,106,106,0.16); }
.hero-specs { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-6); }

/* ==========================================================================
   Screenshot frame
   ========================================================================== */
.shot {
  border-radius: var(--radius); border: 1px solid var(--line);
  background: var(--surface); overflow: hidden;
  box-shadow:
    0 1px 1px rgba(0,0,0,0.2),
    0 8px 16px -6px rgba(0,0,0,0.35),
    0 30px 60px -20px rgba(0,0,0,0.55);
}
.shot img { width: 100%; height: auto; }
.shot-caption { display: flex; align-items: baseline; justify-content: space-between; gap: var(--sp-4); font-family: var(--font-mono); font-size: var(--fs-00); color: var(--muted-2); margin-top: var(--sp-3); }
.shot-caption strong { color: var(--muted); font-weight: 500; }
.shot-btn { all: unset; cursor: zoom-in; display: block; width: 100%; }
.shot-btn:focus-visible { outline: 2px solid var(--copper); outline-offset: 4px; border-radius: var(--radius); }

/* ==========================================================================
   Pills
   ========================================================================== */
.pill { display: inline-flex; align-items: center; gap: 0.5em; font-family: var(--font-mono); font-size: var(--fs-00); color: var(--muted); padding: 0.4em 0.8em; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-raised); }
.pill b { color: var(--ink); font-weight: 500; }

/* ==========================================================================
   Workflow steps
   ========================================================================== */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-5); counter-reset: step; }
.step { position: relative; padding-top: var(--sp-5); border-top: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--font-mono); font-size: var(--fs-0); color: var(--copper); display: block; margin-bottom: var(--sp-3); }
.step h3 { margin-bottom: var(--sp-2); font-size: 1.2rem; }
.step p { color: var(--muted); font-size: var(--fs-1); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* Product-confidence cards: tangible workflow claims, not empty comparison copy. */
.confidence-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); }
.confidence-card { min-height: 100%; padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, var(--bg-raised), rgba(35, 32, 55, 0.68)); }
.confidence-number { display: block; margin-bottom: var(--sp-5); font-family: var(--font-mono); font-size: var(--fs-00); color: var(--copper); }
.confidence-card h3 { margin-bottom: var(--sp-3); font-size: 1.22rem; }
.confidence-card p { color: var(--muted); font-size: var(--fs-1); }
@media (max-width: 760px) { .confidence-grid { grid-template-columns: 1fr; } }

/* Mool: the firmware workflow is presented as a first-class product capability. */
.mool-intro { padding-top: var(--sp-8); }
.mool-flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); }
.mool-flow > div { border-top: 1px solid var(--accent); padding-top: var(--sp-4); }
.mool-flow span { display: block; font-family: var(--font-mono); color: var(--copper); font-size: var(--fs-00); margin-bottom: var(--sp-2); }
.mool-flow strong { font-family: var(--font-display); font-size: 1rem; }
.mool-flow p { color: var(--muted); font-size: 0.94rem; margin-top: var(--sp-2); }
.feature-note { padding: var(--sp-4) var(--sp-5); margin-top: var(--sp-5); border-left: 3px solid var(--accent); background: var(--accent-tint); color: var(--muted); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.feature-note strong { color: var(--ink); }
.special-feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-top: var(--sp-7); }
.special-feature-card { padding: var(--sp-6); border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-raised); }
.special-feature-card h3 { margin-bottom: var(--sp-3); font-size: var(--fs-2); }
.special-feature-card p { color: var(--muted); margin-bottom: var(--sp-5); }
@media (max-width: 760px) { .special-feature-grid { grid-template-columns: 1fr; } }
@media (max-width: 860px) { .mool-flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .mool-flow { grid-template-columns: 1fr; } }

/* ==========================================================================
   Feature rows
   ========================================================================== */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; padding-block: var(--sp-8); }
.feature-row + .feature-row { border-top: 1px solid var(--line-soft); }
.feature-row.reverse .f-media { order: 2; }
.feature-row.reverse .f-text { order: 1; }
.f-text h3 { font-size: var(--fs-3); margin-bottom: var(--sp-3); }
.f-text p { color: var(--muted); margin-bottom: var(--sp-3); }
.f-text ul { display: flex; flex-direction: column; gap: 0.55em; margin-top: var(--sp-4); }
.f-text ul li { padding-left: 1.3em; position: relative; color: var(--muted); font-size: 0.98rem; }
.f-text ul li::before { content: ''; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 1px; background: var(--accent); transform: rotate(45deg); }
@media (max-width: 860px) {
  .feature-row { grid-template-columns: 1fr; }
  .feature-row.reverse .f-media, .feature-row.reverse .f-text { order: initial; }
}

/* ==========================================================================
   Tour (features page)
   ========================================================================== */
.tour-item { position: relative; padding-left: var(--sp-6); padding-block: var(--sp-8); }
.tour-item:not(:first-child) { border-top: 1px solid var(--line-soft); }
.tour-marker { position: absolute; left: 0; top: calc(var(--sp-8) + 0.5em); width: 11px; height: 11px; border-radius: 50%; background: var(--copper); box-shadow: 0 0 0 4px var(--copper-tint); }
.tour-item:first-child .tour-marker { top: 0.5em; }
.tour-item::after { content: ''; position: absolute; left: 5px; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, transparent, var(--line) 10%, var(--line) 90%, transparent); }
.tour-item:first-child::after { top: 0.5em; }
.tour-item:last-child::after { bottom: calc(100% - var(--sp-8)); }
.tour-kicker { font-family: var(--font-mono); font-size: var(--fs-00); color: var(--copper); margin-bottom: var(--sp-2); }
.tour-item h2 { margin-bottom: var(--sp-3); }
.tour-item > p.lede { margin-bottom: var(--sp-6); }
.tour-shots { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-5); margin-top: var(--sp-6); }
.tour-shots.single { grid-template-columns: 1fr; max-width: 640px; }
@media (max-width: 720px) { .tour-shots { grid-template-columns: 1fr; } }
.tour-list { columns: 2; column-gap: var(--sp-6); margin-top: var(--sp-4); }
.tour-list li { break-inside: avoid; margin-bottom: 0.6em; padding-left: 1.1em; position: relative; color: var(--muted); font-size: 0.97rem; }
.tour-list li::before { content: '·'; position: absolute; left: 0; color: var(--copper); font-weight: 700; }
@media (max-width: 560px) { .tour-list { columns: 1; } }
.kbd { font-family: var(--font-mono); font-size: 0.82em; color: var(--ink); background: var(--surface-2); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0.1em 0.5em; }

/* ==========================================================================
   Callout
   ========================================================================== */
.callout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; background: var(--bg-raised); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.callout .shot { box-shadow: none; }
@media (max-width: 860px) { .callout { grid-template-columns: 1fr; } }

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-item { border-bottom: 1px solid var(--line); padding-block: var(--sp-5); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .chev { flex-shrink: 0; width: 11px; height: 11px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg); transition: transform 0.2s var(--ease); }
.faq-item[open] summary .chev { transform: rotate(-135deg); }
.faq-item p { margin-top: var(--sp-3); color: var(--muted); }

/* ==========================================================================
   About page
   ========================================================================== */
.origin { max-width: 66ch; }
.origin p { color: var(--muted); margin-bottom: var(--sp-4); font-size: var(--fs-1); }
.origin p:first-of-type { color: var(--ink); font-size: var(--fs-2); }
.name-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-5); margin-top: var(--sp-6); }
.name-card { border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-5); background: var(--bg-raised); }
.name-card .word { font-family: var(--font-mono); color: var(--copper); font-size: 1.1rem; margin-bottom: 0.3em; }
.name-card .gloss { font-size: 0.83rem; color: var(--muted-2); margin-bottom: var(--sp-3); font-style: italic; }
.name-card p:last-child { color: var(--muted); font-size: 0.94rem; }
@media (max-width: 760px) { .name-grid { grid-template-columns: 1fr; } }

.dev-card { display: flex; gap: var(--sp-5); align-items: flex-start; border: 1px solid var(--line); border-radius: var(--radius); padding: var(--sp-6); background: var(--bg-raised); margin-top: var(--sp-7); }
.dev-avatar { width: 54px; height: 54px; border-radius: 13px; flex-shrink: 0; background: linear-gradient(155deg, var(--accent-600), #241a5c); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; color: #fff; }
.dev-card h3 { margin-bottom: 0.2em; font-size: 1.15rem; }
.dev-card .role { color: var(--muted-2); font-size: 0.9rem; margin-bottom: var(--sp-3); font-family: var(--font-mono); }
.dev-card p:last-child { color: var(--muted); }

.status-note { display: flex; gap: var(--sp-4); border-left: 3px solid var(--copper); padding: var(--sp-4) var(--sp-5); background: var(--copper-tint); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin-top: var(--sp-6); }
.status-note p { color: var(--ink); font-size: 0.97rem; margin: 0; }
.status-note p + p { margin-top: 0.5em; color: var(--muted); }

/* ==========================================================================
   Get-it band
   ========================================================================== */
.get-band { border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.75rem, 5vw, 3rem); background: var(--bg-raised); text-align: center; }
.get-band h2 { margin-bottom: var(--sp-3); }
.get-band p { color: var(--muted); max-width: 52ch; margin-inline: auto; }
.get-band .btn-row { justify-content: center; margin-top: var(--sp-6); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { border-top: 1px solid var(--line-soft); padding-block: var(--sp-7); margin-top: var(--sp-8); }
.footer-grid { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: var(--sp-6); }
.footer-brand { max-width: 32ch; }
.footer-brand .brand { margin-bottom: var(--sp-3); }
.footer-brand p { color: var(--muted-2); font-size: 0.9rem; }
.footer-cols { display: flex; gap: var(--sp-9); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-mono); font-size: 0.76rem; color: var(--muted-2); font-weight: 500; margin-bottom: var(--sp-3); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.6em; }
.footer-col a { color: var(--muted); text-decoration: none; font-size: 0.94rem; }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--sp-3); font-size: 0.85rem; color: var(--muted); }

/* ==========================================================================
   404
   ========================================================================== */
.error-page { min-height: 60vh; display: flex; align-items: center; }
.error-page .mono { color: var(--copper); }

/* ==========================================================================
   Lightbox
   ========================================================================== */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(6, 5, 12, 0.9); display: none; align-items: center; justify-content: center; padding: clamp(1rem, 5vw, 4rem); backdrop-filter: blur(4px); }
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 88vh; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,0.6); }
.lightbox-close { position: absolute; top: clamp(1rem,3vw,2rem); right: clamp(1rem,3vw,2rem); width: 42px; height: 42px; border-radius: 50%; background: var(--surface); border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; }
.lightbox-close svg { width: 18px; height: 18px; }

/* ==========================================================================
   Utility
   ========================================================================== */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; padding: 0; margin: -1px; }
.mt-0 { margin-top: 0 !important; }
