/* =========================================================================
   CINTEN — Shared Site Styles
   Typography: EB Garamond (serif) + DM Sans (sans) + JetBrains Mono
   Colors: Deep Violet #4a0561 · Maximum Yellow #faf03b · Light Magenta #d18ad4
   ========================================================================= */

/* -------------------------------------------------------------------------
   REFINEMENT PASS (v2)
   Focus: visual hierarchy, spacing, brand-asset integration (fractal/arch).
   Goals: premium · controlled · elegant · subtly "magical".
   Changes are additive — no base tokens rewritten.
   ------------------------------------------------------------------------- */

:root {
  --violet: #4a0561;
  --violet-soft: #6a1985;
  --violet-deep: #21052b;
  --magenta: #d18ad4;
  --magenta-soft: #e3b4e5;
  --yellow: #faf03b;
  --white: #EDF7EF;
  --white-dim: rgba(237, 247, 239, 0.72);
  --white-faint: rgba(237, 247, 239, 0.42);
  --white-line: rgba(237, 247, 239, 0.16);
  --dark-dim: rgba(33, 5, 43, 0.7);
  --dark-faint: rgba(33, 5, 43, 0.4);
  --dark-line: rgba(33, 5, 43, 0.14);
  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--violet);
  color: var(--white);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
.wrap { max-width: 1280px; margin: 0 auto; padding: 0 40px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

/* =================== HEADER =================== */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(74, 5, 97, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--white-line);
}
header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex; flex-direction: column;
  color: var(--white);
}
.logo-arch {
  height: 12px; margin-bottom: -4px; width: 120px;
}
.logo-arch svg { width: 100%; height: 100%; overflow: visible; }
.logo-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  letter-spacing: 0.01em;
  line-height: 1;
}

nav ul { display: flex; gap: 36px; list-style: none; }
nav a {
  font-size: 14px; color: var(--white-dim);
  font-weight: 400;
  transition: color 0.2s;
}
nav a:hover, nav a.active { color: var(--white); }
.nav-cta { display: flex; gap: 14px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn-primary { background: var(--yellow); color: var(--violet-deep); }
.btn-primary:hover { background: #fff063; transform: translateY(-1px); }
.btn-ghost {
  color: var(--white); border-color: var(--white-line); background: transparent;
}
.btn-ghost:hover { border-color: var(--white-dim); background: rgba(237, 247, 239, 0.06); }
.btn-dark { background: var(--violet); color: var(--white); }
.btn-dark:hover { background: var(--violet-deep); }
.btn-login { color: var(--white-dim); font-size: 14px; font-weight: 400; padding: 0; }
.btn-login:hover { color: var(--white); }

/* =================== SECTION BASE =================== */
section.block { padding: 140px 0; position: relative; }
section.dark-bg { background: var(--violet-deep); }
section.light-bg { background: var(--white); color: var(--violet-deep); }
section.magenta-bg {
  background: linear-gradient(145deg, var(--violet) 0%, #7a2f9b 60%, var(--magenta) 130%);
}

.section-label {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-bottom: 22px;
  display: flex; align-items: center; gap: 14px;
}
.section-label::before {
  content: attr(data-num);
  color: var(--white-faint);
}
.light-bg .section-label { color: var(--violet); }
.light-bg .section-label::before { color: var(--dark-faint); }

h2.headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 960px;
  margin-bottom: 28px;
}
h2.headline em { font-style: italic; color: var(--yellow); font-weight: 400; }
.light-bg h2.headline { color: var(--violet-deep); }
.light-bg h2.headline em { color: var(--violet); }

.lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--white-dim);
  max-width: 720px;
  line-height: 1.45;
  font-weight: 400;
}
.light-bg .lede { color: var(--dark-dim); }

/* =================== PAGE HERO =================== */
.page-hero {
  padding: 120px 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet) 50%, var(--violet-soft) 100%);
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%; width: 60%; height: 80%;
  background-image:
    linear-gradient(var(--white-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  pointer-events: none;
}
.page-hero .wrap { position: relative; }
.page-hero-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--yellow);
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 32px;
}
.page-hero-eyebrow::before {
  content: ''; width: 28px; height: 1px; background: var(--yellow);
}
.page-hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(56px, 7.2vw, 96px);
  line-height: 1.0;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 920px;
  margin-bottom: 32px;
}
.page-hero h1 em { font-style: italic; color: var(--yellow); font-weight: 400; }
.page-hero-lede {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 24px;
  color: var(--white-dim);
  max-width: 640px;
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* =================== FOOTER =================== */
footer {
  background: var(--violet-deep);
  padding: 80px 0 40px;
}
.foot-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px; margin-bottom: 64px;
}
.foot-brand .logo { margin-bottom: 20px; }
.foot-brand p {
  font-family: var(--serif);
  font-size: 17px; color: var(--white-dim); max-width: 340px; line-height: 1.5;
  font-style: italic;
}
.foot-brand .tagline {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-faint);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 24px;
  font-style: normal;
}
.foot-col h6 {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 22px;
}
.foot-col ul { list-style: none; }
.foot-col li { margin-bottom: 10px; }
.foot-col a {
  font-size: 14px; color: var(--white-dim);
  transition: color 0.2s;
}
.foot-col a:hover { color: var(--white); }
.foot-base {
  border-top: 1px solid var(--white-line);
  padding-top: 28px;
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-faint);
  letter-spacing: 0.1em;
  flex-wrap: wrap; gap: 16px;
}

/* =================== HOME — Hero with product =================== */
.home-hero { padding: 90px 0 120px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet) 50%, var(--violet-soft) 100%);
}
.home-hero::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%; width: 60%; height: 80%;
  background-image:
    linear-gradient(var(--white-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  pointer-events: none;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 1fr;
  gap: 60px; align-items: center;
  position: relative;
}
.hero-grid h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(52px, 7vw, 92px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  margin-bottom: 36px;
  color: var(--white);
}
.hero-grid h1 em {
  font-style: italic; color: var(--yellow); font-weight: 400;
}
.hero-sub {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px; line-height: 1.45;
  color: var(--white-dim);
  max-width: 560px;
  margin-bottom: 44px;
  font-style: italic;
}
.hero-sub strong { color: var(--white); font-weight: 500; font-style: normal; }
.hero-ctas { display: flex; gap: 14px; margin-bottom: 64px; flex-wrap: wrap; }
.hero-meta {
  display: flex; gap: 56px;
  padding-top: 36px; border-top: 1px solid var(--white-line);
}
.hero-meta div { font-family: var(--mono); font-size: 10px; color: var(--white-faint); letter-spacing: 0.18em; text-transform: uppercase; }
.hero-meta strong { display: block; font-family: var(--serif); font-size: 32px; color: var(--white); margin-top: 10px; font-weight: 400; font-style: italic; letter-spacing: -0.01em; text-transform: none; }
/* Single-line support variant — reads as a caption, not a stat */
.hero-meta--support div { font-size: 11px; letter-spacing: 0.14em; line-height: 1.5; color: var(--white-dim); }
.hero-meta--support strong { display: inline; font-size: inherit; font-style: normal; font-family: inherit; color: var(--yellow); margin-top: 0; letter-spacing: inherit; text-transform: uppercase; font-weight: 500; }

.hero-product {
  background: var(--violet-deep);
  border: 1px solid var(--white-line);
  border-radius: 20px;
  position: relative;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,0.5);
  overflow: hidden;
}
.hero-product-head {
  padding: 12px 18px;
  border-bottom: 1px solid var(--white-line);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  background: rgba(0,0,0,0.25);
}
.hero-product-head .dots { display: flex; gap: 6px; }
.hero-product-head .dots span { width: 8px; height: 8px; border-radius: 50%; background: var(--white-line); }
.hero-product-title { color: var(--white-dim); letter-spacing: 0.08em; text-transform: uppercase; font-size: 10px; }
.hero-product-live { display: flex; align-items: center; gap: 7px; color: var(--yellow); font-size: 10px; letter-spacing: 0.15em; }
.hero-product-live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--yellow); animation: pulse 1.4s infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
.hero-product-img { width: 100%; height: auto; display: block; }

/* =================== TRUST / CUSTOMER LOGOS =================== */
.trust {
  padding: 56px 0;
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  background: var(--violet-deep);
}
.trust-label {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--white-dim);
  letter-spacing: 0.26em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}
.trust-logos {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 36px;
  align-items: center;
  justify-items: center;
}
.trust-logos img {
  max-height: 30px;
  width: auto;
  max-width: 100%;
  opacity: 0.75;
  filter: brightness(0) invert(0.95);
  transition: opacity 0.2s;
}
.trust-logos img:hover { opacity: 1; }

.customer-logos {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px 40px;
  align-items: center;
  justify-items: center;
  padding: 48px 40px;
  background: rgba(237, 247, 239, 0.03);
  border: 1px solid var(--white-line);
  border-radius: 20px;
}
.customer-logos img {
  max-height: 32px;
  width: auto;
  max-width: 100%;
  opacity: 0.72;
  filter: brightness(0) invert(0.95);
  transition: opacity 0.2s;
}
.customer-logos img:hover { opacity: 1; }

/* =================== MANIFESTO =================== */
.manifesto {
  padding: 160px 0;
  position: relative;
  background: linear-gradient(180deg, var(--violet) 0%, #5e1577 100%);
  overflow: hidden;
}
.manifesto-arch { position: absolute; inset: 0; opacity: 0.05; pointer-events: none; }
.manifesto-arch svg { width: 100%; height: 100%; }
.manifesto .wrap { position: relative; z-index: 1; text-align: center; }
.manifesto-mark {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  margin-bottom: 56px;
  display: inline-flex; align-items: center; gap: 14px;
}
.manifesto-mark::before, .manifesto-mark::after {
  content: ''; width: 36px; height: 1px; background: var(--yellow);
}
.manifesto-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.22;
  color: var(--white);
  max-width: 1060px;
  margin: 0 auto;
  letter-spacing: -0.015em;
}
.manifesto-text em { font-style: italic; color: var(--yellow); font-weight: 400; }
.manifesto-signoff {
  margin-top: 56px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  color: var(--white-dim);
  letter-spacing: 0.02em;
}

/* =================== PROBLEM / TEASER =================== */
.two-col {
  display: grid; grid-template-columns: 1.4fr 1fr;
  gap: 80px; align-items: center;
}
.two-col-oli img {
  max-width: 320px; margin: 0 auto; display: block;
  filter: drop-shadow(0 24px 36px rgba(0,0,0,0.3));
}

.problem-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  margin-top: 72px;
  border: 1px solid var(--white-line);
  border-radius: 20px;
  overflow: hidden;
}
.problem-col { padding: 44px 44px 48px; border-right: 1px solid var(--white-line); }
.problem-col:last-child { border-right: none; }
.problem-col h3 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--white-line);
}
.problem-col.good h3 { color: var(--yellow); }
.problem-title {
  font-family: var(--serif);
  font-size: 28px; font-weight: 400; font-style: italic;
  margin-bottom: 24px; color: var(--white);
  line-height: 1.1; letter-spacing: -0.01em;
}
.problem-col.bad .problem-title { color: var(--white-dim); }
.problem-list { list-style: none; }
.problem-list li {
  padding: 12px 0; font-size: 15px; line-height: 1.5;
  color: var(--white);
  display: flex; gap: 14px; align-items: start;
  font-weight: 300;
}
.problem-col.bad .problem-list li { color: var(--white-dim); }
.problem-list li::before {
  content: ''; width: 14px; height: 1px;
  background: var(--white-faint);
  margin-top: 11px; flex-shrink: 0;
}
.problem-col.good .problem-list li::before { background: var(--yellow); }

/* =================== HOW IT WORKS (5 STEPS) =================== */
.how-steps {
  margin-top: 80px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
}
.how-step {
  padding: 36px 24px 40px;
  border-right: 1px solid var(--dark-line);
  display: flex; flex-direction: column;
  min-height: 300px;
}
.how-step:last-child { border-right: none; }
.how-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet);
  letter-spacing: 0.18em;
  margin-bottom: 20px;
}
.how-oli {
  height: 140px;
  margin-bottom: 24px;
  display: flex; align-items: center; justify-content: center;
}
.how-oli img { max-height: 100%; max-width: 100%; width: auto; }
.how-step h4 {
  font-family: var(--serif);
  font-size: 30px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.015em;
  color: var(--violet-deep);
  margin-bottom: 12px;
}
.how-step p {
  font-size: 14px;
  color: var(--dark-dim);
  line-height: 1.55;
}

/* Compact how-it-works teaser (for home page) */
.how-teaser {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--white-line);
  border: 1px solid var(--white-line);
  border-radius: 20px;
  overflow: hidden;
}
.how-teaser-step {
  padding: 32px 24px;
  background: var(--violet);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  min-height: 220px;
}
.how-teaser-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 16px;
}
.how-teaser-oli {
  height: 72px; margin-bottom: 16px;
}
.how-teaser-oli img { height: 100%; width: auto; }
.how-teaser-step h4 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
}

/* =================== PRODUCT FEATURE BIG =================== */
.product-feature {
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  align-items: center;
  background: var(--violet);
  border: 1px solid var(--white-line);
  border-radius: 20px;
  padding: 56px;
}
.product-feature.reverse { grid-template-columns: 1.5fr 1fr; }
.product-feature.reverse .product-feature-meta { order: 2; }
.product-feature.reverse .product-feature-img { order: 1; }
.product-feature-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.product-feature-title {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.product-feature-title em { font-style: italic; color: var(--yellow); font-weight: 400; }
.product-feature-desc {
  font-size: 16px;
  color: var(--white-dim);
  line-height: 1.55;
}
.product-feature-img {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  box-shadow: 0 24px 48px -20px rgba(0,0,0,0.45);
}
.product-feature-img img { width: 100%; display: block; }

/* =================== SHOWCASE CARDS =================== */
.showcase {
  margin-top: 48px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 28px;
}
.showcase-card {
  background: var(--violet-deep);
  border: 1px solid var(--white-line);
  border-radius: 16px;
  padding: 36px;
  min-height: 380px;
  display: flex; flex-direction: column;
}
.showcase-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 20px;
}
.showcase-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 14px;
  letter-spacing: -0.015em;
  line-height: 1.08;
}
.showcase-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.55;
  margin-bottom: 28px;
  flex: 1;
}
.showcase-screenshot {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  margin-top: auto;
}
.showcase-screenshot img { width: 100%; display: block; }

/* =================== PARTICIPANT GALLERY =================== */
.participant-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.participant-card {
  background: var(--violet-deep);
  border: 1px solid var(--white-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.participant-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--white-line);
}
.participant-meta { padding: 24px 26px 28px; }
.participant-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.participant-title {
  font-family: var(--serif);
  font-size: 22px;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.participant-meta p {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.55;
}

/* =================== VIDEO PLACEHOLDER =================== */
.video-placeholder {
  margin-top: 72px;
  border-radius: 20px;
  border: 1px solid var(--white-line);
  overflow: hidden;
}
.video-frame {
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(74,5,97,0.3), rgba(33,5,43,0.6)),
    var(--violet);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 24px; position: relative;
}
.video-frame::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle, var(--white-line) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  opacity: 0.7;
  pointer-events: none;
}
.video-play { color: var(--yellow); position: relative; z-index: 1; transition: transform 0.2s; }
.video-placeholder:hover .video-play { transform: scale(1.05); }
.video-caption {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  position: relative; z-index: 1;
}

/* =================== STATS =================== */
.stats-grid {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--white-line);
  border: 1px solid var(--white-line);
  border-radius: 20px;
  overflow: hidden;
}
.stat {
  background: var(--violet);
  padding: 48px 36px;
  min-height: 280px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.stat-num {
  font-family: var(--serif);
  font-size: clamp(64px, 6.2vw, 96px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--yellow);
}
.stat-num .u { font-size: 0.4em; color: var(--white-dim); font-family: var(--mono); font-weight: 400; margin-left: 2px; vertical-align: top; position: relative; top: 0.3em; }
.stat-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 14px;
}
.stat-desc {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  color: var(--white);
  line-height: 1.3;
  margin-top: 24px;
}

/* =================== QUOTE =================== */
.quote-block {
  padding: 80px 0;
  border-bottom: 1px solid var(--white-line);
  display: grid; grid-template-columns: 1fr 2.2fr;
  gap: 80px; align-items: start;
}
.quote-block:last-of-type { border-bottom: none; }
.quote-meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--white-dim);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  line-height: 1.8;
}
.quote-meta .name { color: var(--yellow); font-size: 13px; display: block; margin-bottom: 8px; letter-spacing: 0.12em; }
.quote-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 38px);
  line-height: 1.25;
  color: var(--white);
  letter-spacing: -0.015em;
  font-style: italic;
}
.quote-text::before {
  content: '"';
  color: var(--yellow);
  font-size: 1.3em;
  margin-right: 0.08em;
  font-style: normal;
}

/* =================== PRICING =================== */
.pricing-grid {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--dark-line);
  border: 1px solid var(--dark-line);
  border-radius: 20px;
  overflow: hidden;
}
.tier {
  background: var(--white);
  padding: 44px 32px;
  display: flex; flex-direction: column;
  min-height: 480px;
}
.tier.featured { background: var(--violet); color: var(--white); }
.tier-name {
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin-bottom: 6px;
}
.tier.featured .tier-name { color: var(--yellow); }
.tier-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-bottom: 28px;
}
.tier.featured .tier-sub { color: var(--white-faint); }
.tier-price {
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 400;
  color: var(--violet-deep);
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.tier.featured .tier-price { color: var(--white); }
.tier-price .per { font-size: 14px; color: var(--dark-faint); font-family: var(--mono); font-weight: 400; margin-left: 4px; letter-spacing: 0.05em; }
.tier.featured .tier-price .per { color: var(--white-faint); }
.tier-monthly {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--dark-faint);
  margin-bottom: 28px;
  letter-spacing: 0.04em;
}
.tier.featured .tier-monthly { color: var(--white-dim); }
.tier-features { list-style: none; font-size: 14px; line-height: 1.6; flex: 1; margin-bottom: 28px; }
.tier-features li {
  padding: 8px 0;
  color: var(--violet-deep);
  display: flex; gap: 10px;
}
.tier.featured .tier-features li { color: var(--white); }
.tier-features li::before { content: '→'; color: var(--violet); font-family: var(--mono); flex-shrink: 0; }
.tier.featured .tier-features li::before { color: var(--yellow); }
.tier-cta { width: 100%; text-align: center; justify-content: center; }
.tier:not(.featured) .tier-cta { background: var(--violet); color: var(--white); }
.tier:not(.featured) .tier-cta:hover { background: var(--violet-deep); }

/* Full comparison table */
.compare-table {
  margin-top: 72px;
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.compare-table th, .compare-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--dark-line);
}
.compare-table th {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--violet-deep);
  letter-spacing: -0.01em;
  padding-top: 24px;
  padding-bottom: 24px;
  vertical-align: bottom;
}
.compare-table th:first-child {
  font-family: var(--mono);
  font-size: 11px;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark-faint);
}
.compare-table td {
  color: var(--dark-dim);
  font-weight: 400;
}
.compare-table td:first-child {
  font-family: var(--sans);
  font-weight: 500;
  color: var(--violet-deep);
}
.compare-table tr.section-row td {
  background: rgba(74, 5, 97, 0.04);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet);
  padding: 14px 20px;
  font-weight: 500;
}
.compare-check { color: var(--violet); font-weight: 500; }
.compare-dash { color: var(--dark-faint); }

/* =================== FAQ =================== */
.faq {
  margin-top: 72px;
  border-top: 1px solid var(--dark-line);
}
.faq-item {
  border-bottom: 1px solid var(--dark-line);
  padding: 28px 0;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  align-items: start;
}
.faq-q {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 400;
  font-style: italic;
  color: var(--violet-deep);
  letter-spacing: -0.01em;
  line-height: 1.2;
}
.faq-a {
  font-size: 15px;
  color: var(--dark-dim);
  line-height: 1.6;
}

/* =================== TEAM =================== */
.team-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--violet);
  border: 1px solid var(--white-line);
  border-radius: 20px;
  padding: 0 0 32px;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.team-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-bottom: 1px solid var(--white-line);
  background: var(--violet-deep);
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.team-name {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 28px 28px 4px;
}
.team-role {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--yellow);
  margin: 0 28px 18px;
}
.team-bio {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.55;
  margin: 0 28px 24px;
  flex: 1;
}
.team-link {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  padding: 16px 28px 0;
  border-top: 1px solid var(--white-line);
  margin: 0 0 0 0;
  transition: color 0.2s;
}
.team-link:hover { color: var(--yellow); }

