/* ============================================================
   NOME FORGE — "Steel & Quench" editorial design system
   Near-monochrome graphite + bone · serif display / sans body /
   mono labels · hairline grid, ZERO radius, no gradients, no glow,
   no shadow. Ember (#C2410C) < 2% of any viewport: text links + one
   status dot only. The molten hero is the single moment of warmth,
   cooled to embers. (Locked by the redesign curator, 2026-06-25.)
   ============================================================ */

:root {
  --bg: #0B0B0C;           /* near-black graphite, never pure #000 */
  --surface: #101012;      /* lifted band */
  --surface2: #141416;     /* plates / inputs */
  --ink: #E8E6E1;          /* bone-white primary text, never pure #fff */
  --ink-bright: #F4F2ED;   /* display headline only */
  --dim: #9A968E;          /* taupe-warm secondary (NOT blue-gray) */
  --faint: #6B6862;        /* metadata, section numbers, hairline-on-text */
  --border: #2A2A2C;       /* the ONE hairline rule color */
  --accent: #C2410C;       /* ember — links + one status dot ONLY, < 2% */

  /* legacy names repointed to neutrals so older pages de-orange automatically */
  --forge-1: var(--ink); --forge-2: var(--ink); --forge-3: var(--dim); --forge-grad: var(--ink);
  --cyan: var(--dim); --violet: var(--dim);
  --panel: var(--surface); --panel-solid: var(--surface);
  --panel-border: var(--border); --panel-border-hot: var(--border);
  --text: var(--ink); --text-dim: var(--dim); --text-faint: var(--faint);
  --radius: 0px; --radius-sm: 0px;

  --maxw: 1180px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Newsreader", "GT Sera", Georgia, "Times New Roman", serif;
  --font-body: "Inter", "Söhne", "Neue Haas Grotesk", -apple-system, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* fine film grain — material, not effect */
body::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.018'/%3E%3C/svg%3E");
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--accent); color: #0B0B0C; }

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 32px; }
.eyebrow {
  display: inline-block; font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--faint);
  padding: 0; border: none; background: none; margin-bottom: 4px;
}
.eyebrow.cool { color: var(--faint); }
.section { padding: 104px 0; position: relative; border-top: 0.5px solid var(--border); }
.section:nth-of-type(even) { background: var(--surface); }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 38px); line-height: 1.04; letter-spacing: -0.01em;
  color: var(--ink-bright); margin: 14px 0 16px;
}
.section-head p { color: var(--dim); font-size: 16px; max-width: 52ch; }
/* gradient-text retired → plain bone; .ember = the single allowed accent word */
.gradient-text, .gradient-text.cool { color: var(--ink-bright); background: none; -webkit-text-fill-color: currentColor; }
.ember { color: var(--accent); }

/* ---------- buttons: sharp, flat, outline, uppercase ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 500; font-size: 13px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 13px 26px; border-radius: 0; border: 0.5px solid var(--border);
  background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .12s linear, color .12s linear, border-color .12s linear;
  white-space: nowrap;
}
.btn-primary { border-color: var(--ink); color: var(--ink); }
.btn-primary:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { border-color: var(--border); color: var(--dim); }
.btn-ghost:hover { border-color: var(--faint); color: var(--ink); }
.btn-lg { padding: 16px 30px; font-size: 13px; }

/* ---------- nav ---------- */
header.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; background: transparent; transition: background .2s, border-color .2s; border-bottom: 0.5px solid transparent; }
header.nav.scrolled { background: var(--bg); border-bottom: 0.5px solid var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-body); font-weight: 500; font-size: 15px; letter-spacing: 0.02em; color: var(--ink); }
.brand .mark { width: 22px; height: 22px; border-radius: 0; border: 0.5px solid var(--ink); background: transparent; display: grid; place-items: center; box-shadow: none; }
.brand .mark svg { width: 14px; height: 14px; }
.brand .mark svg path { stroke: var(--ink); }
.brand b { font-weight: 500; }
.brand span { color: var(--ink); font-weight: 500; }
nav.links { display: flex; align-items: center; gap: 30px; }
nav.links a { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--dim); transition: color .15s; }
nav.links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; padding-top: 56px; overflow: hidden; }
#hero-canvas { position: absolute; inset: 0; z-index: 0; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, var(--bg) 0%, rgba(11,11,12,0.7) 38%, transparent 66%); }
.hero-inner { position: relative; z-index: 2; }
.hero-static #hero-canvas { display: none; }
.hero-static .hero::before { content: ""; position: absolute; right: 8%; bottom: 0; width: 38%; height: 70%; z-index: 1;
  background: radial-gradient(60% 60% at 70% 90%, rgba(90,38,22,0.5), rgba(26,10,4,0.2) 45%, transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 60px; align-items: center; }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.0; letter-spacing: -0.015em; color: var(--ink-bright); margin: 18px 0 26px; }
