:root {
  --ink: #0b1220;
  --ink-2: #111a2e;
  --ink-3: #1a2540;
  --line-dark: rgba(148, 163, 184, 0.16);
  --gold: #f2b134;
  --gold-dark: #8f6311; /* text gold: 4.94:1 on --paper-2, 5.30:1 on #fff (was #d9961a, 2.35:1) */
  --cyan: #38bdf8;
  --paper: #ffffff;
  --paper-2: #f5f7fb;
  --text: #0f172a;
  --muted: #475569;
  --muted-light: #a8b3c7;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  --head: "Space Grotesk", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;

  /* names used by the privacy page's inline styles */
  --text-dark: var(--text);
  --text-light: var(--muted);
  --primary-color: var(--gold-dark);
  --primary-dark: #76520e;
  --bg-light: var(--paper-2);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; overflow-x: clip; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--paper); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.15; margin: 0 0 .6em; letter-spacing: -0.01em; overflow-wrap: break-word; }
p { margin: 0 0 1em; overflow-wrap: break-word; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* grid and flex children may shrink below their content width (prevents horizontal overflow) */
.hero-inner > *, .two-col > *, .cards > *, .steps > *, .trust-grid > *, .auto-grid > *, .modes > * { min-width: 0; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; padding: 13px 22px; border-radius: 10px; background: var(--gold); color: var(--ink); font-weight: 600; text-align: center; text-decoration: none; overflow-wrap: anywhere; border: 1px solid var(--gold); transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.btn:hover { background: #ffc24d; transform: translateY(-1px); box-shadow: 0 8px 22px rgba(242, 177, 52, .25); }
.btn:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .92; }
.btn-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: none; }
.btn-sm { padding: 8px 14px; font-size: .9rem; }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(11, 18, 32, .86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--line-dark); color: #fff; }
.nav-inner { position: relative; display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--head); font-weight: 700; font-size: 1.15rem; }
.mark { width: 32px; height: 32px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { text-decoration: none; font-size: .95rem; color: #d7deea; }
.nav-links a:hover { color: #fff; }
.nav-links .btn { color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* hero */
.hero { position: relative; overflow: hidden; background: radial-gradient(1200px 600px at 85% -10%, rgba(56, 189, 248, .16), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(242, 177, 52, .12), transparent 60%), var(--ink); color: #fff; padding: 96px 0 88px; }
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(var(--line-dark) 1px, transparent 1px), linear-gradient(90deg, var(--line-dark) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%); opacity: .55; }
.hero-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: 56px; align-items: center; }
.eyebrow { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.eyebrow.dark { color: var(--gold-dark); }
.hero h1 { font-size: clamp(2.3rem, 4.8vw, 3.8rem); font-weight: 700; }
.lede { font-size: 1.15rem; color: #cdd6e4; max-width: 38em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 26px; }
.cta-row.center { justify-content: center; }
.hero-join { margin: 0 0 26px; padding: 16px 18px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(255, 255, 255, .04); max-width: 38em; }
.hero-join p { margin: 0 0 12px; color: #cdd6e4; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted-light); font-size: .92rem; }
.hero-points li::before { content: "◆"; color: var(--cyan); font-size: .7em; margin-right: 8px; vertical-align: 2px; }

/* console illustration (terminal panel): always wraps, never scrolls sideways */
.console { margin: 0; max-width: 100%; background: linear-gradient(180deg, var(--ink-2), #0d1528); border: 1px solid var(--line-dark); border-radius: var(--radius); box-shadow: 0 30px 80px rgba(0, 0, 0, .45), 0 0 0 1px rgba(56, 189, 248, .06) inset; font-family: var(--mono); font-size: .82rem; overflow: hidden; }
.console-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; border-bottom: 1px solid var(--line-dark); }
.console-bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; flex: none; }
.console-bar em { margin-left: auto; font-style: normal; color: #64748b; font-size: .75rem; }
.console-body { padding: 18px 18px 6px; color: #cbd5e1; white-space: normal; overflow-wrap: anywhere; }
.console-body p { margin: 0 0 8px; }
.console-body i { color: #94a3b8; font-style: normal; }
.console pre, pre { white-space: pre-wrap; overflow-wrap: anywhere; max-width: 100%; }
.c-cyan { color: var(--cyan); }
.ok::first-letter { color: #4ade80; }
.warn { color: #fcd34d; }
.rule { display: flex; align-items: center; gap: 10px; color: #64748b; }
.rule::before, .rule::after { content: ""; height: 1px; background: #334155; }
.rule::before { flex: 0 0 18px; }
.rule::after { flex: 1 1 auto; }
.console-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 10px; }
.pill { border: 1px solid #334155; border-radius: 999px; padding: 4px 12px; color: #cbd5e1; font-size: .75rem; }
.pill-gold { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 600; }
.console figcaption { font-family: var(--body); font-size: .85rem; color: var(--muted-light); padding: 12px 18px 16px; border-top: 1px solid var(--line-dark); }

/* sections */
.section { padding: 96px 0; }
.section.alt { background: var(--paper-2); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); max-width: 22em; }
.section-sub { color: var(--muted); font-size: 1.08rem; max-width: 46em; margin-bottom: 44px; }
.section-sub.light { color: var(--muted-light); }
.two-col { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 56px; align-items: start; }
.two-col h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.prose p { color: var(--muted); font-size: 1.06rem; }
.prose strong { color: var(--text); }
.price { font-family: var(--mono); font-size: .8rem; letter-spacing: .04em; text-transform: uppercase; color: var(--gold-dark); margin: 18px 0 0; }

/* coaching cards */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid #e5e9f2; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(15, 23, 42, .12); border-color: rgba(242, 177, 52, .55); }
.card h3 { font-size: 1.22rem; }
.card p { color: var(--muted); font-size: .97rem; }
.card ul { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid #eef1f6; padding-top: 14px; }
.card li, .checks li { font-size: .9rem; color: var(--text); padding-left: 20px; position: relative; margin-bottom: 6px; }
.card li::before, .checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--gold); }
.card .price { margin-top: auto; padding-top: 18px; }
.icon { width: 46px; height: 46px; border-radius: 12px; background: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.icon svg { width: 24px; height: 24px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* automation */
.auto-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 22px; align-items: stretch; }
.assess { background: linear-gradient(160deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff; border: 1px solid var(--gold); border-radius: var(--radius); padding: 32px 30px; box-shadow: var(--shadow); }
.assess h3 { font-size: 1.45rem; color: #fff; }
.assess p { color: var(--muted-light); }
.assess .cta-row { margin: 22px 0 0; }
.assess .price { color: var(--gold); }
.tag { display: inline-block; font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--gold); color: var(--ink) !important; border-radius: 999px; padding: 3px 12px; margin-bottom: 16px; font-weight: 500; }
.retainer { background: var(--paper-2); border: 1px solid #e5e9f2; border-radius: var(--radius); padding: 32px 30px; }
.retainer h3 { font-size: 1.3rem; }
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 6px 0 22px; }
.modes > div { background: #fff; border: 1px solid #e5e9f2; border-radius: 10px; padding: 16px 18px; }
.modes h4 { font-size: 1rem; margin-bottom: .35em; }
.modes p { color: var(--muted); font-size: .92rem; margin: 0; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 22px; }

/* approach */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.steps li { position: relative; padding: 26px 24px; border-radius: var(--radius); background: #fff; border: 1px solid #e5e9f2; }
.steps .n { font-family: var(--mono); color: var(--gold-dark); font-weight: 500; font-size: .85rem; display: block; margin-bottom: 14px; }
.steps h3 { font-size: 1.2rem; }
.steps p { color: var(--muted); font-size: .95rem; margin: 0; }

/* tools */
.tools { background: var(--ink-2); color: #fff; border-top: 1px solid var(--line-dark); }
.chips { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { font-family: var(--mono); font-size: .85rem; color: #d7deea; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, .03); border-radius: 999px; padding: 7px 15px; overflow-wrap: anywhere; }
.fine { margin: 24px 0 0; font-size: .8rem; color: #7c8aa3; }

/* trust */
.trust { background: radial-gradient(900px 500px at 100% 0%, rgba(56, 189, 248, .10), transparent 60%), var(--ink); color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line-dark); border: 1px solid var(--line-dark); border-radius: var(--radius); overflow: hidden; }
.trust-item { background: var(--ink-2); padding: 30px 28px; }
.trust-item h3 { font-size: 1.15rem; color: #fff; }
.trust-item h3::before { content: ""; display: inline-block; width: 10px; height: 10px; border: 2px solid var(--cyan); border-radius: 3px; margin-right: 10px; vertical-align: 1px; }
.trust-item p { color: var(--muted-light); font-size: .95rem; margin: 0; }

/* contact */
.contact { background: linear-gradient(135deg, var(--ink) 0%, var(--ink-3) 100%); color: #fff; text-align: center; }
.contact-inner { max-width: 760px; }
.contact h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.contact p { color: var(--muted-light); font-size: 1.1rem; }
.contact-mail { margin: 0; font-size: .95rem !important; }
.contact-mail a { color: #d7deea; overflow-wrap: anywhere; }
.contact-mail a:hover { color: var(--gold); }

/* footer */
.footer { background: #070c17; color: #8391a7; font-size: .88rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 26px; padding-bottom: 26px; }
.footer p { margin: 0; }
.footer a { color: #c4cddb; text-decoration: underline; text-underline-offset: 2px; }
.footer a:hover { color: var(--gold); }

/* reveal on scroll (enabled by site.js) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* privacy page */
.page-hero { background: var(--ink); color: #fff; padding: 56px 0 40px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0; }
.legal { padding: 24px 0 72px; }
.legal .container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* responsive */
@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
}
@media (max-width: 1000px) {
  .hero-inner, .two-col, .auto-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .auto-grid { gap: 22px; }
  .cards, .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  .wrap, .legal .container { padding: 0 16px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 8px 16px 16px; }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 4px; border-bottom: 1px solid var(--line-dark); }
  .nav-links .btn { margin-top: 12px; border-bottom: 0; }
}
@media (max-width: 760px) {
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: clamp(1.85rem, 8.4vw, 2.3rem); }
  .lede { font-size: 1.05rem; }
  .hero-inner { gap: 36px; }
  .section { padding: 64px 0; }
  .section-title { font-size: clamp(1.6rem, 6.4vw, 1.9rem); }
  .two-col h2, .contact h2 { font-size: clamp(1.6rem, 6.4vw, 1.9rem); }
  .cards, .trust-grid, .steps, .modes, .checks { grid-template-columns: minmax(0, 1fr); }
  .card, .trust-item, .steps li { padding: 24px 20px; }
  .assess, .retainer { padding: 26px 20px; }
  .console { font-size: .76rem; }
  .console-body { padding: 16px 14px 4px; }
  .chips li { font-size: .8rem; padding: 6px 12px; }
  .footer-inner { flex-direction: column; }
}
@media (max-width: 480px) {
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, .js .reveal { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.prose a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; }

/* Original SkillsFinder demo pane (inside #story) */
.demo-pane { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 24px; align-items: center; margin-top: 40px; padding: 24px 28px; background: var(--paper-2); border: 1px solid #e2e8f0; border-left: 4px solid var(--gold); border-radius: var(--radius); box-shadow: var(--shadow); }
.demo-pane > * { min-width: 0; }
.demo-icon { width: 72px; height: 72px; border-radius: 16px; }
.demo-copy h3 { font-size: 1.35rem; margin-bottom: .35em; }
.demo-copy p { margin: 0; color: var(--muted); }
.demo-copy .eyebrow { margin-bottom: .3em; }
@media (max-width: 760px) { .demo-pane { grid-template-columns: 1fr; text-align: left; } .demo-btn { justify-self: start; } }

/* company-page trim */
.chips.chips-light { margin: 0 0 8px; }
.chips.chips-light li { color: var(--text); border-color: #dbe2ec; background: #fff; }
.demo-copy p.demo-next { margin-top: .6em; color: var(--text); font-size: .95rem; }

/* SkillsFinder trades copy and FAQ (inside #story, below the demo pane) */
.sf-trades { max-width: 820px; margin-top: 44px; }
.sf-trades h3 { font-size: 1.3rem; }
.sf-trades p { color: var(--muted); }
.sf-trades a { color: var(--text); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
.sf-trades .faq-title { margin-top: 28px; }
.faq details { background: #fff; border: 1px solid #e5e9f2; border-radius: 12px; padding: 14px 18px; margin-top: 10px; }
.faq summary { font-weight: 600; cursor: pointer; }
.faq details p { margin: 10px 0 0; }