.team-note {
  margin-top: 48px;
  padding: 24px 28px;
  background: rgba(250, 240, 59, 0.06);
  border: 1px solid rgba(250, 240, 59, 0.2);
  border-radius: 16px;
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.55;
}
.team-note strong { color: var(--yellow); font-weight: 500; }

/* =================== VALUE GRID =================== */
.value-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.value-card {
  padding: 36px 32px;
  background: rgba(237, 247, 239, 0.03);
  border: 1px solid var(--white-line);
  border-radius: 20px;
}
.value-num {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--yellow);
  margin-bottom: 20px;
}
.value-title {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 400;
  font-style: italic;
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.015em;
  line-height: 1.1;
}
.value-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.55;
}

/* =================== NEWSLETTER =================== */
.newsletter {
  padding: 120px 0;
  background: linear-gradient(145deg, var(--violet) 0%, #7a2f9b 60%, var(--magenta) 130%);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: center;
  background: rgba(33, 5, 43, 0.3);
  border: 1px solid var(--white-line);
  border-radius: 24px;
  padding: 64px;
  backdrop-filter: blur(8px);
}
.newsletter-copy .section-label { margin-bottom: 20px; }
.newsletter-headline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 3vw, 40px);
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
.newsletter-desc {
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.55;
}
.newsletter-form {
  display: flex;
  gap: 10px;
  width: 100%;
}
.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  background: rgba(237, 247, 239, 0.08);
  border: 1px solid var(--white-line);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-form input[type="email"]::placeholder { color: var(--white-faint); }
.newsletter-form input[type="email"]:focus { border-color: var(--yellow); }
.newsletter-form button { padding: 14px 24px; font-size: 13px; white-space: nowrap; }

/* =================== CONTACT FORM =================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 48px;
}
.contact-form {
  background: rgba(237, 247, 239, 0.03);
  border: 1px solid var(--white-line);
  border-radius: 24px;
  padding: 48px;
}
.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
.contact-form-field { display: flex; flex-direction: column; margin-bottom: 16px; }
.contact-form-field label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-dim);
  margin-bottom: 8px;
}
.contact-form-field input,
.contact-form-field textarea,
.contact-form-field select {
  padding: 14px 18px;
  background: rgba(237, 247, 239, 0.06);
  border: 1px solid var(--white-line);
  border-radius: 12px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form-field input:focus,
.contact-form-field textarea:focus,
.contact-form-field select:focus { border-color: var(--yellow); }
/* Native <option> elements render on the OS's system background (usually white) but
   inherit color from the <select>, which is cream. Override so dropdown items are
   legible when the native menu opens. */
.contact-form-field select option {
  color: var(--violet-deep);
  background: #ffffff;
}
.contact-form-field textarea { min-height: 140px; resize: vertical; }
.contact-form-submit { width: 100%; margin-top: 16px; padding: 16px; font-size: 14px; justify-content: center; }

.contact-info { padding-top: 16px; }
.contact-info-item { margin-bottom: 40px; }
.contact-info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 12px;
}
.contact-info-value {
  font-family: var(--serif);
  font-size: 24px;
  font-style: italic;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.contact-info-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.55;
}
.contact-info-value a { color: var(--white); transition: color 0.2s; }
.contact-info-value a:hover { color: var(--yellow); }

/* =================== FINAL CTA =================== */
.final-cta {
  padding: 160px 0;
  position: relative;
  background: linear-gradient(160deg, var(--violet) 0%, var(--violet-deep) 100%);
  overflow: hidden;
  text-align: center;
}
.final-cta-arch { position: absolute; inset: 0; opacity: 0.06; pointer-events: none; }
.final-cta-arch svg { width: 100%; height: 100%; }
.final-cta .wrap { position: relative; z-index: 1; }
.final-cta-oli { max-width: 240px; margin: 0 auto 40px; }
.final-cta-oli img { width: 100%; filter: drop-shadow(0 30px 50px rgba(0,0,0,0.4)); }
.final-cta h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 5.8vw, 78px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 900px;
  margin: 0 auto 32px;
}
.final-cta h2 em { font-style: italic; color: var(--yellow); font-weight: 400; }
.final-cta p {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--white-dim);
  max-width: 620px;
  margin: 0 auto 48px;
  font-style: italic;
}
.final-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* =================== SECTION LINK =================== */
.section-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-top: 48px;
  padding: 14px 22px;
  border: 1px solid var(--yellow);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.section-link:hover { background: var(--yellow); color: var(--violet-deep); }
.light-bg .section-link { color: var(--violet); border-color: var(--violet); }
.light-bg .section-link:hover { background: var(--violet); color: var(--white); }

/* =================== RESPONSIVE =================== */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 80px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .how-steps { grid-template-columns: repeat(2, 1fr); }
  .how-step:nth-child(2n) { border-right: none; }
  .how-step { border-bottom: 1px solid var(--dark-line); }
  .how-teaser { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .showcase { grid-template-columns: 1fr; }
  .product-feature, .product-feature.reverse { grid-template-columns: 1fr; padding: 40px; gap: 32px; }
  .product-feature.reverse .product-feature-meta { order: 0; }
  .product-feature.reverse .product-feature-img { order: 0; }
  .product-feature-title { font-size: 32px; }
  .participant-grid { grid-template-columns: 1fr; }
  .participant-card img { height: 240px; }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-logos { grid-template-columns: repeat(4, 1fr); gap: 36px 40px; }
  .customer-logos { grid-template-columns: repeat(4, 1fr); gap: 40px 32px; padding: 40px 32px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .value-grid { grid-template-columns: 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; gap: 40px; padding: 48px 40px; }
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .compare-table { font-size: 12px; }
  .compare-table th, .compare-table td { padding: 12px 14px; }
  .faq-item { grid-template-columns: 1fr; gap: 12px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  nav ul { display: none; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 24px; }
  .home-hero { padding: 60px 0 80px; }
  .page-hero { padding: 80px 0 60px; }
  .manifesto { padding: 100px 0; }
  section.block { padding: 80px 0; }
  .problem-grid { grid-template-columns: 1fr; }
  .problem-col { border-right: none; border-bottom: 1px solid var(--white-line); }
  .problem-col:last-child { border-bottom: none; }
  .how-steps, .how-teaser { grid-template-columns: 1fr; }
  .how-step { border-right: none; }
  .quote-block { grid-template-columns: 1fr; gap: 24px; padding: 56px 0; }
  .pricing-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 20px; }
  .hero-meta strong { font-size: 24px; }
  .trust-logos { grid-template-columns: repeat(3, 1fr); gap: 32px 24px; }
  .customer-logos { grid-template-columns: repeat(3, 1fr); gap: 32px 20px; padding: 32px 20px; }
  .newsletter { padding: 80px 0; }
  .newsletter-inner { padding: 40px 28px; }
  .newsletter-form { flex-direction: column; }
  .contact-form { padding: 32px 24px; }
  .contact-form-row { grid-template-columns: 1fr; }
  .btn-login { display: none; }
}

/* =========================================================================
   ========================== REFINEMENT LAYER v2 ==========================
   Added 2026-04 per brand refinement brief.
   Organized by section with WHY comments, not just WHAT.
   ========================================================================= */

/* ---- FRACTAL WATERMARK UTILITY ----
   Reusable overlay. Place any decorated container with position:relative
   and add a .fractal-bg child to get a subtle brand watermark.
   Opacity kept in the 4-8% range so it never competes with content. */
.fractal-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.fractal-bg::before {
  content: '';
  position: absolute;
  background: url('brand/fractal.png') center/contain no-repeat;
  opacity: 0.07;
}
/* Positional variants for fractal-bg */
.fractal-bg.center::before    { inset: 0; }
.fractal-bg.right::before     { top: -10%; right: -15%; width: 70%; height: 130%; opacity: 0.06; }
.fractal-bg.left::before      { top: -10%; left: -20%;  width: 65%; height: 130%; opacity: 0.05; }
.fractal-bg.behind-title::before {
  top: 50%; left: 50%; width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  opacity: 0.06;
}
.fractal-bg.hero-anchor::before {
  top: -20%; left: 30%; width: 900px; height: 900px;
  transform: translateX(-40%);
  opacity: 0.05;
}
/* Ensure content sits above the watermark */
.home-hero .wrap,
.manifesto .wrap,
.final-cta .wrap,
.block .wrap {
  position: relative;
  z-index: 1;
}

/* ---- HERO REFINEMENTS ----
   WHY: spec asks for subtle fractal behind headline, deeper product card shadow,
   retained "live" pulse, stronger left/right balance. */
.home-hero::before { opacity: 0.75; } /* soften the grid backdrop so fractal reads */
.home-hero .hero-grid { gap: 72px; } /* slightly more air between columns */
.home-hero h1 { max-width: 580px; } /* prevent run-on lines at 1280px */

.hero-product {
  /* Deeper, more premium shadow; layered for depth instead of one big blur */
  box-shadow:
    0 2px 4px rgba(0,0,0,0.25),
    0 20px 40px -15px rgba(0,0,0,0.5),
    0 50px 120px -30px rgba(0,0,0,0.55);
  transform: translateY(0);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.hero-product:hover {
  transform: translateY(-3px);
  box-shadow:
    0 2px 4px rgba(0,0,0,0.25),
    0 24px 50px -15px rgba(0,0,0,0.55),
    0 60px 140px -30px rgba(0,0,0,0.6);
}

/* ---- TRUST STRIP REFINEMENTS ----
   WHY: spec asks to quiet logos, space them more, add subtle pattern.
   The pattern is purple motifs at very low opacity — reads as texture. */
.trust {
  position: relative;
  overflow: hidden;
}
.trust::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('brand/pattern.png') center/800px repeat;
  opacity: 0.04;
  pointer-events: none;
}
.trust .wrap { position: relative; z-index: 1; }
.trust-logos {
  gap: 50px 56px; /* more generous spacing */
}
.trust-logos img {
  opacity: 0.55; /* quieter than the original 0.75 */
  transition: opacity 0.3s ease;
}
.trust-logos img:hover { opacity: 0.9; }

/* ---- MANIFESTO REFINEMENTS ----
   WHY: spec asks for reduced weight, more line spacing, subtle fractal/arch bg.
   We keep the existing arch SVG overlay but add a breathing rhythm. */
.manifesto-text {
  line-height: 1.32; /* was 1.22 — more air between lines */
  font-size: clamp(28px, 3.2vw, 46px); /* gentle size reduction for elegance */
  font-weight: 400;
}
.manifesto { padding: 180px 0; } /* was 160px */

/* ---- PROBLEM SECTION REFINEMENTS ----
   WHY: spec asks for more vertical spacing, softer card separation, better readability. */
.problem-grid {
  margin-top: 88px;
  gap: 1px; /* hairline instead of solid divider — softer */
  background: var(--white-line);
  border: 1px solid var(--white-line);
}
.problem-col {
  padding: 56px 52px 60px; /* was 44/44/48 */
  background: var(--violet);
  border-right: none;
  border-bottom: none;
}
.problem-list li { padding: 14px 0; line-height: 1.55; }
.problem-col h3 { margin-bottom: 32px; padding-bottom: 20px; letter-spacing: 0.24em; }

/* ---- HOW-IT-WORKS REFINEMENTS ----
   WHY: spec wants less grid-feel, softer borders, more breathing room.
   NOTE: section flipped to dark-bg as part of rhythm fix — so step cards
   now need light text and a subtle highlight tint instead of dark text. */
.how-steps {
  margin-top: 96px;
  border: none; /* drop the framing top/bottom lines entirely */
  background: transparent;
  gap: 8px; /* tiny gap removes the welded-together look */
}
.how-step {
  border-right: none;
  border-radius: 16px;
  background: rgba(237, 247, 239, 0.04); /* faint luminous tint on dark */
  padding: 40px 28px 44px;
  min-height: 340px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.how-step:hover {
  background: rgba(237, 247, 239, 0.07);
  transform: translateY(-2px);
}
/* Dark-bg context overrides for the inner card text */
.dark-bg .how-num { color: var(--yellow); }
.dark-bg .how-step h4 { color: var(--white); }
.dark-bg .how-step p { color: var(--white-dim); }
.how-oli { margin-bottom: 28px; }

/* ---- STATS SECTION REFINEMENTS ----
   WHY: spec says reduce aggression, white numbers not all-yellow, more spacing,
   yellow only as accent. Current is all yellow — a bit shouty. */
.block.magenta-bg { /* slightly calmer gradient */
  background: linear-gradient(160deg, var(--violet) 0%, #6a1985 70%, #8a3ba5 120%);
}
.stats-grid {
  margin-top: 88px;
  gap: 2px;
  background: var(--white-line);
  border: 1px solid var(--white-line);
  border-radius: 20px;
}
.stat {
  padding: 56px 40px; /* more air */
  min-height: 300px;
}
.stat-num {
  color: var(--white); /* white numbers, not yellow */
  letter-spacing: -0.03em;
}
.stat-num .u {
  color: var(--yellow); /* yellow accent reserved for the unit */
}
.stat-desc { margin-top: 32px; color: var(--white-dim); font-size: 19px; }
.stat-label { color: var(--white-faint); }

/* ---- PRODUCT FEATURE REFINEMENTS (Heat Map teaser) ----
   WHY: elevate the screenshot, give the meta column more breathing room. */
.product-feature {
  padding: 72px;
  gap: 72px;
}
.product-feature-img {
  box-shadow:
    0 2px 4px rgba(0,0,0,0.3),
    0 24px 48px -18px rgba(0,0,0,0.5);
}

/* ---- PRICING TEASER REFINEMENTS ----
   WHY: simplified cards were inconsistent colors; unify + make featured pop. */
#pricing-teaser .tier {
  background: rgba(237, 247, 239, 0.04);
  border: 1px solid var(--white-line);
  color: var(--white);
  transition: background 0.3s ease, border-color 0.3s ease;
}
#pricing-teaser .tier:hover:not(.featured) {
  background: rgba(237, 247, 239, 0.07);
  border-color: rgba(237, 247, 239, 0.25);
}
#pricing-teaser .tier.featured {
  background: var(--violet);
  border-color: var(--yellow);
  box-shadow: 0 0 0 1px var(--yellow) inset;
}
#pricing-teaser .tier .tier-name,
#pricing-teaser .tier .tier-price { color: var(--white); }
#pricing-teaser .tier.featured .tier-name { color: var(--yellow); }
#pricing-teaser .tier-sub,
#pricing-teaser .tier .per { color: var(--white-faint); }
#pricing-teaser .pricing-grid {
  background: transparent;
  border: none;
  gap: 16px;
}

/* ---- CUSTOMERS TEASER REFINEMENTS ----
   Reassigned to light-bg per rhythm fix — quote contrast needs adjusting. */
.block.light-bg .quote-block { border-bottom-color: var(--dark-line); }
.block.light-bg .quote-block .quote-meta { color: var(--dark-dim); }
.block.light-bg .quote-block .quote-meta .name { color: var(--violet); }
.block.light-bg .quote-block .quote-text { color: var(--violet-deep); }
.block.light-bg .quote-block .quote-text::before { color: var(--violet); }

/* ---- FINAL CTA REFINEMENTS ----
   WHY: spec asks for subtle fractal/arch behind, stronger contrast from prior section. */
.final-cta {
  background: linear-gradient(165deg, var(--violet-deep) 0%, #3a0550 60%, var(--violet) 130%);
}
.final-cta p { line-height: 1.45; margin-bottom: 56px; }

/* ---- FADE-IN VARIANT FOR FRACTAL BEHIND HEADLINE ----
   Used only in hero, sized and positioned to sit behind <h1> but not bleed
   into the product card on the right. */
.hero-fractal-behind {
  position: absolute;
  top: -15%;
  left: -5%;
  width: 65%;
  height: 130%;
  background: url('brand/fractal.png') center/contain no-repeat;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
}

/* ---- RESPONSIVE ADJUSTMENTS FOR REFINEMENTS ---- */
@media (max-width: 1024px) {
  .product-feature { padding: 48px; gap: 40px; }
  .problem-col { padding: 44px 40px 48px; }
  .how-steps { gap: 12px; }
  .manifesto { padding: 120px 0; }
  .hero-fractal-behind { width: 85%; opacity: 0.05; }
}
@media (max-width: 640px) {
  .product-feature { padding: 32px 28px; }
  .problem-col { padding: 36px 28px 40px; }
  .manifesto { padding: 100px 0; }
  .stat { padding: 40px 28px; min-height: 240px; }
  .trust-logos { gap: 36px 28px; }
}

/* =========================================================================
   ========================= AGGRESSIVE UI PASS (v3) =======================
   Brief: page feels flat & continuous. Enforce decisive hierarchy.
   Non-negotiables: no copy changes, no new sections, only layout/contrast.
   ========================================================================= */

/* ---- REAL LOGO IMAGE ----
   Replaces the CSS-drawn arch+text with the actual brand file.
   White variant for dark headers, purple for light backgrounds. */
.logo-img {
  display: block;
  height: 44px;   /* calibrated to match 32px serif wordmark height */
  width: auto;
  align-self: flex-start;  /* prevent flex-column parent from stretching img horizontally */
  flex-shrink: 0;
  transition: opacity 0.2s ease;
}
.logo-img:hover { opacity: 0.85; }

/* ---- HERO: MAKE IT DOMINATE ----
   WHY: was flat; product card needs to feel elevated and clearly hierarchical.
   Scale ups slightly, strong layered shadow, subtle translateY for float. */
.home-hero {
  padding: 110px 0 160px; /* more bottom room to let product card breathe */
}
.home-hero .hero-grid {
  gap: 88px; /* was 72 — visibly more generous */
  grid-template-columns: 1fr 1.1fr; /* product card slightly wider than text */
}
.hero-product {
  transform: scale(1.04) translateY(-6px); /* scale + float */
  box-shadow:
    0 4px 8px rgba(0,0,0,0.3),
    0 30px 60px -15px rgba(0,0,0,0.55),
    0 80px 160px -40px rgba(0,0,0,0.7);
  border-radius: 24px;
}
.hero-product:hover {
  transform: scale(1.04) translateY(-10px); /* amplify the float on hover */
}

/* Stronger fractal behind hero headline - was 7%, now 10%,
   mix-blend-mode:screen makes it glow on dark violet. */
.hero-fractal-behind {
  opacity: 0.10;
  top: -10%;
  left: -8%;
  width: 55%;
  height: 120%;
}

/* ---- STRONG VISUAL BREAK AFTER HERO ----
   A full-width arch divider between Hero→Trust acts as a "scene change". */
.scene-break {
  background: var(--violet-deep); /* pure deep violet, no gradient */
  padding: 72px 0 24px;
  position: relative;
  overflow: hidden;
}
.scene-break-arch {
  display: block;
  margin: 0 auto;
  width: 80%;
  max-width: 900px;
  height: 80px;
  opacity: 0.3;
  color: var(--yellow);
}
.scene-break-arch svg { width: 100%; height: 100%; }
.scene-break-label {
  text-align: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-top: 32px;
}

/* ---- HARD CONTRAST RULES ----
   WHY: sections currently bleed into each other.
   Pure white for light sections, pure deep violet for dark.
   No intermediate gradients on body sections. */
section.block.dark-bg {
  background: var(--violet-deep); /* pure, no gradient */
}
section.block.light-bg {
  background: var(--white); /* pure white brand color */
}
/* Increase separation between sections */
section.block { padding: 160px 0; } /* was 140px */

/* Hero keeps its gradient (hero is meant to feel distinct from body). */
/* Manifesto keeps its soft violet gradient for emotional beat — unchanged. */
/* Final CTA keeps its deep gradient for impact — unchanged. */
/* Stats: pure deep violet (removed magenta gradient drama). */
section.block.magenta-bg {
  background: var(--violet-deep);
}

/* ---- MANIFESTO: COMPRESS ----
   WHY: brief says it kills momentum. Reduce padding by ~30%, tighter type,
   wider line-height for pause-not-wall feel. */
.manifesto {
  padding: 120px 0; /* was 180px — ~33% reduction */
}
.manifesto-text {
  font-size: clamp(24px, 2.6vw, 38px); /* calmer size */
  line-height: 1.4; /* wider breath */
  max-width: 960px;
  font-weight: 400;
}
.manifesto-mark { margin-bottom: 44px; } /* was 56 */
.manifesto-signoff { margin-top: 44px; } /* was 56 */

/* ---- HOW IT WORKS: BREAK THE GRID ----
   WHY: feels like a dashboard. Remove ALL column lines and frame.
   Each step becomes a standalone card with generous gaps. */
.how-steps {
  margin-top: 96px;
  border: none;
  background: transparent;
  gap: 20px; /* was 8 — visibly wider gaps */
}
.how-step {
  border: none;
  border-radius: 20px;
  background: rgba(237, 247, 239, 0.04);
  padding: 52px 32px 56px; /* more vertical padding */
  min-height: 380px;
  transition: background 0.3s ease, transform 0.3s ease;
}
.how-step:hover {
  background: rgba(237, 247, 239, 0.08);
  transform: translateY(-4px); /* subtle but present */
}

/* ---- STATS: REDUCE AGGRESSION ----
   WHY: numbers were all yellow and enormous. Overwhelming.
   Smaller, white, yellow only on units. */
.stats-grid {
  margin-top: 96px;
  gap: 24px; /* wide spacing between blocks, not 1px */
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}
.stat {
  padding: 56px 40px;
  min-height: 280px;
  border-radius: 20px;
  background: rgba(237, 247, 239, 0.04);
  border: 1px solid var(--white-line);
}
.stat-num {
  font-size: clamp(44px, 4vw, 64px); /* word-form stats — was clamp(56, 5, 80), now fits 'Audit-ready' cleanly */
  color: var(--white); /* was yellow */
  font-weight: 400;
  letter-spacing: -0.03em;
}
.stat-num .u {
  color: var(--yellow); /* yellow only on the unit */
  font-family: var(--mono);
  font-size: 0.35em;
  top: 0.2em;
}

/* ---- PRODUCT FEATURE: ALTERNATE LAYOUT ----
   WHY: only one product-feature on home, but we give it a distinctive
   asymmetric feel — image right, larger, lifted. */
.product-feature {
  grid-template-columns: 1fr 1.3fr; /* image side wider */
  gap: 80px;
  padding: 80px;
  border-radius: 24px;
  background: var(--violet);
}
.product-feature-img {
  box-shadow:
    0 4px 8px rgba(0,0,0,0.35),
    0 28px 56px -18px rgba(0,0,0,0.55);
  border-radius: 16px;
  transform: translateY(-8px); /* slight float */
}

/* ---- TRUST STRIP: REMOVE PATTERN, TIGHTEN ----
   WHY: brief says fractal should only appear in 2-3 intentional places.
   Remove pattern from trust, keep logos quiet. */
.trust::before { display: none; } /* kill the pattern overlay */
.trust { padding: 72px 0; }

/* ---- PRICING TEASER CARDS ----
   Tighter, cleaner, featured tier dominates more. */
#pricing-teaser .pricing-grid { margin-top: 56px; gap: 20px; }
#pricing-teaser .tier { min-height: 260px; border-radius: 20px; }
#pricing-teaser .tier.featured {
  transform: scale(1.04);
  z-index: 1;
}

