/* ============================================================
   Voitta Enterprise — Quarterly issue design
   Inspired by McKinsey Quarterly Q1 2026 "Radical Reboot"
   Light-mode only. Verified contrast (WCAG AA / AAA).
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght,SOFT@0,9..144,400..900,30;1,9..144,400..900,30&family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- Tokens --- */
:root {
  /* Ink scale */
  --ink:        #051030;     /* deep navy, body bg dark */
  --ink-soft:   #0A1F44;
  --text:       #15192B;     /* body text on white — 16.5:1 */
  --text-mute:  #4A5468;     /* secondary — 7.6:1 */
  --text-dim:   #75808E;     /* tertiary — 4.6:1 */

  /* Paper scale */
  --paper:      #FFFFFF;
  --paper-cool: #F5F7FA;
  --paper-warm: #FBF7F0;     /* very pale cream */
  --rule:       #DDE3EB;
  --rule-soft:  #ECF0F4;

  /* Accents */
  --blue:       #1B6FE3;     /* primary cyan-blue, heading accent  — 5.4:1 on white */
  --blue-deep:  #0F4FB5;     /* deeper for hover/text — 8.5:1 on white */
  --blue-bright:#2E9BF5;     /* bright accent (large text only on white) */
  --sky:        #C8E5F8;     /* tint for backgrounds */
  --sky-pale:   #EAF4FC;

  --gold:       #D89A1A;     /* mustard accent for small ornament */
  --rose:       #C73D5A;     /* warm accent */
  --coral:      #E8554E;

  /* Type */
  --serif:  'Fraunces', 'Tinos', Georgia, serif;
  --sans:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono:   'SF Mono', 'Monaco', 'Menlo', 'Courier New', monospace;
}

/* Force optical-size + soft axis on serif headings so hairlines stay
   readable at every display size. Fraunces opsz: 9 (body, uniform strokes)
   → 144 (display, thinnest hairlines). We pin to ~36 — keeps editorial
   Didone character but gives hairlines screen-survivable weight. */

/* Large display elements — slightly more uniform strokes */
.cover-display,
.capstone-title {
  font-variation-settings: "opsz" 32, "SOFT" 40;
}

/* Mid display — chapter titles, pull quote, dark-bg numbers title */
.chapter-title,
.numbers-title,
.pullquote-text {
  font-variation-settings: "opsz" 36, "SOFT" 35;
}

/* Big numerals — can be slightly thinner since they're huge */
.chapter-num,
.number-figure,
.pullquote-mark {
  font-variation-settings: "opsz" 48, "SOFT" 30;
}

/* Smaller serif headings — most uniform strokes for readability */
.tc-title,
.aside-title,
.contents-title,
.contents-num,
.tc-num,
.mast-logo,
.colophon-mark {
  font-variation-settings: "opsz" 24, "SOFT" 40;
}

/* --- Reset / baseline --- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: var(--blue-deep);
  text-decoration: none;
  transition: color .2s ease;
}
a:hover { color: var(--ink); }

img, svg { display: block; max-width: 100%; }

/* ============================================================
   Layout
   ============================================================ */
.wrap {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
}
.wrap-narrow { max-width: 920px; margin: 0 auto; padding: 0 48px; }
.wrap-wide   { max-width: 1440px; margin: 0 auto; padding: 0 48px; }

.section { padding: 120px 0; position: relative; }
.section-tight { padding: 70px 0; }

/* ============================================================
   Issue masthead bar (top of page)
   ============================================================ */
.masthead {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 100;
}
.masthead-bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 18px 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}
.mast-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}
.mast-meta {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-mute);
  text-align: center;
  white-space: nowrap;
}
.mast-meta .pipe { color: var(--rule); padding: 0 12px; }
.mast-actions {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: center;
}
.mast-nav {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 28px;
}
.mast-nav a {
  font-family: var(--sans);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.mast-nav a:hover { color: var(--ink); }

.btn-cta {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: all .2s ease;
}
.btn-cta:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
  color: var(--paper);
}

/* ============================================================
   Cover / Hero
   ============================================================ */
.cover {
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, var(--sky-pale) 0%, transparent 60%),
    var(--paper);
}

