/* The Career Operator: design system */
:root {
  --paper: #F7F4EE;
  --paper-2: #EFEBE2;
  --surface: #FFFFFF;
  --ink: #14161A;
  --ink-2: #4B4F57;
  --ink-3: #5F636B;
  --line: #E2DDD2;
  --orange: #E8552B;          /* decoration */
  --orange-btn: #C2410C;      /* text and buttons (AA on white and paper) */
  --orange-btn-hover: #9A3412;
  --orange-soft: #FDEBE4;
  --green: #1F6B4F;
  --green-soft: #E6F1EC;
  --font-display: 'Instrument Serif', Georgia, serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  --max: 1080px;
  --radius: 12px;
  --radius-sm: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper); color: var(--ink);
  font-family: var(--font-body); line-height: 1.65; -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-btn); text-decoration: none; }
a:hover { color: var(--orange-btn-hover); text-decoration: underline; }
ul { list-style: none; }
code { font-family: var(--font-mono); font-size: 0.9em; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.container { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* draft bar, header, footer */
.draft-bar { background: var(--ink); color: #F7F4EE; text-align: center; font-size: 0.78rem; padding: 6px 12px; }
.draft-tag {
  display: inline-block; font-size: 0.65rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  background: var(--orange-soft); color: var(--orange-btn); border: 1px dashed var(--orange);
  border-radius: 999px; padding: 1px 8px; margin-left: 6px; vertical-align: middle;
}
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding: 22px 0 8px; }
.wordmark { font-family: var(--font-mono); font-weight: 500; font-size: 1.05rem; color: var(--ink); letter-spacing: -0.02em; }
.wordmark:hover { text-decoration: none; color: var(--ink); }
.wordmark--sm { font-size: 0.95rem; display: inline-block; }
.cursor { color: var(--orange); margin-left: 1px; animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .cursor { animation: none; } html { scroll-behavior: auto; } }
.nav { display: flex; gap: 6px 20px; flex-wrap: wrap; font-size: 0.85rem; }
.nav a { color: var(--ink-2); padding: 4px 0; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: none; box-shadow: 0 2px 0 var(--orange); }
.site-footer {
  border-top: 1px solid var(--line); margin-top: 72px; padding: 28px 0 48px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 24px; font-size: 0.82rem; color: var(--ink-3);
}
.site-footer nav { display: flex; flex-direction: column; gap: 6px; }
.site-footer a { color: var(--ink-3); }
.site-footer a:hover { color: var(--ink); }
.site-footer p { margin-top: 6px; }

/* type */
.kicker { font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; color: var(--orange-btn); margin-bottom: 12px; }
.display { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.3rem, 5.4vw, 3.6rem); line-height: 1.08; letter-spacing: -0.01em; }
.display i { color: var(--orange-btn); }
h2.section-title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3.4vw, 2.3rem); line-height: 1.15; }
.section-sub { color: var(--ink-3); margin: 6px 0 22px; max-width: 640px; }
.sub { font-size: 1.05rem; color: var(--ink-2); max-width: 540px; margin-top: 16px; }
.fine { font-size: 0.8rem; color: var(--ink-3); margin-top: 12px; }
.muted { color: var(--ink-3); }
section { margin-top: 72px; }

/* hero */
.hero { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; padding: 40px 0 0; margin-top: 0; }
.hero--single { grid-template-columns: 1fr; }
.btn-row { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 24px; }

/* buttons */
.btn {
  display: inline-block; border-radius: var(--radius-sm); padding: 11px 20px; font-size: 0.9rem; font-weight: 600;
  text-align: center; border: 1.5px solid transparent; cursor: pointer; font-family: inherit; transition: background 0.15s, border-color 0.15s;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--orange-btn); color: #fff; }
.btn--primary:hover { background: var(--orange-btn-hover); color: #fff; }
.btn--ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }
.btn--sm { padding: 7px 14px; font-size: 0.8rem; }
.btn-stack { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 18px; }
.btn[data-pending="true"] { opacity: 0.85; }