/* ---- SECTION LINK: MORE BUTTON-LIKE ---- */
.section-link {
  padding: 16px 28px;
  font-size: 12px;
}

/* ---- RESPONSIVE ADJUSTMENTS FOR v3 ---- */
@media (max-width: 1024px) {
  .home-hero .hero-grid { gap: 56px; grid-template-columns: 1fr; }
  .hero-product { transform: none; }
  .hero-product:hover { transform: translateY(-6px); }
  .product-feature { grid-template-columns: 1fr; padding: 48px; gap: 40px; }
  .product-feature-img { transform: none; }
  section.block { padding: 100px 0; }
  .manifesto { padding: 80px 0; }
  .how-steps { gap: 16px; }
  #pricing-teaser .tier.featured { transform: none; }
}
@media (max-width: 640px) {
  .home-hero { padding: 60px 0 80px; }
  section.block { padding: 72px 0; }
  .manifesto { padding: 64px 0; }
  .product-feature { padding: 32px 24px; }
  .how-step { padding: 36px 24px 40px; min-height: 300px; }
  .stat { padding: 40px 28px; min-height: 220px; }
  .scene-break { padding: 40px 0 16px; }
  .scene-break-arch { height: 50px; }
  .logo-img { height: 36px; }
}

/* =========================================================================
   ============================ MOTION SYSTEM (v4) =========================
   Principles: subtle · premium · intentional · respects reduced-motion.
   Duration 500–800ms, distance 12–24px, opacity+translate only.
   Uses a single easing curve throughout for consistency.
   ========================================================================= */

:root {
  --motion-ease: cubic-bezier(0.16, 1, 0.3, 1); /* smooth deceleration */
  --motion-dur: 700ms;
  --motion-dist: 20px;
}

/* ---- CORE PRIMITIVES ----
   .stagger: container whose children stagger with index-based delay (set by JS).
   Base .reveal removed — system now uses variants only (soft/up/shift/signature). */
.stagger > * {
  opacity: 0;
  transform: translateY(var(--motion-dist));
  transition:
    opacity var(--motion-dur) var(--motion-ease),
    transform var(--motion-dur) var(--motion-ease);
  transition-delay: calc(var(--stagger-i, 0) * 80ms);
}
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ---- HERO SEQUENCE (on-load, not scroll-triggered) ----
   Staggered entrance establishes hierarchy: eyebrow → headline → sub → CTAs → meta.
   Product card uses a wrapper for entrance so the inner card stays free
   for hover transforms without animation conflicts. */
@keyframes reveal-up {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
.home-hero .page-hero-eyebrow { animation: reveal-up 700ms var(--motion-ease) 100ms both; }
.home-hero h1                 { animation: reveal-up 900ms var(--motion-ease) 250ms both; }
.home-hero .hero-sub          { animation: reveal-up 700ms var(--motion-ease) 450ms both; }
.home-hero .hero-ctas         { animation: reveal-up 600ms var(--motion-ease) 650ms both; }
.home-hero .hero-meta         { animation: reveal-up 700ms var(--motion-ease) 850ms both; }

.page-hero .page-hero-eyebrow { animation: reveal-up 700ms var(--motion-ease) 100ms both; }
.page-hero h1                 { animation: reveal-up 800ms var(--motion-ease) 250ms both; }
.page-hero-lede               { animation: reveal-up 700ms var(--motion-ease) 450ms both; }
.page-hero .hero-ctas         { animation: reveal-up 700ms var(--motion-ease) 650ms both; }

/* ---- PRODUCT CARD: entrance + gentle idle float ----
   Wrapper handles translateY (entrance + float); card handles scale (baseline + hover).
   This decouples the two transforms so they never fight. */
@keyframes product-wrap-enter {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(-6px); }
}
@keyframes product-wrap-float {
  0%, 100% { transform: translateY(-6px); }
  50%      { transform: translateY(-10px); }
}
.hero-product-wrap {
  animation:
    product-wrap-enter 900ms var(--motion-ease) 750ms both,
    product-wrap-float 10s ease-in-out 2400ms infinite;
}
/* Remove the translateY from the card itself — wrapper owns vertical motion now. */
.hero-product {
  transform: scale(1.04);
  transition:
    transform 500ms var(--motion-ease),
    box-shadow 500ms var(--motion-ease);
}
.hero-product:hover {
  transform: scale(1.05); /* subtle scale bump on hover, no translateY conflict */
}

/* ---- UNIFIED CARD MOTION ----
   Standardize duration/easing across every interactive card on the site.
   Lift amount tuned per card type. */
.how-step, .stat, .team-card, .value-card,
.participant-card, .showcase-card, .tier {
  transition:
    transform 400ms var(--motion-ease),
    box-shadow 400ms var(--motion-ease),
    background-color 400ms var(--motion-ease),
    border-color 400ms var(--motion-ease);
}
.how-step:hover,
.team-card:hover,
.value-card:hover,
.participant-card:hover,
.showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px -12px rgba(0,0,0,0.35);
}
.stat:hover {
  transform: translateY(-2px); /* quieter — stats are read, not interacted with */
}
#pricing-teaser .tier:hover:not(.featured) { transform: translateY(-3px); }

/* ---- LOGO STRIP REFINEMENT ----
   Quieter base, gentle lift + brighten on hover. No bouncing. */
.trust-logos img, .customer-logos img {
  transition:
    opacity 350ms var(--motion-ease),
    transform 350ms var(--motion-ease);
}
.trust-logos img:hover, .customer-logos img:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

/* ---- CTA BUTTONS ----
   Lift on hover (already present), firm active press for tactile feedback. */
.btn { transition: transform 200ms var(--motion-ease), background-color 200ms var(--motion-ease), border-color 200ms var(--motion-ease); }
.btn:active { transform: translateY(0); transition-duration: 80ms; }

/* ---- BRAND ELEMENT BREATHING ----
   Very slow, very gentle. Imperceptible unless you're watching for it.
   Max 2 continuous animations on any page at once (fractal + hero product float). */
@keyframes fractal-breath {
  0%, 100% { opacity: 0.10; transform: translateX(0); }
  50%      { opacity: 0.07; transform: translateX(-8px); }
}
.hero-fractal-behind {
  animation: fractal-breath 14s ease-in-out 1500ms infinite;
}
@keyframes fractal-drift-subtle {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(6px, -4px); }
}
.final-cta .fractal-bg::before,
.manifesto .fractal-bg::before {
  animation: fractal-drift-subtle 20s ease-in-out infinite;
}

/* ---- REDUCED MOTION ----
   When the user has requested reduced motion, strip everything back to
   immediate state changes. No animations, no transitions. This is non-negotiable. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .stagger > * {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero-product-wrap, .hero-product { transform: none !important; animation: none !important; }
}

/* =========================================================================
   ======================= MOTION HIERARCHY (v5) ===========================
   Refinement layer on top of the v4 motion system.
   Adds 3 reveal variants, 2 stagger modifiers, 1 signature moment.
   Same easing throughout — variation comes from distance + duration.
   ========================================================================= */

/* ---- REVEAL VARIANTS ----
   soft  → text: small movement, slower fade (focus on opacity)
   up    → default: medium movement (16-20px), standard duration
   shift → visual blocks: horizontal + vertical, feels more "designed" */
.reveal-soft {
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 800ms var(--motion-ease),
    transform 800ms var(--motion-ease);
}
.reveal-soft.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-up {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 700ms var(--motion-ease),
    transform 700ms var(--motion-ease);
}
.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-shift {
  opacity: 0;
  transform: translate(-14px, 16px);
  transition:
    opacity 750ms var(--motion-ease),
    transform 750ms var(--motion-ease);
}
.reveal-shift.is-visible {
  opacity: 1;
  transform: translate(0, 0);
}
/* Product-features on Platform alternate via `.reverse` — their shift should match layout direction */
.product-feature.reverse.reveal-shift {
  transform: translate(14px, 16px);
}

/* ---- STAGGER MODIFIERS ----
   stagger-strong       → one emphasis moment (slightly longer, larger distance)
   stagger-directional  → card grids: children alternate left/right entry */
.stagger.stagger-strong > * {
  transform: translateY(26px);
  transition-duration: 900ms;
  transition-delay: calc(var(--stagger-i, 0) * 100ms);
}
.stagger.stagger-strong.is-visible > * {
  transform: translateY(0);
}

.stagger.stagger-directional > *:nth-child(odd) {
  transform: translate(-8px, 18px);
}
.stagger.stagger-directional > *:nth-child(even) {
  transform: translate(8px, 18px);
}
.stagger.stagger-directional.is-visible > * {
  transform: translate(0, 0);
}

/* ---- SIGNATURE MOMENT ----
   One scene only (scene-break). Arch scales, label slides — shared timing
   + 80ms delay make them settle together, distinct from scroll-driven reveals. */
.reveal-signature {
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity 900ms var(--motion-ease) 80ms,
    transform 900ms var(--motion-ease) 80ms;
}
.reveal-signature.is-visible {
  opacity: 1;
  transform: scale(1);
}
/* Label shares signature timing but slides rather than scales — scale is reserved
   for the arch as the visual focal point. */
.scene-break-label.reveal-signature {
  transform: translateY(10px);
}
.scene-break-label.reveal-signature.is-visible {
  transform: translateY(0);
}

/* ---- REDUCED MOTION — extend coverage to new variants ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal-soft, .reveal-up, .reveal-shift, .reveal-signature,
  .stagger-strong > *, .stagger-directional > * {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* =========================================================================
   ================= PLATFORM PAGE UI REFINEMENT (v6) ======================
   Scope: .platform-page body class only. Does not affect other pages.
   Goal: stronger section hierarchy, proof-moment emphasis, less uniformity.
   ========================================================================= */

/* ---- SECTION WEIGHT LADDER ----
   Padding differences tightened — hierarchy now carried mostly by
   composition (elevated / integrated / evidence / compact grid) rather
   than by large vertical stretches. */
.platform-page section.block.section--foundation { padding: 128px 0 112px; }
.platform-page section.block.section--emphasis   { padding: 160px 0 144px; }
.platform-page section.block.section--compact    { padding: 112px 0 104px; }

/* ---- HERO: TIGHTER, MORE AUTHORITATIVE ---- */
.platform-page .page-hero h1 { max-width: 960px; }
.platform-page .page-hero .page-hero-lede { max-width: 720px; }
.platform-page .page-hero { padding-bottom: 140px; }

/* ---- HEADLINE SCALE VARIANTS ----
   Proof sections get a larger headline. Secondary sections stay smaller. */
.platform-page .headline.headline--xl {
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* ---- SCENARIO BUILDER: FOUNDATIONAL, STRUCTURAL ----
   Slightly quieter than the proof sections below. */
.platform-page .section--foundation .product-feature {
  padding: 64px;
  background: rgba(237, 247, 239, 0.02);
  border: 1px solid var(--white-line);
}

/* ---- HEAT MAP: THE REVEAL MOMENT ----
   Simplified: single solid lift tone, no inset border, shadow remains
   as the elevation anchor. */
.platform-page .product-feature.elevated {
  background: var(--violet);
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.7);
  padding: 88px;
  border-radius: 28px;
  gap: 80px;
}
.platform-page .product-feature.elevated .product-feature-img {
  transform: translateY(-20px) scale(1.02);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.4),
    0 32px 64px -20px rgba(0, 0, 0, 0.6),
    0 60px 120px -30px rgba(0, 0, 0, 0.5);
}
.platform-page .product-feature.elevated:hover .product-feature-img {
  transform: translateY(-24px) scale(1.02);
}

/* ---- INTERACTION MAP: ASYMMETRIC, IMAGE-DOMINANT ----
   Signature identity is the proportion: image column is 2x text column,
   creating a visibly stronger asymmetry than any other section. Bordered
   container frames it, not a filled card. */
.platform-page .product-feature.integrated {
  grid-template-columns: 1fr 2fr !important;
  gap: 80px;
  padding: 56px 56px 56px 72px;
  background: transparent;
  border: 1px solid var(--white-line);
  border-radius: 24px;
}
.platform-page .product-feature.integrated .product-feature-meta {
  align-self: center;
}
/* Reverse order (image on left) is inherited from .reverse class already applied. */

/* ---- STATISTICS: EVIDENCE COMPOSITION ----
   Stacked and centered. Breaks the side-by-side rhythm completely.
   Reads like an exhibit rather than a feature spotlight. */
.platform-page .product-feature.evidence {
  grid-template-columns: 1fr !important;
  gap: 64px;
  padding: 0;
  background: transparent;
  border: none;
  max-width: 1100px;
  margin: 0 auto;
}
.platform-page .product-feature.evidence .product-feature-meta {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.platform-page .product-feature.evidence .product-feature-tag {
  display: inline-block;
}
.platform-page .product-feature.evidence .product-feature-img {
  margin-top: 16px;
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.35),
    0 40px 80px -24px rgba(0, 0, 0, 0.55);
  border-radius: 16px;
  overflow: hidden;
}

/* ---- QUESTIONNAIRES: REDUCED PRESENCE ----
   Smaller padding, constrained image. Reads as supporting, not headline. */
.platform-page .product-feature.reduced {
  padding: 48px 56px;
  gap: 48px;
  background: rgba(237, 247, 239, 0.02);
  border: 1px solid var(--white-line);
  border-radius: 20px;
}
.platform-page .product-feature.reduced .product-feature-img img {
  max-height: 440px;
  width: auto;
  margin-left: auto;
}

/* ---- INSIDE THE EXERCISE: PREMIUM CARDS ----
   Harmonize the three participant cards: consistent borders, image flush
   to top, body text gets breathing room. */
.platform-page .participant-card {
  border: 1px solid var(--white-line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(237, 247, 239, 0.03);
  transition:
    background 400ms var(--motion-ease),
    border-color 400ms var(--motion-ease),
    transform 400ms var(--motion-ease);
}
.platform-page .participant-card:hover {
  background: rgba(237, 247, 239, 0.06);
  border-color: rgba(237, 247, 239, 0.22);
  transform: translateY(-3px);
}
.platform-page .participant-card img {
  border-radius: 0;
  display: block;
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: top;
}
.platform-page .participant-meta {
  padding: 28px 32px 36px;
}

/* ---- VIDEO: DELIBERATE PLACEHOLDER ----
   16:9 aspect, yellow glow ambient, frame feels intentional not empty. */
.platform-page .video-placeholder { margin-top: 72px; }
.platform-page .video-frame {
  aspect-ratio: 16 / 9;
  height: auto;
  border: 1px solid var(--white-line);
  border-radius: 20px;
  background:
    radial-gradient(ellipse 60% 50% at 50% 50%, rgba(250, 240, 59, 0.05) 0%, transparent 70%),
    var(--violet-deep);
  overflow: hidden;
  position: relative;
}
.platform-page .video-frame::before {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: 19px;
  background: radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.2) 100%);
  pointer-events: none;
}
.platform-page .video-play {
  color: var(--yellow);
  opacity: 0.85;
  transition: opacity 400ms var(--motion-ease), transform 400ms var(--motion-ease);
}
.platform-page .video-frame:hover .video-play {
  opacity: 1;
  transform: scale(1.04);
}
.platform-page .video-caption {
  font-size: 11px;
  letter-spacing: 0.32em;
}

/* ---- CAPABILITIES: COMPACT CLOSER ----
   Dense grid with hairline dividers. Extra top padding gives the page a
   breathing moment before the final CTA; card padding increased so cells
   read as a conclusion, not a table. */
.platform-page .section--capabilities { padding-top: 144px; }
.platform-page .section--capabilities .value-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--white-line);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--white-line);
  margin-top: 72px;
}
.platform-page .section--capabilities .value-card {
  background: var(--violet-deep);
  padding: 44px 36px 44px;
  border: none;
  border-radius: 0;
  min-height: auto;
  transition: background 300ms var(--motion-ease);
}
.platform-page .section--capabilities .value-card:hover {
  background: var(--violet);
  transform: none; /* override default card hover lift */
}
.platform-page .section--capabilities .value-num {
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--white-faint);
}
.platform-page .section--capabilities .value-title {
  font-size: 22px;
  margin-top: 18px;
}
.platform-page .section--capabilities .value-desc {
  font-size: 14px;
  line-height: 1.55;
  margin-top: 12px;
  color: var(--white-dim);
}

/* ---- RESPONSIVE — PLATFORM REFINEMENTS ---- */
@media (max-width: 1024px) {
  .platform-page section.block.section--emphasis { padding: 120px 0; }
  .platform-page section.block.section--foundation { padding: 100px 0 88px; }
  .platform-page section.block.section--compact { padding: 72px 0; }

  .platform-page .product-feature.elevated {
    padding: 48px 32px;
    gap: 40px;
    border-radius: 20px;
  }
  .platform-page .product-feature.elevated .product-feature-img { transform: none; }

  .platform-page .product-feature.integrated {
    grid-template-columns: 1fr !important;
    padding: 40px;
    gap: 32px;
  }

  .platform-page .product-feature.evidence { gap: 40px; }

  .platform-page .product-feature.reduced { padding: 40px 32px; gap: 32px; }
  .platform-page .product-feature.reduced .product-feature-img img {
    max-height: none;
    margin-left: 0;
  }

  .platform-page .section--capabilities .value-grid { grid-template-columns: repeat(2, 1fr); }

  .platform-page .section--foundation .product-feature {
    padding: 40px;
  }
}

@media (max-width: 640px) {
  .platform-page .product-feature.elevated { padding: 36px 24px; }
  .platform-page .product-feature.integrated { padding: 32px 24px; }
  .platform-page .product-feature.reduced { padding: 32px 24px; }
  .platform-page .section--foundation .product-feature { padding: 32px 24px; }
  .platform-page .section--capabilities .value-grid { grid-template-columns: 1fr; }
  .platform-page .participant-card img { height: 200px; }
}

/* =========================================================================
   ================== HOMEPAGE UI REFINEMENT (v7) ==========================
   Scope: .home-page body class only.
   Mirrors the Platform page's weight-ladder approach — peaks and valleys
   through composition, not through giant padding gaps.
   ========================================================================= */

