/* Shelltty website: shared styles
   Palette taken from the app artwork: espresso surfaces, amber glow, cream text. */

:root {
  --bg: #150c07;
  --bg-2: #1d120b;
  --surface: #28180f;
  --surface-2: #342014;
  --surface-3: #42291a;
  --line: rgba(255, 166, 77, 0.16);
  --line-strong: rgba(255, 166, 77, 0.34);
  --amber: #ff9f2e;
  --amber-hi: #ffb957;
  --amber-deep: #e07a10;
  --cream: #f8e8cc;
  --text: #ecdcc2;
  --muted: #c4aa8c;
  --ink: #1a0e05;
  --terracotta: #c8452f;
  --olive: #6f7b2c;
  --plum: #7c406c;
  --slate: #3f5c7a;
  --ok: #7fc46a;

  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  --glow: 0 0 0 1px var(--line-strong), 0 0 28px rgba(255, 150, 40, 0.18);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  color-scheme: dark;
}

/* Overscroll / rubber-band area matches the theme. */
html { background: #150c07; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

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

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 15% -10%, rgba(255, 140, 30, 0.10), transparent 60%),
    radial-gradient(900px 500px at 100% 0%, rgba(200, 69, 47, 0.08), transparent 60%),
    var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main { flex: 1; }

img { max-width: 100%; height: auto; display: block; }

a { color: var(--amber-hi); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--cream); }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--amber-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--cream);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 4vw, 2.7rem); font-weight: 800; }
h3 { font-size: 1.3rem; font-weight: 700; }
h4 { font-size: 1.05rem; font-weight: 700; }
p { margin: 0 0 1em; }
code, kbd, .mono { font-family: var(--font-mono); font-size: 0.92em; }
code { background: var(--surface-2); color: var(--cream); padding: 0.1em 0.4em; border-radius: 6px; }
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.05em 0.45em;
  border-radius: 7px;
  background: linear-gradient(var(--surface-3), var(--surface-2));
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.45);
  color: var(--cream);
  text-align: center;
}

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 820px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--amber); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip-link:focus { top: 12px; color: var(--ink); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(21, 12, 7, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--cream); }
.brand img { width: 48px; height: 48px; border-radius: 12px; box-shadow: 0 0 0 1px var(--line-strong), 0 6px 18px rgba(0, 0, 0, 0.5); }
.brand span { font-family: var(--font-display); font-weight: 800; font-size: 1.45rem; letter-spacing: -0.01em; }
.brand:hover { color: var(--cream); }

.nav-toggle {
  display: none;
  background: var(--surface-2); color: var(--cream);
  border: 1px solid var(--line-strong); border-radius: 12px;
  width: 46px; height: 46px; cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

.site-nav ul { list-style: none; display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
  display: block; padding: 8px 14px; border-radius: 10px;
  color: var(--text); text-decoration: none; font-weight: 600; font-size: 0.97rem;
}
.site-nav a:hover { color: var(--cream); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--cream); background: var(--surface-2); box-shadow: inset 0 -2px 0 var(--amber); }
.site-nav .nav-cta a { background: var(--amber); color: var(--ink); margin-left: 6px; }
.site-nav .nav-cta a:hover, .site-nav .nav-cta a:focus-visible { background: var(--amber-hi); color: var(--ink); }
.site-nav .nav-cta a[aria-current="page"] { box-shadow: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-grid; place-items: center; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg-2); border-bottom: 1px solid var(--line);
    display: none; padding: 8px var(--gutter) 18px;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; }
  .site-nav a { padding: 12px 14px; }
  .site-nav .nav-cta a { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px; border-radius: 14px;
  font: 700 1.02rem/1.2 var(--font-display);
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-primary, .btn-primary:link, .btn-primary:visited {
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  color: var(--ink);
  box-shadow: 0 0 0 1px rgba(255, 200, 120, 0.5) inset, 0 10px 30px rgba(255, 140, 30, 0.35);
}
.btn-primary:hover, .btn-primary:focus-visible {
  background: linear-gradient(180deg, #ffc879, var(--amber-hi));
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 0 0 0 1px rgba(255, 220, 160, 0.7) inset, 0 14px 38px rgba(255, 140, 30, 0.5);
}
.btn-primary:active { transform: translateY(1px); background: var(--amber-deep); color: var(--ink); }
.btn-secondary, .btn-secondary:link, .btn-secondary:visited {
  background: var(--surface-2); color: var(--cream); border-color: var(--line-strong);
}
.btn-secondary:hover, .btn-secondary:focus-visible { background: var(--surface-3); color: var(--cream); border-color: var(--amber); }
.btn-secondary:active { background: var(--surface); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.btn-note { color: var(--muted); font-size: 0.92rem; margin-top: 14px; }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(40, 24, 15, 0.55), rgba(40, 24, 15, 0.15)); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-block; font: 700 0.8rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
.eyebrow::before { content: "> "; color: var(--muted); }
.section-head { max-width: 760px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.lead { font-size: 1.18rem; color: var(--text); }
.muted { color: var(--muted); }

.divider { margin: 0 auto; max-width: 640px; padding: 0 var(--gutter); opacity: 0.9; }
.divider img { width: 100%; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { padding: clamp(48px, 7vw, 88px) 0 clamp(24px, 4vw, 40px); }
.page-hero .wrap { display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center; }
.page-hero img { width: clamp(120px, 18vw, 200px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.45)); }
@media (max-width: 640px) {
  .page-hero .wrap { grid-template-columns: 1fr; }
  .page-hero img { order: -1; width: 110px; }
}

/* ---------- Home hero ---------- */
.hero { padding: clamp(56px, 9vw, 120px) 0 clamp(56px, 8vw, 104px); position: relative; text-align: center; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 10%; width: min(900px, 90vw); height: 70%;
  transform: translateX(-50%); z-index: -1; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 150, 40, 0.16), transparent);
  filter: blur(20px);
}
.hero .wrap { display: grid; justify-items: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 20ch; }
.hero h1 .accent { color: var(--amber); text-shadow: 0 0 34px rgba(255, 150, 40, 0.45); }
@media (min-width: 640px) { .hero h1 { max-width: none; } .hero h1 .accent { display: block; } }
.hero .lead { max-width: 640px; margin-inline: auto; font-size: clamp(1.1rem, 1.6vw, 1.3rem); }
.hero .btn-row { justify-content: center; }
.hero-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 22px; color: var(--muted); font-size: 0.95rem; }
.hero-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero-meta span::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 10px var(--amber); }