/* terminal motif */
.terminal { background: var(--ink); color: #E9E6DF; border-radius: var(--radius); overflow: hidden; font-family: var(--font-mono); font-size: 0.82rem; }
.terminal__bar, .mock__bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; font-size: 0.7rem; color: #9A9EA6; }
.terminal__bar i, .mock__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3A3E46; display: block; }
.terminal__bar span, .mock__bar span { margin-left: 8px; }
.terminal pre { padding: 6px 18px 14px; white-space: pre-wrap; line-height: 1.8; }
.terminal .prompt { color: var(--orange); }
.terminal .cmd { color: #fff; font-weight: 500; }
.terminal__note { padding: 0 18px 14px; font-size: 0.7rem; color: #9A9EA6; }
.cmd-chip { font-family: var(--font-mono); font-size: 0.75rem; background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; color: var(--ink); display: inline-block; }

/* loop band */
.band { background: var(--ink); color: #D8D5CE; border-radius: var(--radius); padding: 28px 32px; display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.band > div:first-child { flex: 1; min-width: 240px; }
.band h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: #fff; margin-bottom: 6px; }
.loop { display: flex; gap: 22px; }
.loop div { text-align: center; font-size: 0.75rem; color: var(--orange); font-family: var(--font-mono); }
.loop b { display: block; font-family: var(--font-mono); font-weight: 500; font-size: 0.95rem; color: #fff; }

/* grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; position: relative; }
.card h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.55rem; line-height: 1.15; }
.card p { color: var(--ink-2); font-size: 0.9rem; }
.card .note { margin-top: 10px; font-size: 0.82rem; color: var(--ink-3); }
.tagline { margin: 6px 0 14px; min-height: 3.2em; }
.price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; margin-bottom: 14px; }
.price b { font-family: var(--font-display); font-weight: 400; font-size: 2.6rem; line-height: 1; }
.price span { font-size: 0.78rem; color: var(--ink-3); }
.package--featured { border: 2px solid var(--orange); }
.badge { position: absolute; top: -12px; left: 20px; background: var(--orange-btn); color: #fff; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 3px 12px; border-radius: 999px; }
.pill { align-self: flex-start; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--line); color: var(--ink-3); border-radius: 999px; padding: 2px 10px; margin-bottom: 10px; }

.ticks li { position: relative; padding-left: 24px; margin: 8px 0; font-size: 0.9rem; color: var(--ink-2); }
.ticks li::before { content: "\2713"; position: absolute; left: 0; color: var(--green); font-weight: 700; }
.ticks--cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; }

/* compare table */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); font-size: 0.88rem; }
.compare thead th { position: sticky; top: 0; z-index: 2; background: var(--surface); padding: 16px 8px; border-bottom: 2px solid var(--ink); vertical-align: bottom; text-align: center; font-weight: 400; }
.compare thead th:first-child { width: 38%; }
.compare .th-name { display: block; font-family: var(--font-display); font-size: 1.35rem; line-height: 1.1; }
.compare .th-price { display: block; color: var(--ink-3); font-size: 0.85rem; margin: 2px 0 8px; }
.compare tbody th[scope="row"] { text-align: left; font-weight: 400; padding: 12px 14px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.compare td { text-align: center; padding: 12px 6px; border-bottom: 1px solid var(--line); }
.compare td.yes { color: var(--green); font-weight: 700; font-size: 1.1rem; }
.compare td.no { color: #A9A59B; }
.compare td.text { font-size: 0.82rem; color: var(--ink-2); }
.compare tr.group th { text-align: left; background: var(--paper-2); font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); padding: 8px 14px; font-weight: 600; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; justify-content: space-between; gap: 14px; }
.review blockquote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.35; }
.review figcaption { font-size: 0.8rem; color: var(--ink-3); }
.review figcaption b { color: var(--ink); }
.review--placeholder { border-style: dashed; background: transparent; }
.review--placeholder blockquote { font-family: var(--font-body); font-size: 0.9rem; color: var(--ink-3); }

/* access strip, callouts, signup */
.access, .callout { background: var(--green-soft); border-radius: var(--radius); padding: 20px 24px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-top: 24px; }
.access > div, .callout > div { flex: 1; min-width: 240px; }
.access b, .callout b { font-weight: 600; }
.access p, .callout p { font-size: 0.88rem; color: var(--ink-2); margin-top: 4px; }
.needs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.needs span { background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.85rem; }
.signup { background: var(--ink); color: #D8D5CE; border-radius: var(--radius); padding: 32px; }
.signup h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.9rem; color: #fff; }
.signup p { margin-top: 6px; max-width: 520px; }
.signup form { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.input { flex: 1; min-width: 220px; border: 1.5px solid #3A3E46; background: #1E2127; color: #fff; border-radius: var(--radius-sm); padding: 11px 14px; font: inherit; font-size: 0.9rem; }
.input::placeholder { color: #9A9EA6; }
.form-msg { width: 100%; font-size: 0.85rem; color: #fff; }

/* steps and faq */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 0.9rem; }
.step b { display: block; font-weight: 600; }
.step p { font-size: 0.9rem; color: var(--ink-2); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--orange-btn); }
.faq details[open] summary::after { content: "\2212"; }
.faq p { margin-top: 10px; color: var(--ink-2); font-size: 0.92rem; max-width: 680px; }

/* mock-ups */
.mock { background: var(--ink); border-radius: var(--radius); overflow: hidden; }
.mock__body { background: var(--paper); margin: 0 10px 10px; border-radius: 8px; padding: 18px; }
.mock__label { font-size: 0.7rem; color: #9A9EA6; padding: 0 14px 12px; background: var(--ink); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 16px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px; }
.stat b { display: block; font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1; }
.stat span { font-size: 0.7rem; color: var(--ink-3); }
.funnel { display: grid; gap: 8px; }
.frow { display: grid; grid-template-columns: 80px 1fr 30px; gap: 10px; align-items: center; font-size: 0.78rem; color: var(--ink-2); }
.frow i { display: block; height: 14px; width: var(--w); background: var(--green); border-radius: 3px; }
.frow:nth-child(4) i { background: var(--orange); }
.insight { margin-top: 14px; font-size: 0.8rem; background: var(--orange-soft); border-radius: 8px; padding: 10px 12px; color: var(--ink); }
.site-mock { background: #fff; border-radius: 8px; overflow: hidden; font-size: 0.78rem; }
.sm-nav { display: flex; justify-content: space-between; padding: 10px 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.sm-nav span { font-weight: 400; color: var(--ink-3); }
.sm-hero { padding: 22px 14px; }
.sm-hero b { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; display: block; line-height: 1.1; }
.sm-hero span { color: var(--ink-3); }
.sm-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0 14px 16px; }
.sm-cards div { background: var(--paper); border-radius: 6px; padding: 10px; color: var(--ink-2); }
.sm-cards div::before { content: ""; display: block; height: 34px; border-radius: 4px; background: var(--paper-2); margin-bottom: 8px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; }

/* legal and prose */
.prose { max-width: 720px; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; margin: 28px 0 8px; }
.prose p { color: var(--ink-2); margin-bottom: 12px; }
.legal-note { background: var(--orange-soft); border: 1px dashed var(--orange); border-radius: var(--radius-sm); padding: 12px 16px; font-size: 0.85rem; margin: 16px 0; }

/* responsive */
@media (max-width: 860px) {
  .hero, .split { grid-template-columns: 1fr; }
  .grid-3, .reviews { grid-template-columns: 1fr; }
  .grid-2, .ticks--cols { grid-template-columns: 1fr; }
  .site-footer { grid-template-columns: 1fr; }
  .tagline { min-height: 0; }
}
@media (max-width: 520px) {
  section { margin-top: 56px; }
  .band, .signup { padding: 22px 18px; }
  .compare { font-size: 0.78rem; }
  .compare thead th { padding: 10px 2px; }
  .compare .th-name { font-size: 1.05rem; }
  .compare .btn--sm { padding: 6px 8px; font-size: 0.72rem; }
  .compare tbody th[scope="row"] { padding: 10px 8px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}

/* what's inside, setup, feedback */
.group-label { font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 600; margin: 26px 0 10px; }
.group-label--orange { color: var(--orange-btn); }
.group-label--green { color: var(--green); }
.fcard { border-top: 3px solid var(--fc, var(--orange)); }
.fcard--green { --fc: var(--green); }
.fcard h4 { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; line-height: 1.15; margin-bottom: 4px; }
.fcard p { flex: 1; margin-bottom: 12px; }
.fcard .cmd-chip { align-self: flex-start; }
.tier-tag { align-self: flex-start; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); border: 1px solid var(--line); border-radius: 999px; padding: 1px 9px; margin-bottom: 10px; }
.trust-strip { margin-top: 20px; }
.trust-strip .card b { font-weight: 600; font-size: 0.95rem; }
.trust-strip .card p { margin-top: 2px; }
.mini-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; counter-reset: ms; }
.mini-step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.mini-step::before { counter-increment: ms; content: counter(ms); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-family: var(--font-mono); font-size: 0.8rem; margin-bottom: 10px; }
.mini-step b { display: block; font-weight: 600; font-size: 0.92rem; }
.mini-step p { font-size: 0.82rem; color: var(--ink-2); margin-top: 2px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.path { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 14px; font-size: 0.86rem; color: var(--ink-2); }
.path b { display: block; color: var(--ink); margin-bottom: 4px; }
.step > div { min-width: 0; }
.step code { overflow-wrap: anywhere; }
.note-box { background: var(--orange-soft); border: 1px solid #F3C9B8; border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; font-size: 0.9rem; color: var(--ink-2); }
.note-box b { color: var(--ink); }
.trouble { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 20px; margin-top: 16px; }
.trouble b.tt { display: block; margin-bottom: 6px; }
.trouble li { font-size: 0.88rem; color: var(--ink-2); margin: 6px 0; }
.feedback { background: var(--orange-soft); border-radius: var(--radius); padding: 22px 26px; display: flex; gap: 20px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.feedback > div { flex: 1; min-width: 240px; }
.feedback p { font-size: 0.9rem; color: var(--ink-2); margin-top: 4px; max-width: 640px; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }

.note-box.legal p { margin-top: 6px; }