/* ---- SECTION WEIGHT MODIFIERS ----
   Tight ladder. Only ~48px of padding difference between tiers. */
.home-page section.block.section--compact    { padding: 128px 0 120px; }
.home-page section.block.section--foundation { padding: 140px 0 128px; }
.home-page section.block.section--emphasis   { padding: 176px 0 160px; }

/* ---- HERO: TIGHTER CONTROL ----
   Text widths constrained, CTA block spacing refined.
   Supports line sits closer to the CTAs for a clearer grouping. */
.home-page .home-hero h1 { max-width: 560px; }
.home-page .home-hero .hero-sub { max-width: 520px; }
.home-page .home-hero .hero-ctas { margin-top: 40px; margin-bottom: 52px; }
.home-page .home-hero .hero-meta { padding-top: 32px; }
.home-page .home-hero .hero-meta--support { margin-top: 28px; }
.home-page .home-hero { padding-bottom: 140px; }

/* ---- SCENE BREAK: FIRM TRANSITION ----
   Arch kept. Label visible but restrained — white-dim color alone carries the
   quieting work, no opacity multiplier stacking. */
.home-page .scene-break { padding: 64px 0 44px; }
.home-page .scene-break-label {
  margin-top: 28px;
  opacity: 1;
  color: var(--white-dim);
  font-size: 11px;
  letter-spacing: 0.24em;
}

/* ---- TRUST STRIP: QUIETER PAUSE ----
   Restrained spacing, softer logo opacity. */
.home-page .trust { padding: 56px 0 64px; }
.home-page .trust .trust-label { margin-bottom: 40px; }
.home-page .trust-logos img { opacity: 0.45; }

/* ---- MANIFESTO: CONTROLLED PACING ----
   Reduced dominance — smaller type, tighter container, less vertical sprawl.
   Still present but reads as a pause, not a second hero. */
.home-page .manifesto { padding: 96px 0; }
.home-page .manifesto-text {
  max-width: 780px;
  font-size: clamp(22px, 2.3vw, 34px);
}

/* ---- HOW IT WORKS: STRUCTURED ---- */
.home-page .section--foundation .how-steps { margin-top: 72px; gap: 16px; }
.home-page .section--foundation .how-step { min-height: 360px; }

/* ---- PRODUCT PROOF: THE PEAK ----
   Mirrors Platform page's .elevated signature — solid violet lift card
   on the light-bg section, offset image, layered shadow. This is the
   homepage moment where the product delivers. */
.home-page .product-feature.elevated {
  background: var(--violet);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.35);
  padding: 80px;
  border-radius: 28px;
  gap: 72px;
}
.home-page .product-feature.elevated .product-feature-img {
  transform: translateY(-10px) scale(1.01);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.35),
    0 32px 64px -20px rgba(0, 0, 0, 0.5);
}
/* Card sits on light-bg but is dark inside — force light text on inner content */
.home-page .product-feature.elevated .product-feature-tag { color: var(--white-faint); }
.home-page .product-feature.elevated .product-feature-title { color: var(--white); }
.home-page .product-feature.elevated .product-feature-title em { color: var(--yellow); }
.home-page .product-feature.elevated .product-feature-desc { color: var(--white-dim); }
.home-page .product-feature.elevated .section-link {
  color: var(--yellow);
  border-color: rgba(250, 240, 59, 0.3);
}
.home-page .product-feature.elevated .section-link:hover {
  background: var(--yellow);
  color: var(--violet-deep);
  border-color: var(--yellow);
}

/* ---- STATS / GAINS: EVIDENCE, NOT BENEFITS ROW ----
   Remove the cardy feel. Hairline dividers between columns, stronger
   hierarchy within each stat (kicker → weighted value → evidence text). */
.home-page .stats-grid {
  margin-top: 88px;
  gap: 0;
  background: transparent;
  border: none;
  border-radius: 0;
}
.home-page .stat {
  background: transparent;
  border: none;
  border-right: 1px solid var(--white-line);
  border-radius: 0;
  padding: 40px 48px;
  min-height: auto;
}
.home-page .stat:last-child { border-right: none; }
.home-page .stat:hover { transform: none; }
.home-page .stat-label {
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--white-faint);
  margin-bottom: 24px;
}
.home-page .stat-num {
  font-size: clamp(36px, 3.4vw, 54px);
  margin-bottom: 28px;
}
.home-page .stat-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--white-dim);
  margin-top: 0;
}

/* ---- CUSTOMER TESTIMONIAL TEASER: CREDIBLE, RESTRAINED ---- */
.home-page #customers .quote-block {
  max-width: 920px;
  margin: 48px auto 0 !important;
}
.home-page #customers .quote-text {
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.45;
}

/* ---- PRICING TEASER: CLEAN, SCANNABLE, FEATURED CLEAR ----
   Unified card treatment instead of per-card inline styling. */
.home-page #pricing-teaser .pricing-grid {
  gap: 16px;
  margin-top: 56px;
  background: transparent;
  border: none;
}
.home-page #pricing-teaser .tier {
  background: rgba(237, 247, 239, 0.03);
  border: 1px solid var(--white-line);
  color: var(--white);
  padding: 36px 28px 32px;
  min-height: 200px;
  border-radius: 20px;
  transition:
    background 300ms var(--motion-ease),
    border-color 300ms var(--motion-ease),
    transform 300ms var(--motion-ease);
  display: flex;
  flex-direction: column;
}
.home-page #pricing-teaser .tier:hover:not(.featured) {
  background: rgba(237, 247, 239, 0.06);
  border-color: rgba(237, 247, 239, 0.2);
}
.home-page #pricing-teaser .tier:hover { transform: none; }
.home-page #pricing-teaser .tier.featured {
  background: var(--violet);
  border-color: var(--yellow);
  transform: none;
}
.home-page #pricing-teaser .tier-name {
  color: var(--white);
  font-size: 22px;
  font-family: var(--serif);
}
.home-page #pricing-teaser .tier.featured .tier-name { color: var(--yellow); }
.home-page #pricing-teaser .tier-sub {
  color: var(--white-faint);
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  margin-top: 8px;
}
.home-page #pricing-teaser .tier-price {
  color: var(--white);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 40px;
}
.home-page #pricing-teaser .tier-price .per { display: none; }

/* ---- NEWSLETTER: SUPPORTING, NOT A SECOND PEAK ----
   Gradient bg replaced with solid violet-deep so the magenta glow no longer
   competes with the final CTA. Inner card lightened: no backdrop-filter,
   quieter fill, still framed but no longer premium-card territory. */
.home-page .newsletter {
  padding: 96px 0;
  background: var(--violet-deep);
}
.home-page .newsletter-inner {
  /* Widened from 720px so the headline doesn't get crammed into a 150px
     column. At 1080px the headline reads on 2 lines and the form sits
     comfortably to the right with breathing room. */
  max-width: 1080px;
  grid-template-columns: 1.3fr 1fr;
  background: rgba(237, 247, 239, 0.015);
  border-color: var(--white-line);
  backdrop-filter: none;
  padding: 48px 56px;
}
.home-page .newsletter-headline { max-width: 480px; }
.home-page .newsletter-desc { max-width: 480px; }
.home-page .newsletter-form input {
  padding: 16px 20px;
  font-size: 15px;
}
.home-page .newsletter-form .btn { padding: 16px 24px; }

/* Homepage newsletter — collapse to single column on tablet/mobile.
   Required because .home-page .newsletter-inner has higher specificity
   than the base @media rule that collapses .newsletter-inner; without
   this override, the 2-column layout persists at small widths. */
@media (max-width: 1024px) {
  .home-page .newsletter-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 48px 40px;
  }
  .home-page .newsletter-headline,
  .home-page .newsletter-desc { max-width: none; }
}
@media (max-width: 640px) {
  .home-page .newsletter-inner { padding: 40px 28px; }
}

/* ---- FINAL CTA: CONFIDENT LANDING ----
   Width-constrained text. Strong but not oversized. */
.home-page .final-cta { padding: 144px 0 160px; }
.home-page .final-cta h2 { max-width: 900px; margin-left: auto; margin-right: auto; }
.home-page .final-cta p { max-width: 620px; margin-left: auto; margin-right: auto; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .home-page section.block.section--emphasis,
  .home-page section.block.section--foundation,
  .home-page section.block.section--compact { padding: 104px 0 96px; }
  .home-page .manifesto { padding: 96px 0; }
  .home-page .product-feature.elevated {
    padding: 40px 32px;
    gap: 32px;
    border-radius: 20px;
  }
  .home-page .product-feature.elevated .product-feature-img { transform: none; }
  .home-page .stat {
    border-right: none;
    border-bottom: 1px solid var(--white-line);
    padding: 32px 24px;
  }
  .home-page .stat:last-child { border-bottom: none; }
  .home-page .home-hero { padding-bottom: 96px; }
  .home-page .final-cta { padding: 112px 0; }
}
@media (max-width: 640px) {
  .home-page .product-feature.elevated { padding: 32px 24px; }
  .home-page .trust { padding: 40px 0 48px; }
  .home-page .scene-break { padding: 48px 0 24px; }
  .home-page #pricing-teaser .tier-price { padding-top: 28px; }
}

/* =========================================================================
   ===== HOMEPAGE HERO SUPPORT LINE — VISIBILITY REFINEMENT (v8) ==========
   Support line ("Used to prepare teams for audits, regulators, and real
   world crises.") was reading as background noise. Higher contrast text,
   tighter letter-spacing, +1px size. Yellow highlight on the strong
   portion retained from base rule.
   ========================================================================= */
.home-page .hero-meta--support div {
  color: var(--white-dim);
  font-size: 12px;
  letter-spacing: 0.12em;
}

/* =========================================================================
   ================== ABOUT PAGE UI REFINEMENT (v8) ========================
   Scope: .about-page body class only. Mirrors the Platform + Homepage
   weight-ladder approach. Peaks at Why-it-exists and Team, valleys at
   Manifesto and Customers, Values as foundation.
   ========================================================================= */

/* ---- SECTION WEIGHT LADDER ----
   Same tight ladder as Platform. ~48px delta between tiers. */
.about-page section.block.section--compact    { padding: 112px 0 104px; }
.about-page section.block.section--foundation { padding: 128px 0 120px; }
.about-page section.block.section--emphasis   { padding: 160px 0 144px; }

/* ---- HERO: AUTHORITATIVE ENTRY ----
   Widths constrained, breath below before first content section. */
.about-page .page-hero h1 { max-width: 880px; }
.about-page .page-hero .page-hero-lede { max-width: 680px; }
.about-page .page-hero { padding-bottom: 132px; }

/* ---- WHY IT EXISTS: MAJOR PEAK ----
   Three-part hierarchy: problem → response → origin.
   Text column dominates. OLI supports quietly. Origin reads as a framed
   addendum, clearly secondary to the narrative pair above. */
.about-page .section--emphasis:not(.section--team) .two-col {
  grid-template-columns: 1.4fr 1fr;
  gap: 96px;
  align-items: start;
  margin-top: 72px !important;
}
.about-page .why-text .lede {
  max-width: 560px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
}
.about-page .why-text .why-response {
  margin-top: 36px;
}
.about-page .section--emphasis:not(.section--team) .two-col-oli {
  padding-top: 24px;
  opacity: 0.55;
}
.about-page .section--emphasis:not(.section--team) .two-col-oli img {
  max-width: 280px;
  margin-left: auto;
  display: block;
}
/* ---- ABOUT NAME / ORIGIN BAND ----
   Narrow editorial interlude between "Why it exists" and the Manifesto.
   Dedicated section for brand origin + name meaning. Quieter than both
   neighbors — it's a content type of its own, not a third paragraph
   crammed into the argument above. */
.about-page .about-name-band {
  padding: 88px 0 96px;
}
.about-page .about-name-band-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.about-page .about-name-band-inner::before {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  background: var(--white-line);
  margin: 0 auto 32px;
}
.about-page .about-name-band-inner p {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.72;
  color: var(--white-dim);
  font-style: normal;
  margin: 0;
}
.about-page .about-name-band-inner strong {
  color: var(--white);
  font-weight: 500;
  font-style: normal;
}
.about-page .about-name-band-inner em {
  font-style: italic;
}

@media (max-width: 640px) {
  .about-page .about-name-band { padding: 64px 0 72px; }
  .about-page .about-name-band-inner { text-align: left; }
  .about-page .about-name-band-inner::before { margin-left: 0; margin-right: 0; }
}

/* ---- MANIFESTO: CONTROLLED PAUSE ----
   Same discipline as homepage. Less footprint, tighter type, clear valley. */
.about-page .manifesto { padding: 96px 0; }
.about-page .manifesto-text {
  max-width: 780px;
  font-size: clamp(22px, 2.3vw, 34px);
}

/* ---- VALUES: FOUNDATIONAL PRINCIPLES, NOT FEATURE CARDS ----
   Three columns separated by vertical hairlines. No card-box, no hover
   lift. Numbers small and editorial, titles substantive. Reads as stable
   truths rather than clickable features. */
.about-page .section--foundation .value-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: transparent;
  border-top: 1px solid var(--white-line);
  border-bottom: 1px solid var(--white-line);
  border-radius: 0;
  margin-top: 80px;
}
.about-page .section--foundation .value-card {
  background: transparent;
  border: none;
  border-right: 1px solid var(--white-line);
  border-radius: 0;
  padding: 56px 48px 56px;
  min-height: auto;
  transition: background 300ms var(--motion-ease);
}
.about-page .section--foundation .value-card:last-child { border-right: none; }
.about-page .section--foundation .value-card:hover {
  background: rgba(237, 247, 239, 0.02);
  transform: none;
}
.about-page .section--foundation .value-num {
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--white-faint);
  font-family: var(--mono);
}
.about-page .section--foundation .value-title {
  margin-top: 24px;
  font-size: 26px;
  line-height: 1.2;
}
.about-page .section--foundation .value-desc {
  margin-top: 18px;
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.6;
}

/* ---- TEAM: MAJOR CREDIBILITY PEAK ----
   Mirrors Platform's participant card treatment — hairline border, photo
   flush to top with fixed square aspect, meta content with consistent
   padding. Premium and earned, not generic. */
.about-page .section--team .team-grid {
  margin-top: 80px;
  gap: 28px;
}
.about-page .section--team .team-card {
  border: 1px solid var(--white-line);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(237, 247, 239, 0.03);
  padding: 0;
  display: flex;
  flex-direction: column;
  transition:
    background 400ms var(--motion-ease),
    border-color 400ms var(--motion-ease),
    transform 400ms var(--motion-ease);
}
.about-page .section--team .team-card:hover {
  background: rgba(237, 247, 239, 0.06);
  border-color: rgba(237, 247, 239, 0.22);
  transform: translateY(-3px);
}
.about-page .section--team .team-photo {
  margin-bottom: 0;
  border-radius: 0;
}
.about-page .section--team .team-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  object-position: center top;
  border-radius: 0;
}
.about-page .section--team .team-name {
  padding: 32px 32px 0;
  font-size: 24px;
}
.about-page .section--team .team-role {
  padding: 6px 32px 0;
  color: var(--yellow);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.about-page .section--team .team-bio {
  padding: 20px 32px 24px;
  color: var(--white-dim);
  line-height: 1.6;
  font-size: 15px;
  flex: 1;
}
.about-page .section--team .team-link {
  padding: 0 32px 32px;
  font-size: 12px;
}

/* ---- CUSTOMERS: EDITED PROOF LAYER ----
   Logos restrained. Testimonials given rhythm so they don't read as a wall
   of quotes — tighter max-width, subtle vertical spacing, quieter meta. */
.about-page .section--compact#customers .customer-logos {
  gap: 44px 64px;
  margin-top: 56px;
}
.about-page .section--compact#customers .customer-logos img {
  opacity: 0.45;
  transition: opacity 400ms var(--motion-ease);
}
.about-page .section--compact#customers .customer-logos img:hover { opacity: 0.85; }
.about-page .section--compact#customers .quote-block {
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 0;
}
.about-page .section--compact#customers .quote-block:first-of-type {
  margin-top: 72px !important;
  padding-top: 56px;
  border-top: 1px solid var(--white-line);
}
.about-page .section--compact#customers .quote-text {
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.5;
}
.about-page .section--compact#customers .quote-meta {
  font-size: 13px;
  color: var(--white-dim);
}
.about-page .section--compact#customers .quote-meta .name {
  color: var(--white);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-page section.block.section--emphasis,
  .about-page section.block.section--foundation { padding: 112px 0 104px; }
  .about-page section.block.section--compact { padding: 96px 0 88px; }
  .about-page .manifesto { padding: 72px 0; }

  .about-page .section--emphasis:not(.section--team) .two-col {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .about-page .section--emphasis:not(.section--team) .two-col-oli img {
    max-width: 220px;
    margin: 0 auto;
  }

  .about-page .section--foundation .value-grid {
    grid-template-columns: 1fr;
  }
  .about-page .section--foundation .value-card {
    border-right: none;
    border-bottom: 1px solid var(--white-line);
    padding: 40px 0;
  }
  .about-page .section--foundation .value-card:last-child {
    border-bottom: none;
  }

  .about-page .section--team .team-grid { grid-template-columns: 1fr; }
  .about-page .page-hero { padding-bottom: 88px; }
}

@media (max-width: 640px) {
  .about-page .section--team .team-name { padding: 24px 24px 0; font-size: 22px; }
  .about-page .section--team .team-role,
  .about-page .section--team .team-bio,
  .about-page .section--team .team-link { padding-left: 24px; padding-right: 24px; }
  .about-page .section--compact#customers .customer-logos { gap: 32px 40px; }
}

/* =========================================================================
   === ABOUT PAGE — MICRO-HEADLINE ANCHOR CLASS ============================
   Previously used as a chapter-level treatment for the Values section.
   Replaced by proper .headline .headline--xl + .lede structure for
   hierarchy parity with other chapter sections. Class retained here in
   case used elsewhere — currently unused on any page.
   ========================================================================= */

/* =========================================================================
   == ABOUT PAGE — SIGNATURE SECTIONS & CURATION (v9) ======================
   Scope: .about-page only. Strengthens the two peaks (Why-it-exists, Team)
   and refines the curated customer section.
   ========================================================================= */

/* ---- HEADLINE XL ----
   Same ladder as Platform. Peak sections only. */
.about-page .headline.headline--xl {
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* ---- WHY IT EXISTS: SIGNATURE MOMENT ----
   OLI quieter still (40% opacity) so text column is unambiguous anchor. */
.about-page .section--emphasis:not(.section--team) .two-col-oli {
  opacity: 0.4;
}

/* ---- PRINCIPLES: DOCTRINE, NOT FEATURES ----
   Remove the subtle hover tint entirely. Principles are stable truths
   you don't "interact with". Tighten typography toward quiet authority. */
.about-page .section--foundation .value-card:hover {
  background: transparent;
  transform: none;
}
.about-page .section--foundation .value-num {
  font-size: 10px;
  letter-spacing: 0.32em;
}
.about-page .section--foundation .value-title {
  font-size: 24px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.about-page .section--foundation .value-desc {
  font-size: 14px;
  line-height: 1.65;
  color: var(--white-faint);
}

/* ---- TEAM: CO-PEAK WITH WHY-IT-EXISTS ----
   Extra space between lede and grid gives the section more ceremony. */
.about-page .section--team > .wrap > .lede {
  max-width: 680px;
  margin-bottom: 24px;
}
.about-page .section--team .team-grid {
  margin-top: 96px;
}

/* ---- CUSTOMERS: CURATED 6-LOGO ROW ----
   Tighter logo grid so 6 logos don't feel stretched. Quote blocks get
   more vertical rhythm since there are fewer of them. */
.about-page .section--compact#customers .customer-logos {
  grid-template-columns: repeat(6, 1fr);
  gap: 40px 48px;
  padding: 56px 48px;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 64px;
}
.about-page .section--compact#customers .customer-logos img {
  max-height: 28px;
}
.about-page .section--compact#customers .quote-block {
  padding: 56px 0;
}
.about-page .section--compact#customers .quote-block:first-of-type {
  margin-top: 88px !important;
  padding-top: 64px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .about-page .section--compact#customers .customer-logos {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px 36px;
    padding: 40px 24px;
  }
  .about-page .section--team .team-grid { margin-top: 64px; }
}
@media (max-width: 640px) {
  .about-page .section--compact#customers .customer-logos {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 24px;
  }
}

/* =========================================================================
   ======= ABOUT SECTION 02: PRINCIPLES RULE-STATEMENT =====================
   The lede here is "None of them optional." — not descriptive like
   Section 03's lede, but declarative. Keep the serif italic 22px scale
   for consistency, push color to full white so it lands as a rule
   rather than a fade. Explicit sequence margin per brief (24-32px).
   ========================================================================= */