/* ---------- Brand band ---------- */
.brand-band { padding: 44px 0; border-block: 1px solid var(--line); background: var(--bg-2); text-align: center; }
.brand-band .wrap { display: grid; justify-items: center; gap: 18px; }
.brand-band .app-icon { width: 96px; height: 96px; border-radius: 22px; box-shadow: var(--glow), var(--shadow); }
.brand-band h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 6px; }
.brand-band p { margin: 0 auto; max-width: 620px; color: var(--muted); }
@media (max-width: 760px) { .brand-band .app-icon { width: 76px; height: 76px; border-radius: 18px; } }

/* ---------- Cards and grids ---------- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(255, 220, 170, 0.06) inset, var(--shadow);
}
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }

.feature-card { display: flex; flex-direction: column; gap: 14px; transition: transform 0.2s ease, border-color 0.2s ease; }
.feature-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.feature-card .art { height: 150px; display: grid; place-items: center; }
.feature-card .art img { max-height: 150px; width: auto; max-width: 100%; object-fit: contain; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, 0.4)); }
.feature-card .shortcut { margin-top: auto; color: var(--muted); font-size: 0.9rem; }

/* Big alternating feature rows */
.spotlight { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.spotlight + .spotlight { margin-top: clamp(56px, 8vw, 96px); }
.spotlight.reverse .spotlight-art { order: 2; }
.spotlight-art { display: grid; place-items: center; }
.spotlight-art img { max-height: 380px; width: auto; filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.5)); }
.spotlight ul { padding-left: 1.1em; margin: 0 0 1em; }
.spotlight li { margin-bottom: 6px; }
.spotlight li::marker { color: var(--amber); }
@media (max-width: 820px) {
  .spotlight { grid-template-columns: 1fr; }
  .spotlight.reverse .spotlight-art { order: 0; }
  .spotlight-art img { max-height: 260px; }
}

/* Benefits */
.benefit { display: flex; gap: 16px; align-items: flex-start; }
.benefit .num {
  flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  font: 800 1rem/1 var(--font-mono); color: var(--ink);
  background: linear-gradient(180deg, var(--amber-hi), var(--amber));
  box-shadow: 0 0 18px rgba(255, 150, 40, 0.35);
}
.benefit:nth-child(5n+2) .num { background: var(--terracotta); color: var(--cream); box-shadow: none; }
.benefit:nth-child(5n+3) .num { background: var(--olive); color: var(--cream); box-shadow: none; }
.benefit:nth-child(5n+4) .num { background: var(--plum); color: var(--cream); box-shadow: none; }
.benefit:nth-child(5n+5) .num { background: var(--slate); color: var(--cream); box-shadow: none; }