.cover-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 70px;
  align-items: center;
}

.cover-eyebrow {
  display: flex;
  gap: 16px;
  align-items: center;
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: 2.6px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 36px;
}
.cover-eyebrow .dot {
  width: 7px; height: 7px;
  background: var(--blue);
  border-radius: 50%;
  display: inline-block;
}
.cover-eyebrow .pipe { color: var(--rule); }

.cover-display {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(3.4rem, 7.5vw, 6.6rem);
  line-height: 0.96;
  letter-spacing: -0.022em;
  color: var(--ink);
  margin: 0 0 36px;
}
.cover-display .accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 700;
}
.cover-display .stack { display: block; }

.cover-lede {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.55;
  color: var(--text);
  margin: 0 0 44px;
  max-width: 540px;
}
.cover-lede strong { font-weight: 600; color: var(--ink); }

.cover-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn {
  font-family: var(--sans);
  font-size: .92rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 18px 34px;
  border: 1px solid var(--ink);
  text-decoration: none;
  transition: all .2s ease;
  display: inline-block;
}
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: var(--paper); }

.cover-tags {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.cover-tags span { display: flex; align-items: center; gap: 10px; }
.cover-tags span::before {
  content: '';
  width: 22px;
  height: 1px;
  background: var(--blue);
}

/* Hero art — concentric dot rings */
.cover-art {
  position: relative;
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
.cover-art svg { width: 100%; height: 100%; }
.cover-art-tag {
  position: absolute;
  bottom: -8px;
  right: 0;
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ============================================================
   Contents — issue-style mini TOC
   ============================================================ */
.contents {
  background: var(--paper-cool);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 60px 0;
}
.contents-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 60px;
  align-items: start;
}
.contents-label {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  padding-top: 8px;
  position: relative;
}
.contents-label::after {
  content: '';
  display: block;
  width: 36px;
  height: 2px;
  background: var(--blue);
  margin-top: 14px;
}

.contents-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
}
.contents-item {
  padding: 24px 22px 24px 0;
  border-right: 1px solid var(--rule);
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: background .2s ease;
}
.contents-item:hover { background: var(--paper); color: var(--ink); }
.contents-item:last-child { border-right: none; }
.contents-item:not(:first-child) { padding-left: 22px; }

.contents-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--blue);
  letter-spacing: -.02em;
  margin-bottom: 10px;
}
.contents-title {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 6px;
}
.contents-byline {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-mute);
}

/* ============================================================
   Chapter — section opener with ghost numeral + two-column body
   ============================================================ */
.chapter {
  padding: 130px 0 110px;
  position: relative;
}
.chapter-bar {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.chapter-bar .right { color: var(--ink); }

.chapter-opener {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 80px;
}
.chapter-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(8rem, 15vw, 14rem);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.04em;
  position: relative;
}
.chapter-num::after {
  content: '';
  position: absolute;
  top: 0;
  right: -20px;
  bottom: 0;
  width: 1px;
  background: var(--rule);
}

.chapter-opener .content {
  padding-top: 12px;
}
.chapter-overline {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.chapter-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  line-height: 1.05;
  color: var(--ink);
  margin: 0 0 20px;
  letter-spacing: -0.012em;
  max-width: 880px;
}
.chapter-title .accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 700;
}
.chapter-lede {
  font-family: var(--sans);
  font-size: 1.18rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  max-width: 760px;
  margin: 0;
}

/* Three-column article block (3 risks / 3 pillars) */
.three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 2px solid var(--ink);
  margin-top: 40px;
}
.three-col-item {
  padding: 36px 30px 36px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.three-col-item:last-child { border-right: none; padding-right: 0; }
.three-col-item:not(:first-child) { padding-left: 30px; }

.tc-num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--blue);
  margin-bottom: 14px;
  letter-spacing: -.01em;
}
.tc-tag {
  font-family: var(--sans);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-mute);
  margin-bottom: 16px;
  display: block;
}
.tc-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.45rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 14px;
  letter-spacing: -.005em;
}
.tc-body {
  font-family: var(--sans);
  font-size: .98rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 22px;
}
.tc-body strong { color: var(--ink); font-weight: 600; }
.tc-byline {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-mute);
  border-top: 1px solid var(--rule);
  padding-top: 14px;
}