.hero h1 .line { display: block; }
.hero p.lead { font-size: 16px; color: var(--dim); max-width: 46ch; margin-bottom: 34px; line-height: 1.65; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }
.hero-stats { display: flex; gap: 48px; flex-wrap: wrap; border-top: 0.5px solid var(--border); padding-top: 26px; }
.hero-stats .stat .n { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1; color: var(--ink-bright); }
.hero-stats .stat .l { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; color: var(--faint); margin-top: 8px; text-transform: uppercase; }

/* hero spec plate (formerly the console card) */
.hero-card { border-radius: 0; overflow: hidden; background: var(--surface); border: 0.5px solid var(--border); box-shadow: none; transform: none; }
.hero-card .bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 0.5px solid var(--border); background: transparent; }
.hero-card .bar i { width: 6px; height: 6px; border-radius: 0; display: inline-block; background: var(--faint); }
.hero-card .bar .t { margin-left: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; color: var(--faint); text-transform: uppercase; }
.hero-card .body { padding: 18px; font-family: var(--font-mono); font-size: 12px; line-height: 2; }
.hero-card .body .row { display: flex; gap: 14px; }
.hero-card .body .k { color: var(--faint); min-width: 92px; text-transform: uppercase; letter-spacing: 0.06em; font-size: 11px; align-self: center; }
.hero-card .body .v { color: var(--dim); }
.hero-card .body .ok { color: var(--dim); }
.hero-card .body .hot { color: var(--ink); }
.hero-card .ftr { padding: 13px 18px; border-top: 0.5px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.pill-live { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }
.pill-live .dot { width: 7px; height: 7px; border-radius: 0; background: var(--accent); box-shadow: none; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:.4;} }
.pill-live .dot { animation: pulse 2.4s infinite; }

/* ---------- marquee ---------- */
.marquee { border-top: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border); padding: 18px 0; overflow: hidden; background: var(--bg); }
.marquee .track { display: flex; gap: 56px; width: max-content; animation: scroll 36s linear infinite; }
.marquee .track span { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); white-space: nowrap; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---------- grids: hairline-divided, not cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 0.5px solid var(--border); border-left: 0.5px solid var(--border); }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; border-top: 0.5px solid var(--border); border-left: 0.5px solid var(--border); }
.card {
  position: relative; border-radius: 0; padding: 34px 30px; background: transparent;
  border-right: 0.5px solid var(--border); border-bottom: 0.5px solid var(--border);
  transition: background-color .2s; overflow: hidden;
}
.card::before { display: none; }
.card:hover { background: var(--surface); transform: none; box-shadow: none; }
.card .ico { width: 34px; height: 34px; border-radius: 0; display: grid; place-items: center; margin-bottom: 22px; background: transparent; border: 0.5px solid var(--border); color: var(--dim); }
.card .ico svg { stroke: var(--dim) !important; }
.card .ico.cool, .card .ico.vio { background: transparent; border-color: var(--border); }
.card h3 { font-family: var(--font-display); font-size: 19px; font-weight: 400; margin-bottom: 10px; color: var(--ink-bright); }
.card p { color: var(--dim); font-size: 14px; }
.card .tag { position: absolute; top: 24px; right: 26px; font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

/* ---------- frameworks ---------- */
.fw-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 0.5px solid var(--border); }
.fw { border-radius: 0; padding: 28px 22px; text-align: left; background: transparent; border-right: 0.5px solid var(--border); transition: background-color .2s; }
.fw:last-child { border-right: none; }
.fw:hover { background: var(--surface); transform: none; }
.fw .nm { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--ink-bright); }
.fw .de { font-size: 12px; color: var(--faint); margin-top: 8px; }
.fw .badge { display: inline-block; margin-top: 16px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; padding: 3px 0; background: none; color: var(--dim); border: none; }
.fw .badge.rec { color: var(--accent); }

/* ---------- pricing: coplanar plates on the grid ---------- */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 0.5px solid var(--border); align-items: stretch; }
.price { position: relative; border-radius: 0; padding: 36px 30px; background: transparent; border-right: 0.5px solid var(--border); display: flex; flex-direction: column; transition: background-color .2s; }
.price:last-child { border-right: none; }
.price:hover { background: var(--surface); transform: none; }
.price.featured { background: var(--surface); box-shadow: none; }
.price.featured::after { content: "001 — Recommended"; position: absolute; top: 16px; right: 22px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); background: none; padding: 0; }
.price .nm { font-family: var(--font-display); font-weight: 400; font-size: 21px; color: var(--ink-bright); }
.price .desc { color: var(--faint); font-size: 13px; margin: 8px 0 20px; min-height: 38px; }
.price .amt { font-family: var(--font-display); font-weight: 400; font-size: 42px; line-height: 1; color: var(--ink-bright); }
.price .amt small { font-size: 13px; color: var(--faint); font-family: var(--font-mono); }
.price ul { list-style: none; margin: 24px 0; flex: 1; }
.price li { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; font-size: 14px; color: var(--dim); border-top: 0.5px solid var(--border); }
.price li:first-child { border-top: none; }
.price li svg { flex-shrink: 0; margin-top: 4px; color: var(--faint); }