/* ---------- Screenshot showcase ---------- */
.showcase-tabs { display: flex; gap: 8px; justify-content: center; margin-bottom: 26px; }
.showcase-tabs span {
  padding: 8px 18px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line-strong);
  color: var(--cream); font-weight: 700; font-size: 0.95rem;
}
.shots {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 620px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 4px 22px;
  scrollbar-color: var(--surface-3) transparent;
}
.shot { scroll-snap-align: center; margin: 0; }
.mac-window {
  border-radius: 14px; overflow: hidden; background: var(--surface);
  border: 1px solid var(--line-strong); box-shadow: var(--shadow);
}
.mac-window .titlebar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); }
.mac-window .titlebar i { width: 12px; height: 12px; border-radius: 50%; background: #ff5f57; display: block; }
.mac-window .titlebar i:nth-child(2) { background: #febc2e; }
.mac-window .titlebar i:nth-child(3) { background: #28c840; }
.placeholder {
  aspect-ratio: 16 / 10; display: grid; place-items: center; text-align: center; padding: 20px;
  background:
    repeating-linear-gradient(135deg, rgba(255, 166, 77, 0.05) 0 14px, transparent 14px 28px),
    var(--bg-2);
  color: var(--muted); font: 600 0.95rem/1.4 var(--font-mono);
}
.placeholder strong { display: block; color: var(--cream); font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 4px; }
.shot figcaption { margin-top: 12px; color: var(--muted); font-size: 0.95rem; text-align: center; }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: 28px; padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(600px 300px at 85% 30%, rgba(255, 150, 40, 0.25), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--line-strong);
  display: grid; grid-template-columns: 1fr auto; gap: 32px; align-items: center;
}
.cta-band img { width: clamp(140px, 18vw, 220px); filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.5)); }
.cta-band p { max-width: 560px; }
@media (max-width: 720px) { .cta-band { grid-template-columns: 1fr; } .cta-band img { order: -1; width: 130px; } }

/* ---------- Link tiles ---------- */
.link-tile { display: flex; gap: 18px; align-items: center; text-decoration: none; color: var(--text); }
.link-tile:hover { color: var(--text); border-color: var(--amber); }
.link-tile img { width: 72px; height: 72px; object-fit: contain; flex: none; }
.link-tile h3 { margin-bottom: 4px; font-size: 1.15rem; }
.link-tile p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Prose (legal, help) ---------- */
.prose { max-width: 780px; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; scroll-margin-top: 96px; }
.prose h3 { margin-top: 1.6em; scroll-margin-top: 96px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin-bottom: 0.4em; }
.prose li::marker { color: var(--amber); }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: 0.97rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--cream); font-family: var(--font-display); }
.table-scroll { overflow-x: auto; }
.updated { color: var(--muted); font-size: 0.95rem; }

/* Help layout */
.help-layout { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc {
  position: sticky; top: 100px; max-height: calc(100vh - 120px); overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px;
}
.toc h2 { font-size: 1rem; margin: 0 0 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: block; padding: 6px 10px; border-radius: 8px; color: var(--text); text-decoration: none; font-size: 0.95rem; }
.toc a:hover, .toc a.active { background: var(--surface-2); color: var(--cream); }
.toc a.active { box-shadow: inset 3px 0 0 var(--amber); }
@media (max-width: 920px) {
  .help-layout { grid-template-columns: 1fr; }
  .toc { position: static; max-height: none; }
}
.figure-placeholder { margin: 1.2em 0 1.8em; }
.figure-placeholder .placeholder { border-radius: 0; }
.figure-placeholder figcaption { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.note {
  border-left: 3px solid var(--amber); background: var(--surface); border-radius: 0 12px 12px 0;
  padding: 14px 18px; margin: 1.2em 0;
}
.note p:last-child { margin: 0; }

/* FAQ */
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; padding: 14px 0; font-weight: 700; color: var(--cream); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font: 700 1.3rem/1 var(--font-mono); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--text); }

/* ---------- Download page ---------- */
.download-card { display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
.download-card img { width: clamp(140px, 20vw, 220px); }
@media (max-width: 680px) { .download-card { grid-template-columns: 1fr; } .download-card img { margin-inline: auto; } }
.spec-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 8px; color: var(--muted); }
.spec-list li { display: flex; gap: 10px; }
.spec-list li::before { content: "\2713"; color: var(--ok); font-weight: 800; }
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; gap: 18px; }
.steps li { counter-increment: step; position: relative; padding-left: 58px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center;
  background: var(--surface-3); color: var(--amber); font: 800 1rem/1 var(--font-mono); border: 1px solid var(--line-strong);
}

