/* ─────────────────────────────────────────────────────────────
   Cedr AI Labs — marketing site styles
   ───────────────────────────────────────────────────────────── */

/* Design tokens ─────────────────────────────────────────────── */
:root {
  --color-purple:      #221848;
  --color-purple-deep: #0F0830;
  --color-orange:      #FF6B1A;
  --color-orange-dark: #B84713;
  --color-orange-soft: #FFE4D2;
  --color-orange-pale: #FFB088;
  --color-ink:         #1A1238;
  --color-cream:       #F6F3FF;
  --color-paper:       #FAFAFB;
  --color-white:       #FFFFFF;

  --color-rule:        rgba(26, 18, 56, 0.08);
  --color-rule-strong: rgba(26, 18, 56, 0.16);
  --color-muted:       rgba(26, 18, 56, 0.60);
  --color-muted-2:     rgba(26, 18, 56, 0.40);

  --status-success:    #18A36B;
  --status-success-bg: #E5F6EE;
  --status-warning:    #E08A00;
  --status-warning-bg: #FFF1D6;
  --status-danger:     #D43A2F;
  --status-info:       #3A6FE0;

  --font-display: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;
}

/* Reset & base ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--color-white);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button { font-family: inherit; }
input, textarea { font-family: inherit; }

::selection { background: var(--color-orange); color: white; }

section[id] { scroll-margin-top: 100px; }

html { scroll-behavior: smooth; }

/* Utility ──────────────────────────────────────────────────── */
.mono     { font-family: var(--font-mono); letter-spacing: 0.04em; }
.display  { font-family: var(--font-display); }
.tnum     { font-variant-numeric: tabular-nums; }
.container{ max-width: 1240px; margin: 0 auto; }

/* ─────────────────────────────────────────────────────────────
   NAV — floating frosted-glass pill
   ───────────────────────────────────────────────────────────── */
.cd-nav {
  position: fixed;
  top: 16px; left: 0; right: 0;
  z-index: 50;
  display: flex; justify-content: center;
  padding: 0 24px;
  pointer-events: none;
}
.cd-nav-pill {
  pointer-events: auto;
  width: 100%; max-width: 1180px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 22px;
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 9999px;
  box-shadow:
    0 12px 36px -12px rgba(15, 8, 48, 0.22),
    0 2px 6px rgba(15, 8, 48, 0.05),
    inset 0 1px 0 rgba(255,255,255,0.85),
    inset 0 -1px 0 rgba(26,18,56,0.05);
}

.cd-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.cd-logo-mark { flex-shrink: 0; }
.cd-logo-text { display: inline-flex; flex-direction: column; line-height: 1; }
.cd-logo-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: var(--color-ink);
}
.cd-logo-sub {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--color-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.cd-logo--sm .cd-logo-word { font-size: 17px; }
.cd-logo--sm .cd-logo-sub  { font-size: 9px; }
.cd-logo--md .cd-logo-word { font-size: 22px; }
.cd-logo--md .cd-logo-sub  { font-size: 10px; }
.cd-logo--lg .cd-logo-word { font-size: 32px; }
.cd-logo--lg .cd-logo-sub  { font-size: 11px; }

.cd-logo--on-dark .cd-logo-word { color: var(--color-white); }
.cd-logo--on-dark .cd-logo-sub  { color: rgba(255,255,255,0.55); }

.cd-nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.cd-nav-links a {
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--color-muted);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background .15s ease, color .15s ease;
}
.cd-nav-links a:hover { color: var(--color-ink); }
.cd-nav-links a.is-active {
  color: white;
  background: var(--color-ink);
}
.cd-nav-links a.is-active:hover { color: white; }
.cd-nav-ext { font-size: 9px; opacity: 0.6; }

