/* ─── TOKENS ──────────────────────────────────────────────── */
:root {
  --bg:        #f5f4ef;       /* warm off-white */
  --bg-dark:   #111110;       /* near black for contrast sections */
  --fg:        #0c0c0a;       /* almost black */
  --lime:      #c8f135;       /* electric acid lime — the accent */
  --lime-dark: #a0c41a;
  --muted:     #6b6b60;
  --border:    rgba(12,12,10,0.12);
  --border-dark: rgba(255,255,255,0.1);
  --card-bg:   #ffffff;

  --font-display: "Barlow Condensed", sans-serif;
  --font-body:    "DM Sans", sans-serif;
  --font-mono:    "Space Mono", monospace;

  --max: 1480px;
  --pad: clamp(1.2rem, 3vw, 3rem);
}

/* ─── SIDE TOGGLE ──────────────────────────────────────────── */
.content-buyer,
.content-supplier { display: none; }
body[data-side="buyer"]    .content-buyer    { display: block; }
body[data-side="supplier"] .content-supplier { display: block; }

/* grid / flex wrappers need their specific display type */
.prob-grid.content-buyer,
.prob-grid.content-supplier,
.metrics-row.content-buyer,
.metrics-row.content-supplier,
.access-simple.content-buyer,
.access-simple.content-supplier { display: none; }
body[data-side="buyer"]    .prob-grid.content-buyer,
body[data-side="buyer"]    .metrics-row.content-buyer,
body[data-side="buyer"]    .access-simple.content-buyer  { display: grid; }
body[data-side="supplier"] .prob-grid.content-supplier,
body[data-side="supplier"] .metrics-row.content-supplier,
body[data-side="supplier"] .access-simple.content-supplier { display: grid; }
.steps-grid.content-buyer,
.steps-grid.content-supplier { display: none; }
body[data-side="buyer"]    .steps-grid.content-buyer    { display: flex; }
body[data-side="supplier"] .steps-grid.content-supplier { display: flex; }
.bento.content-buyer,
.bento.content-supplier { display: none; }
body[data-side="buyer"]    .bento.content-buyer    { display: grid; }
body[data-side="supplier"] .bento.content-supplier { display: grid; }
.compound-section.content-supplier { display: none; }
body[data-side="supplier"] .compound-section.content-supplier { display: block; }

/* ─── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; padding: 0; }

/* ─── LAYOUT ────────────────────────────────────────────────── */
.lp-section {
  width: 100%;
  max-width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 6rem var(--pad);
  border-top: 1px solid var(--border);
}

/* ─── HONEYCOMB LOGO ─────────────────────────────────────────── */
.hc-logo {
  position: relative;
  width: 3rem;       /* 48px — h-12 w-12 */
  height: 3rem;
  flex-shrink: 0;
}
.hc-logo--sm {
  width: 2.5rem;
  height: 2.5rem;
}
.hc-logo-box {
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom right, #f59e0b, #eab308); /* amber-400 → yellow-500 */
  border-radius: 1rem;   /* rounded-2xl */
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.25); /* shadow-2xl shadow-amber-500/25 */
  transform: rotate(3deg);
  transition: transform 700ms;
}
.hc-logo:hover .hc-logo-box { transform: rotate(0deg); }
.hc-logo-glow {
  position: absolute;
  inset: -8px;           /* -inset-2 */
  border-radius: 1rem;
  background: #f59e0b;
  filter: blur(8px);     /* blur-lg */
  opacity: 0.3;
  pointer-events: none;
}
.hc-logo-svg-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 0.25rem;      /* p-1 */
  pointer-events: none;
}
.hc-logo-hex {
  width: 1.5rem;          /* w-6 */
  height: 1.5rem;         /* h-6 */
  color: #0f172a;         /* slate-900 */
}

