/* =========================================================
   Nubel Landing — combined tokens + site styles
   ========================================================= */

@font-face {
  font-family: 'Figtree';
  src: url('./fonts/Figtree-VariableFont_wght.ttf') format('truetype-variations'),
       url('./fonts/Figtree-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Figtree';
  src: url('./fonts/Figtree-Italic-VariableFont_wght.ttf') format('truetype-variations'),
       url('./fonts/Figtree-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 300 900;
  font-style: italic;
  font-display: swap;
}
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --nubel-orange:        #0F084C;
  --nubel-orange-hover:  #1A116B;
  --nubel-orange-press:  #080432;
  --nubel-orange-soft:   #ECEAF5;
  --nubel-orange-ring:   rgba(15, 8, 76, 0.20);

  --btn-accent:          #F35B04;
  --btn-accent-hover:    #D94E03;
  --btn-accent-press:    #B84102;

  --ink:          #0A0A0A;
  --ink-2:        #1C1C1C;
  --slate-700:    #4A4A4A;
  --slate-500:    #959595;
  --slate-300:    #D4D4D4;
  --slate-200:    #E8E8E8;
  --slate-100:    #F5F5F5;
  --slate-50:     #FAFAFA;
  --paper:        #FFFFFF;
  --paper-warm:   #FAF8F5;

  --success:      #1F7A3A;
  --success-soft: #E6F2EA;

  --fg-1: var(--ink);
  --fg-2: var(--slate-700);
  --fg-3: var(--slate-500);
  --fg-on-brand: #FFFFFF;

  --bg-1: var(--paper);
  --bg-2: var(--slate-50);
  --bg-3: var(--slate-100);
  --bg-warm: var(--paper-warm);

  --border-1: var(--slate-200);
  --border-2: var(--slate-300);

  --r-xs:   4px;
  --r-sm:   8px;
  --r-md:  12px;
  --r-lg:  16px;
  --r-xl:  24px;
  --r-pill: 9999px;

  --shadow-xs: 0 1px 2px rgba(10,10,10,0.04);
  --shadow-sm: 0 1px 3px rgba(10,10,10,0.06), 0 1px 2px rgba(10,10,10,0.04);
  --shadow-md: 0 4px 12px rgba(10,10,10,0.08);
  --shadow-lg: 0 12px 32px rgba(10,10,10,0.10);
  --shadow-xl: 0 24px 56px rgba(10,10,10,0.12);
  --shadow-focus: 0 0 0 3px var(--nubel-orange-ring);

  --font-sans: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --fs-display-xl: clamp(56px, 8vw, 96px);
  --fs-display-lg: clamp(44px, 6vw, 72px);
  --fs-display-md: clamp(36px, 5vw, 56px);
  --fs-h2: 32px;
  --fs-body-lg: 18px;
  --fs-body:    16px;
  --fs-meta:    13px;
  --fs-micro:   12px;

  --ease-std: cubic-bezier(0.2, 0, 0, 1);
  --dur-std:   200ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-sans);
  color: var(--fg-1);
  background: var(--bg-1);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* ---------- Type utilities ---------- */
.nb-display-xl { font-size: var(--fs-display-xl); font-weight: 800; line-height: 1.02; letter-spacing: -0.03em; }
.nb-display-md { font-size: var(--fs-display-md); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; }
.nb-h2         { font-size: var(--fs-h2); font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.nb-body-lg    { font-size: var(--fs-body-lg); font-weight: 400; line-height: 1.55; }
.nb-body       { font-size: var(--fs-body); font-weight: 400; line-height: 1.55; }
.nb-meta       { font-size: var(--fs-meta); font-weight: 500; line-height: 1.4; color: var(--fg-2); }
.nb-mono       { font-family: var(--font-mono); }
.nb-balance    { text-wrap: balance; }
.nb-pretty     { text-wrap: pretty; }

/* Eyebrow */
.nb-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans); font-weight: 600; font-size: 13px;
  color: var(--fg-2); background: var(--slate-100);
  border: 1px solid var(--border-1); border-radius: var(--r-pill);
  padding: 6px 12px;
}
.nb-eyebrow .dot {
  display: inline-block; width: 6px; height: 6px; border-radius: 50%;
  background: var(--nubel-orange);
}

