/* ============================================================
   WAGEHOLE — SHARED DESIGN SYSTEM
   Used by index.html + the For Candidates / For Companies / About Us subpages.
   ============================================================ */

:root {
  --paper: #f3eee5;
  --paper-2: #ece5d8;
  --card: #ffffff;
  --ink: #161513;
  --ink-2: #2a2622;
  --muted: #8a8275;
  --rule: rgba(22,21,19,.10);
  --rule-2: rgba(22,21,19,.18);
  --accent: #d8492a;
  --accent-ink: #b13a1f;
  --good: #1f8a5b;
  --bad: #b13a1f;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --mono: "Spline Sans Mono", ui-monospace, SFMono-Regular, monospace;
  --sans: "Schibsted Grotesk", ui-sans-serif, system-ui, -apple-system, "Helvetica Neue", sans-serif;
  --shadow-sm: 0 1px 0 rgba(22,21,19,.05), 0 1px 2px rgba(22,21,19,.05);
  --shadow-md: 0 1px 0 rgba(22,21,19,.04), 0 8px 24px rgba(22,21,19,.08);
  --shadow-lg: 0 2px 0 rgba(22,21,19,.03), 0 24px 60px -12px rgba(22,21,19,.18);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--paper); color: var(--ink); }
body {
  font-family: var(--sans);
  font-size: 16px; line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' seed='3'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.035 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: .55;
  mix-blend-mode: multiply;
  z-index: 1;
}
nav, main, footer, #tweaks-root { position: relative; z-index: 2; }

.container { max-width: 1280px; margin: 0 auto; padding: 0 32px; }

/* ====================== NAV ====================== */
nav.top {
  position: sticky; top: 0;
  background: color-mix(in oklab, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
  z-index: 50;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 32px;
  max-width: 1440px; margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand-mark { width: 30px; height: 30px; display: block; }
.brand-name {
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1;
  letter-spacing: -0.01em;
}
.brand-name .dot { color: var(--accent); }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links > a {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  transition: background .15s ease;
}
.nav-links > a:hover { background: rgba(22,21,19,.06); }
.nav-links > a.active { background: rgba(22,21,19,.06); }
.nav-links > a .ext {
  opacity: .35; font-size: 10px;
  transition: opacity .15s, transform .15s;
}
.nav-links > a:hover .ext { opacity: .7; transform: translate(1px, -1px); }

.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-right .sign {
  font-size: 14px; font-weight: 500;
  color: var(--ink); text-decoration: none;
  padding: 8px 14px; border-radius: 8px;
  white-space: nowrap;
}
.nav-right .sign:hover { background: rgba(22,21,19,.06); }

.btn {
  font-family: var(--sans);
  font-size: 14px; font-weight: 500;
  text-decoration: none;
  padding: 10px 18px; border-radius: 10px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .15s ease, color .15s ease, transform .15s ease, box-shadow .15s ease;
  cursor: pointer; border: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink); color: var(--paper);
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, var(--shadow-sm);
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent; color: var(--ink);
  border: 1px solid var(--rule-2);
}
.btn-ghost:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-accent {
  background: var(--accent); color: white;
}
.btn-accent:hover { background: var(--ink); }
.btn-lg { padding: 14px 22px; font-size: 15px; border-radius: 12px; }
.btn .arr { display: inline-block; transition: transform .15s ease; }
.btn:hover .arr { transform: translateX(3px); }

/* ====================== HERO ====================== */
.hero {
  padding: 100px 0;
  position: relative;
}
.hero-narrow { max-width: 980px; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  background: var(--card);
}
.eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent);
  animation: pulse 1.8s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in oklab, var(--accent) 70%, transparent); }
  100% { box-shadow: 0 0 0 10px transparent; }
}