.about-page .section--foundation > .wrap > .lede {
  margin-top: 28px;
  margin-bottom: 0;
  color: var(--white);
}

/* =========================================================================
   ================== PRICING PAGE UI REFINEMENT (v10) =====================
   Scope: .pricing-page body class only. Mirrors the Platform/About system.
   Key reframings:
   - .tier-sub rendered as sentence definition (was forced 10px caps — the
     copy is sentences, not kickers)
   - .tier-price reframed as pricing-model kicker (content is a label, not
     a number — no fake-big-price treatment)
   - No hover lifts on any tier — editorial, not e-commerce
   - Featured tier differentiated only by bg/border, no scale
   ========================================================================= */

/* ---- HERO: PHILOSOPHY PEAK ---- */
.pricing-page .page-hero h1 { max-width: 900px; }
.pricing-page .page-hero .page-hero-lede { max-width: 620px; }
.pricing-page .page-hero { padding-bottom: 120px; }
.pricing-page .headline--xl {
  font-size: clamp(44px, 6vw, 84px);
  letter-spacing: -0.03em;
  line-height: 1.02;
}

/* ---- TIER CARDS: RESTRAINED 4-COLUMN DECISION GRID (LOCKED) ---- */
.pricing-page .pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: none;
  margin: 80px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: visible;
}

.pricing-page .tier {
  display: flex;
  flex-direction: column;
  padding: 44px 28px 36px;
  min-height: 420px;
  background: var(--white);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
}

.pricing-page .tier-name {
  font-size: 26px;
  margin-bottom: 0;
}

/* Spacing ladder per brief: 8 / 16 / 20 / 24 */
.pricing-page .tier-sub {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.55;
  letter-spacing: normal;
  text-transform: none;
  color: var(--dark-dim);
  margin-top: 8px;
  margin-bottom: 0;
}

/* Featured: subtle violet tint + violet border. Same 1px stroke as
   others (inherited from .tier), only the color differs. Reads as
   "the complete option," not an upsell. */
/* Featured: 2px violet border + 4% violet tint. Authority, not promotion. */
.pricing-page .tier.featured {
  background: rgba(74, 5, 97, 0.04);
  color: inherit;
  border: 2px solid var(--violet);
  box-shadow: none;
}
.pricing-page .tier.featured .tier-name { color: var(--violet-deep); }
.pricing-page .tier.featured .tier-sub { color: var(--dark-dim); }
.pricing-page .tier.featured .tier-monthly { color: var(--dark-faint); }
.pricing-page .tier.featured .tier-features li { color: var(--violet-deep); }
.pricing-page .tier.featured .tier-features li::before { color: var(--violet); }

/* tier-price reads as pricing-model kicker. No hairline divider —
   spacing ladder carries the rhythm. */
.pricing-page .tier-price {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-top: 16px;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}
.pricing-page .tier.featured .tier-price {
  color: var(--dark-faint);
  border-bottom: none;
}
.pricing-page .tier-price .per { display: none; }
.pricing-page .tier-monthly { display: none; } /* empty placeholder in HTML */

.pricing-page .tier-features {
  margin-top: 20px;
  margin-bottom: 0;
  font-size: 14px;
  line-height: 1.55;
  flex: none;
}
.pricing-page .tier-features li {
  display: flex;
  gap: 10px;
  padding: 8px 0;
  padding-left: 0;
}
.pricing-page .tier-features li::before {
  content: "—";
  color: var(--dark-faint);
  flex-shrink: 0;
}
.pricing-page .tier.featured .tier-features li::before {
  color: var(--violet);
}

.pricing-page .tier-cta {
  margin-top: auto;
  padding: 14px 22px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  width: 100%;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
}
/* Standard tiers: outline/ghost button */
.pricing-page .tier:not(.featured) .tier-cta {
  background: transparent;
  border: 1px solid var(--dark-line);
  color: var(--violet-deep);
}
.pricing-page .tier:not(.featured) .tier-cta:hover {
  background: rgba(74, 5, 97, 0.04);
  border-color: var(--violet);
  color: var(--violet-deep);
}
/* Featured tier: primary/filled button — clear default action */
.pricing-page .tier.featured .tier-cta {
  background: var(--violet);
  border: 1px solid var(--violet);
  color: var(--white);
}
.pricing-page .tier.featured .tier-cta:hover {
  background: var(--violet-deep);
  border-color: var(--violet-deep);
  color: var(--white);
}

/* No hover lift anywhere on pricing — this is selection, not impulse */
.pricing-page .tier:hover { transform: none; }

/* ---- COMPARISON TABLE: APPENDIX MODE ----
   Supporting evidence, not primary content. Wrapper constrains width
   and provides section spacing. Heading reduced in scale. Table font
   dropped to 13px. */
.pricing-page .compare-wrapper {
  max-width: 960px;
  margin: 80px auto 0;
}
.pricing-page .compare-heading {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  font-size: clamp(24px, 2.8vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.01em;
  max-width: 880px;
}
.pricing-page .compare-table {
  margin-top: 48px;
  font-size: 13px;
  line-height: 1.6;
}
.pricing-page .compare-table thead th {
  padding: 24px 16px;
  font-size: 11px;
  letter-spacing: 0.2em;
}
.pricing-page .compare-table td,
.pricing-page .compare-table th {
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}
.pricing-page .compare-table tbody td {
  padding: 18px 16px;
  font-size: 13px;
  line-height: 1.6;
}
.pricing-page .compare-table tbody tr:hover {
  background: rgba(0, 0, 0, 0.02);
}
.pricing-page .compare-table tr.section-row td {
  padding: 56px 16px 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--violet);
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  border-bottom: none;
  font-weight: 500;
}
.pricing-page .compare-table tr.section-row:hover td { background: transparent; }
.pricing-page .compare-table tbody tr.section-row:first-child td {
  padding-top: 20px;
  border-top: none;
}

/* ---- FAQ: FRICTION REMOVAL, NOT THIRD ACT ----
   Quieter footprint. Smaller section, smaller type, narrower column.
   Removes the "long FAQ page" feeling. */
/* ---- FAQ: EDITORIAL Q&A, NOT TABLE ----
   Kills the inherited 1fr-2fr grid (mechanical feel) and the
   dark-on-dark color inheritance from base .faq-q. Stacked layout,
   question above answer, strong contrast on the question, softer
   answer underneath. Width-constrained and centered. No hover, no
   animation, no card containers — just answers reading cleanly. */
.pricing-page .pricing-faq {
  margin-top: 120px;
  padding: 104px 0 96px;
}
.pricing-page .pricing-faq .headline {
  font-size: clamp(28px, 3.2vw, 40px);
}
.pricing-page .pricing-faq .section-label {
  margin-bottom: 20px;
}
.pricing-page .pricing-faq .faq {
  max-width: 840px;
  margin: 56px auto 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-page .pricing-faq .faq-item {
  display: block;
  grid-template-columns: none;
  gap: 0;
  padding: 36px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.pricing-page .pricing-faq .faq-q {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  font-style: normal;
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin-bottom: 12px;
  max-width: 720px;
}
.pricing-page .pricing-faq .faq-a {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--white-dim);
  line-height: 1.75;
  max-width: 620px;
  margin: 0;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .pricing-page .pricing-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .pricing-page .tier { min-height: 380px; padding: 36px 24px 28px; }
  .pricing-page .pricing-faq { padding: 80px 0; margin-top: 96px; }
  .pricing-page .compare-wrapper { margin-top: 64px; }
}
@media (max-width: 640px) {
  .pricing-page .pricing-grid { grid-template-columns: 1fr; }
  .pricing-page .tier { min-height: 0; padding: 32px 24px 28px; }
  .pricing-page .compare-table thead th { padding: 16px 10px; font-size: 10px; }
  .pricing-page .compare-table tbody td { padding: 12px 10px; font-size: 12px; }
  .pricing-page .pricing-faq .faq-item { padding: 32px 0; }
  .pricing-page .pricing-faq .faq-q { font-size: 18px; }
}

/* ============================================================
   PRIVACY PAGE
   ============================================================ */
.privacy-page .privacy-hero {
  padding: 160px 0 80px;
  background: var(--white);
  border-bottom: 1px solid var(--dark-line);
}
.privacy-page .privacy-hero .section-label {
  color: var(--violet);
  margin-bottom: 24px;
}
.privacy-page .privacy-hero .headline {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  max-width: 840px;
}
.privacy-page .privacy-meta {
  margin-top: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-faint);
}

.privacy-page .privacy-body {
  padding: 96px 0 128px;
  background: var(--white);
}
.privacy-page .privacy-content {
  max-width: 720px;
  margin: 0 auto;
  color: var(--dark-dim);
}
.privacy-page .privacy-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.privacy-page .privacy-section:first-child {
  padding-top: 0;
}
.privacy-page .privacy-section:last-child {
  border-bottom: none;
}
.privacy-page .privacy-section h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--violet-deep);
  letter-spacing: -0.01em;
  margin: 0 0 20px;
  line-height: 1.2;
}
.privacy-page .privacy-section p {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark-dim);
  margin: 0 0 14px;
}
.privacy-page .privacy-section p:last-child { margin-bottom: 0; }
.privacy-page .privacy-section strong {
  color: var(--violet-deep);
  font-weight: 600;
}
.privacy-page .privacy-section a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(74, 5, 97, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.privacy-page .privacy-section a:hover {
  text-decoration-color: var(--violet);
}
.privacy-page .privacy-list {
  list-style: none;
  padding: 0;
  margin: 14px 0;
}
.privacy-page .privacy-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--dark-dim);
}
.privacy-page .privacy-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dark-faint);
}
.privacy-page .privacy-contact {
  padding: 20px 24px;
  background: rgba(74, 5, 97, 0.04);
  border-left: 2px solid var(--violet);
  line-height: 1.8;
}
.privacy-page .link-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(74, 5, 97, 0.3);
  text-underline-offset: 3px;
  cursor: pointer;
  transition: text-decoration-color 0.15s ease;
}
.privacy-page .link-btn:hover {
  text-decoration-color: var(--violet);
}

@media (max-width: 640px) {
  .privacy-page .privacy-hero { padding: 120px 0 64px; }
  .privacy-page .privacy-body { padding: 72px 0 96px; }
  .privacy-page .privacy-section { padding: 32px 0; }
  .privacy-page .privacy-section p,
  .privacy-page .privacy-list li { font-size: 14px; }
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 110;
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 28px;
  background: var(--violet-deep);
  color: var(--white);
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transform: translateY(calc(100% + 48px));
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  font-family: var(--sans);
}
.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}
.cookie-banner-text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--white-dim);
}
.cookie-banner-text strong {
  color: var(--white);
  font-weight: 500;
}
.cookie-banner-text a {
  color: var(--yellow);
  text-decoration: underline;
  text-decoration-color: rgba(250, 240, 59, 0.4);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.cookie-banner-text a:hover {
  text-decoration-color: var(--yellow);
}
.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.cookie-banner-btn {
  flex: 1;
  min-width: 140px;
  padding: 12px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: normal;
  text-transform: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
  border: 1px solid transparent;
}
.cookie-banner-btn.accept {
  background: var(--white);
  color: var(--violet-deep);
  border-color: var(--white);
}
.cookie-banner-btn.accept:hover {
  background: var(--yellow);
  border-color: var(--yellow);
}
.cookie-banner-btn.reject {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}
.cookie-banner-btn.reject:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

@media (min-width: 720px) {
  .cookie-banner {
    flex-direction: row;
    align-items: center;
    padding: 20px 24px;
    gap: 24px;
  }
  .cookie-banner-text { flex: 1; }
  .cookie-banner-actions { flex: 0 0 auto; flex-wrap: nowrap; }
  .cookie-banner-btn { flex: 0 0 auto; min-width: 0; }
}
@media (max-width: 520px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 20px 20px;
    border-radius: 14px;
  }
  .cookie-banner-actions { flex-direction: column; }
  .cookie-banner-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-banner { transition: opacity 0.2s ease; transform: none; }
}

/* ============================================================
   BLOG — INDEX PAGE
   ============================================================ */
.blog-page .blog-hero {
  padding: 160px 0 96px;
  background: var(--white);
  border-bottom: 1px solid var(--dark-line);
}
.blog-page .blog-hero .section-label {
  color: var(--violet);
  margin-bottom: 24px;
}
.blog-page .blog-hero .headline {
  font-size: clamp(34px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  max-width: 920px;
}
.blog-page .blog-hero .lede {
  margin-top: 24px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark-dim);
  max-width: 640px;
}

.blog-page .blog-index {
  padding: 80px 0 128px;
  background: var(--white);
}
.blog-page .blog-list {
  max-width: 820px;
  margin: 0 auto;
  list-style: none;
  padding: 0;
}
.blog-page .blog-item {
  border-top: 1px solid var(--dark-line);
}
.blog-page .blog-item:last-child {
  border-bottom: 1px solid var(--dark-line);
}
.blog-page .blog-link {
  display: block;
  padding: 48px 0;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.blog-page .blog-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-bottom: 20px;
}
.blog-page .blog-meta time {
  color: var(--dark-faint);
}
.blog-page .blog-category {
  color: var(--violet);
}
.blog-page .blog-dot {
  color: var(--dark-faint);
  opacity: 0.5;
}
.blog-page .blog-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 16px;
  transition: color 0.2s ease;
  max-width: 720px;
}
.blog-page .blog-link:hover .blog-title {
  color: var(--violet);
}
.blog-page .blog-excerpt {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-dim);
  max-width: 680px;
  margin: 0;
}
.blog-page .blog-empty {
  text-align: center;
  padding: 80px 0;
  font-family: var(--sans);
  color: var(--dark-faint);
}

@media (max-width: 640px) {
  .blog-page .blog-hero { padding: 120px 0 72px; }
  .blog-page .blog-index { padding: 48px 0 96px; }
  .blog-page .blog-link { padding: 36px 0; }
  .blog-page .blog-title { font-size: 22px; }
  .blog-page .blog-excerpt { font-size: 14px; }
}

/* ============================================================
   BLOG — SINGLE POST PAGE
   ============================================================ */
.blog-post-page .post {
  background: var(--white);
  padding: 120px 0 96px;
}
.blog-post-page .post-header {
  max-width: 720px;
  margin: 0 auto 48px;
}
.blog-post-page .post-back {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  text-decoration: none;
  margin-bottom: 48px;
  transition: color 0.15s ease;
}
.blog-post-page .post-back:hover { color: var(--violet-deep); }
.blog-post-page .post-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.blog-post-page .post-meta .post-category { color: var(--violet); }
.blog-post-page .post-meta .post-dot { color: var(--dark-faint); opacity: 0.5; }
.blog-post-page .post-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  margin: 0 0 24px;
}
.blog-post-page .post-lede {
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  color: var(--dark-dim);
  margin: 0;
  font-weight: 400;
}

.blog-post-page .post-cover {
  max-width: 920px;
  margin: 0 auto 64px;
  padding: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 16px;
  background: var(--violet-deep);
}
.blog-post-page .post-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-post-page .post-body {
  max-width: 680px;
  margin: 0 auto;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--dark-dim);
}
.blog-post-page .post-body p {
  margin: 0 0 24px;
}
.blog-post-page .post-body h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 48px 0 16px;
}
.blog-post-page .post-body h3:first-child { margin-top: 0; }
.blog-post-page .post-body h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 56px 0 20px;
}
.blog-post-page .post-body strong {
  color: var(--violet-deep);
  font-weight: 600;
}
.blog-post-page .post-body em {
  font-style: italic;
}
.blog-post-page .post-body a {
  color: var(--violet);
  text-decoration: underline;
  text-decoration-color: rgba(74, 5, 97, 0.3);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.15s ease;
}
.blog-post-page .post-body a:hover {
  text-decoration-color: var(--violet);
}
.blog-post-page .post-body blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 2px solid var(--violet);
  background: rgba(74, 5, 97, 0.03);
  font-family: var(--serif);
  font-style: italic;
  font-size: 18px;
  line-height: 1.6;
  color: var(--violet-deep);
}
.blog-post-page .post-body ul,
.blog-post-page .post-body ol {
  margin: 0 0 24px;
  padding-left: 24px;
}
.blog-post-page .post-body li {
  margin-bottom: 10px;
}
.blog-post-page .post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 32px 0;
  display: block;
}
.blog-post-page .post-body code {
  font-family: var(--mono);
  font-size: 14px;
  background: rgba(0, 0, 0, 0.04);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--violet-deep);
}

.blog-post-page .post-signoff {
  max-width: 680px;
  margin: 64px auto 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  text-align: left;
}

.blog-post-page .post-nav {
  max-width: 680px;
  margin: 96px auto 0;
  padding-top: 48px;
  border-top: 1px solid var(--dark-line);
}
.blog-post-page .post-nav-next {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}
.blog-post-page .post-nav-label {
  display: block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-bottom: 10px;
}
.blog-post-page .post-nav-title {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  transition: color 0.2s ease;
}
.blog-post-page .post-nav-next:hover .post-nav-title {
  color: var(--violet);
}

@media (max-width: 640px) {
  .blog-post-page .post { padding: 96px 0 72px; }
  .blog-post-page .post-header { margin-bottom: 36px; }
  .blog-post-page .post-back { margin-bottom: 32px; }
  .blog-post-page .post-cover { margin-bottom: 48px; border-radius: 12px; }
  .blog-post-page .post-body { font-size: 16px; line-height: 1.75; }
  .blog-post-page .post-body p { margin-bottom: 20px; }
  .blog-post-page .post-body h3 { margin: 36px 0 12px; }
  .blog-post-page .post-nav { margin-top: 72px; padding-top: 36px; }
  .blog-post-page .post-lede { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .blog-page .blog-link,
  .blog-page .blog-title,
  .blog-post-page .post-back,
  .blog-post-page .post-nav-title,
  .blog-post-page .post-body a { transition: none; }
}

/* ============================================================
   MARKETPLACE PAGE
   ============================================================ */
.marketplace-page .marketplace-hero {
  /* padding, background, border-bottom come from .page-hero — do not override here */
}
.marketplace-page .marketplace-hero .section-label {
  color: var(--violet);
  margin-bottom: 24px;
}
.marketplace-page .marketplace-hero .headline {
  font-size: clamp(40px, 5.2vw, 72px);
  line-height: 1.06;
  letter-spacing: -0.025em;
  color: var(--violet-deep);
  max-width: 1040px;
}
.marketplace-page .marketplace-hero .headline em {
  font-style: italic;
  color: var(--violet);
}
.marketplace-page .marketplace-hero .lede {
  margin-top: 28px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--dark-dim);
  max-width: 640px;
}

/* --- SECTION: WHAT YOU WILL FIND --- */
.marketplace-page .marketplace-what {
  /* padding + background come from .block.dark-bg.section--foundation */
}
.marketplace-page .marketplace-what .headline {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--white);
  max-width: 720px;
  margin-top: 20px;
}
.marketplace-page .mp-value-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.marketplace-page .mp-value {
  padding: 32px 28px 32px 0;
  border-left: 1px solid var(--dark-line);
  padding-left: 28px;
}
.marketplace-page .mp-value:first-child {
  border-left: none;
  padding-left: 0;
}
.marketplace-page .mp-value-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.marketplace-page .mp-value-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 12px;
}
.marketplace-page .mp-value-desc {
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--dark-dim);
  margin: 0;
}

/* --- SECTION: PREVIEW --- */
.marketplace-page .marketplace-preview {
  padding: 128px 0;
  background: var(--white);
  border-top: 1px solid var(--dark-line);
}
.marketplace-page .marketplace-preview .headline {
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  max-width: 720px;
  margin-top: 20px;
}
.marketplace-page .marketplace-preview .lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark-dim);
  max-width: 560px;
  margin-top: 20px;
}

.marketplace-page .mp-scenario-list {
  list-style: none;
  padding: 0;
  margin: 64px 0 0;
  max-width: 920px;
}
.marketplace-page .mp-scenario {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 32px;
  padding: 40px 0;
  border-top: 1px solid var(--dark-line);
}
.marketplace-page .mp-scenario:last-child {
  border-bottom: 1px solid var(--dark-line);
}
.marketplace-page .mp-scenario-num {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--dark-faint);
  padding-top: 6px;
}
.marketplace-page .mp-scenario-cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}
.marketplace-page .mp-scenario-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 12px;
  max-width: 640px;
}
.marketplace-page .mp-scenario-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.7;
  color: var(--dark-dim);
  margin: 0;
  max-width: 640px;
}
.marketplace-page .mp-preview-footnote {
  margin-top: 48px;
  max-width: 640px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--dark-faint);
  font-style: italic;
}