/* ============================================================
   Pull quote — full-bleed editorial moment
   ============================================================ */
.pullquote {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.pullquote::before {
  content: '';
  position: absolute;
  top: 50%;
  left: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue) 0%, transparent 70%);
  transform: translateY(-50%);
  opacity: 0.18;
}
.pullquote::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--blue-bright) 0%, transparent 70%);
  opacity: 0.22;
}
.pullquote-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 48px;
}
.pullquote-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 5rem;
  line-height: 0.5;
  color: var(--blue-bright);
  margin-bottom: 24px;
}
.pullquote-text {
  font-family: var(--serif);
  font-weight: 500;
  font-style: italic;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.25;
  color: var(--paper);
  margin: 0 0 36px;
  letter-spacing: -.005em;
}
.pullquote-text .accent {
  color: var(--blue-bright);
  font-style: italic;
  font-weight: 700;
}
.pullquote-cite {
  font-family: var(--sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky);
}

/* ============================================================
   By the Numbers — dark navy infographic
   ============================================================ */
.numbers {
  background: var(--ink);
  color: var(--paper);
  padding: 110px 0;
}
.numbers-head {
  text-align: center;
  margin-bottom: 70px;
}
.numbers-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--blue-bright);
  padding: 9px 22px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.numbers-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  color: var(--paper);
  margin: 0 auto;
  max-width: 880px;
  letter-spacing: -.015em;
}
.numbers-title .accent { color: var(--blue-bright); font-style: italic; }

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  margin-top: 40px;
}
.number {
  padding: 56px 40px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  text-align: center;
}
.number:last-child { border-right: none; }

.number-label {
  font-family: var(--sans);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 26px;
}
.number-figure {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  font-size: clamp(5rem, 11vw, 9rem);
  line-height: 0.9;
  color: var(--blue-bright);
  letter-spacing: -.04em;
  margin: 0 0 22px;
}
.number-desc {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--paper);
  margin: 0 auto;
  max-width: 280px;
}

/* ============================================================
   Article — long-form editorial with drop cap (Security)
   ============================================================ */
.article {
  background: var(--paper);
  padding: 130px 0;
}

.article-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 80px;
  align-items: start;
}

.article-body {
  font-family: var(--serif);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 400;
  max-width: 660px;
}
.article-body p { margin: 0 0 1.2em; }
.article-body p strong { font-weight: 700; color: var(--ink); }

.dropcap::first-letter {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 5.5rem;
  line-height: 0.85;
  float: left;
  padding: 6px 14px 0 0;
  color: var(--ink);
  font-style: italic;
  font-variation-settings: "opsz" 36, "SOFT" 35;
}

/* Body running text in serif uses the body-optimized opsz so strokes
   are uniform and easy to read. */
.article-body {
  font-variation-settings: "opsz" 14, "SOFT" 50;
}

.article-aside {
  background: var(--paper-cool);
  border-top: 3px solid var(--ink);
  padding: 36px 32px;
  position: sticky;
  top: 100px;
}
.aside-label {
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.aside-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 24px;
  letter-spacing: -.005em;
}
.aside-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.aside-list li {
  padding: 14px 0;
  font-family: var(--sans);
  font-size: .92rem;
  line-height: 1.55;
  color: var(--text);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
}
.aside-list li:first-child { border-top: none; padding-top: 0; }
.aside-list li:last-child { padding-bottom: 0; }
.aside-list .marker {
  font-family: var(--serif);
  font-weight: 700;
  font-style: italic;
  color: var(--blue);
  font-size: 1.1rem;
}
.aside-list strong {
  display: block;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 2px;
}

/* ============================================================
   Use Cases — two main tiles + "any team" footer
   ============================================================ */
.usecase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 50px;
  border-top: 2px solid var(--ink);
  padding-top: 50px;
}

.usecase {
  padding: 0;
}

.uc-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--paper);
  background: var(--ink);
  padding: 8px 16px;
  margin-bottom: 22px;
}
.usecase:nth-child(2) .uc-tag {
  background: var(--blue);
  color: var(--paper);
}

