/* Manifest & Match — marketing site. Palette and card design mirror the product itself:
   amber (where you are) → teal (where you could go), cream card stock, ink text, rust for
   hard requirements. Display: Fraunces. Body: Instrument Sans. Data/labels: Spline Sans Mono. */

:root {
  --ink: #1a1f26;
  --muted: #5d6672;
  --faint: #98a1ac;
  --paper: #fcfbf9;
  --cream: #fdf7ec;
  --line: #e8e6e0;
  --amber: #d9912f;
  --amber-deep: #9a6a1e;
  --teal: #1f9e8f;
  --teal-deep: #14655c;
  --rust: #c0563f;
  --rust-deep: #a8442d;
  --dial: linear-gradient(90deg, #d9912f, #1f9e8f);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  font-family: "Instrument Sans", -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
}

.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

a { color: var(--teal-deep); }
a:focus-visible, button:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }

/* ── header ─────────────────────────────────────────── */
header.site {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 22px 24px;
}
.brand { font-family: "Fraunces", serif; font-weight: 600; font-size: 21px; color: var(--ink); text-decoration: none; }
.brand b { color: var(--amber); font-weight: 600; }
nav.site a { margin-left: 26px; font-size: 15px; color: var(--muted); text-decoration: none; }
nav.site a:hover { color: var(--ink); }
.nav-cta {
  margin-left: 26px; padding: 9px 18px; border-radius: 10px; white-space: nowrap;
  background: var(--ink); color: #fff !important; font-size: 15px; font-weight: 600; text-decoration: none;
}

/* the dial — the product's core idea as the page's structural divider */
.dial { height: 3px; background: var(--dial); border: 0; margin: 0; }
.dial.thin { opacity: .5; }

