/* NINTH SHIFT — design system
   Night-shift palette: deep ink blue-black + sodium-lamp amber.
   Editorial voice: Fraunces serif for display, Plex Mono for data, system sans for body.
   The 9 glyph is the brand. Motion is subtle — credibility over glitz. */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300..700;1,9..144,300..700&family=IBM+Plex+Mono:wght@400;500;600&display=swap');

:root {
  --bg: #08090D;
  --surface: #0F1117;
  --surface2: #151824;
  --line: #232736;
  --text: #E9EAF0;
  --muted: #8B90A3;
  --amber: #F5A83C;
  --amber-glow: rgba(245, 168, 60, 0.14);
  --green: #3DDC91;
  --red: #FF5470;
  --max: 1080px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Inter", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 28px; height: 64px;
  background: rgba(8, 9, 13, 0.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 16px; letter-spacing: 1px; }
.logo .nine {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--amber); color: #14100a;
  display: flex; align-items: center; justify-content: center;
  font-size: 17px; font-weight: 900;
}
.navlinks { display: flex; align-items: center; gap: 26px; }
.navlinks a { font-size: 13.5px; color: var(--muted); font-weight: 600; transition: color .2s; }
.navlinks a:hover, .navlinks a.active { color: var(--text); }
.nav-cta {
  background: var(--amber); color: #14100a !important; font-weight: 700 !important;
  padding: 9px 18px; border-radius: 8px; font-size: 13.5px;
  transition: transform .15s, box-shadow .15s;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px var(--amber-glow); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px; width: 40px; height: 40px; font-size: 18px; cursor: pointer; }

/* mobile nav */
@media (max-width: 720px) {
  .navlinks {
    display: none; position: fixed; top: 64px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--line);
    flex-direction: column; padding: 20px; gap: 18px;
  }
  .navlinks.open { display: flex; }
  .menu-btn { display: block; }
}

/* ── LAYOUT ── */
main { padding-top: 64px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
section { padding: 84px 0; }
.eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11.5px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 14px;
}
h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(36px, 6.5vw, 64px); font-weight: 550; line-height: 1.08; letter-spacing: -0.5px; }
h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(27px, 4vw, 42px); font-weight: 550; line-height: 1.14; letter-spacing: -0.3px; margin-bottom: 14px; }
h3 { font-size: 18px; font-weight: 700; }
.lede { font-size: 17px; color: var(--muted); max-width: 60ch; }
.amber { color: var(--amber); }
.amber-i { color: var(--amber); font-style: italic; }  /* the serif italic accent — "after hours." */

/* ledger — the quiet table that sells the whole thing */
.ledger { border-left: 2px solid var(--line); padding-left: 26px; max-width: 560px; }
.ledger .l-title { font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: 3.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
.ledger .l-row { display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  font-family: 'IBM Plex Mono', monospace; font-size: 15.5px; font-weight: 500;
  padding: 13px 0; border-bottom: 1px solid var(--line); }
.ledger .l-row .n { font-weight: 600; }
.ledger .l-row.total { border-bottom: none; color: var(--amber); padding-top: 16px; }
.ledger .l-note { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--muted);
  margin-top: 16px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }

/* ── BUTTONS ── */
.btn {
  display: inline-block; padding: 15px 30px; border-radius: 10px;
  font-size: 15px; font-weight: 700; transition: transform .15s, box-shadow .15s;
}
.btn-amber { background: var(--amber); color: #14100a; box-shadow: 0 8px 32px var(--amber-glow); }
.btn-amber:hover { transform: translateY(-2px); box-shadow: 0 12px 40px rgba(245,168,60,.28); }
.btn-ghost { border: 1px solid var(--line); color: var(--text); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ── CARDS / GRIDS ── */
.grid { display: grid; gap: 14px; }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 26px 24px; transition: border-color .25s, transform .25s;
}
.card:hover { border-color: rgba(245,168,60,.4); transform: translateY(-3px); }
.card h3 { margin-bottom: 8px; }
.card p { font-size: 14px; color: var(--muted); }
.card .ic { font-size: 24px; margin-bottom: 14px; display: block; }

/* ── STATS ── */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stat { text-align: center; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 22px 10px; }
.stat .n { font-family: 'IBM Plex Mono', monospace; font-size: 28px; font-weight: 600; color: var(--amber); letter-spacing: -1px; }
.stat .l { font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

/* ── STEPS ── */
.steps { counter-reset: step; }
.step-row { display: flex; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); align-items: flex-start; }
.step-row:last-child { border-bottom: none; }
.step-num {
  counter-increment: step; min-width: 44px; height: 44px; border-radius: 12px;
  background: var(--surface2); border: 1px solid var(--line); color: var(--amber);
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 17px;
}
.step-num::before { content: counter(step); }
.step-body h3 { margin-bottom: 4px; }
.step-body p { font-size: 14.5px; color: var(--muted); max-width: 62ch; }

/* ── PRICE CARDS ── */
.price-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 30px 26px; display: flex; flex-direction: column; }
.price-card.hot { border-color: var(--amber); background: linear-gradient(180deg, var(--amber-glow), transparent 40%), var(--surface); }
.price-card .tier { font-size: 11.5px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--amber); }
.price-card .amt { font-size: 34px; font-weight: 850; margin: 8px 0 2px; letter-spacing: -1px; }
.price-card .per { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.price-card ul { list-style: none; margin-bottom: 22px; flex: 1; }
.price-card li { font-size: 14px; color: var(--muted); padding: 6px 0; }
.price-card li::before { content: "✓  "; color: var(--green); font-weight: 700; }
.price-card .btn { text-align: center; }

/* ── CTA BAND ── */
.cta-band {
  background: linear-gradient(135deg, var(--surface2), var(--surface));
  border: 1px solid var(--line); border-radius: 20px;
  padding: 56px 40px; text-align: center; position: relative; overflow: hidden;
}
.cta-band::before {
  content: "9"; position: absolute; right: -30px; bottom: -80px;
  font-size: 320px; font-weight: 900; color: var(--amber); opacity: 0.05; line-height: 1;
}
.cta-band h2 { margin-bottom: 10px; }
.cta-band p { color: var(--muted); margin-bottom: 28px; }

/* ── FORMS ── */
form .frow { display: grid; gap: 12px; grid-template-columns: 1fr 1fr; margin-bottom: 12px; }
@media (max-width: 640px) { form .frow { grid-template-columns: 1fr; } }
label { display: block; font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: var(--surface2); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 13px 14px; font-size: 15px; font-family: inherit;
  transition: border-color .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--amber); }
textarea { min-height: 130px; resize: vertical; }
.field { margin-bottom: 12px; }

/* ── FOOTER ── */
footer { border-top: 1px solid var(--line); padding: 36px 0; margin-top: 40px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.foot-links { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-links a { font-size: 13px; color: var(--muted); }
.foot-links a:hover { color: var(--text); }
.foot-note { font-size: 12px; color: var(--muted); }

/* ── REVEAL ANIMATION ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16,1,.3,1), transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.in { opacity: 1; transform: none; }

/* ── HERO extras (home) ── */
.hero { min-height: calc(92vh - 64px); display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-grid {
  position: absolute; inset: 0; opacity: .35; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, black 30%, transparent 75%);
}
.hero-content { position: relative; z-index: 1; }
.hero .lede { margin: 20px 0 34px; font-size: 18px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.shift-clock { font-variant-numeric: tabular-nums; }

/* leak ticker strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 14px 0; background: var(--surface); }
.strip-track { display: flex; gap: 44px; width: max-content; animation: marquee 30s linear infinite; }
.strip-track span { font-size: 13px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.strip-track span b { color: var(--amber); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .strip-track { animation: none; } .reveal { opacity: 1; transform: none; } }