/* Section marker (e.g. /002 · what we believe) */
.section-marker {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 24px; color: var(--fg-3);
}
.section-marker span:first-child {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.section-marker .rule { flex: 1; height: 1px; background: var(--border-1); }

/* ---------- Layout ---------- */
.nb-wrap   { max-width: 1240px; margin: 0 auto; padding: 0 clamp(24px, 5vw, 40px); }
.nb-section { padding: clamp(72px, 11vw, 128px) 0; }

/* ---------- Animations ---------- */
@keyframes nb-fade-up {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.nb-fade-up { animation: nb-fade-up 520ms var(--ease-std) both; }
.delay-1 { animation-delay: 60ms; }
.delay-2 { animation-delay: 120ms; }
.delay-3 { animation-delay: 180ms; }
.delay-4 { animation-delay: 240ms; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 9999px;
  font-family: var(--font-sans); font-weight: 600; font-size: 15px;
  border: 0; cursor: pointer; transition: all 120ms var(--ease-std);
  letter-spacing: -0.005em;
}
.btn:focus-visible { outline: none; box-shadow: var(--shadow-focus); }
.btn-primary   { background: var(--btn-accent); color: #fff; }
.btn-primary:hover { background: var(--btn-accent-hover); }
.btn-primary:active{ background: var(--btn-accent-press); transform: scale(0.99); }
.btn-ghost     { background: transparent; color: var(--fg-1); border: 1px solid var(--border-2); }
.btn-ghost:hover { background: var(--bg-3); }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 16px 28px; font-size: 17px; }
.btn .dim { opacity: 0.55; }

/* ---------- Nav ---------- */
.nb-nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-1) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-1);
}
.nb-nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; padding-bottom: 16px;
}
.nb-nav-brand { display: flex; align-items: center; gap: 10px; }
.nb-nav-brand img { height: 24px; }
.nb-nav-links { display: flex; align-items: center; gap: 32px; }
.nb-nav-links a {
  font-size: 14px; font-weight: 500; color: var(--fg-2);
  transition: color 120ms var(--ease-std);
}
.nb-nav-links a:hover { color: var(--fg-1); }

/* ---------- Hero A ---------- */
.hero-a {
  padding: clamp(32px, 5vw, 56px) 0 clamp(48px, 8vw, 88px);
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, #FAF8F5 0%, var(--bg-1) 100%);
}
.hero-a .nb-wrap { text-align: center; position: relative; z-index: 1; }
.hero-a h1 { margin: 28px auto 22px; max-width: 1080px; }
.hero-a h1 em {
  font-style: normal;
  color: var(--nubel-orange);
  position: relative;
  display: inline-block;
}
.hero-a .subhead {
  color: var(--fg-2); max-width: 620px; margin: 0 auto 40px;
  font-size: clamp(17px, 1.6vw, 20px);
}
.hero-a .cta-row {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.hero-a .proof-strip {
  margin-top: 56px;
  display: flex; justify-content: center; gap: 24px;
  color: var(--fg-3); font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.12em; flex-wrap: wrap;
}
.hero-a .proof-strip .div { color: var(--border-2); }

.hero-a .eyebrow-wrap { display: flex; justify-content: center; }
.hero-a .nb-eyebrow { margin-bottom: 32px; }

/* Hero background layers */
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  overflow: hidden;
}
.hero-bg-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(15, 8, 76, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15, 8, 76, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 30%, transparent 78%);
  opacity: 0.9;
}
.hero-bg-glow {
  position: absolute; border-radius: 50%; filter: blur(80px);
}
.hero-bg-glow-1 {
  width: 540px; height: 540px; top: -160px; left: -120px;
  background: radial-gradient(circle, rgba(15, 8, 76, 0.18), transparent 70%);
}
.hero-bg-glow-2 {
  width: 460px; height: 460px; bottom: -160px; right: -120px;
  background: radial-gradient(circle, rgba(243, 91, 4, 0.10), transparent 70%);
}
.hero-bg-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 30%;
  background: linear-gradient(180deg, transparent, var(--bg-1));
}
.hero-bg-mark { position: absolute; color: var(--nubel-orange); }
.hero-bg-mark-1 { width: 76px; height: 76px; top: 14%; left: 8%; opacity: 0.7; }
.hero-bg-mark-2 { width: 110px; height: 110px; bottom: 16%; right: 7%; opacity: 0.55; }
.hero-bg-mark-3 { width: 52px; height: 52px; top: 18%; right: 14%; color: #F35B04; opacity: 0.7; }
@media (max-width: 760px) { .hero-bg-mark { display: none; } }

/* ---------- Manifesto ---------- */
.manifesto {
  font-weight: 800;
  font-size: clamp(40px, 7vw, 104px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin: 0;
  max-width: 1180px;
}
.manifesto mark {
  background: transparent;
  color: var(--nubel-orange);
  padding: 0;
}
.manifesto-section { padding: clamp(56px, 9vw, 128px) 0; }
.manifesto-body {
  color: var(--fg-2); max-width: 680px; margin: 40px 0 0;
}

/* ---------- How it works ---------- */
.how-section { background: var(--bg-warm); }
.how-intro h2 { margin: 0 0 24px; max-width: 820px; }
.how-steps { border-bottom: 1px solid var(--border-1); }
.step {
  display: grid; grid-template-columns: auto 1fr auto; gap: 40px;
  align-items: start; padding: 48px 0;
  border-top: 1px solid var(--border-1);
}
.step-num {
  font-family: var(--font-sans); font-weight: 700;
  font-size: clamp(64px, 9vw, 128px); line-height: 0.9;
  color: var(--nubel-orange);
  letter-spacing: -0.04em;
}
.step-text { padding-top: 18px; }
.step-text h3 { margin: 0 0 12px; max-width: 540px; }
.step-text p { color: var(--fg-2); margin: 0; max-width: 560px; }
.step-glyph {
  width: 88px; height: 88px; border-radius: 20px;
  background: var(--bg-warm);
  border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--nubel-orange); margin-top: 24px;
}
.how-section .step-glyph {
  background: var(--bg-1);
}

/* ---------- Fields ---------- */
.fields-intro {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px;
  margin-bottom: 40px; align-items: end;
}
.fields-intro h2 { margin: 0; }
.fields-intro p { color: var(--fg-2); margin: 0; max-width: 460px; }

.field-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.field-card {
  position: relative;
  background: var(--bg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-lg);
  padding: 24px;
  min-height: 380px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 200ms var(--ease-std);
  overflow: hidden;
}
.field-card:hover {
  border-color: var(--border-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.field-card .idx {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--fg-3); letter-spacing: 0.08em;
}
.field-art {
  width: 100%; aspect-ratio: 5/3;
  background: var(--bg-warm);
  border-radius: 12px;
  border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  padding: 14px; overflow: hidden;
}
.field-art svg { width: 100%; height: 100%; }
.field-card h3 { margin: 0 0 10px; letter-spacing: -0.02em; }
.field-card .body { flex: 1; }
.field-card .body p { color: var(--fg-2); margin: 0; }
.field-card .pilot {
  display: flex; align-items: center; gap: 8px;
  color: var(--fg-3); font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding-top: 12px; border-top: 1px solid var(--border-1);
}
.field-card .pilot .pulse { color: var(--nubel-orange); }

/* ---------- For Employers ---------- */
.employers-section { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(72px, 11vw, 128px); }
.dark-block {
  background: var(--bg-warm);
  color: var(--fg-1);
  border: 1px solid var(--border-1);
  border-radius: var(--r-xl);
  padding: clamp(48px, 7vw, 96px) clamp(28px, 5vw, 72px);
  position: relative; overflow: hidden;
}
.dark-block .grid {
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px;
  align-items: center;
}
.dark-block h2 { margin: 0 0 20px; }
.dark-block .lead { color: var(--fg-2); margin: 0 0 32px; max-width: 520px; }
.stats-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.stat { border-top: 1px solid var(--border-1); padding-top: 20px; }
.stat .k {
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 800;
  letter-spacing: -0.02em; color: var(--nubel-orange); margin-bottom: 8px;
}
.stat .v { color: var(--fg-2); font-size: 14px; line-height: 1.5; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 64px;
  align-items: start;
}
.about-grid h2 { margin: 0 0 20px; }
.byline { display: flex; gap: 14px; align-items: center; margin-top: 28px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, hsl(20 80% 82%), hsl(20 80% 68%));
  color: #fff; font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--border-1);
}
.byline .name { font-weight: 700; font-size: 15px; }
.byline .role { font-size: 13px; color: var(--fg-3); }
.about-body { display: flex; flex-direction: column; gap: 20px; }
.about-body p { margin: 0; color: var(--fg-2); }
.about-body p.lead { color: var(--fg-1); font-weight: 500; }
.about-meta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 12px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-3); padding-top: 16px; border-top: 1px solid var(--border-1);
}