/* ---------- Forms ---------- */
.contact-layout { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }
.form { display: grid; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; color: var(--cream); font-size: 0.97rem; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--cream);
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 12px;
  padding: 12px 14px; transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--amber) 50%), linear-gradient(135deg, var(--amber) 50%, transparent 50%);
  background-position: calc(100% - 20px) 52%, calc(100% - 14px) 52%;
  background-size: 6px 6px; background-repeat: no-repeat; padding-right: 40px;
}
.field select option { background: var(--bg-2); color: var(--cream); }
.field input::placeholder, .field textarea::placeholder { color: #8f7860; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 159, 46, 0.25); }
.field .hint { color: var(--muted); font-size: 0.88rem; }
.honeypot { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-weight: 600; }
.form-status.error { color: #ff9a8a; }
.form button[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-2); padding: 44px 0 36px; margin-top: 40px; }
.site-footer .wrap { display: grid; gap: 22px; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 20px; }
.footer-brand { display: inline-flex; align-items: center; gap: 10px; color: var(--cream); text-decoration: none; font: 800 1.15rem/1 var(--font-display); }
.footer-brand img { width: 36px; height: 36px; border-radius: 9px; }
.footer-brand:hover { color: var(--cream); }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 20px; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--cream); text-decoration: underline; }
.copyright { margin: 0; color: var(--muted); font-size: 0.92rem; }
.copyright a { color: var(--amber-hi); }
.copyright a:hover { color: var(--cream); }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.7s ease, transform 0.7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Roadmap ---------- */
.roadmap-phase { margin-top: clamp(48px, 7vw, 80px); }
.phase-head { display: flex; gap: 20px; align-items: center; margin-bottom: 24px; }
.phase-head img { width: 84px; height: 84px; object-fit: contain; flex: none; }
.phase-head p { margin: 0; color: var(--muted); }
.phase-tag {
  display: inline-block; font: 700 0.78rem/1 var(--font-mono); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 8px; background: var(--surface-3); color: var(--amber); margin-bottom: 8px;
}
.major { border-color: var(--line-strong); margin-bottom: 18px; }
.major h3 { font-size: 1.5rem; }
.timeline { list-style: none; margin: 0; padding: 0 0 0 26px; border-left: 2px solid var(--line-strong); display: grid; gap: 16px; }
.timeline li { position: relative; }
.timeline li::before {
  content: ""; position: absolute; left: -34px; top: 26px; width: 14px; height: 14px; border-radius: 50%;
  background: var(--bg); border: 3px solid var(--amber); box-shadow: 0 0 12px rgba(255, 150, 40, 0.5);
}
.timeline .card { padding: 20px 22px; }
.timeline h4 { display: flex; flex-wrap: wrap; gap: 6px 12px; align-items: baseline; }
.timeline h4 .ver { font-family: var(--font-mono); color: var(--amber); }
.timeline ul { margin: 0.4em 0 0; padding-left: 1.2em; color: var(--text); }
.timeline li li::before { content: none; }
.timeline li li { margin-bottom: 4px; }
.timeline li li::marker { color: var(--amber); }
.status { font: 700 0.72rem/1 var(--font-mono); text-transform: uppercase; letter-spacing: 0.06em; padding: 5px 8px; border-radius: 6px; background: var(--surface-3); color: var(--muted); }
.status.now { background: var(--amber); color: var(--ink); }
.status.next { background: var(--olive); color: var(--cream); }

/* Contact sidebar cards use h2 for outline order, sized like h3. */
.contact-layout aside h2 { font-size: 1.2rem; }

/* Home: centered introduction ("What it is"). */
.about-intro { max-width: 780px; margin: 0 auto; text-align: center; }
.about-intro p { max-width: 700px; margin-inline: auto; }
.about-intro h2 .line { display: block; }
@media (max-width: 520px) { .about-intro h2 { font-size: min(1.8rem, 6.4vw); } }

/* A spotlight without artwork: text centered, list kept readable. */
.spotlight.spotlight-solo { grid-template-columns: minmax(0, 720px); justify-content: center; text-align: center; }
.spotlight-solo ul { display: inline-block; text-align: left; }

/* Headings that stay on one row where there is room (two rows on phones). */
.section-head:has(.one-line) { max-width: none; }
h2.one-line { font-size: clamp(1.6rem, 4.2vw, 2.7rem); }
@media (min-width: 700px) { h2.one-line { white-space: nowrap; } }
@media (max-width: 699px) { h2.one-line span { display: block; } }