/* ─── NAV ───────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem var(--pad);
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
}
.nav-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-brand {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}
.nav-pill {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  background: var(--bg-dark);
  color: #aaa;
  padding: 0.4rem 1rem;
  border-radius: 999px;
}
.nav-audience { color: var(--lime); }
.nav-cta {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  background: var(--lime);
  color: var(--fg);
  padding: 0.6rem 1.4rem;
  transition: background 150ms, transform 150ms;
}
.nav-cta:hover { background: var(--lime-dark); transform: translateY(-1px); }

/* ─── HERO ──────────────────────────────────────────────────── */
.hero {
  border-bottom: 1px solid var(--border);
}
.hero-inner {
  width: 100%;
  max-width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 5rem var(--pad) 5rem;
}
.hero-top { max-width: 820px; }
.hero-kicker {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 2rem;
}
.kicker-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 9.5rem);
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.hero-accent {
  color: var(--lime-dark);
  -webkit-text-stroke: 2px var(--lime-dark);
  /* outlined / knockout effect */
  color: transparent;
  -webkit-text-stroke: 3px var(--fg);
}
.hero-sub {
  margin-top: 2.5rem;
  max-width: 52rem;
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ─── AUDIENCE PICKER ────────────────────────────────────────── */
.picker {
  background: var(--bg-dark);
  padding: 5rem var(--pad);
}
.picker-label {
  text-align: center;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: rgba(255,255,255,0.3);
  margin-bottom: 2.5rem;
}
.picker-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  width: 100%;
  max-width: min(var(--max), 100%);
  margin: 0 auto;
}
.picker-card {
  text-align: left;
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-dark);
  color: rgba(255,255,255,0.6);
  transition: border-color 150ms, color 150ms, background 150ms;
  position: relative;
}
.picker-card.active {
  border-color: var(--lime);
  background: rgba(200,241,53,0.06);
  color: #fff;
}
.picker-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.2rem;
}
.picker-tag {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--lime);
}
.picker-arrow {
  font-size: 1.2rem;
  color: var(--lime);
  opacity: 0;
  transition: opacity 150ms;
}
.picker-card.active .picker-arrow,
.picker-card:hover .picker-arrow { opacity: 1; }
.picker-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1;
  color: #fff;
  margin-bottom: 1rem;
}
.picker-body {
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ─── SECTION HEADER ────────────────────────────────────────── */
.section-header {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0 2rem;
  margin-bottom: 4rem;
}
.section-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 8vw, 8rem);
  font-weight: 900;
  line-height: 0.85;
  color: var(--border);
  letter-spacing: -0.04em;
  padding-top: 0.2rem;
}
.section-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 18ch;
  margin-bottom: 1.2rem;
}
.section-h2 em {
  font-style: italic;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
  color: var(--lime-dark);
  font-size: 0.9em;
}
.section-lead {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
  max-width: 52rem;
}

/* ─── PROBLEM SECTION ──────────────────────────────────────── */
.problem-section { background: var(--bg); }

.prob-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 1px;
}
.prob-card {
  background: var(--card-bg);
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.prob-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
}
.prob-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
}
.prob-card-body {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.7;
  flex: 1;
}

/* metrics */
.metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-top: none;
}
.metric-card {
  background: var(--fg);
  padding: 1.6rem 1.5rem;
  position: relative;
}
.metric-idx {
  position: absolute;
  top: 1rem; right: 1rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.25);
}
.metric-val {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--lime);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.metric-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
  letter-spacing: 0.05em;
}

/* ─── PROCESS SECTION ──────────────────────────────────────── */
.process-section { background: var(--bg-dark); color: #fff; border-color: rgba(255,255,255,0.08); }
.process-section .section-num { color: rgba(255,255,255,0.06); }
.process-section .section-tag { color: rgba(255,255,255,0.35); }
.process-section .section-h2 { color: #fff; }
.process-section .section-lead { color: rgba(255,255,255,0.45); }

.steps-grid { display: flex; flex-direction: column; gap: 0; }
.step-card {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 0 2rem;
  align-items: start;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.step-card:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.step-card-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 900;
  color: rgba(255,255,255,0.1);
  line-height: 1;
  padding-top: 0.1rem;
}
.step-cat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 0.6rem;
}
.step-hl {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.1;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 0.8rem;
}
.step-hl em {
  font-style: italic;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  text-transform: none;
  color: var(--lime);
  font-size: 0.9em;
  letter-spacing: 0;
}
.step-before-after {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 0.9rem 1rem;
  border-left: 2px solid rgba(200,241,53,0.25);
  margin-bottom: 1rem;
}
.ba-row {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.6;
}
.ba-before { color: rgba(255,255,255,0.3); }
.ba-after  { color: rgba(200,241,53,0.7); }
.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.step-tag {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.35);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.25rem 0.6rem;
}