h1.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  margin: 22px 0 28px;
  color: var(--ink);
  max-width: 16ch;
}
h1.headline em { font-style: italic; color: var(--accent); }
.hero-lede {
  font-size: 19px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 48ch;
  margin: 0 0 36px;
}
.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ====================== SECTIONS ====================== */
section.band { padding: 110px 0; border-bottom: 1px solid var(--rule); }
section.band.tight { padding: 80px 0; }
.section-head {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
.section-eyebrow {
  font-family: var(--mono);
  font-size: 11px; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(40px, 4.8vw, 72px);
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0; font-weight: 400;
  max-width: 18ch;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-desc {
  font-size: 17px; line-height: 1.5;
  color: var(--ink-2);
  max-width: 48ch;
}

/* ====================== PROBLEM GRID (4 problem cards) ====================== */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex; flex-direction: column;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.problem:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: var(--rule-2); }
.problem .tag {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 18px;
}
.problem h3 {
  font-family: var(--serif);
  font-size: 32px; line-height: 1.05;
  margin: 0 0 12px;
  font-weight: 400;
  letter-spacing: -0.015em;
}
.problem h3 em { font-style: italic; color: var(--accent); }
.problem p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 18px;
  flex: 1;
}
.problem .num-strip {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-2);
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--rule-2);
  letter-spacing: 0.04em;
}
.problem .num-strip b { color: var(--ink); font-weight: 600; }

/* ====================== DOORWAY TILES (3 big nav cards) ====================== */
.doorways {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.door {
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-radius: 20px;
  padding: 36px 32px 32px;
  text-decoration: none;
  color: var(--ink);
  display: flex; flex-direction: column;
  min-height: 340px;
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.door::after {
  content: "↗";
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--mono);
  font-size: 20px;
  color: var(--muted);
  transition: color .25s ease, transform .25s ease;
}
.door:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); background: var(--paper); }
.door:hover::after { color: var(--accent); transform: translate(2px, -2px); }
.door .lbl {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}
.door h3 {
  font-family: var(--serif);
  font-size: 44px; line-height: 1.02;
  margin: 16px 0 12px;
  font-weight: 400; letter-spacing: -0.02em;
  max-width: 13ch;
}
.door h3 em { font-style: italic; color: var(--accent); }
.door p {
  font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 36ch;
}
.door .door-meta {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-top: 16px;
  border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; gap: 8px;
}
.door.dark {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.door.dark::after { color: rgba(243,238,229,.5); }
.door.dark:hover { background: #29251f; }
.door.dark .lbl { color: color-mix(in oklab, var(--accent) 80%, white); }
.door.dark h3 { color: var(--paper); }
.door.dark h3 em { color: color-mix(in oklab, var(--accent) 80%, white); }
.door.dark p { color: rgba(243,238,229,.7); }
.door.dark .door-meta {
  color: rgba(243,238,229,.5);
  border-top-color: rgba(243,238,229,.15);
}

/* ====================== PRICING (3 tiers) ====================== */
.tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule-2);
  border: 1px solid var(--rule-2);
  border-radius: 24px;
  overflow: hidden;
}
.tier {
  background: var(--paper);
  padding: 36px 32px 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.tier.featured {
  background: var(--ink);
  color: var(--paper);
}
.tier .tier-lbl {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.tier.featured .tier-lbl { color: rgba(243,238,229,.55); }
.tier .tier-badge {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--accent); color: white;
  padding: 4px 10px; border-radius: 999px;
}
.tier h3 {
  font-family: var(--serif);
  font-size: 42px; line-height: 1; font-weight: 400;
  margin: 14px 0 8px;
  letter-spacing: -0.02em;
}
.tier h3 em { font-style: italic; color: var(--accent); }
.tier.featured h3 em { color: color-mix(in oklab, var(--accent) 80%, white); }
.tier .tier-tag {
  font-size: 14px; color: var(--muted);
  margin: 0 0 28px;
  max-width: 28ch;
}
.tier.featured .tier-tag { color: rgba(243,238,229,.7); }
.tier .price {
  font-family: var(--serif);
  font-size: 72px;
  line-height: 1; font-weight: 400;
  letter-spacing: -0.03em;
  display: flex; align-items: baseline; gap: 6px;
  margin-bottom: 10px;
}
.tier .price .ccy {
  font-size: 24px;
  color: var(--muted);
}
.tier.featured .price .ccy { color: rgba(243,238,229,.55); }
.tier .price .per {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.tier.featured .price .per { color: rgba(243,238,229,.55); }
.tier .price-note {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}
.tier.featured .price-note { color: rgba(243,238,229,.55); }

.tier ul {
  list-style: none; padding: 0; margin: 0 0 32px;
  display: flex; flex-direction: column; gap: 12px;
  flex: 1;
}
.tier ul li {
  font-size: 14px; line-height: 1.45;
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  align-items: start;
  color: var(--ink-2);
}
.tier.featured ul li { color: rgba(243,238,229,.85); }
.tier ul li .chk {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.3;
}
.tier ul li.off { opacity: .42; }
.tier ul li.off .chk { color: var(--muted); }
.tier .tier-cta {
  width: 100%;
  text-align: center; justify-content: center;
}

/* ====================== COMPARE TABLE ====================== */
.cmp {
  border: 1px solid var(--rule-2);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-sm);
}
.cmp table { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.cmp tr:last-child td { border-bottom: none; }
.cmp thead th {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  background: var(--paper);
  border-bottom: 1px solid var(--rule-2);
}
.cmp thead th.h {
  color: var(--ink);
  font-family: var(--serif);
  font-size: 22px;
  text-transform: none;
  letter-spacing: -0.01em;
  font-weight: 400;
}
.cmp thead th.h .pricelet {
  display: block;
  font-family: var(--mono);
  font-size: 11px; color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.06em;
}
.cmp thead th.featured {
  background: var(--ink);
  color: var(--paper);
}
.cmp thead th.featured .pricelet { color: rgba(243,238,229,.6); }
.cmp td.featured {
  background: color-mix(in oklab, var(--ink) 4%, var(--card));
  color: var(--ink);
}
.cmp td.center { text-align: center; }
.cmp td .chk { color: var(--good); font-weight: 600; }
.cmp td .x   { color: var(--muted); }
.cmp td .accent { color: var(--accent); font-weight: 600; }
.cmp td.feature {
  font-weight: 500; color: var(--ink);
}
.cmp td.feature .sub {
  display: block;
  font-size: 12px; color: var(--muted);
  font-weight: 400; margin-top: 2px;
  font-family: var(--mono);
}

/* ====================== HOW IT WORKS / STEPS ====================== */
.how {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 28px;
  position: relative;
  transition: transform .25s ease, box-shadow .25s ease;
}
.step:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.step .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent); letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.step .step-ic {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--accent);
}
.step .step-ic svg { width: 22px; height: 22px; }
.step h4 {
  font-family: var(--serif);
  font-size: 26px;
  margin: 0 0 10px;
  font-weight: 400; letter-spacing: -0.01em;
  line-height: 1.1;
}
.step p {
  font-size: 14.5px; line-height: 1.55;
  color: var(--ink-2); margin: 0;
}