/* ─────────────────────────────────────────────────────────────
   TYPE — Editorial scale
   ───────────────────────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange);
  margin-bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: currentColor;
  display: inline-block;
}
.eyebrow--center { justify-content: center; }

.display {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  color: var(--color-ink);
  text-wrap: balance;
}
.display--xxl { font-size: clamp(56px, 7.5vw, 112px); }
.display--xl  { font-size: clamp(44px, 5.4vw, 84px); }
.display--lg  { font-size: clamp(36px, 4.4vw, 64px); }
.display--md  { font-size: clamp(28px, 3vw, 44px); }

.lead {
  margin: 0;
  font-size: 19px;
  line-height: 1.5;
  color: var(--color-muted);
  max-width: 680px;
  text-wrap: pretty;
  font-weight: 400;
}

.accent-orange { color: var(--color-orange); }
.accent-muted-2 { color: var(--color-muted-2); }

/* ─────────────────────────────────────────────────────────────
   BUTTONS / LINKS
   ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: filter .15s ease, transform .1s ease, background .15s ease;
}
.btn:hover { filter: brightness(1.05); }
.btn:active { transform: translateY(1px); }
.btn--dark    { background: var(--color-ink); color: white; }
.btn--orange  { background: var(--color-orange); color: white; }
.btn--white   { background: white; color: var(--color-ink); border-color: var(--color-rule-strong); }
.btn--sm      { padding: 12px 18px; font-size: 13px; }
.btn--md      { padding: 14px 22px; font-size: 14px; }

.cta-underline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-orange);
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  border-bottom: 1.5px solid var(--color-orange);
  padding-bottom: 4px;
  align-self: flex-start;
}
.cta-underline:hover { color: var(--color-orange-dark); border-bottom-color: var(--color-orange-dark); }

/* ─────────────────────────────────────────────────────────────
   SECTION PADDING
   ───────────────────────────────────────────────────────────── */
.cd-section-pad       { padding: 96px 32px; }
.cd-section-pad-hero  { padding: 96px 32px 80px; }
.cd-section-pad-tight { padding: 48px 32px 96px; }
.cd-footer-pad        { padding: 72px 32px 32px; }

/* ─────────────────────────────────────────────────────────────
   HOME — Hero
   ───────────────────────────────────────────────────────────── */
.home-hero {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
}
.home-hero-bg {
  position: absolute;
  right: -120px; top: 40px;
  opacity: 0.06;
  pointer-events: none;
}
.home-hero-inner { position: relative; max-width: 1080px; }
.home-hero .lead { font-size: 21px; max-width: 720px; }
.home-hero-ctas {
  margin-top: 36px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.cd-hero-stats {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--color-rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.cd-hero-stats .k {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.cd-hero-stats .v {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--color-ink);
}
.cd-hero-stats .s {
  font-size: 12.5px;
  color: var(--color-muted);
  margin-top: 2px;
}

/* ─────────────────────────────────────────────────────────────
   HOME — Pillars
   ───────────────────────────────────────────────────────────── */
.cd-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar {
  padding: 32px 28px;
  background: white;
  border: 1px solid var(--color-rule);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-orange);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.pillar-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-wrap: balance;
}
.pillar-body {
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-muted);
  text-wrap: pretty;
}

.section-head {
  max-width: 760px;
  margin-bottom: 64px;
}

/* ─────────────────────────────────────────────────────────────
   HOME — Currently shipping
   ───────────────────────────────────────────────────────────── */