.uc-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  line-height: 1.18;
  color: var(--ink);
  margin: 0 0 18px;
  letter-spacing: -.005em;
  font-variation-settings: "opsz" 28, "SOFT" 35;
}

.uc-body {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 32px;
}

.uc-says {
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.uc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.uc-list li {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink);
  padding: 12px 0 12px 28px;
  border-bottom: 1px solid var(--rule-soft);
  position: relative;
  font-variation-settings: "opsz" 18, "SOFT" 50;
}
.uc-list li:last-child { border-bottom: none; }
.uc-list li::before {
  content: '"';
  position: absolute;
  left: 0;
  top: 8px;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--blue);
}

.usecase-foot {
  margin-top: 64px;
  padding-top: 36px;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 40px;
  align-items: center;
}
.uc-foot-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--ink);
  letter-spacing: -.005em;
  font-variation-settings: "opsz" 24, "SOFT" 40;
}
.uc-foot-body {
  font-family: var(--sans);
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0;
}

/* ============================================================
   Pricing — two-card comparison
   ============================================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 50px;
}

.plan {
  padding: 50px 44px 44px;
  background: var(--paper);
  border: 1px solid var(--rule);
  display: flex;
  flex-direction: column;
  position: relative;
}

.plan-community {
  background: var(--paper-cool);
  border-color: var(--rule);
}

.plan-enterprise {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.plan-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  padding: 7px 14px;
  margin-bottom: 28px;
  align-self: flex-start;
}
.plan-community .plan-tag {
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--ink);
}
.plan-enterprise .plan-tag {
  color: var(--ink);
  background: var(--blue-bright);
}

.plan-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 3.2vw, 2.6rem);
  line-height: 1.05;
  margin: 0 0 24px;
  letter-spacing: -.012em;
  font-variation-settings: "opsz" 32, "SOFT" 35;
}
.plan-community .plan-name { color: var(--ink); }
.plan-enterprise .plan-name { color: var(--paper); }

.plan-price {
  padding: 0 0 26px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 26px;
}
.plan-enterprise .plan-price { border-bottom-color: rgba(255, 255, 255, 0.18); }

.plan-amount {
  display: block;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 2.4rem;
  line-height: 1;
  letter-spacing: -.02em;
  font-variation-settings: "opsz" 36, "SOFT" 35;
  margin-bottom: 8px;
}
.plan-community .plan-amount { color: var(--ink); }
.plan-enterprise .plan-amount { color: var(--blue-bright); font-style: italic; }

.plan-amount-note {
  display: block;
  font-family: var(--sans);
  font-size: .85rem;
  color: var(--text-mute);
  letter-spacing: 0.2px;
}
.plan-enterprise .plan-amount-note { color: var(--sky); }

.plan-lede {
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 26px;
}
.plan-community .plan-lede { color: var(--text); }
.plan-enterprise .plan-lede { color: var(--paper); opacity: 0.85; }

.plan-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px;
  flex-grow: 1;
}
.plan-list li {
  font-family: var(--sans);
  font-size: .96rem;
  line-height: 1.5;
  padding: 11px 0 11px 26px;
  position: relative;
}
.plan-community .plan-list li { color: var(--text); border-bottom: 1px solid var(--rule); }
.plan-enterprise .plan-list li { color: var(--paper); border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.plan-list li:last-child { border-bottom: none; }

.plan-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18px;
  width: 14px;
  height: 1px;
  background: var(--blue);
}
.plan-enterprise .plan-list li::before { background: var(--blue-bright); }

.plan-list li strong {
  font-weight: 600;
}
.plan-community .plan-list li strong { color: var(--ink); }
.plan-enterprise .plan-list li strong { color: var(--blue-bright); }

.plan-cta {
  display: inline-block;
  font-family: var(--sans);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 18px 30px;
  text-align: center;
  text-decoration: none;
  transition: all .2s ease;
  align-self: stretch;
}

.plan-cta-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}
.plan-cta-ghost:hover {
  background: var(--ink);
  color: var(--paper);
}

.plan-cta-primary {
  background: var(--blue-bright);
  color: var(--ink);
  border: 1px solid var(--blue-bright);
}
.plan-cta-primary:hover {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}

/* ============================================================
   Capstone — closing CTA in editorial style
   ============================================================ */