/* ====================== STATS ====================== */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: 18px;
  overflow: hidden;
  background: var(--card);
  box-shadow: var(--shadow-md);
}
.stat {
  padding: 40px 32px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: none; }
.stat-num {
  font-family: var(--serif);
  font-size: 80px; line-height: 1;
  letter-spacing: -0.03em; font-weight: 400;
}
.stat-num sup { font-size: 28px; color: var(--accent); }
.stat-label {
  font-size: 14px; line-height: 1.45;
  color: var(--ink-2); margin-top: 16px;
  max-width: 28ch;
}
.stat-src {
  font-family: var(--mono); font-size: 10px;
  color: var(--muted);
  margin-top: 12px;
  font-style: italic; opacity: .7;
}

/* ====================== DARK BAND ====================== */
.darkband {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.darkband::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 80% 30%, color-mix(in oklab, var(--accent) 20%, transparent), transparent 70%);
  pointer-events: none;
}
.darkband .container { position: relative; z-index: 2; }
.darkband .section-eyebrow { color: var(--accent); }
.darkband .section-title { color: var(--paper); }
.darkband .section-desc { color: rgba(243,238,229,.78); }

/* ====================== CTA BAND ====================== */
.cta-band {
  padding: 140px 0;
  text-align: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-size: clamp(56px, 7vw, 120px);
  line-height: 0.95;
  margin: 0 auto;
  max-width: 14ch;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.cta-band h2 em { font-style: italic; color: var(--accent); }
.cta-band .desc {
  font-size: 18px;
  color: var(--ink-2);
  margin: 28px auto 36px;
  max-width: 48ch;
}
.cta-band .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ====================== OFFER CARDS (For Companies special offers) ====================== */
.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.offer {
  background: var(--card);
  border: 1px solid var(--rule-2);
  border-radius: 18px;
  padding: 36px 32px;
  display: flex; flex-direction: column;
}
.offer .ofr-lbl {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.offer h4 {
  font-family: var(--serif);
  font-size: 38px;
  line-height: 1.0; letter-spacing: -0.02em;
  margin: 0 0 14px; font-weight: 400;
  max-width: 14ch;
}
.offer h4 em { font-style: italic; color: var(--accent); }
.offer p {
  font-size: 15px; line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 24px;
  max-width: 44ch;
}
.offer .ofr-stat {
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  margin-top: auto; padding-top: 18px;
  border-top: 1px dashed var(--rule-2);
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
}
.offer .ofr-stat b { color: var(--ink); font-weight: 600; }

/* ====================== ABOUT — VALUES GRID ====================== */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.value {
  border-top: 1px solid var(--ink);
  padding-top: 22px;
}
.value .vlbl {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.value h4 {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.1; letter-spacing: -0.01em;
  margin: 0 0 12px; font-weight: 400;
}
.value h4 em { font-style: italic; color: var(--accent); }
.value p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
}

/* ====================== TEAM ROW ====================== */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.member {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 22px 20px;
  display: flex; flex-direction: column;
}
.member .av {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 18px;
  margin-bottom: 14px;
}
.member .name {
  font-family: var(--serif);
  font-size: 22px; line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.member .role {
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.member .bio {
  font-size: 13px; line-height: 1.45;
  color: var(--muted);
}

/* ====================== FOOTER ====================== */
footer {
  padding: 72px 0 36px;
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--rule);
}
.foot-grid h5 {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 14px;
  font-weight: 500;
}
.foot-grid a {
  display: block;
  color: var(--ink-2);
  text-decoration: none;
  padding: 4px 0;
  font-size: 14px;
}
.foot-grid a:hover { color: var(--accent); }
.foot-grid .blurb {
  font-family: var(--serif);
  font-size: 22px; line-height: 1.25;
  color: var(--ink);
  max-width: 28ch;
  margin: 16px 0 24px;
}
.foot-grid .blurb em { color: var(--accent); }
.wordmark {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(120px, 22vw, 320px);
  line-height: 0.85;
  margin: 56px 0 -36px;
  letter-spacing: -0.03em;
  user-select: none;
}
.wordmark .dot { color: var(--accent); }
.foot-bottom {
  margin-top: 24px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono); font-size: 11px;
  color: var(--muted);
  gap: 16px; flex-wrap: wrap;
}
.foot-bottom .dis { max-width: 60ch; }
.foot-bottom .dis em { color: var(--ink-2); font-style: italic; font-family: var(--serif); }

::selection { background: var(--accent); color: var(--paper); }

/* ====================== THEME TOGGLE ====================== */
.theme-toggle {
  appearance: none; border: none;
  background: transparent;
  cursor: pointer;
  width: 36px; height: 36px;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1;
  color: var(--ink);
  transition: background .15s ease;
  flex-shrink: 0;
}
.theme-toggle:hover { background: rgba(128,128,128,.12); }

/* ====================== COOKIE POPUP ====================== */
.cookie-popup {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  z-index: 9999;
  padding: 16px 24px;
  background: var(--card);
  border-top: 1px solid var(--rule-2);
  box-shadow: 0 -4px 24px rgba(0,0,0,.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.cookie-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap;
}
.cookie-text {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.cookie-actions {
  display: flex; gap: 8px;
  flex-shrink: 0;
}
.cookie-actions .btn { padding: 8px 16px; font-size: 13px; }

/* ====================== DARK THEME OVERRIDES ====================== */
[data-theme="dark"] {
  --paper: #0e0e0c;
  --ink: #f3eee5;
  --card: #1a1916;
  --paper-2: #1f1d19;
  --rule: rgba(243,238,229,.10);
  --rule-2: rgba(243,238,229,.22);
  --muted: rgba(243,238,229,.52);
  --ink-2: rgba(243,238,229,.78);
  --shadow-sm: 0 1px 0 rgba(0,0,0,.5), 0 1px 2px rgba(0,0,0,.5);
  --shadow-md: 0 1px 0 rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.45);
  --shadow-lg: 0 2px 0 rgba(0,0,0,.3), 0 24px 60px -12px rgba(0,0,0,.7);
}
[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .22; }
[data-theme="dark"] .brand-mark [stroke="#161513"] { stroke: #f3eee5; }
[data-theme="dark"] .brand-mark [fill="#f3eee5"]   { fill: #0e0e0c; }
[data-theme="dark"] .brand-mark [fill="#161513"]   { fill: #f3eee5; }
[data-theme="dark"] .eyebrow { background: #1a1916; }
[data-theme="dark"] .problem, [data-theme="dark"] .step,
[data-theme="dark"] .offer, [data-theme="dark"] .door,
[data-theme="dark"] .member, [data-theme="dark"] .cmp,
[data-theme="dark"] .tier:not(.featured) { background: #1a1916; }
[data-theme="dark"] .tier.featured { background: #f3eee5; color: #161513; }
[data-theme="dark"] .tier.featured .tier-lbl { color: rgba(22,21,19,.55); }
[data-theme="dark"] .tier.featured ul li { color: rgba(22,21,19,.82); }
[data-theme="dark"] .tier.featured .price .ccy,
[data-theme="dark"] .tier.featured .price .per,
[data-theme="dark"] .tier.featured .price-note,
[data-theme="dark"] .tier.featured .tier-tag { color: rgba(22,21,19,.6); }
[data-theme="dark"] .cmp thead th { background: #131210; }
[data-theme="dark"] .cmp thead th.featured { background: #f3eee5; color: #161513; }
[data-theme="dark"] .cmp thead th.featured .pricelet { color: rgba(22,21,19,.55); }
[data-theme="dark"] .cmp td.featured { background: color-mix(in oklab, #f3eee5 6%, #1a1916); }
[data-theme="dark"] .darkband { background: #f3eee5; color: #161513; }
[data-theme="dark"] .darkband .section-title { color: #161513; }
[data-theme="dark"] .darkband .section-desc { color: rgba(22,21,19,.72); }
[data-theme="dark"] .door.dark { background: #f3eee5; color: #161513; border-color: #f3eee5; }
[data-theme="dark"] .door.dark h3, [data-theme="dark"] .door.dark h3 em { color: #161513; }
[data-theme="dark"] .door.dark p { color: rgba(22,21,19,.7); }
[data-theme="dark"] .door.dark .door-meta { color: rgba(22,21,19,.55); border-top-color: rgba(22,21,19,.12); }
[data-theme="dark"] .door.dark::after { color: rgba(22,21,19,.5); }
[data-theme="dark"] .btn-ghost {
  color: #f3eee5;
  border-color: rgba(243,238,229,.22);
}
[data-theme="dark"] .btn-ghost:hover {
  background: #f3eee5; color: #0e0e0c; border-color: #f3eee5;
}

/* ====================== HERO VIDEO LAYOUT ====================== */
.hero-layout {
  display: grid;
  grid-template-columns: 1.04fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy { min-width: 0; }
.hero-video { min-width: 0; }
.yt-facade {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--rule-2);
  box-shadow: var(--shadow-lg);
  background:
    radial-gradient(120% 120% at 70% 18%, color-mix(in oklab, var(--accent) 24%, transparent), transparent 60%),
    linear-gradient(135deg, var(--card), var(--paper-2));
}
.yt-facade::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(135deg, transparent 0 13px, rgba(128,128,128,.05) 13px 14px);
  pointer-events: none;
}
.yt-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 74px; height: 52px;
  border-radius: 15px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.32);
  transition: transform .2s ease;
}
.yt-facade:hover .yt-play,
.yt-facade:focus-visible .yt-play { transform: translate(-50%,-50%) scale(1.07); }
.yt-play svg { width: 28px; height: 28px; fill: #fff; margin-left: 2px; }
.yt-iframe {
  width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 16px; display: block;
  box-shadow: var(--shadow-lg);
}
.hero-vid {
  width: 100%; aspect-ratio: 16 / 9;
  border: 0; border-radius: 16px; display: block;
  object-fit: cover; background: #000;
  box-shadow: var(--shadow-lg);
}

/* ====================== JOB BOARD ====================== */
.board-toolbar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; margin-bottom: 22px; flex-wrap: wrap;
}
.board-search {
  flex: 1; min-width: 220px;
  display: flex; align-items: center; gap: 10px;
  background: var(--card); border: 1px solid var(--rule-2);
  border-radius: 10px; padding: 0 14px;
}
.board-search svg { width: 16px; height: 16px; color: var(--muted); flex-shrink: 0; }
.board-search input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--sans); font-size: 14px; color: var(--ink);
  padding: 12px 0;
}
.board-search input::placeholder { color: var(--muted); }
.board-filters { display: flex; gap: 6px; }
.chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  text-transform: uppercase; white-space: nowrap;
  padding: 9px 14px; border-radius: 999px;
  border: 1px solid var(--rule-2); background: transparent; color: var(--ink-2);
  cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.chip:hover { border-color: var(--ink); }
.chip.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.board-list {
  border: 1px solid var(--rule); border-radius: 16px; overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-sm);
}
.job-row {
  display: grid; grid-template-columns: 46px 1fr auto auto; gap: 20px;
  align-items: center; padding: 18px 22px;
  border-bottom: 1px solid var(--rule);
  transition: background .15s ease;
}
.job-row:last-child { border-bottom: none; }
.job-row:hover { background: var(--paper-2); }
.job-logo {
  width: 46px; height: 46px; border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 17px; font-family: var(--sans);
}
.job-info { min-width: 0; }
.job-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.job-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 3px; letter-spacing: .02em; }
.job-comp { font-family: var(--mono); font-size: 13px; color: var(--ink-2); white-space: nowrap; }
.job-apply { display: flex; align-items: center; gap: 14px; }
.job-fee { font-family: var(--mono); font-size: 11px; color: var(--muted); white-space: nowrap; }
.job-fee b { color: var(--accent); font-weight: 600; }
.job-apply .btn { padding: 9px 16px; font-size: 13px; }
.lock-ic { width: 13px; height: 13px; margin-right: 2px; vertical-align: -2px; }

/* ====================== JOB DETAIL PAGE ====================== */
.job-detail { padding: 56px 0 90px; }
.job-back {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 32px;
}
.job-back:hover { color: var(--accent); }
.jd-head { display: flex; align-items: flex-start; gap: 20px; margin-bottom: 14px; }
.jd-logo {
  width: 64px; height: 64px; border-radius: 16px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 26px; font-family: var(--sans);
}
.jd-title {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(34px, 4vw, 52px); line-height: 1.02;
  letter-spacing: -0.02em; margin: 2px 0 6px;
}
.jd-company { font-size: 16px; color: var(--ink-2); font-weight: 500; }
.jd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 24px 0 0; }
.jd-chip {
  font-family: var(--mono); font-size: 11px; letter-spacing: .03em;
  color: var(--ink-2); background: var(--card);
  border: 1px solid var(--rule-2); border-radius: 999px;
  padding: 7px 13px;
}
.jd-chip b { color: var(--ink); font-weight: 600; }

.jd-layout {
  display: grid; grid-template-columns: 1fr 340px; gap: 56px;
  margin-top: 44px; align-items: start;
}
.jd-prose h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 26px; letter-spacing: -0.01em;
  margin: 36px 0 14px;
}
.jd-prose h3:first-child { margin-top: 0; }
.jd-prose p { font-size: 16px; line-height: 1.6; color: var(--ink-2); margin: 0 0 16px; }
.jd-prose ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 11px; }
.jd-prose li {
  font-size: 15px; line-height: 1.5; color: var(--ink-2);
  padding-left: 26px; position: relative;
}
.jd-prose li::before {
  content: "→"; position: absolute; left: 0; top: 0;
  color: var(--accent); font-family: var(--mono);
}
.jd-prose .blurb {
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
  border-left: 2px solid var(--accent); padding-left: 18px; margin: 0 0 8px;
}

/* sticky apply card */
.jd-aside { position: sticky; top: 96px; }
.apply-card {
  background: var(--card); border: 1px solid var(--rule-2);
  border-radius: 18px; padding: 26px 24px; box-shadow: var(--shadow-md);
}
.apply-card .ac-comp {
  font-family: var(--serif); font-size: 34px; letter-spacing: -0.02em;
  line-height: 1; margin-bottom: 6px;
}
.apply-card .ac-loc { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-bottom: 22px; }
.apply-lock {
  width: 100%; justify-content: center;
  position: relative; gap: 10px;
}
.apply-lock .lk { width: 16px; height: 16px; }
.apply-note {
  font-family: var(--mono); font-size: 11px; color: var(--muted);
  text-align: center; margin-top: 12px; letter-spacing: .02em;
}
.apply-note b { color: var(--accent); font-weight: 600; }

/* ====================== PAYWALL MODAL ====================== */
.paywall {
  display: none;
  position: fixed; inset: 0; z-index: 1000;
  align-items: center; justify-content: center;
  padding: 24px;
}
.paywall.open { display: flex; }
.paywall-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.paywall-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule-2);
  border-radius: 22px;
  width: 100%; max-width: 720px;
  max-height: 90vh; overflow-y: auto;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-lg);
}
.paywall-x {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 9px;
  border: 1px solid var(--rule-2); background: var(--card);
  color: var(--ink); cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}
.paywall-x:hover { background: var(--ink); color: var(--paper); }
.paywall .pw-lbl {
  font-family: var(--mono); font-size: 11px; letter-spacing: .14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
  display: flex; align-items: center; gap: 8px;
}
.paywall h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(28px, 3.4vw, 40px); line-height: 1.05;
  letter-spacing: -0.02em; margin: 0 0 6px;
}
.paywall h3 em { font-style: italic; color: var(--accent); }
.paywall .pw-sub { font-size: 14px; color: var(--ink-2); margin: 0 0 26px; }
.pw-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pw-tier {
  border: 1px solid var(--rule-2); border-radius: 14px;
  padding: 20px 18px; display: flex; flex-direction: column;
  background: var(--card);
}
.pw-tier.featured { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 14%, transparent); }
.pw-tier .pt-name { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.pw-tier .pt-price { font-family: var(--serif); font-size: 40px; line-height: 1; letter-spacing: -0.03em; margin: 8px 0 4px; }
.pw-tier .pt-desc { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 0 0 18px; flex: 1; }
.pw-tier .btn { width: 100%; justify-content: center; padding: 11px; font-size: 13px; }
.pw-done { text-align: center; padding: 30px 10px; }
.pw-done .pd-ic {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 18px;
  background: color-mix(in oklab, var(--good) 18%, var(--card));
  color: var(--good); display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.pw-done h3 { margin-bottom: 10px; }
.pw-done p { font-size: 14px; color: var(--ink-2); max-width: 42ch; margin: 0 auto 22px; }

/* ====================== PARTNERS MARQUEE ====================== */
.partners {
  padding: 56px 0 64px;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.partners-title {
  font-family: var(--serif);
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.01em;
  color: var(--muted);
  text-align: center;
  margin-bottom: 32px;
}
.partners-title sup { color: var(--accent); font-size: 0.6em; }
.marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 0;
  white-space: nowrap;
  will-change: transform;
  animation: marquee 28s linear infinite;
}
.partners:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.mq-item {
  font-family: var(--sans);
  font-weight: 600;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  color: var(--ink);
  padding: 0 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  opacity: .82;
  transition: opacity .2s ease;
}
.partners:hover .mq-item { opacity: .55; }
.mq-item:hover { opacity: 1 !important; }
.mq-item svg {
  width: 1.05em; height: 1.05em;
  flex-shrink: 0;
}
.mq-dot {
  color: var(--accent);
  font-size: clamp(14px, 1.6vw, 20px);
  opacity: .7;
}
.partners-note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  margin-top: 32px;
  letter-spacing: .02em;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* ====================== MOBILE ====================== */
@media (max-width: 980px) {
  .container { padding: 0 20px; }
  .nav-inner { padding: 12px 20px; }
  .nav-links { display: none; }
  .hero { padding: 60px 0; }
  section.band { padding: 70px 0; }
  .section-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 36px; }
  .problem-grid { grid-template-columns: 1fr 1fr; }
  .doorways { grid-template-columns: 1fr; }
  .tiers { grid-template-columns: 1fr; border-radius: 18px; }
  .cmp { overflow-x: auto; }
  .cmp table { min-width: 640px; }
  .how { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--rule); }
  .darkband { padding: 70px 0; }
  .cta-band { padding: 80px 0; }
  .offers { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; }
  .team { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .hero-layout { grid-template-columns: 1fr; gap: 32px; }
  .board-toolbar { gap: 12px; }
  .board-search { order: 2; width: 100%; }
  .job-row { grid-template-columns: 40px 1fr; gap: 14px; row-gap: 12px; }
  .job-comp { display: none; }
  .job-apply { grid-column: 1 / -1; justify-content: space-between; }
  .jd-layout { grid-template-columns: 1fr; gap: 36px; }
  .jd-aside { position: static; }
  .pw-tiers { grid-template-columns: 1fr; }
  .paywall-card { padding: 28px 22px; }
}