.cd-shipping-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
  flex-wrap: wrap;
  gap: 16px;
}
.cd-shipping-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.cd-shipping-featured {
  display: block;
  text-decoration: none;
  color: white;
  background: linear-gradient(135deg, #0F0830 0%, #221848 60%, #2E2360 100%);
  border-radius: 28px;
  padding: 48px;
  position: relative;
  overflow: hidden;
  margin-bottom: 24px;
}
.cd-shipping-featured-bg {
  position: absolute;
  right: -60px;
  top: -60px;
  opacity: 0.16;
}
.cd-shipping-card-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cd-shipping-bento {
  position: relative;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cd-shipping-bento-tilt { transform: rotate(-6deg); }

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.badge-pill .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.badge-pill--live {
  background: rgba(24,163,107,0.18);
  border: 1px solid rgba(24,163,107,0.30);
  color: #7AE0B5;
}
.badge-pill--live .dot { background: #18A36B; }
.badge-pill--scoping-amber {
  background: rgba(224,138,0,0.14);
  color: #E08A00;
}
.badge-pill--scoping-amber .dot { background: #E08A00; }
.badge-pill--scoping-purple {
  background: rgba(124,58,237,0.14);
  color: #7C3AED;
}
.badge-pill--scoping-purple .dot { background: #7C3AED; }

.shipping-row-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.shipping-row-logo .display { color: white; margin: 0; }

.shipping-body {
  font-size: 17px;
  line-height: 1.55;
  color: rgba(255,255,255,0.75);
  max-width: 480px;
  margin: 0 0 24px;
  text-wrap: pretty;
}

.shipping-meta-row {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.shipping-meta-row .k {
  font-family: var(--font-mono);
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.shipping-meta-row .v {
  font-weight: 600;
  font-size: 13px;
  margin-top: 2px;
}

.shipping-cta {
  margin-top: 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--color-orange);
  color: white;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14px;
}

.cd-shipping-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.shipping-future {
  padding: 32px;
  background: white;
  border: 1px solid var(--color-rule);
  border-radius: 22px;
}
.shipping-future-name {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.shipping-future-name .n {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.03em;
  color: var(--color-ink);
}
.shipping-future-name .t {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 22px;
  color: var(--color-muted-2);
}
.shipping-future-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--color-ink);
  margin-bottom: 12px;
  font-style: italic;
}
.shipping-future-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--color-muted);
  text-wrap: pretty;
}
.shipping-future-audience {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-muted);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   HOME — About preview
   ───────────────────────────────────────────────────────────── */
.cd-about-preview {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}
.about-preview-body {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-ink);
}
.about-preview-body p { margin: 0; }
.about-preview-body p:first-of-type { font-weight: 500; }
.about-preview-body p:nth-of-type(2) { color: var(--color-muted); }

.section-cream { background: var(--color-cream); }

/* ─────────────────────────────────────────────────────────────
   HOME — Manifesto preview (dark)
   ───────────────────────────────────────────────────────────── */
.section-dark {
  background: var(--color-purple-deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.section-dark-bg {
  position: absolute;
  bottom: -80px; right: -80px;
  opacity: 0.10;
}
.section-dark .eyebrow { color: var(--color-orange-pale); }
.section-dark .display { color: white; }

.manifesto-preview-rows {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.cd-manifesto-row {
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  display: grid;
  grid-template-columns: 100px 1fr auto;
  gap: 32px;
  align-items: center;
}
.cd-manifesto-row .n {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--color-orange);
  letter-spacing: 0.14em;
  font-weight: 600;
}
.cd-manifesto-row .t {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.025em;
  line-height: 1.15;
  text-wrap: balance;
}
.cd-manifesto-row-meta {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ─────────────────────────────────────────────────────────────
   HOME — Sign off
   ───────────────────────────────────────────────────────────── */
.cd-signoff {
  padding: 120px 32px;
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}
.cd-signoff .display,
.cd-signoff .lead { text-align: center; }
.cd-signoff .lead { margin: 0 auto 36px; }
.signoff-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   ───────────────────────────────────────────────────────────── */
.cd-footer {
  background: var(--color-purple-deep);
  color: rgba(255,255,255,0.7);
}
.cd-footer-inner {
  max-width: 1240px;
  margin: 0 auto;
}
.cd-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 56px;
}
.cd-footer-intro p {
  margin-top: 18px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,0.55);
  max-width: 320px;
}
.footer-hiring-pill {
  margin-top: 18px;
  padding: 8px 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,107,26,0.10);
  border: 1px solid rgba(255,107,26,0.20);
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-pale);
}
.footer-hiring-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--color-orange); }

.cd-footer-col h4 {
  margin: 0 0 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.cd-footer-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cd-footer-col a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 13.5px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.cd-footer-col a:hover { color: white; }

.cd-footer-bar {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 12.5px;
  color: rgba(255,255,255,0.50);
}
.cd-footer-bar .status {
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10.5px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.cd-footer-bar .status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--status-success);
  display: inline-block;
}

/* ─────────────────────────────────────────────────────────────
   ABOUT
   ───────────────────────────────────────────────────────────── */
.about-hero {
  position: relative;
  padding: 96px 32px 64px;
  max-width: 1240px;
  margin: 0 auto;
  overflow: hidden;
}
.about-hero-inner { max-width: 920px; }
.about-hero .display { margin-bottom: 32px; }
.about-hero .lead { font-size: 22px; max-width: 780px; }