/* --- SECTION: LAUNCH + EARLY ACCESS CTA --- */
.marketplace-page .marketplace-launch {
  /* padding + background come from .block.dark-bg.section--compact */
}
.marketplace-page .mp-launch-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 920px;
  margin: 0 auto;
}
.marketplace-page .mp-launch-oli {
  display: flex;
  justify-content: center;
  align-items: center;
}
.marketplace-page .mp-launch-oli img {
  width: 100%;
  max-width: 260px;
  height: auto;
  display: block;
}
.marketplace-page .mp-launch-text .section-label {
  /* color comes from system default (yellow on dark-bg) — do not override */
  margin-bottom: 20px;
}
.marketplace-page .mp-launch-text .headline {
  font-size: clamp(32px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  /* color comes from system default (white on dark-bg, yellow em) */
  margin: 0;
}
.marketplace-page .mp-launch-text .lede {
  margin-top: 20px;
  font-size: 16px;
  line-height: 1.65;
  /* color comes from system default (white-dim on dark-bg) */
  max-width: 480px;
}
.marketplace-page .mp-launch-cta {
  margin-top: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* --- RESPONSIVE --- */
@media (max-width: 960px) {
  .marketplace-page .mp-value-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
  }
  .marketplace-page .mp-value {
    padding: 28px 24px;
    border-left: 1px solid var(--dark-line);
    border-top: 1px solid var(--dark-line);
  }
  .marketplace-page .mp-value:nth-child(odd) { border-left: none; padding-left: 0; }
  .marketplace-page .mp-value:nth-child(-n+2) { border-top: none; padding-top: 0; }

  .marketplace-page .mp-launch-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }
  .marketplace-page .mp-launch-oli { order: 0; }
  .marketplace-page .mp-launch-oli img { max-width: 200px; }
  .marketplace-page .mp-launch-text .lede { margin-left: auto; margin-right: auto; }
}
@media (max-width: 640px) {
  .marketplace-page .marketplace-hero { padding: 120px 0 80px; }
  .marketplace-page .marketplace-what { padding: 80px 0; }
  .marketplace-page .marketplace-preview { padding: 80px 0; }
  .marketplace-page .marketplace-launch { padding: 96px 0; }
  .marketplace-page .mp-value-grid {
    grid-template-columns: 1fr;
  }
  .marketplace-page .mp-value {
    padding: 24px 0;
    border-left: none;
    border-top: 1px solid var(--dark-line);
  }
  .marketplace-page .mp-value:first-child { border-top: none; padding-top: 0; }

  .marketplace-page .mp-scenario {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 32px 0;
  }
  .marketplace-page .mp-scenario-num { padding-top: 0; }
  .marketplace-page .mp-scenario-title { font-size: 22px; }

  .marketplace-page .mp-launch-oli img { max-width: 160px; }
}

/* ============================================================
   MARKETPLACE — SCENARIO CATALOG (REAL CARDS)
   ============================================================ */
.marketplace-page .marketplace-catalog {
  /* padding + background come from .block.light-bg.section--emphasis */
}
.marketplace-page .marketplace-catalog .headline {
  font-size: clamp(30px, 3.4vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--violet-deep);
  max-width: 820px;
  margin-top: 20px;
}
.marketplace-page .marketplace-catalog .headline em {
  font-style: italic;
  color: var(--violet);
}
.marketplace-page .marketplace-catalog .lede {
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark-dim);
  max-width: 620px;
  margin-top: 20px;
}

/* Category group — 3 groups of 2 cards each, rhythmic separation */
.marketplace-page .mp-catalog-group {
  margin-top: 80px;
}
.marketplace-page .mp-catalog-group-label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--violet);
  padding-bottom: 24px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--dark-line);
}
.marketplace-page .mp-catalog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Scenario card — structured, premium, calm. Not ecommerce. */
.marketplace-page .mp-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.marketplace-page .mp-card:hover {
  border-color: var(--violet);
}

/* Card image: OLI on deep violet, 4:3. Consistent visual language. */
.marketplace-page .mp-card-image {
  aspect-ratio: 4 / 3;
  background: var(--violet-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 36px;
  overflow: hidden;
  border-bottom: 1px solid var(--dark-line);
}
.marketplace-page .mp-card-image img {
  max-width: 60%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* Card body */
.marketplace-page .mp-card-body {
  display: flex;
  flex-direction: column;
  padding: 28px 30px 32px;
  flex: 1;
}

/* Top row: category + price */
.marketplace-page .mp-card-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 14px;
}
.marketplace-page .mp-card-category {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
}
.marketplace-page .mp-card-price {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--violet-deep);
  font-weight: 500;
  flex-shrink: 0;
}

/* Title */
.marketplace-page .mp-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 12px;
}

/* Description */
.marketplace-page .mp-card-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.6;
  color: var(--dark-dim);
  margin: 0 0 20px;
}

/* Stats row — hairline above and below, tight mono caps */
.marketplace-page .mp-card-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
  margin-bottom: 24px;
  border-top: 1px solid var(--dark-line);
  border-bottom: 1px solid var(--dark-line);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--dark-dim);
  flex-wrap: wrap;
}
.marketplace-page .mp-card-stats .mp-card-dot {
  color: var(--dark-faint);
  opacity: 0.5;
}

/* What You Test + Outputs — 2-column inner grid */
.marketplace-page .mp-card-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 24px;
}
.marketplace-page .mp-card-info-label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dark-faint);
  margin-bottom: 12px;
}
.marketplace-page .mp-card-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.marketplace-page .mp-card-info-list li {
  position: relative;
  padding: 5px 0 5px 18px;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--dark-dim);
}
.marketplace-page .mp-card-info-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--dark-faint);
}

/* Why buy — closing line, serif italic, pulled right for visual weight */
.marketplace-page .mp-card-why {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.4;
  color: var(--violet-deep);
  margin: auto 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--dark-line);
}

.marketplace-page .mp-preview-footnote {
  margin-top: 72px;
  max-width: 680px;
  font-family: var(--sans);
  font-size: 14px;
  color: var(--dark-faint);
  font-style: italic;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

/* --- RESPONSIVE — CATALOG --- */
@media (max-width: 900px) {
  .marketplace-page .mp-catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .marketplace-page .marketplace-catalog { padding: 80px 0; }
  .marketplace-page .mp-catalog-group { margin-top: 56px; }
  .marketplace-page .mp-card-body { padding: 24px 22px 28px; }
  .marketplace-page .mp-card-image { padding: 28px; }
  .marketplace-page .mp-card-stats {
    gap: 8px;
    font-size: 10px;
  }
  .marketplace-page .mp-card-info-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .marketplace-page .mp-card-why {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .marketplace-page .mp-card { transition: none; }
}

/* ============================================================
   DEPRECATED: old marketplace preview list styles retained below.
   Selectors target .mp-scenario which is no longer used in HTML.
   Kept for safety; can be pruned later.
   ============================================================ */

/* ============================================================
   MARKETPLACE — SYSTEM-ALIGNED OVERRIDES
   Appended after earlier marketplace CSS to take precedence.
   This layer integrates Marketplace into the site's block system.
   Sections now use .page-hero and .block.[dark-bg|light-bg]
   with .section--foundation/emphasis/compact modifiers, so most
   section-level styling (padding, bg, heading/lede colors) is
   inherited automatically. Only the custom grids and cards need
   color adjustments for the dark-bg value grid.
   ============================================================ */

/* The original .marketplace-* rules above no longer set padding/background/border,
   so the system classes (.page-hero, .block.dark-bg, .block.light-bg,
   .section--foundation/emphasis/compact) now apply cleanly with no conflict. */

/* Reset earlier bespoke headline/lede sizes so the SYSTEM defaults carry the rhythm.
   Foundation, emphasis, and compact all inherit clamp(42,5.4vw,72) from h2.headline.
   The difference between sections comes from padding + composition, not type scale. */
.marketplace-page .marketplace-what .headline,
.marketplace-page .marketplace-catalog .headline {
  font-size: clamp(42px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 960px;
  margin-top: 28px;
  margin-bottom: 28px;
}
.marketplace-page .marketplace-catalog .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.45;
  max-width: 720px;
  margin-top: 0;
  /* color inherits dark-dim from .light-bg .lede */
}

/* --- WHAT YOU WILL FIND: value grid on DARK background --- */
.marketplace-page .marketplace-what .mp-value-grid { margin-top: 80px; }
.marketplace-page .marketplace-what .mp-value {
  border-left-color: var(--white-line);
}
.marketplace-page .marketplace-what .mp-value-kicker { color: var(--yellow); }
.marketplace-page .marketplace-what .mp-value-title  { color: var(--white); }
.marketplace-page .marketplace-what .mp-value-desc   { color: var(--white-dim); }

/* --- CATALOG (light-bg emphasis) — make it the visual peak --- */
.marketplace-page .marketplace-catalog .mp-catalog-group { margin-top: 104px; }
.marketplace-page .marketplace-catalog .mp-catalog-group:first-of-type { margin-top: 88px; }
.marketplace-page .marketplace-catalog .mp-preview-footnote { margin-top: 96px; }

/* --- LAUNCH (dark-bg compact) — closer, not peak --- */
.marketplace-page .marketplace-launch .mp-launch-inner {
  max-width: 960px;
  margin: 0 auto;
}
.marketplace-page .marketplace-launch .mp-launch-text .section-label {
  /* Inherits yellow + data-num treatment from system default */
  margin-bottom: 20px;
}
.marketplace-page .marketplace-launch .mp-launch-text .headline {
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0;
  max-width: 560px;
}
.marketplace-page .marketplace-launch .mp-launch-text .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  line-height: 1.45;
  max-width: 520px;
  margin-top: 20px;
  /* color inherits white-dim from default .lede on dark-bg */
}
.marketplace-page .marketplace-launch .mp-launch-oli img {
  max-width: 220px;
}
.marketplace-page .marketplace-launch .mp-launch-cta {
  margin-top: 40px;
}

/* --- RESPONSIVE — system-aligned breakpoints --- */
@media (max-width: 960px) {
  .marketplace-page .marketplace-what .mp-value-grid { margin-top: 56px; }
  .marketplace-page .marketplace-catalog .mp-catalog-group { margin-top: 72px; }
  .marketplace-page .marketplace-catalog .mp-catalog-group:first-of-type { margin-top: 64px; }
}
@media (max-width: 640px) {
  .marketplace-page .marketplace-what .mp-value {
    border-left-color: var(--white-line) !important;
    border-top-color: var(--white-line) !important;
  }
  .marketplace-page .marketplace-catalog .mp-preview-footnote { margin-top: 64px; }
}

/* ============================================================
   MARKETPLACE — FINAL POLISH PASS
   The last 10% on card density, text contrast, and CTA landing.
   Appended last so these values win. No new components, no new
   animations. Only refinement of existing elements.
   ============================================================ */

/* --- IMAGE: flatter ratio, slightly less internal padding --- */
.marketplace-page .mp-card-image {
  aspect-ratio: 3 / 2;
  padding: 32px;
}

/* --- CARD BODY: compact but not cramped --- */
.marketplace-page .mp-card-body {
  padding: 24px 28px 26px;
}

/* --- TOP ROW: tighter --- */
.marketplace-page .mp-card-top {
  margin-bottom: 12px;
}

/* --- TITLE: strongest element, tighter rhythm below --- */
.marketplace-page .mp-card-title {
  line-height: 1.15;
  margin: 0 0 10px;
}

/* --- DESCRIPTION: site-canonical body color (dark-dim) --- */
.marketplace-page .mp-card-desc {
  color: var(--dark-dim);
  font-size: 14px;
  line-height: 1.55;
  margin: 0 0 18px;
}

/* --- STATS: kept lighter per hierarchy, just tighter padding --- */
.marketplace-page .mp-card-stats {
  padding: 11px 0;
  margin-bottom: 20px;
  gap: 8px;
  /* color remains dark-dim — stats sit lighter in the hierarchy */
}

/* --- INFO GRID: reduced column gap, tighter overall --- */
.marketplace-page .mp-card-info-grid {
  gap: 20px;
  margin-bottom: 20px;
}
.marketplace-page .mp-card-info-label {
  color: var(--dark-faint);
  margin-bottom: 10px;
  /* small, quiet intra-card sub-label — consistent with .blog-meta time
     and other secondary kickers on light backgrounds */
}
.marketplace-page .mp-card-info-list li {
  color: var(--dark-dim);
  font-size: 12px;
  line-height: 1.55;
  padding: 3px 0 3px 16px;
}
/* Keep em-dash marker muted so it reads as a mark, not extra weight */
.marketplace-page .mp-card-info-list li::before {
  color: var(--dark-faint);
}

/* --- WHY LINE: stands out slightly, same placement, tighter top --- */
.marketplace-page .mp-card-why {
  padding-top: 18px;
  /* font-size 16px serif italic violet-deep unchanged — the italic + serif
     contrast with the sans body already gives this line the weight it needs */
}

/* --- GROUP RHYTHM: more breathing room between groups and between label + grid --- */
.marketplace-page .marketplace-catalog .mp-catalog-group {
  margin-top: 112px;
}
.marketplace-page .marketplace-catalog .mp-catalog-group:first-of-type {
  margin-top: 88px;
}
.marketplace-page .marketplace-catalog .mp-catalog-group-label {
  padding-bottom: 24px;
  margin-bottom: 40px;
}

/* --- CTA LANDING: give the button real air above it so it reads as
       final action, not trailing paragraph --- */
.marketplace-page .marketplace-launch .mp-launch-cta {
  margin-top: 52px;
}

/* --- RESPONSIVE FINE-TUNING --- */
@media (max-width: 640px) {
  .marketplace-page .mp-card-body { padding: 22px 22px 24px; }
  .marketplace-page .mp-card-image { padding: 26px; }
  .marketplace-page .mp-card-info-list li { font-size: 12px; }
  .marketplace-page .marketplace-catalog .mp-catalog-group { margin-top: 80px; }
  .marketplace-page .marketplace-catalog .mp-catalog-group:first-of-type { margin-top: 64px; }
  .marketplace-page .marketplace-catalog .mp-catalog-group-label { margin-bottom: 28px; }
  .marketplace-page .marketplace-launch .mp-launch-cta { margin-top: 40px; }
}

/* ============================================================
   BLOG PAGE — REDESIGNED INSIGHT SURFACE
   Matches homepage's visual + spacing language. The old
   .blog-page .blog-hero / .blog-list / .blog-item rules above
   remain in the file as dormant fallback; the redesigned page
   no longer uses them.
   ============================================================ */

/* Spacing modifiers, scoped to blog-page (mirrors home-page values). */
.blog-page section.block.section--compact    { padding: 128px 0 120px; }
.blog-page section.block.section--foundation { padding: 140px 0 128px; }
.blog-page section.block.section--emphasis   { padding: 176px 0 160px; }

/* ---------- FEATURED INSIGHT ---------- */
.blog-featured {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
  text-decoration: none;
  color: inherit;
}
.blog-featured-image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 16px;
  background: var(--violet-deep);
  margin: 0;
}
.blog-featured-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-featured:hover .blog-featured-image img {
  transform: scale(1.04);
}
.blog-featured-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--white-faint);
  margin-bottom: 28px;
}
.blog-featured-meta time { color: var(--white-faint); }
.blog-featured-meta > span { color: var(--yellow); }
.blog-featured-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(32px, 3.6vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin: 0 0 22px;
  transition: color 0.2s ease;
}
.blog-featured:hover .blog-featured-title { color: var(--yellow); }
.blog-featured-insight {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--white-dim);
  margin: 0 0 32px;
  max-width: 480px;
}
.blog-featured-cta {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--yellow);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-featured:hover .blog-featured-cta { transform: translateX(6px); }

/* ---------- FILTER BAR ---------- */
.blog-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
  margin-bottom: 56px;
}
.blog-filter-chip {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--dark-dim);
  background: transparent;
  border: 1px solid var(--dark-line);
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.blog-filter-chip:hover {
  color: var(--violet);
  border-color: var(--violet);
}
.blog-filter-chip.is-active {
  background: var(--violet-deep);
  color: var(--white);
  border-color: var(--violet-deep);
}
.blog-filter-chip:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 2px;
}

/* ---------- CARD GRID ---------- */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.blog-card { display: flex; }
.blog-card.is-hidden { display: none; }
.blog-card-link {
  display: flex;
  flex-direction: column;
  width: 100%;
  background: #ffffff;
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
}
.blog-card-link:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px -22px rgba(33, 5, 43, 0.22);
  border-color: rgba(33, 5, 43, 0.22);
}
.blog-card-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  margin: 0;
  background: var(--violet-deep);
}
.blog-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.blog-card-link:hover .blog-card-image img {
  transform: scale(1.05);
}
.blog-card-body {
  padding: 26px 28px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.blog-card-tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 16px;
}
.blog-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 14px;
  transition: color 0.15s ease;
}
.blog-card-link:hover .blog-card-title { color: var(--violet); }
.blog-card-insight {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  color: var(--dark-dim);
  margin: 0 0 22px;
  flex: 1;
}
.blog-card-meta {
  display: flex;
  gap: 12px;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dark-faint);
  padding-top: 18px;
  border-top: 1px solid var(--dark-line);
}
.blog-card-meta time { color: var(--dark-faint); }
.blog-card-meta > span { opacity: 0.6; }

/* ---------- EMPTY STATE ---------- */
.blog-grid-empty {
  padding: 64px 0 24px;
  text-align: center;
  color: var(--dark-dim);
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .blog-featured { grid-template-columns: 1fr; gap: 36px; }
  .blog-featured-title { font-size: clamp(28px, 5vw, 38px); }
  .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .blog-card-body { padding: 22px 24px 28px; }
  .blog-card-title { font-size: 22px; }
}
@media (max-width: 640px) {
  .blog-page section.block.section--emphasis { padding: 96px 0; }
  .blog-page section.block.section--foundation { padding: 88px 0; }
  .blog-grid { grid-template-columns: 1fr; gap: 20px; }
  .blog-filter-bar { gap: 8px; margin-bottom: 40px; }
  .blog-filter-chip { padding: 9px 16px; font-size: 10px; letter-spacing: 0.16em; }
  .blog-featured-insight { font-size: 16px; }
}

/* ============================================================
   INSIGHT PAGE — product-insight experience layout
   Currently used only by blog-vol-04-ttx-graveyard.html.
   Future insight pages can adopt <body class="insight-page">.
   ============================================================ */

/* Page-scoped section spacing (mirrors home-page values) */
.insight-page section.block.section--compact    { padding: 112px 0 104px; }
.insight-page section.block.section--foundation { padding: 140px 0 128px; }
.insight-page section.block.section--emphasis   { padding: 176px 0 160px; }

/* Hero tweaks: add a "back to all insights" strip */
.insight-page .insight-hero-back {
  margin-top: 48px;
}
.insight-page .insight-hero-back a {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.insight-page .insight-hero-back a:hover { color: var(--yellow); }

/* ---------- INSIGHT BREAKS ---------- */
.insight-page .insight-break {
  padding: 128px 0;
  text-align: center;
}
.insight-page .insight-break-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.insight-page .insight-break-eyebrow::before,
.insight-page .insight-break-eyebrow::after {
  content: '';
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}
.insight-page .insight-break-text {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.2vw, 68px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 1040px;
  margin: 0 auto;
}
.insight-page .insight-break-text em {
  font-style: italic;
  color: var(--yellow);
  font-weight: 400;
}

/* dark variant */
.insight-page .insight-break--dark {
  background: var(--violet-deep);
  color: var(--white);
}
.insight-page .insight-break--dark .insight-break-eyebrow { color: var(--yellow); }

/* magenta variant (gradient) */
.insight-page .insight-break--magenta {
  background: linear-gradient(145deg, var(--violet) 0%, #7a2f9b 60%, var(--magenta) 130%);
  color: var(--white);
}
.insight-page .insight-break--magenta .insight-break-eyebrow { color: var(--yellow); }
.insight-page .insight-break--magenta .insight-break-text em { color: var(--yellow); }

/* ---------- INSIGHT STEPS (tension section) ---------- */
.insight-page .insight-steps {
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 820px;
  counter-reset: none;
}
.insight-page .insight-steps li {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.3;
  color: var(--violet-deep);
  padding: 20px 0 20px 0;
  border-top: 1px solid var(--dark-line);
}
.insight-page .insight-steps li:last-child { border-bottom: 1px solid var(--dark-line); }
.insight-page .insight-step-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet);
  letter-spacing: 0.2em;
  flex-shrink: 0;
  padding-top: 10px;
  min-width: 32px;
}
.insight-page .insight-steps em { font-style: italic; color: var(--violet); }