/* ---------- Final CTA ---------- */
.final-cta-section { padding-top: clamp(48px, 7vw, 96px); padding-bottom: clamp(72px, 11vw, 128px); }
.final-cta {
  padding: clamp(48px, 7vw, 96px) 0;
  border-top: 1px solid var(--border-1);
  border-bottom: 1px solid var(--border-1);
  text-align: center;
}
.final-cta h2 {
  margin: 0 0 32px; font-weight: 800;
  font-size: clamp(48px, 8vw, 120px); line-height: 0.98;
  letter-spacing: -0.035em;
}
.final-cta h2 .accent { color: var(--nubel-orange); }
.final-cta .ctas {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
}
.final-cta .footnote { margin-top: 24px; color: var(--fg-3); }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 32px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 24px;
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 22px; height: 26px; }
.footer-brand .text { color: var(--fg-2); font-size: 13px; font-weight: 500; }
.footer-right { display: flex; gap: 20px; align-items: center; }
.footer-right a.text { color: var(--fg-2); font-size: 13px; font-weight: 500; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid var(--border-1);
  display: flex; align-items: center; justify-content: center;
  color: var(--fg-1);
}

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .nb-nav-links { display: none; }
  .nb-nav-inner { padding-top: 12px; padding-bottom: 12px; }
  .step { grid-template-columns: auto 1fr; gap: 24px; }
  .step-glyph { display: none; }
  .field-grid { grid-template-columns: 1fr; }
  .fields-intro { grid-template-columns: 1fr; gap: 24px; }
  .dark-block { padding: 40px 24px; }
  .dark-block .grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
}