.reading {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px;
  font-size: 18px;
  line-height: 1.7;
  color: var(--color-ink);
  font-family: var(--font-body);
}
.reading p { margin: 0; }
.reading-stack { display: flex; flex-direction: column; gap: 28px; }
.reading-stack .lead-paragraph {
  font-size: 22px;
  line-height: 1.5;
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-ink);
}
.reading-stack .pull-aside {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 24px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  color: var(--color-ink);
  border-left: 3px solid var(--color-orange);
  padding-left: 24px;
  margin-top: 8px;
  margin-bottom: 8px;
}
.reading a { color: var(--color-orange); font-weight: 600; text-decoration: none; }
.reading a:hover { text-decoration: underline; }

.pull-quote-section {
  padding: 96px 32px;
  background: var(--color-purple-deep);
  color: white;
  position: relative;
  overflow: hidden;
}
.pull-quote-inner {
  position: relative;
  max-width: 1080px;
  margin: 0 auto;
}
.pull-quote-mark {
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 0.8;
  margin-bottom: 24px;
  opacity: 0.6;
}
.pull-quote-body {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
  max-width: 1000px;
}
.pull-quote-cite {
  margin-top: 40px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cd-howwework {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.howwework-card {
  padding: 32px;
  background: white;
  border: 1px solid var(--color-rule);
  border-radius: 22px;
}
.howwework-card .num {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-orange);
  letter-spacing: 0.14em;
  font-weight: 600;
  margin-bottom: 12px;
}
.howwework-card .title {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  letter-spacing: -0.02em;
  color: var(--color-ink);
  text-wrap: balance;
}
.howwework-card .body {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  color: var(--color-muted);
  text-wrap: pretty;
}

.cd-wherewesit-card {
  background: var(--color-cream);
  border-radius: 28px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}
.cd-wherewesit-card h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 32px;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cd-wherewesit-card p {
  margin: 0;
  color: var(--color-muted);
  font-size: 15.5px;
  line-height: 1.6;
}
.cd-wherewesit-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.cd-wherewesit-card dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-rule-strong);
}
.cd-wherewesit-card dt {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-top: 3px;
}
.cd-wherewesit-card dd {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 15px;
  color: var(--color-ink);
}

/* ─────────────────────────────────────────────────────────────
   MANIFESTO
   ───────────────────────────────────────────────────────────── */
.manifesto-hero {
  padding: 96px 32px 56px;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
}
.manifesto-hero-inner { max-width: 1080px; }
.manifesto-hero .display { margin-bottom: 32px; line-height: 0.96; }
.manifesto-hero .lead { max-width: 720px; font-size: 21px; }

.cd-manifesto-principle-article {
  padding: 72px 32px;
  border-bottom: 1px solid var(--color-rule-strong);
  background: white;
}
.cd-manifesto-principle-article:first-of-type { border-top: 1px solid var(--color-rule-strong); }
.cd-manifesto-principle-article:nth-of-type(even) { background: var(--color-paper); }

.cd-manifesto-principle {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 120px 1fr 320px;
  gap: 56px;
  align-items: flex-start;
}
.cd-manifesto-principle-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 64px;
  letter-spacing: -0.04em;
  color: var(--color-orange);
  line-height: 1;
  position: sticky;
  top: 100px;
}
.cd-manifesto-principle h2 {
  margin: 0 0 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--color-ink);
  text-wrap: balance;
}
.cd-manifesto-principle p {
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
  color: var(--color-ink);
  max-width: 640px;
  text-wrap: pretty;
}
.cd-manifesto-principle-aside {
  padding: 24px;
  background: var(--color-purple-deep);
  color: white;
  border-radius: 18px;
  position: sticky;
  top: 100px;
}
.cd-manifesto-principle-aside .quote-mark {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 800;
  color: var(--color-orange);
  line-height: 0.6;
  margin-bottom: 4px;
}
.cd-manifesto-principle-aside p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  color: white;
  max-width: none;
}