/* ---------- STAT PAIR (breakdown section) ---------- */
.insight-page .insight-stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 56px 0 0;
}
.insight-page .insight-stat {
  padding: 48px 40px;
  background: rgba(74, 5, 97, 0.04);
  border-left: 3px solid var(--yellow);
  border-radius: 8px;
}
.insight-page .insight-stat-value {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: clamp(48px, 5.4vw, 72px);
  color: var(--violet);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.insight-page .insight-stat-label {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  color: var(--violet-deep);
  line-height: 1.2;
  font-weight: 500;
}

/* ---------- PROOF CARDS (evidence section) ---------- */
.insight-page .proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.insight-page .proof-card {
  padding: 40px 36px 48px;
  background: rgba(237, 247, 239, 0.04);
  border: 1px solid var(--white-line);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              background 0.3s ease;
}
.insight-page .proof-card:hover {
  transform: translateY(-4px);
  border-color: rgba(250, 240, 59, 0.4);
  background: rgba(237, 247, 239, 0.06);
}
.insight-page .proof-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--yellow);
  letter-spacing: 0.24em;
  margin-bottom: 28px;
}
.insight-page .proof-card-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.15;
  color: var(--white);
  margin: 0;
  letter-spacing: -0.01em;
}

/* ---------- CAPABILITY CARDS (new model section) ---------- */
.insight-page .capability-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 64px;
}
.insight-page .capability-card {
  padding: 44px 40px;
  background: rgba(74, 5, 97, 0.04);
  border: 1px solid var(--dark-line);
  border-radius: 16px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.insight-page .capability-card:hover {
  transform: translateY(-4px);
  border-color: rgba(33, 5, 43, 0.22);
  box-shadow: 0 20px 40px -20px rgba(33, 5, 43, 0.18);
}
.insight-page .capability-card-num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--violet);
  letter-spacing: 0.24em;
  margin-bottom: 24px;
}
.insight-page .capability-card-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 34px);
  line-height: 1.15;
  color: var(--violet-deep);
  margin: 0 0 18px;
  letter-spacing: -0.01em;
}
.insight-page .capability-card p {
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--dark-dim);
  margin: 0;
}
.insight-page .capability-card em {
  color: var(--violet);
  font-style: italic;
}

/* ---------- FINAL CTA BLOCK ---------- */
.insight-page .insight-cta {
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet) 45%, var(--violet-soft) 100%);
  padding: 160px 0 144px;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.insight-page .insight-cta::before {
  content: '';
  position: absolute;
  top: 10%; right: -10%; width: 60%; height: 80%;
  background-image:
    linear-gradient(var(--white-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--white-line) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 10%, transparent 65%);
  pointer-events: none;
}
.insight-page .insight-cta .wrap { position: relative; }
.insight-page .insight-cta-eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 40px;
}
.insight-page .insight-cta .headline {
  color: var(--white);
  max-width: 900px;
}
.insight-page .insight-cta .headline em { color: var(--yellow); }
.insight-page .insight-cta .lede {
  color: var(--white-dim);
  max-width: 560px;
  margin-top: 20px;
}
.insight-page .insight-cta-buttons {
  margin-top: 56px;
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}
.insight-page .insight-cta .btn-text {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--white-dim);
  text-decoration: none;
  transition: color 0.2s ease;
}
.insight-page .insight-cta .btn-text:hover { color: var(--yellow); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1000px) {
  .insight-page .proof-grid { grid-template-columns: 1fr; gap: 16px; }
  .insight-page .capability-grid { grid-template-columns: 1fr; gap: 16px; }
  .insight-page .insight-stat-pair { grid-template-columns: 1fr; gap: 16px; }
  .insight-page .insight-break { padding: 96px 0; }
}
@media (max-width: 640px) {
  .insight-page section.block.section--emphasis { padding: 112px 0; }
  .insight-page section.block.section--foundation { padding: 96px 0; }
  .insight-page .insight-break { padding: 80px 0; }
  .insight-page .insight-cta { padding: 112px 0 96px; }
  .insight-page .capability-card { padding: 32px 24px; }
  .insight-page .proof-card { padding: 32px 24px 36px; }
  .insight-page .insight-stat { padding: 36px 28px; }
  .insight-page .insight-steps li { font-size: 18px; gap: 16px; }
  .insight-page .insight-cta-buttons { gap: 20px; }
}

/* ============================================================
   MARKETPLACE — simulation library preview section
   ============================================================ */

.marketplace-page .marketplace-library .lede {
  max-width: 680px;
}

/* 2x2 preview-card grid */
.marketplace-page .mp-library-grid {
  margin-top: 72px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.marketplace-page .mp-library-card {
  padding: 40px 36px 44px;
  background: rgba(74, 5, 97, 0.03);
  border: 1px solid var(--dark-line);
  border-radius: 14px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
}
.marketplace-page .mp-library-card:hover {
  transform: translateY(-3px);
  border-color: rgba(33, 5, 43, 0.2);
  box-shadow: 0 18px 36px -22px rgba(33, 5, 43, 0.18);
}
.marketplace-page .mp-library-card-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 22px;
  display: inline-block;
}
.marketplace-page .mp-library-card-title {
  font-family: var(--serif);
  font-weight: 400;
  font-style: italic;
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 14px;
}
.marketplace-page .mp-library-card-desc {
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  color: var(--dark-dim);
  margin: 0;
}

/* Differentiation strip */
.marketplace-page .mp-library-diff {
  margin-top: 88px;
  padding-top: 56px;
  border-top: 1px solid var(--dark-line);
}
.marketplace-page .mp-library-diff-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(26px, 2.8vw, 36px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--violet-deep);
  margin: 0 0 20px;
  max-width: 800px;
}
.marketplace-page .mp-library-diff-title em {
  font-style: italic;
  color: var(--violet);
}
.marketplace-page .mp-library-diff-copy {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--dark-dim);
  margin: 0 0 36px;
  max-width: 760px;
}
.marketplace-page .mp-library-diff-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.marketplace-page .mp-library-diff-points li {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--violet-deep);
  display: flex;
  align-items: center;
  gap: 12px;
}
.marketplace-page .mp-library-diff-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* Footnote at the bottom of the library section */
.marketplace-page .mp-library-footnote {
  margin-top: 56px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--dark-faint);
  padding-top: 28px;
  border-top: 1px solid var(--dark-line);
}

/* Responsive */
@media (max-width: 900px) {
  .marketplace-page .mp-library-grid { grid-template-columns: 1fr; gap: 16px; }
  .marketplace-page .mp-library-card { padding: 32px 28px; }
  .marketplace-page .mp-library-diff { margin-top: 64px; padding-top: 40px; }
  .marketplace-page .mp-library-diff-points { gap: 20px; flex-direction: column; }
}

/* ============================================================================
   RESPONSIVE SYSTEM — added 2026-04-21
   Breakpoints:
     tablet-and-below  : max-width: 1023px
     mobile            : max-width: 640px
   Strategy: keep desktop untouched; progressively adapt below 1024px.
   ============================================================================ */

/* -------- ROOT OVERFLOW GUARD --------
   Prevent any stray wide element from creating page-level horizontal scroll. */
body { overflow-x: clip; } /* clip > hidden — allows position:sticky in descendants */

/* -------- MOBILE NAV TOGGLE (hamburger button, hidden by default) -------- */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 10px;
  margin: 0;
  width: 44px;
  height: 44px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
  z-index: 130;
}
.mobile-nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
  transform-origin: center;
}
.mobile-nav-toggle.is-open .mobile-nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-nav-toggle.is-open .mobile-nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.mobile-nav-toggle.is-open .mobile-nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* -------- MOBILE NAV DRAWER (hidden by default on desktop) -------- */
.mobile-nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(86vw, 380px);
  background: var(--violet-deep);
  z-index: 120;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 96px 32px 48px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
}
.mobile-nav-drawer.is-open {
  transform: translateX(0);
}
.mobile-nav-drawer-inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
  min-height: 100%;
}
.mobile-nav-list ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-nav-list li { margin: 0; }
.mobile-nav-list a {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--white-dim);
  padding: 14px 0;
  border-bottom: 1px solid var(--white-line);
  transition: color 0.2s ease;
}
.mobile-nav-list a:hover,
.mobile-nav-list a:active,
.mobile-nav-list a.active {
  color: var(--yellow);
}
.mobile-nav-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--white-line);
}
.mobile-nav-cta .btn-login {
  font-size: 14px;
  color: var(--white-dim);
  padding: 12px 0;
  text-align: left;
}
.mobile-nav-cta .btn {
  justify-content: center;
  padding: 14px 22px;
  width: 100%;
}

/* -------- MOBILE NAV OVERLAY -------- */
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(33, 5, 43, 0.6);
  backdrop-filter: blur(4px);
  z-index: 115;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  display: none;
}
.mobile-nav-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================================================
   TABLET-AND-BELOW (max-width: 1023px)
   Hide the desktop nav/CTA, reveal the hamburger + drawer.
   ============================================================================ */
@media (max-width: 1023px) {
  header nav,
  header .nav-cta { display: none; }

  .mobile-nav-toggle { display: flex; }
  .mobile-nav-drawer { display: block; }
  .mobile-nav-overlay { display: block; }

  /* Content padding */
  .wrap { padding: 0 24px; }

  /* Section vertical padding — trim from 128px to something workable */
  section.block { padding: 96px 0; }
  .insight-page section.block.section--compact    { padding: 80px 0; }
  .insight-page section.block.section--foundation { padding: 96px 0 88px; }
  .insight-page section.block.section--emphasis   { padding: 112px 0; }

  /* Hero headlines scale down slightly */
  .page-hero h1 {
    font-size: clamp(40px, 6.5vw, 64px);
    line-height: 1.08;
  }

  /* Footer grid — stack into 2 columns on tablet */
  .foot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 40px !important;
  }
  .foot-brand { grid-column: 1 / -1; }
}

/* ============================================================================
   MOBILE (max-width: 640px)
   Stack everything. Reduce padding aggressively. Touch-target sizes.
   ============================================================================ */
@media (max-width: 640px) {

  /* Content padding */
  .wrap { padding: 0 20px; }

  /* Header height slightly shorter on mobile */
  header .wrap { height: 64px; }
  .logo-name { font-size: 26px; }
  .logo-arch { width: 100px; height: 10px; }

  /* Section padding */
  section.block { padding: 72px 0; }

  /* Typography */
  .page-hero h1 {
    font-size: clamp(32px, 9vw, 48px);
    line-height: 1.1;
  }
  .page-hero-lede {
    font-size: 16px;
    line-height: 1.55;
  }
  h2.headline, .headline {
    font-size: clamp(28px, 7vw, 40px) !important;
    line-height: 1.15;
  }
  p.lede, .lede {
    font-size: 15px;
    line-height: 1.6;
  }

  /* Footer — single column */
  .foot-grid {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
  }
  .foot-base {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* -------- FIX: INSIGHT-PAGE INLINE-STYLE GRIDS --------
     Some insight pages have `style="grid-template-columns: repeat(4, 1fr)"` on
     .insight-stat-pair which defeats my @media queries. Override with !important. */
  .insight-page .insight-stat-pair,
  .insight-page .proof-grid,
  .insight-page .capability-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }
  .insight-page .insight-stat { padding: 28px 22px; }
  .insight-page .insight-stat-value { font-size: clamp(36px, 10vw, 48px); }
  .insight-page .insight-stat-label { font-size: 16px; }

  .insight-page .proof-card { padding: 28px 22px 32px; }
  .insight-page .capability-card { padding: 28px 22px; }
  .insight-page .insight-break { padding: 72px 0; }
  .insight-page .insight-break-text {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.18;
  }

  /* Insight steps — tension section */
  .insight-page .insight-steps li {
    font-size: 17px;
    gap: 14px;
    padding: 16px 0;
  }
  .insight-page .insight-step-num { min-width: 24px; }

  /* CTA buttons */
  .insight-page .insight-cta-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .insight-page .insight-cta-buttons .btn {
    justify-content: center;
    text-align: center;
  }

  /* -------- HOMEPAGE adjustments -------- */
  .home-page .hero-buttons {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .home-page .hero-buttons .btn {
    justify-content: center;
    width: 100%;
  }

  /* -------- BLOG INDEX adjustments -------- */
  .blog-page .blog-filter-bar {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    flex-wrap: nowrap !important;
    padding-bottom: 8px;
    scrollbar-width: none;
  }
  .blog-page .blog-filter-bar::-webkit-scrollbar { display: none; }
  .blog-page .blog-filter-chip { flex-shrink: 0; }

  /* Blog card grid — single column */
  .blog-page .blog-card-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .blog-page .blog-featured {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  /* -------- MARKETPLACE adjustments -------- */
  .marketplace-page .mp-launch-inner {
    grid-template-columns: 1fr !important;
    text-align: center;
    gap: 24px !important;
  }
  .marketplace-page .mp-launch-oli { max-width: 160px; margin: 0 auto; }
  .marketplace-page .mp-launch-text { text-align: left; }

  /* -------- CONTACT FORM -------- */
  .contact-page .contact-form-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .contact-page .contact-form-field input,
  .contact-page .contact-form-field select,
  .contact-page .contact-form-field textarea {
    font-size: 16px; /* prevents iOS zoom on focus */
    padding: 14px 16px;
    min-height: 48px;
  }
  .contact-page .contact-form-field textarea { min-height: 120px; }

  /* -------- BUTTONS: touch-friendly sizing -------- */
  .btn {
    padding: 14px 22px;
    min-height: 44px;
  }

  /* -------- COOKIE BANNER: better mobile positioning + lower z-index so drawer covers it -------- */
  .cookie-banner {
    left: 12px !important;
    right: 12px !important;
    bottom: 12px !important;
    max-width: none !important;
    width: auto !important;
    padding: 16px 18px !important;
    z-index: 110 !important;
  }
}

/* ============================================================================
   PRICING TABLE — horizontal scroll wrapper on mobile
   The comparison table doesn't collapse well; give it its own scroll.
   ============================================================================ */
@media (max-width: 900px) {
  /* The compare table is too wide to stack cleanly; wrap it in a horizontal-scroll region.
     Position relative + :after gives a visual hint that the table scrolls. */
  .pricing-page .compare-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
    padding-right: 0;
    /* ensure the wrapper itself doesn't overflow its parent */
    max-width: 100%;
  }
  /* Scroll hint ABOVE the table so users see it first.
     Uses ::before on the wrapper's parent context — we render it as a label above
     by using the headline's margin-bottom to sit it there.                      */
  .pricing-page .compare-wrapper::before {
    content: "← scroll sideways to compare →";
    display: block;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--violet);
    text-align: center;
    padding: 12px 16px;
    margin: 0 0 12px;
    background: rgba(74, 5, 97, 0.06);
    border-radius: 8px;
    pointer-events: none;
    position: sticky;
    left: 0;
    top: 0;
  }
  .pricing-page .compare-table {
    min-width: 640px;
    font-size: 13px;
  }
  .pricing-page .compare-table th,
  .pricing-page .compare-table td {
    padding: 12px 10px;
  }
  /* heading above the table stays the full container width */
  .pricing-page .compare-heading {
    padding-right: 0;
  }
}

/* ============================================================================
   MEDIA: all images stay inside their container.
   ============================================================================ */
img { max-width: 100%; height: auto; }


/* ------ Marketplace: fix value-card top-borders when single-column on mobile ------ */
@media (max-width: 640px) {
  .marketplace-page .mp-value {
    border-top: 1px solid var(--white-line) !important;
    border-left: none !important;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 0;
  }
  .marketplace-page .marketplace-what .mp-value {
    border-top: 1px solid var(--white-line) !important;
  }
  .marketplace-page .mp-value:first-child {
    border-top: none !important;
    padding-top: 8px;
  }
  .marketplace-page .mp-value-grid { gap: 0 !important; }
}


/* ============================================================================
   TABLET REFINEMENTS (641px–1023px) — fix stack-too-early layouts
   ============================================================================ */

/* -------- INSIGHT STEPS: use grid layout instead of flex to prevent
   <strong> and <em> inside each <li> from becoming separate flex columns. -------- */
.insight-page .insight-steps li {
  display: block !important;
  position: relative;
  padding-left: 52px;
  padding-right: 0;
}
.insight-page .insight-steps li .insight-step-num {
  position: absolute;
  left: 0;
  top: 22px;
  padding-top: 0;
}

@media (max-width: 640px) {
  .insight-page .insight-steps li {
    padding-left: 40px;
  }
  .insight-page .insight-steps li .insight-step-num { top: 18px; }
}

/* -------- TABLET-SPECIFIC: 641–1023 keeps some 2-column grids -------- */
@media (min-width: 641px) and (max-width: 1023px) {
  /* Marketplace: library cards stay 2x2 at tablet */
  .marketplace-page .mp-library-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
  }
  /* Marketplace: differentiation points stay horizontal at tablet */
  .marketplace-page .mp-library-diff-points {
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 28px !important;
  }
  /* Insight pages: capability cards stay 2x2 at tablet */
  .insight-page .capability-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 18px !important;
  }
  /* Insight pages: proof cards stay 3x1 at tablet (nice balanced row) */
  .insight-page .proof-grid {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
  /* Insight pages: inline 4-column stat rows (like Vol 02 evidence) become 2x2 at tablet.
     Use [style] attribute selector + !important to override inline style. */
  .insight-page .insight-stat-pair[style*="repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .insight-page .insight-stat-pair[style*="repeat(3"] {
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 16px !important;
  }
}

/* ============================================================================
   PRICING MOBILE (≤640px ONLY)
   Scoped tab-based single-plan view. Desktop and tablet unchanged.
   ============================================================================ */

/* Default: hidden at all widths; only visible at mobile */
.pricing-mobile { display: none; }

@media (max-width: 640px) {
  /* Hide desktop/tablet pricing markup on mobile */
  .pricing-page .pricing-grid,
  .pricing-page .compare-wrapper { display: none !important; }

  /* Activate the mobile pricing UI */
  .pricing-page .pricing-mobile {
    display: block;
    margin: 0;
  }

  /* --- Tabs: 2x2 grid of plan selectors --- */
  .pricing-page .pm-tabs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 24px;
  }
  .pricing-page .pm-tab {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--dark-line);
    border-radius: 10px;
    padding: 14px 12px;
    min-height: 56px;
    font-family: var(--sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--violet-deep);
    cursor: pointer;
    text-align: center;
    line-height: 1.25;
    transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
    /* no double-tap zoom on iOS */
    touch-action: manipulation;
  }
  .pricing-page .pm-tab:active {
    transform: translateY(0);
  }
  .pricing-page .pm-tab--active {
    border-color: var(--violet-deep);
    background: var(--violet-deep);
    color: var(--yellow);
    font-weight: 500;
  }

  /* --- Plan panel card --- */
  .pricing-page .pm-panel {
    background: var(--white);
    border: 1px solid var(--dark-line);
    border-radius: 14px;
    padding: 28px 24px 32px;
    opacity: 1;
    transition: opacity 0.2s ease;
  }
  .pricing-page .pm-panel.pm-panel--switching {
    opacity: 0;
  }
  .pricing-page .pm-panel-name {
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 16px;
  }
  .pricing-page .pm-panel-price {
    font-family: var(--serif);
    font-weight: 400;
    font-size: 36px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--violet-deep);
    margin-bottom: 12px;
  }
  .pricing-page .pm-panel-sub {
    font-family: var(--serif);
    font-style: italic;
    font-size: 16px;
    line-height: 1.45;
    color: var(--dark-dim);
    margin: 0 0 28px;
  }
  .pricing-page .pm-panel-cta {
    display: flex;
    justify-content: center;
    padding: 14px 22px;
    min-height: 48px;
    width: 100%;
    margin-bottom: 28px;
  }
  /* Non-primary CTA on mobile: outlined style */
  .pricing-page .pm-panel-cta:not(.btn-primary) {
    background: transparent;
    border: 1px solid var(--violet-deep);
    color: var(--violet-deep);
  }
  .pricing-page .pm-panel-features {
    list-style: none;
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--dark-line);
  }
  .pricing-page .pm-panel-features li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 0;
    border-bottom: 1px solid var(--dark-line);
    font-family: var(--sans);
    font-size: 15px;
    line-height: 1.45;
    color: var(--violet-deep);
  }
  .pricing-page .pm-check {
    color: var(--violet);
    font-weight: 500;
    flex-shrink: 0;
    padding-top: 1px;
  }

  /* --- Compare accordion --- */
  .pricing-page .pm-compare {
    margin-top: 20px;
  }
  .pricing-page .pm-compare-toggle {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 1px solid var(--dark-line);
    border-radius: 10px;
    padding: 16px 20px;
    min-height: 48px;
    width: 100%;
    font-family: var(--sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--violet-deep);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    touch-action: manipulation;
    transition: border-color 0.2s ease;
  }
  .pricing-page .pm-compare-toggle:hover,
  .pricing-page .pm-compare-toggle[aria-expanded="true"] {
    border-color: var(--violet);
  }
  .pricing-page .pm-compare-chevron {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 400;
    color: var(--violet);
    transition: transform 0.2s ease;
    display: inline-block;
    width: 14px;
    text-align: center;
  }
  .pricing-page .pm-compare-toggle[aria-expanded="true"] .pm-compare-chevron {
    transform: rotate(45deg);
  }
  .pricing-page .pm-compare-panel {
    padding: 28px 4px 8px;
  }

  /* Legend of tier abbreviations */
  .pricing-page .pm-compare-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--dark-line);
  }
  .pricing-page .pm-compare-legend > div {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--sans);
    font-size: 11px;
    color: var(--dark-dim);
  }
  .pricing-page .pm-compare-legend-abbr {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--yellow);
    background: var(--violet-deep);
    padding: 3px 7px;
    border-radius: 4px;
  }
  .pricing-page .pm-compare-legend-name {
    font-family: var(--sans);
    font-size: 12px;
    color: var(--violet-deep);
    font-weight: 500;
  }

  /* Compare sections */
  .pricing-page .pm-compare-section {
    margin-bottom: 28px;
  }
  .pricing-page .pm-compare-section-title {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--violet);
    margin: 0 0 10px;
  }
  .pricing-page .pm-compare-row {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr 1fr;
    gap: 4px;
    padding: 10px 0;
    border-bottom: 1px solid var(--dark-line);
    font-family: var(--sans);
    font-size: 12px;
    color: var(--violet-deep);
    align-items: center;
  }
  .pricing-page .pm-compare-row > span {
    text-align: center;
    line-height: 1.35;
  }
  .pricing-page .pm-compare-row > span:first-child {
    text-align: left;
    font-weight: 400;
  }
  .pricing-page .pm-compare-row--header {
    padding: 4px 0 10px;
    border-bottom: 1px solid var(--violet);
  }
  .pricing-page .pm-compare-row--header > span {
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--violet);
  }
  .pricing-page .pm-compare-feature {
    padding-right: 8px;
  }
  .pricing-page .pm-compare-cell--check {
    color: var(--violet);
    font-weight: 500;
  }
  .pricing-page .pm-compare-cell--dash {
    color: var(--dark-faint);
  }
  .pricing-page .pm-compare-cell--text {
    font-size: 10.5px;
    color: var(--dark-dim);
  }

  /* Tighter spacing on very narrow screens (iPhone SE etc, 320-360px) */
  @media (max-width: 360px) {
    .pricing-page .pm-compare-row {
      grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr;
      font-size: 11px;
    }
    .pricing-page .pm-compare-cell--text { font-size: 9.5px; }
    .pricing-page .pm-tab { font-size: 12px; padding: 12px 8px; }
  }
}

