/* VFD Guardian — static site. No build step, no JavaScript, no third-party requests. */

:root {
  --asphalt: #15171a;
  --asphalt-2: #22252a;
  --ink: #1a1b1e;
  --body: #3f4147;
  --muted: #61656d;
  --bone: #faf8f5;
  --bone-2: #f2f0ea;
  --line: #e0dbcf;
  --ember: #c81e1e;
  --ember-dark: #a81919;
  --brass: #8a6a1f;
  --brass-light: #d9b866;
  --green: #1f6b3a;
  --green-bg: #e4f1e8;
  --amber: #7a5200;
  --amber-bg: #fbefd2;
  --radius: 10px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  margin: 0;
  background: var(--bone);
  color: var(--body);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { color: var(--ink); line-height: 1.2; margin: 0 0 0.6em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.1rem; font-weight: 700; }
p { margin: 0 0 1em; }
a { color: var(--ember); text-underline-offset: 3px; }
a:hover { color: var(--ember-dark); }
a:focus-visible, .btn:focus-visible { outline: 3px solid var(--brass-light); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

.skip { position: absolute; left: -9999px; top: 0; background: #fff; color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip:focus { left: 12px; top: 12px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--asphalt); border-bottom: 1px solid #2f3338; }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.01em; }
.brand:hover { color: #fff; }
.brand-mark { width: 26px; height: 30px; flex: none; }
.nav { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: 8px 12px; color: #d0d2d6; text-decoration: none; font-size: 0.95rem; font-weight: 500; border-radius: 6px; }
.nav a:hover { color: #fff; background: #2a2d32; }
.nav .nav-cta { color: #fff; background: var(--ember); margin-left: 6px; }
.nav .nav-cta:hover { background: var(--ember-dark); }

/* Hero */
.hero { background: var(--asphalt); color: #d0d2d6; padding: clamp(56px, 9vw, 112px) 0 clamp(48px, 7vw, 88px); border-bottom: 4px solid var(--ember); }
.hero { background-image: radial-gradient(900px 420px at 85% 10%, rgba(200, 30, 30, 0.16), transparent 70%); }
.hero h1 { color: #fff; font-size: clamp(2.2rem, 4.3vw, 3.3rem); }
.hero h1 span { display: block; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: clamp(32px, 6vw, 80px); align-items: center; margin-bottom: 2.4em; }
.hero-grid .actions { margin-bottom: 0; }

.flow { max-width: 380px; width: 100%; justify-self: end; }
.flow-card { background: #fff; border-radius: 12px; padding: 16px 18px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); }
.flow-card p { margin: 0; }
.flow-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.flow-time { font-size: 0.8rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; letter-spacing: 0.04em; }
.flow-title { color: var(--ink); font-weight: 700; font-size: 1rem; line-height: 1.3; }
.flow-sub { color: var(--muted); font-size: 0.88rem; line-height: 1.45; margin-top: 2px !important; }
.flow-link { width: 2px; height: 22px; margin-left: 32px; background: #5a5e66; }
.flow-link.dashed { background: repeating-linear-gradient(to bottom, #e9b949 0 4px, transparent 4px 8px); }
.flow-dev { background: transparent; border: 1.5px dashed #a98a3a; box-shadow: none; }
.flow-dev .flow-title { color: #fff; }
.flow-dev .flow-sub, .flow-dev .flow-time { color: #c5c7cb; }
.tag-draft { background: #e6e2d8; color: #4c4f56; }

@media (max-width: 820px) {
  .hero-grid { grid-template-columns: 1fr; }
  .flow { justify-self: start; }
}
.lede { font-size: clamp(1.1rem, 2vw, 1.35rem); max-width: 60ch; color: #c5c7cb; margin-bottom: 1.6em; }
.eyebrow { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.8rem; font-weight: 700; color: var(--brass-light); margin-bottom: 1em; }
.eyebrow.dark { color: var(--brass); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 2.2em; }
.btn { display: inline-block; padding: 13px 22px; border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 1rem; }
.btn-primary { background: var(--ember); color: #fff; }
.btn-primary:hover { background: var(--ember-dark); color: #fff; }
.btn-ghost { color: #fff; border: 1px solid #5a5e66; }
.btn-ghost:hover { color: #fff; border-color: #fff; }

.status { list-style: none; margin: 0; padding: 20px 0 0; border-top: 1px solid #33373d; display: flex; flex-wrap: wrap; gap: 10px 32px; font-size: 0.95rem; color: #c5c7cb; }
.status li { display: flex; align-items: center; gap: 10px; }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot-live { background: #4cc27a; }
.dot-dev { background: #e9b949; }

/* Sections */
.band { background: var(--bone-2); padding: clamp(48px, 7vw, 80px) 0; border-bottom: 1px solid var(--line); }
.band p { font-size: 1.08rem; }
.band p:last-child { color: var(--ink); font-weight: 600; margin-bottom: 0; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-intro { max-width: 68ch; margin-bottom: 2em; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 8px 40px; margin-top: 1.6em; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.card h3 { margin-top: 12px; }
.card p { margin: 0; font-size: 0.97rem; }
.card-dev { border-style: dashed; border-color: #cdb98a; background: #fffdf7; }
.plain { padding: 16px 0; border-top: 2px solid var(--ink); }
.plain p { font-size: 0.97rem; margin: 0; }

.tag { display: inline-block; font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.tag-live { background: var(--green-bg); color: var(--green); }
.tag-dev { background: var(--amber-bg); color: var(--amber); }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.note { border-left: 4px solid #e9b949; background: var(--amber-bg); color: #4d3500; padding: 12px 16px; border-radius: 0 6px 6px 0; font-size: 0.97rem; }

.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 22px 58px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--asphalt); color: #fff; font-weight: 800; display: grid; place-items: center; }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.steps h3 { margin-bottom: 0.25em; padding-top: 6px; }
.steps p { margin: 0; font-size: 0.97rem; }

.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 2em; }
.road-item { border-top: 4px solid var(--line); padding-top: 14px; }
.road-item.done { border-color: var(--green); }
.road-item.now { border-color: var(--ember); }
.road-item h3 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.4em; }
.road-item p { font-size: 0.95rem; margin: 0; }

/* Contact + footer */
.contact { background: var(--asphalt); color: #c5c7cb; }
.contact h2, .contact h3 { color: #fff; }
.contact a:not(.btn) { color: #fff; }
.about { background: var(--asphalt-2); border: 1px solid #33373d; border-radius: var(--radius); padding: 24px; }
.about p { margin: 0; font-size: 0.97rem; }

.site-footer { background: #0f1012; color: #a0a3aa; font-size: 0.88rem; padding: 28px 0; }
.footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
.footer-row p { margin: 0; max-width: 70ch; }
.footer-row ul { list-style: none; display: flex; gap: 20px; margin: 0; padding: 0; }
.site-footer a { color: #d0d2d6; }

/* Plain pages (privacy, 404) */
.page { padding: clamp(48px, 7vw, 88px) 0; }
.page h1 { font-size: clamp(2rem, 4.5vw, 2.8rem); }
.page h2 { font-size: 1.3rem; margin-top: 1.8em; }

@media (max-width: 820px) {
  .two-col { grid-template-columns: 1fr; }
  .roadmap { grid-template-columns: 1fr; }
  .nav li:not(:last-child) { display: none; }
}

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