.signature-grid {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  max-width: 640px;
  margin: 0 auto;
}
.signature-card { text-align: center; max-width: 160px; }
.avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  color: var(--color-ink);
}
.avatar--orange { background: var(--color-orange-soft); }
.avatar--lavender { background: #E8DFFF; }
.signature-name {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
}
.signature-role {
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 2px;
  line-height: 1.4;
}

.version-history {
  margin: 64px auto 0;
  padding: 24px 28px;
  background: var(--color-cream);
  border-radius: 16px;
  max-width: 720px;
  text-align: left;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
  line-height: 1.7;
}
.version-history .label {
  color: var(--color-ink);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 11px;
}

/* ─────────────────────────────────────────────────────────────
   LEGAL
   ───────────────────────────────────────────────────────────── */
.legal-hero {
  padding: 64px 32px 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.legal-crumbs {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.legal-crumbs a {
  color: var(--color-muted);
  text-decoration: none;
}
.legal-crumbs a:hover { color: var(--color-ink); }
.legal-crumbs .sep { margin: 0 8px; }
.legal-crumbs .current { color: var(--color-orange); }
.legal-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--color-ink);
}
.legal-hero .legal-subtitle {
  margin: 18px 0 0;
  font-size: 19px;
  line-height: 1.55;
  color: var(--color-muted);
  max-width: 760px;
}
.cd-legal-header {
  margin-top: 28px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--color-rule);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--color-muted);
  letter-spacing: 0.04em;
}
.cd-legal-header strong { color: var(--color-ink); }

.legal-body-section {
  padding: 32px 32px 96px;
  max-width: 1080px;
  margin: 0 auto;
}
.cd-legal-shell {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: flex-start;
}
.cd-legal-shell--dpdp { grid-template-columns: 260px 1fr; }

.cd-legal-toc {
  position: sticky;
  top: 100px;
}
.cd-legal-toc .toc-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.cd-legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cd-legal-toc a {
  text-decoration: none;
  color: var(--color-ink);
  font-size: 13.5px;
  display: flex;
  gap: 10px;
  line-height: 1.4;
}
.cd-legal-toc a .num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted);
  flex-shrink: 0;
}
.cd-legal-toc a:hover { color: var(--color-orange); }

.legal-body {
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-ink);
  font-family: var(--font-body);
}
.legal-body section {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--color-rule);
}
.legal-body section:last-child {
  border-bottom: 0;
}
.section-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-orange);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 10px;
  font-weight: 600;
}
.legal-body h2 {
  margin: 0 0 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--color-ink);
  text-wrap: balance;
}
.legal-body .stack {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.legal-body p { margin: 0; }
.legal-body a { color: var(--color-orange); font-weight: 600; text-decoration: none; }
.legal-body a:hover { text-decoration: underline; }
.legal-body ul {
  margin: 0;
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.legal-body ul li { line-height: 1.65; }
.legal-body ol.steps {
  margin: 0;
  padding: 0 0 0 22px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 15.5px;
  line-height: 1.6;
}
.cd-defn {
  margin: 0;
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 10px 18px;
}
.cd-defn dt {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--color-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-top: 3px;
}
.cd-defn dd { margin: 0; font-size: 15.5px; }

.legal-callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--color-cream);
  border-radius: 14px;
  font-size: 13.5px;
  color: var(--color-muted);
  line-height: 1.6;
}
.legal-callout strong { color: var(--color-ink); }

/* DPDP hero card ───────────────────────────────── */
.dpdp-glance-section {
  padding: 24px 32px 8px;
  max-width: 1080px;
  margin: 0 auto;
}
.dpdp-glance {
  background: var(--color-purple-deep);
  color: white;
  border-radius: 22px;
  padding: 32px 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.dpdp-glance-eye {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-orange-pale);
  margin-bottom: 12px;
}
.dpdp-glance-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.dpdp-glance-addr {
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 15px;
  line-height: 1.55;
  max-width: 380px;
}
.dpdp-glance-meta {
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.06em;
  line-height: 1.7;
}
.dpdp-glance-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  justify-content: center;
}
.dpdp-contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: white;
  text-decoration: none;
  transition: background .15s;
}
.dpdp-contact-card:hover { background: rgba(255,255,255,0.10); }
.dpdp-contact-card .role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 4px;
}
.dpdp-contact-card .email { font-weight: 600; font-size: 15px; }
.dpdp-contact-card .sub { font-size: 12px; color: rgba(255,255,255,0.55); margin-top: 2px; }
.dpdp-contact-card .arrow { font-size: 18px; color: var(--color-orange-pale); }