/* ─── CAPABILITIES (BENTO) ──────────────────────────────────── */
.cap-section { background: var(--bg); }

.bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  margin-bottom: 0;
}
.bento-card {
  background: var(--card-bg);
  padding: 2.5rem 2rem;
}
.bento-card:first-child {
  grid-column: 1 / -1;           /* first card spans full width */
  background: var(--fg);
  color: #fff;
}
.bento-card-num {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 0.8rem;
}
.bento-card-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 800;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}
.bento-card-title em {
  font-style: italic;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  text-transform: none;
  color: var(--lime);
  font-size: 0.9em;
  letter-spacing: 0;
}
.bento-card:first-child .bento-card-title { color: #fff; }
.bento-card-body {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 46rem;
}
.bento-card:first-child .bento-card-body { color: rgba(255,255,255,0.5); }

.stack-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2rem;
  padding: 1.4rem 0;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: var(--muted);
}
.stack-strip span:first-child { color: var(--fg); font-weight: 700; }

/* ─── INTELLIGENCE COMPOUNDS ───────────────────────────────── */
.compound-section {
  background: var(--bg-dark);
  border-color: rgba(255,255,255,0.06);
}
.compound-header { margin-bottom: 3.5rem; }
.compound-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
}
.compound-h2 em {
  font-style: italic;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  text-transform: none;
  color: var(--lime);
  font-size: 0.88em;
  letter-spacing: 0;
}
.compound-lead {
  color: rgba(255,255,255,0.4);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 46rem;
}
.phases { display: flex; flex-direction: column; }
.phase-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 0 2rem;
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}
.phase-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.phase-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  color: var(--lime);
  margin-bottom: 0.6rem;
}
.phase-scale {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.02em;
}
.phase-scale em {
  font-style: italic;
  font-family: "DM Sans", sans-serif;
  font-weight: 300;
  font-size: 0.65em;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-top: 0.2rem;
  letter-spacing: 0;
}
.phase-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.phase-body {
  color: rgba(255,255,255,0.4);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.phase-bar {
  height: 2px;
  background: rgba(255,255,255,0.08);
  width: 100%;
}
.phase-fill {
  height: 100%;
  background: var(--lime);
}

/* ─── ACCESS SECTION ───────────────────────────────────────── */
.access-section {
  background: var(--bg);
  padding-bottom: 8rem;
}
.access-simple {
  max-width: 68rem;
}
.access-para {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.4rem;
}
.access-journey {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 900;
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--lime);
  margin: 3rem 0;
}
.access-btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  background: var(--fg);
  color: var(--lime);
  padding: 1.1rem 2.4rem;
  cursor: pointer;
  border: 2px solid var(--fg);
  transition: background 150ms, color 150ms;
}
.access-btn:hover {
  background: var(--lime);
  color: var(--fg);
  border-color: var(--lime);
}

/* ─── FOOTER ────────────────────────────────────────────────── */
.footer {
  background: var(--bg-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2.5rem var(--pad);
  gap: 2rem;
}
.footer-left { display: flex; align-items: center; gap: 1rem; }
.footer-hex { font-size: 2rem; color: var(--lime); } /* kept for fallback */
.footer-brand {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: #fff;
}
.footer-tag {
  font-family: "DM Sans", sans-serif;
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.4);
  margin-top: 0.15rem;
}
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
}
.footer-right a:hover { color: var(--lime); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 800px) {
  .picker-cards     { grid-template-columns: 1fr; }
  .prob-grid        { grid-template-columns: 1fr; }
  .metrics-row      { grid-template-columns: 1fr 1fr; }
  .section-header   { grid-template-columns: 1fr; }
  .section-num      { font-size: 4rem; margin-bottom: 0.5rem; }
  .step-card        { grid-template-columns: 3.5rem 1fr; }
  .bento            { grid-template-columns: 1fr; }
  .bento-card:first-child { grid-column: 1; }
  .access-body      { grid-template-columns: 1fr; }
  .nav-pill         { display: none; }
  .footer           { flex-direction: column; align-items: flex-start; }
  .footer-right     { align-items: flex-start; }
  .phase-item       { grid-template-columns: 120px 1fr; gap: 0 1rem; }
  .phase-scale      { font-size: 1.5rem; }
}