/* ── hero ───────────────────────────────────────────── */
.hero { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding: 72px 0 80px; }
.hero h1 {
  font-family: "Fraunces", serif; font-weight: 560; font-size: clamp(34px, 4.6vw, 52px);
  line-height: 1.12; letter-spacing: -0.01em; margin: 0 0 20px;
}
.hero h1 .am { color: var(--amber-deep); }
.hero h1 .te { color: var(--teal-deep); }
.hero p.lede { font-size: 19px; color: var(--muted); margin: 0 0 30px; max-width: 46ch; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 12px; font-weight: 600; font-size: 16px;
  text-decoration: none; border: 1px solid transparent;
}
.btn.primary { background: var(--teal); color: #fff; }
.btn.primary:hover { background: var(--teal-deep); }
.btn.ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.hero .fine { font-family: "Spline Sans Mono", monospace; font-size: 12.5px; color: var(--faint); margin-top: 18px; }

/* the card — a faithful rebuild of the product's job card */
.card-stage { position: relative; }
.jobcard {
  background: var(--cream); border: 1px solid var(--line); border-radius: 18px;
  padding: 22px; max-width: 380px; margin-left: auto;
  box-shadow: 0 24px 60px -28px rgba(26, 31, 38, .25);
  transform: rotate(1.2deg);
}
.jc-match { text-align: right; font-weight: 800; font-size: 14px; color: var(--teal-deep); }
.jobcard h3 { font-size: 21px; line-height: 1.2; margin: 4px 0 10px; font-weight: 700; }
.jc-meta { display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center; font-size: 12.5px; color: var(--muted); margin-bottom: 12px; }
.jc-sector { font-weight: 700; color: var(--teal-deep); background: rgba(31,158,143,.1); padding: 2px 10px; border-radius: 999px; }
.jc-req { font-weight: 700; color: var(--rust-deep); background: rgba(192,86,63,.09); border: 1px solid rgba(192,86,63,.35); padding: 2px 10px; border-radius: 999px; }
.jc-skills { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.jc-skills span { font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(217,145,47,.12); color: var(--amber-deep); }
.jc-salary { font-weight: 600; font-size: 14.5px; margin-bottom: 10px; }
.jc-desc { font-size: 13px; color: var(--muted); line-height: 1.5; }
.jc-acts { display: flex; gap: 8px; margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(0,0,0,.07); }
.jc-acts span { flex: 1; text-align: center; font-size: 12.5px; font-weight: 600; color: var(--teal-deep); background: #fff; border: 1px solid var(--line); border-radius: 9px; padding: 8px 4px; }

/* milestone rail under the card */
.rail { margin: 30px 8px 0 auto; max-width: 380px; }
.rail-bar { height: 4px; border-radius: 99px; background: var(--dial); position: relative; }
.rail-marks { display: flex; justify-content: space-between; font-family: "Spline Sans Mono", monospace; font-size: 12px; color: var(--muted); margin-top: 8px; }
.rail-marks b { color: var(--ink); }

/* ── sections ───────────────────────────────────────── */
section { padding: 76px 0; }
.eyebrow { font-family: "Spline Sans Mono", monospace; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--amber-deep); margin: 0 0 12px; }
section h2 { font-family: "Fraunces", serif; font-weight: 560; font-size: clamp(26px, 3.4vw, 36px); line-height: 1.18; margin: 0 0 14px; max-width: 24ch; }
section p.sub { color: var(--muted); max-width: 62ch; margin: 0 0 36px; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.step .k { font-family: "Spline Sans Mono", monospace; font-size: 13px; color: var(--teal-deep); display: block; margin-bottom: 10px; }
.step h3 { margin: 0 0 8px; font-size: 18px; }
.step p { margin: 0; font-size: 15px; color: var(--muted); }

/* dial section */
.dialgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.dial-demo { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; }
.dial-track { height: 10px; border-radius: 99px; background: var(--dial); position: relative; margin: 18px 0 14px; }
.dial-knob { position: absolute; top: 50%; left: 62%; transform: translate(-50%, -50%); width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 3px solid var(--ink); }
.dial-ends { display: flex; justify-content: space-between; font-size: 13.5px; }
.dial-ends .a { color: var(--amber-deep); font-weight: 700; }
.dial-ends .t { color: var(--teal-deep); font-weight: 700; text-align: right; }

/* courses section */
.course-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.gapcard, .coursecard { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 26px; }
.gapcard .label, .coursecard .label { font-family: "Spline Sans Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: 14px; }
.gap-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.gap-chips span { font-size: 13px; padding: 5px 12px; border-radius: 999px; background: rgba(192,86,63,.08); border: 1px solid rgba(192,86,63,.3); color: var(--rust-deep); }
.gap-chips span.have { background: rgba(31,158,143,.08); border-color: rgba(31,158,143,.3); color: var(--teal-deep); }
.course { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 14.5px; }
.course:first-of-type { border-top: 0; }
.course .prov { font-family: "Spline Sans Mono", monospace; font-size: 12px; color: var(--faint); white-space: nowrap; }
.honesty { margin-top: 30px; padding: 18px 22px; border: 1px solid rgba(192,86,63,.3); background: rgba(192,86,63,.05); border-radius: 13px; font-size: 15px; color: var(--ink); max-width: 70ch; }

/* data foundations */
.datalist { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.datalist div { border-top: 3px solid; padding-top: 14px; font-size: 14px; color: var(--muted); }
.datalist div:nth-child(1) { border-color: var(--amber); }
.datalist div:nth-child(2) { border-color: var(--teal); }
.datalist div:nth-child(3) { border-color: var(--rust); }
.datalist div:nth-child(4) { border-color: var(--ink); }
.datalist b { display: block; color: var(--ink); font-size: 15.5px; margin-bottom: 4px; }

/* CTA band */
.band { background: var(--ink); color: #fff; border-radius: 20px; padding: 56px 48px; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.band h2 { color: #fff; margin: 0; }
.band p { color: #aeb6c0; margin: 8px 0 0; }

/* footer */
footer.site { padding: 44px 0 60px; color: var(--faint); font-size: 14px; }
footer.site .cols { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
footer.site a { color: var(--muted); text-decoration: none; margin-right: 22px; }
footer.site a:hover { color: var(--ink); }

/* legal pages */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 24px 80px; }
.legal h1 { font-family: "Fraunces", serif; font-weight: 560; font-size: 34px; }
.legal h2 { font-size: 20px; margin-top: 36px; }
.legal p, .legal li { color: #3c434c; font-size: 16px; }
.legal .updated { font-family: "Spline Sans Mono", monospace; font-size: 13px; color: var(--faint); }

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 40px 0 56px; }
  .jobcard { margin: 0 auto; transform: none; }
  .rail { margin: 26px auto 0; }
  .steps, .course-pair, .dialgrid { grid-template-columns: 1fr; }
  .datalist { grid-template-columns: 1fr 1fr; }
  section { padding: 56px 0; }
  .band { padding: 40px 28px; }
  nav.site a:not(.nav-cta) { display: none; }
  .brand { font-size: 18px; white-space: nowrap; }
  .nav-cta { margin-left: 12px; }
}