/* DPDP TOC ───────────────────────────────── */
.dpdp-toc {
  position: sticky;
  top: 100px;
}
.dpdp-toc-head {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.dpdp-toc-head .count { color: var(--color-muted-2); }
.dpdp-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.dpdp-toc a {
  text-decoration: none;
  display: grid;
  grid-template-columns: 24px 1fr 14px;
  gap: 10px;
  align-items: baseline;
  padding: 10px 12px;
  border-radius: 10px;
  background: transparent;
  color: var(--color-ink);
  font-size: 13.5px;
  line-height: 1.35;
  transition: background .15s, color .15s;
}
.dpdp-toc a:hover { background: var(--color-cream); }
.dpdp-toc a.is-active { background: var(--color-ink); color: white; }
.dpdp-toc a.is-active .num { color: rgba(255,255,255,0.65); }
.dpdp-toc a.is-active .arrow { color: rgba(255,255,255,0.8); transform: translateX(2px); }
.dpdp-toc .num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--color-muted);
  letter-spacing: 0.06em;
}
.dpdp-toc .label-text {
  font-weight: 500;
  text-wrap: pretty;
}
.dpdp-toc a.is-active .label-text { font-weight: 600; }
.dpdp-toc .arrow {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--color-muted-2);
  transition: transform .15s;
}
.dpdp-quick-contact {
  margin-top: 18px;
  padding: 14px;
  border-radius: 12px;
  background: var(--color-cream);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--color-ink);
}
.dpdp-quick-contact .qc-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 6px;
}
.dpdp-quick-contact a {
  display: block;
  color: var(--color-ink);
  text-decoration: none;
  font-weight: 600;
}
.dpdp-quick-contact .qc-sub { color: var(--color-muted); font-size: 11.5px; margin-top: 2px; }

/* DPDP body anchor link */
.section-anchor {
  color: var(--color-muted-2);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.06em;
  margin-left: 10px;
}
.section-anchor:hover { color: var(--color-orange); }
.section-num-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE
   ───────────────────────────────────────────────────────────── */
@media (max-width: 960px) {
  .cd-section-pad      { padding: 64px 24px; }
  .cd-section-pad-hero { padding: 72px 24px 56px; }
  .cd-section-pad-tight{ padding: 40px 24px 64px; }
  .cd-footer-pad       { padding: 56px 24px 28px; }

  .cd-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .cd-hero-stats          { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cd-pillars             { grid-template-columns: 1fr; }
  .cd-shipping-grid       { grid-template-columns: 1fr; }
  .cd-shipping-card-inner { grid-template-columns: 1fr; gap: 32px; }
  .cd-shipping-bento      { display: none; }
  .cd-about-preview       { grid-template-columns: 1fr; gap: 28px; }
  .cd-manifesto-row       { grid-template-columns: 60px 1fr; gap: 16px; padding: 24px 0; }
  .cd-manifesto-row-meta  { display: none; }

  .cd-howwework         { grid-template-columns: 1fr; }
  .cd-wherewesit-card   { grid-template-columns: 1fr; gap: 28px; padding: 40px 32px; }

  .cd-manifesto-principle      { grid-template-columns: 1fr; gap: 24px; }
  .cd-manifesto-principle-num  { position: static; font-size: 44px; }
  .cd-manifesto-principle-aside{ position: static; }

  .cd-legal-shell { grid-template-columns: 1fr; gap: 32px; }
  .cd-legal-toc, .dpdp-toc { position: static; padding: 20px 22px; background: var(--color-cream); border-radius: 14px; }

  .cd-nav-pill { padding: 6px 8px 6px 18px; gap: 12px; }

  .dpdp-glance { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 640px) {
  .cd-section-pad      { padding: 56px 20px; }
  .cd-section-pad-hero { padding: 56px 20px 40px; }
  .cd-section-pad-tight{ padding: 32px 20px 56px; }
  .cd-footer-pad       { padding: 48px 20px 24px; }

  .cd-footer-grid { grid-template-columns: 1fr; }

  .cd-nav-pill {
    padding: 6px 6px 6px 14px;
    gap: 8px;
  }
  .cd-nav-links { gap: 0; }
  .cd-nav-links a { padding: 7px 10px; font-size: 12px; }

  .cd-hero-stats        { gap: 18px 16px; }
  .cd-shipping-featured { padding: 32px 24px; border-radius: 22px; }

  .cd-wherewesit-card     { padding: 32px 24px; border-radius: 22px; }
  .cd-manifesto-principle-article { padding: 48px 20px; }
  .cd-signoff             { padding: 72px 20px; }
  .cd-defn                { grid-template-columns: 1fr; gap: 2px 0; }
  .cd-defn dt             { padding-top: 8px; }
  .cd-legal-header        { gap: 8px 18px; }
}