/* ---------- hosting compare ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 0.5px solid var(--border); }
.compare .col { border-radius: 0; padding: 36px; background: transparent; border-right: 0.5px solid var(--border); }
.compare .col:last-child { border-right: none; }
.compare .col.hot { background: var(--surface); }
.compare h3 { font-family: var(--font-display); font-size: 24px; font-weight: 400; margin-bottom: 8px; color: var(--ink-bright); }
.compare .sub { font-family: var(--font-mono); color: var(--faint); font-size: 12px; margin-bottom: 24px; text-transform: uppercase; letter-spacing: 0.06em; }
.compare ul { list-style: none; }
.compare li { display: flex; gap: 12px; padding: 12px 0; border-top: 0.5px solid var(--border); font-size: 14px; color: var(--dim); }
.compare li svg { flex-shrink: 0; margin-top: 4px; color: var(--faint) !important; stroke: var(--faint) !important; }

/* ---------- steps ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 0.5px solid var(--border); }
.step { position: relative; padding: 30px; background: transparent; border-right: 0.5px solid var(--border); }
.step:last-child { border-right: none; }
.step::before { counter-increment: step; content: "00" counter(step); font-family: var(--font-mono); font-weight: 400; font-size: 11px; letter-spacing: 0.2em; color: var(--faint); background: none; -webkit-text-fill-color: currentColor; }
.step h4 { font-family: var(--font-display); font-size: 18px; font-weight: 400; margin: 14px 0 10px; color: var(--ink-bright); }
.step p { color: var(--dim); font-size: 14px; }

/* ---------- faq ---------- */
.faq-item { border-bottom: 0.5px solid var(--border); }
.faq-q { width: 100%; text-align: left; background: none; border: none; color: var(--ink); cursor: pointer; padding: 24px 0; font-family: var(--font-display); font-weight: 400; font-size: 19px; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-q .ic { transition: transform .25s var(--ease); color: var(--faint); flex-shrink: 0; font-family: var(--font-mono); }
.faq-item.open .faq-q .ic { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s var(--ease); }
.faq-a p { color: var(--dim); padding-bottom: 24px; font-size: 15px; max-width: 66ch; }

/* ---------- cta band ---------- */
.cta-band { position: relative; border-radius: 0; padding: 80px 56px; text-align: left; overflow: hidden; border: 0.5px solid var(--border); background: var(--surface); }
.cta-band h2 { font-family: var(--font-display); font-size: clamp(30px, 3.6vw, 44px); font-weight: 400; letter-spacing: -0.01em; margin-bottom: 16px; color: var(--ink-bright); }
.cta-band p { color: var(--dim); font-size: 16px; max-width: 50ch; margin: 0 0 32px; }

/* ---------- footer ---------- */
footer { border-top: 0.5px solid var(--border); padding: 72px 0 40px; margin-top: 0; background: var(--bg); }
.foot-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; margin-bottom: 56px; }
.foot-grid h5 { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 18px; color: var(--faint); }
.foot-grid a { display: block; color: var(--dim); font-size: 14px; padding: 7px 0; transition: color .15s; }
.foot-grid a:hover { color: var(--ink); }
.foot-about p { color: var(--faint); font-size: 14px; max-width: 320px; margin-top: 16px; }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 30px; border-top: 0.5px solid var(--border); flex-wrap: wrap; gap: 12px; }
.foot-bottom p { font-family: var(--font-mono); color: var(--faint); font-size: 11px; letter-spacing: 0.04em; }
.legal-note { font-family: var(--font-mono); color: var(--faint); font-size: 11px; max-width: 880px; margin-top: 18px; line-height: 1.8; letter-spacing: 0.02em; }
.legal-note code, .micro code, .res code { font-family: var(--font-mono); color: var(--dim); }
a[href^="mailto"] { color: var(--accent) !important; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { max-width: 460px; }
  .grid-3, .fw-row, .price-grid, .steps { grid-template-columns: 1fr 1fr; }
  .compare, .grid-2 { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  nav.links, .nav-cta .btn-ghost { display: none; }
  .grid-3, .fw-row, .price-grid, .steps, .foot-grid { grid-template-columns: 1fr; }
  .section { padding: 72px 0; }
  .hero-stats { gap: 28px; }
}