.capstone {
  background:
    radial-gradient(ellipse at 30% 20%, var(--sky-pale) 0%, transparent 55%),
    var(--paper);
  padding: 130px 0 140px;
  border-top: 1px solid var(--rule);
}
.capstone-inner {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.capstone-tag {
  display: inline-block;
  font-family: var(--sans);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 9px 20px;
  margin-bottom: 32px;
}
.capstone-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.6vw, 4.8rem);
  line-height: 1.02;
  color: var(--ink);
  margin: 0 0 32px;
  letter-spacing: -0.025em;
}
.capstone-title .accent {
  color: var(--blue);
  font-style: italic;
  font-weight: 700;
}
.capstone-lede {
  font-family: var(--sans);
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text);
  margin: 0 auto 50px;
  max-width: 640px;
}

.btn-large {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 22px 50px;
  background: var(--ink);
  color: var(--paper);
  border: 1px solid var(--ink);
  display: inline-block;
  text-decoration: none;
  transition: all .2s ease;
}
.btn-large:hover {
  background: var(--blue-deep);
  border-color: var(--blue-deep);
}

.capstone-note {
  margin-top: 32px;
  font-family: var(--sans);
  font-size: .92rem;
  color: var(--text-mute);
}
.capstone-note a {
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  font-weight: 500;
}

/* ============================================================
   Footer
   ============================================================ */
footer.colophon {
  background: var(--paper);
  border-top: 1px solid var(--rule);
  padding: 50px 0 60px;
}
.colophon-row {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}
.colophon-mark {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--ink);
  line-height: 1;
}
.colophon-meta {
  font-family: var(--sans);
  font-size: .78rem;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--text-mute);
}
.colophon-meta .pipe { color: var(--rule); padding: 0 12px; }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .contents-list { grid-template-columns: repeat(2, 1fr); }
  .contents-item:nth-child(2n) { border-right: none; }
  .contents-item:nth-child(n+3) {
    border-top: 1px solid var(--rule);
  }
}

@media (max-width: 900px) {
  .wrap, .wrap-narrow, .wrap-wide { padding: 0 24px; }
  .masthead-bar { padding: 16px 24px; grid-template-columns: 1fr auto; }
  .masthead-bar .mast-meta { display: none; }
  .mast-nav { display: none; }
  .section { padding: 70px 0; }
  .cover { padding: 50px 0 70px; }
  .cover-grid { grid-template-columns: 1fr; gap: 50px; }
  .contents-row { grid-template-columns: 1fr; gap: 24px; }
  .contents-list { grid-template-columns: 1fr; }
  .contents-item { border-right: none; border-top: 1px solid var(--rule); padding: 22px 0; }
  .contents-item:first-child { border-top: none; }
  .contents-item:not(:first-child) { padding-left: 0; }
  .chapter { padding: 80px 0; }
  .chapter-opener { grid-template-columns: 1fr; gap: 24px; }
  .chapter-num::after { display: none; }
  .three-col { grid-template-columns: 1fr; }
  .three-col-item { border-right: none; border-bottom: 1px solid var(--rule); padding: 28px 0; }
  .three-col-item:last-child { border-bottom: none; }
  .three-col-item:not(:first-child) { padding-left: 0; }
  .pullquote { padding: 70px 0; }
  .pullquote-inner { padding: 0 24px; }
  .numbers { padding: 70px 0; }
  .numbers-grid { grid-template-columns: 1fr; }
  .number { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.18); padding: 40px 24px; }
  .number:last-child { border-bottom: none; }
  .article { padding: 70px 0; }
  .article-grid { grid-template-columns: 1fr; gap: 40px; }
  .article-aside { position: relative; top: auto; }
  .usecase-grid { grid-template-columns: 1fr; gap: 50px; }
  .usecase-foot { grid-template-columns: 1fr; gap: 16px; }
  .pricing-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan { padding: 36px 28px 32px; }
  .capstone { padding: 80px 0 90px; }
  .colophon-row { grid-template-columns: 1fr; padding: 0 24px; gap: 12px; }
}