/* ============================================================================
   PRICING MOBILE — refinements (≤640px only)
   Badge, feature truncation, improved comparison spacing.
   ============================================================================ */

@media (max-width: 640px) {

  /* --- "Most popular" badge --- */
  .pricing-page .pm-panel-badge {
    display: inline-block;
    background: var(--yellow);
    color: var(--violet-deep);
    font-family: var(--mono);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 4px;
    margin-bottom: 18px;
  }

  /* --- Feature truncation --- */
  /* Hide features beyond the 5th unless the list carries the .expanded class. */
  .pricing-page .pm-panel-features:not(.expanded) > li:nth-child(n+6) {
    display: none;
  }

  /* Remove the bottom border on the last VISIBLE item so there's no double rule
     stacked against the toggle button's border. */
  .pricing-page .pm-panel-features:not(.expanded) > li:nth-child(5) {
    border-bottom-color: transparent;
  }

  .pricing-page .pm-panel-features-toggle {
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--dark-line);
    padding: 14px 0;
    font-family: var(--mono);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--violet);
    cursor: pointer;
    touch-action: manipulation;
    width: 100%;
    min-height: 44px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.2s ease;
  }
  .pricing-page .pm-panel-features-toggle:hover,
  .pricing-page .pm-panel-features-toggle:focus-visible {
    color: var(--violet-deep);
    outline: none;
  }
  .pricing-page .pm-panel-features-toggle-sign {
    font-size: 16px;
    font-weight: 400;
    color: var(--violet);
    width: 14px;
    text-align: center;
    line-height: 1;
  }

  /* --- Comparison section: increased spacing + readability --- */
  .pricing-page .pm-compare-panel { padding: 32px 4px 8px; }

  .pricing-page .pm-compare-legend {
    gap: 16px 20px;
    margin-bottom: 36px;
    padding-bottom: 24px;
  }
  .pricing-page .pm-compare-legend-name {
    font-size: 13px;
  }

  .pricing-page .pm-compare-section { margin-bottom: 40px; }
  .pricing-page .pm-compare-section:last-child { margin-bottom: 8px; }
  .pricing-page .pm-compare-section-title {
    font-size: 11px;
    margin: 0 0 14px;
  }

  .pricing-page .pm-compare-row {
    padding: 13px 0;
    font-size: 13px;
    line-height: 1.4;
  }
  .pricing-page .pm-compare-row--header {
    padding: 6px 0 12px;
  }
  .pricing-page .pm-compare-row--header > span {
    font-size: 11px;
    color: var(--violet);
  }
  .pricing-page .pm-compare-cell--text {
    font-size: 11px;
    line-height: 1.35;
  }
  .pricing-page .pm-compare-cell--dash {
    /* slightly stronger than before so it reads as intentional, not accidental */
    color: rgba(33, 5, 43, 0.35);
  }
  .pricing-page .pm-compare-feature {
    padding-right: 10px;
  }

  /* Narrow-screen tightening */
  @media (max-width: 360px) {
    .pricing-page .pm-compare-row { font-size: 12px; padding: 11px 0; }
    .pricing-page .pm-compare-cell--text { font-size: 10px; }
  }
}

/* ============================================================================
   PRICING MOBILE — final polish pass (≤640px only)
   Hierarchy, spacing rhythm, sticky-header offset. Zero copy changes.
   ============================================================================ */

@media (max-width: 640px) {

  /* --- 1. Scroll offset so sticky header (64px) never covers pricing content.
           Affects anchor navigation and any programmatic scrollIntoView calls. --- */
  .pricing-page .pricing-mobile,
  .pricing-page .pm-tabs,
  .pricing-page .pm-panel,
  .pricing-page .pm-compare {
    scroll-margin-top: 88px; /* 64px header + 24px breathing room */
  }

  /* --- 2. Tab-to-card rhythm: tighten slightly --- */
  .pricing-page .pm-tabs { margin-bottom: 20px; }

  /* --- 3. Plan card hierarchy: tighter within identity group, clearer group breaks --- */
  .pricing-page .pm-panel {
    padding: 28px 24px 28px;
  }
  /* Identity group (badge → name → price → sub) — tight */
  .pricing-page .pm-panel-badge { margin-bottom: 20px; }
  .pricing-page .pm-panel-name  { margin-bottom: 10px; }
  .pricing-page .pm-panel-price { margin-bottom: 10px; }
  .pricing-page .pm-panel-sub   { margin: 0 0 32px; }

  /* --- 4. Primary CTA: slightly stronger presence + consistent vertical rhythm --- */
  .pricing-page .pm-panel-cta {
    margin-bottom: 32px;
    padding: 16px 22px;
    min-height: 52px;
  }
  .pricing-page .pm-panel-cta.btn-primary {
    font-weight: 500;
    /* subtle drop shadow within existing brand tokens, not a new system */
    box-shadow: 0 2px 0 rgba(33, 5, 43, 0.14);
  }
  .pricing-page .pm-panel-cta.btn-primary:hover,
  .pricing-page .pm-panel-cta.btn-primary:active {
    box-shadow: 0 3px 0 rgba(33, 5, 43, 0.18);
  }

  /* --- 5. Feature list rhythm --- */
  .pricing-page .pm-panel-features > li { padding: 13px 0; }

  /* Avoid layout "pop" when expanding: the 5th item's border is transparent when
     collapsed, but we reveal it smoothly rather than snapping. */
  .pricing-page .pm-panel-features > li {
    transition: border-bottom-color 0.18s ease;
  }

  /* Toggle button — consistent height keeps layout stable on label change */
  .pricing-page .pm-panel-features-toggle {
    padding: 14px 0;
    min-height: 48px;
  }

  /* --- 6. Compare section breathing room + more distinct section headers --- */
  .pricing-page .pm-compare { margin-top: 20px; }
  .pricing-page .pm-compare-panel { padding: 28px 2px 8px; }

  .pricing-page .pm-compare-legend {
    margin-bottom: 28px;
    padding-bottom: 22px;
  }

  .pricing-page .pm-compare-section { margin-bottom: 32px; }
  .pricing-page .pm-compare-section:last-child { margin-bottom: 4px; }

  .pricing-page .pm-compare-section-title {
    font-size: 12px;
    color: var(--violet-deep);
    font-weight: 500;
    letter-spacing: 0.24em;
    margin: 0 0 12px;
  }

  .pricing-page .pm-compare-row {
    padding: 14px 0;
    font-size: 13px;
    line-height: 1.4;
  }
  .pricing-page .pm-compare-row--header {
    padding: 6px 0 10px;
  }
  .pricing-page .pm-compare-row--header > span {
    font-size: 11px;
    color: var(--violet);
    font-weight: 500;
  }

  /* --- 7. Smooth panel fade-in after tab switch: slightly longer than default,
           gives a more confident sense of change without feeling slow --- */
  .pricing-page .pm-panel {
    transition: opacity 0.22s ease;
  }
}

/* ============================================================================
   FINAL MOBILE POLISH (≤640px only) — spacing + hierarchy rhythm across site
   No copy changes, no structural changes, no new components.
   ============================================================================ */

@media (max-width: 640px) {

  /* ---- 1. Hero CTA stacking ----
     Fix: previous CSS targeted `.hero-buttons` but the actual class is `.hero-ctas`
     (used on homepage, platform, and anywhere a dual-CTA hero lives). */
  .hero-ctas {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: 100%;
  }
  .hero-ctas .btn {
    justify-content: center;
    width: 100%;
    min-height: 48px;
  }

  /* ---- 2. Hero vertical rhythm ----
     Reduce top/bottom padding so content appears earlier and sections feel
     more connected. Default .page-hero has generous desktop padding that
     translates to dead-zone purple on phones. */
  .page-hero {
    padding-top: 56px;
    padding-bottom: 64px;
  }
  .page-hero h1,
  .page-hero .headline--xl {
    margin-top: 20px;          /* tighter gap below eyebrow */
  }
  .page-hero-lede,
  .page-hero p.lede {
    margin-top: 20px;
    line-height: 1.55;
  }

  /* Homepage hero gets its own slightly different structure; tighten similarly */
  .home-page .hero {
    padding-top: 48px;
    padding-bottom: 64px;
  }

  /* ---- 3. Section-to-section rhythm ----
     Trim block padding on mobile. Previous mobile CSS was 72px; bring to 60px
     so section boundaries feel intentional, not oceanic. */
  section.block {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  /* Emphasis / foundation modifiers on insight pages: scale proportionally */
  .insight-page section.block.section--compact    { padding: 56px 0; }
  .insight-page section.block.section--foundation { padding: 64px 0 60px; }
  .insight-page section.block.section--emphasis   { padding: 72px 0; }
  /* The insight "break" dark-bg sections deserve slightly more room to breathe */
  .insight-page .insight-break { padding: 64px 0; }

  /* ---- 4. Contact-specific: tighten gap between hero and form ---- */
  .contact-page .contact-form-wrap,
  .contact-page .contact-form-card {
    margin-top: -8px;          /* subtle pull up toward the hero */
  }
  .contact-page section.block:first-of-type { padding-top: 48px; }

  /* ---- 5. Newsletter CTA breathing room (homepage "Stay close" section) ---- */
  .home-page .newsletter-block,
  .newsletter-block {
    padding: 32px 24px;
  }

  /* ---- 6. Insight pages: tighten post-hero back-link gap ---- */
  .insight-page .page-hero {
    padding-bottom: 48px;      /* back-link sits closer to the first section */
  }
  .insight-page .page-hero .back-link,
  .insight-page .back-link {
    margin-top: 28px;
  }

  /* ---- 7. Blog index: tighter rhythm between featured + all-insights ---- */
  .blog-page .blog-featured-section { padding-top: 48px; padding-bottom: 48px; }
  .blog-page .blog-all-section      { padding-top: 48px; }

  /* ---- 8. About page: bio paragraph — keep text left-aligned on mobile even
     if desktop centers it, so it matches the rest of the page conventions. ---- */
  .about-page .about-origin p,
  .about-page .about-bio,
  .about-page p.about-bio {
    text-align: left;
  }

  /* ---- 9. Card padding trim — desktop cards often carry 40–48px interior
     padding. On mobile cap at 28px horizontal / 28px vertical for a tighter,
     decision-ready density. ---- */
  .platform-page .feature-card,
  .about-page .card,
  .home-page .gain-card {
    padding: 28px 24px;
  }

  /* ---- 10. Typography readability on long bodies ----
     Slightly looser line-height on paragraph bodies inside dense sections. */
  .insight-page .insight-para,
  .insight-page p:not(.page-hero-lede):not(.insight-step-num),
  .about-page p,
  .platform-page .feature-card p {
    line-height: 1.6;
  }

  /* ---- 11. Footer rhythm ---- */
  footer {
    padding-top: 48px;
    padding-bottom: 32px;
  }
  footer .foot-grid { gap: 28px !important; }
  footer .foot-col h5,
  footer .foot-col .foot-heading {
    margin-bottom: 14px;
  }
  footer .foot-col ul li { margin-bottom: 10px; }
  footer .foot-col ul li a,
  footer .foot-col a {
    display: inline-block;
    padding: 4px 0;            /* larger tap target without visible bloat */
    min-height: 32px;
  }
  footer .foot-base {
    padding-top: 24px;
    font-size: 12px;
    line-height: 1.6;
  }

  /* ---- 12. Last CTA section before footer (common pattern) ----
     Keeps the Book a demo section tight to the flying Oli and close to footer. */
  .home-page .final-cta,
  .final-cta-section {
    padding-top: 48px;
    padding-bottom: 56px;
  }

  /* ---- 13. Interaction stability ----
     Prevent subtle content-shift when the pricing panel fades on tab switch.
     The fade transitions opacity only — lock min-height to the tallest plan's
     rendered height so content doesn't reflow during the 120ms fade. */
  .pricing-page .pm-panel {
    min-height: 340px;
  }
}

/* ============================================================================
   WALKTHROUGH VIDEO (homepage)
   Click-to-play pattern: button with poster frame + play overlay.
   Clicking swaps in the real YouTube iframe (deferred load, faster TTFB).
   16:9 aspect via modern aspect-ratio; graceful fallback not needed.
   ============================================================================ */

.walkthrough-frame {
  margin-top: 48px;
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: var(--violet-deep);
  /* Subtle border + shadow echoing other product imagery on the site */
  border: 1px solid var(--white-line);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.5);
}

.walkthrough-player {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  margin: 0;
  border: 0;
  background: var(--violet-deep);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.walkthrough-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85; /* slightly darken so play button reads clearly */
  transition: opacity 0.3s ease, transform 0.5s ease;
}

.walkthrough-player:hover .walkthrough-poster {
  opacity: 1;
  transform: scale(1.015);
}

/* Play button — yellow circle, centered, with brand-arch inside */
.walkthrough-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88px;
  height: 88px;
  margin: -44px 0 0 -44px;
  color: var(--yellow);
  display: block;
  pointer-events: none;
  filter: drop-shadow(0 6px 24px rgba(0, 0, 0, 0.45));
  transition: transform 0.25s ease;
}
.walkthrough-play svg {
  width: 100%;
  height: 100%;
  display: block;
}
.walkthrough-player:hover .walkthrough-play {
  transform: scale(1.06);
}
.walkthrough-player:active .walkthrough-play {
  transform: scale(0.98);
}

/* When replaced with iframe, let the iframe fill the same frame */
.walkthrough-frame iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Tablet and mobile tuning */
@media (max-width: 1023px) {
  .walkthrough-frame { margin-top: 40px; }
  .walkthrough-play { width: 76px; height: 76px; margin: -38px 0 0 -38px; }
}
@media (max-width: 640px) {
  .walkthrough-frame {
    margin-top: 28px;
    border-radius: 12px;
    box-shadow: 0 18px 40px -12px rgba(0, 0, 0, 0.5);
  }
  .walkthrough-play { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
}

/* ============================================================
   NEWSLETTER — added v68
   Three patterns, all wired to the same Mailchimp audience:
     1. Footer column on every page (.foot-col-newsletter)
     2. Contact-page section (already inherits .newsletter from homepage)
     3. End-of-post signup card on blog posts (.post-signup)
   ============================================================ */

/* 1. Footer newsletter column.
   The footer grid changes from 4 columns (2fr 1fr 1fr 1fr) to 5
   (2fr 1fr 1fr 1fr 1.6fr). The newsletter column gets slightly more
   width than the link columns because it has a form + button to fit. */
.foot-grid {
  grid-template-columns: 2fr 1fr 1fr 1fr 1.6fr;
}
.foot-col-blurb {
  font-size: 13px;
  color: var(--white-dim);
  line-height: 1.5;
  margin-bottom: 14px;
  max-width: 280px;
}
.foot-newsletter-form {
  display: flex; align-items: stretch;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s, background 0.2s;
  max-width: 320px;
  overflow: hidden;
}
.foot-newsletter-form:focus-within {
  border-color: var(--yellow);
  background: rgba(255,255,255,0.06);
}
.foot-newsletter-form input[type="email"] {
  flex: 1; min-width: 0;
  padding: 10px 14px;
  background: transparent;
  border: none; outline: none;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--white);
}
.foot-newsletter-form input[type="email"]::placeholder {
  color: var(--white-faint);
}
.foot-newsletter-form button {
  flex: 0 0 auto;
  padding: 0 18px;
  border: none; cursor: pointer;
  background: var(--yellow);
  color: var(--violet-deep);
  font-family: var(--sans);
  font-size: 12px; font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.15s;
  white-space: nowrap;
}
.foot-newsletter-form button:hover { background: #fff177; }
.foot-newsletter-form button:focus-visible {
  outline: 2px solid var(--yellow);
  outline-offset: 3px;
}

/* Visually-hidden utility — keeps screen readers happy without showing label */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/* Footer responsive: at <=960px the existing .foot-grid rule already
   sets 2 columns. We make the newsletter column span both so the form
   has room. At <=640px everything stacks anyway. */
@media (max-width: 960px) {
  .foot-col-newsletter {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .foot-newsletter-form { max-width: 420px; }
}

/* 2. Contact page newsletter section inherits .newsletter / .newsletter-form
   styles from the homepage — no extra CSS needed. */

/* 3. Blog post end-of-post signup card.
   Sits between the article body and the footer. Light card on the page
   background (which is paper-light on .insight-page), with a violet-deep
   panel on top. Visually distinct from the article so the reader knows
   the post is over.

   Layout: 1.4fr (copy) + 1fr (form), stacks at <=720px. */
.post-signup {
  padding: 72px 0 96px;
}
.post-signup-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 48px 56px;
  background: var(--violet-deep);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
}
.post-signup-copy .section-label {
  color: var(--yellow);
  margin-bottom: 16px;
}
.post-signup-headline {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.2;
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 400;
}
.post-signup-headline em {
  color: var(--yellow);
  font-style: italic;
}
.post-signup-desc {
  font-size: 14px;
  color: var(--white-dim);
  line-height: 1.55;
  font-family: var(--sans);
}
.post-signup-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.post-signup-form input[type="email"] {
  padding: 12px 16px;
  background: rgba(237, 247, 239, 0.08);
  border: 1px solid var(--white-line);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.post-signup-form input[type="email"]::placeholder {
  color: var(--white-faint);
}
.post-signup-form input[type="email"]:focus {
  border-color: var(--yellow);
}
.post-signup-form button {
  padding: 12px 20px;
  font-size: 13px;
}

@media (max-width: 720px) {
  .post-signup-inner {
    grid-template-columns: 1fr;
    padding: 36px 28px;
    gap: 24px;
  }
  .post-signup-headline { font-size: 24px; }
}
