/* Prospicio — marketing site
   Bone bg, Ink text, Forum Bronze accent (5% rule)
   Display: Instrument Serif (GT Sectra stand-in)
   Body: Inter (Söhne stand-in)
*/

:root {
  /* Foundations */
  --ink: #0B0B0F;
  --bone: #F4F1EA;
  --bronze: #B8864B;

  /* Stones */
  --stone-900: #1A1A1F;
  --stone-700: #3D3D44;
  --stone-500: #86868F;
  --stone-300: #D6D4CE;
  --stone-200: #E8E5DE;

  /* Signal */
  --green: #4A7C5E;
  --amber: #C68A3E;
  --crimson: #9B3D3D;

  /* Type */
  --display: "Instrument Serif", "GT Sectra", Georgia, serif;
  --body: "Inter", "Söhne", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  --bg: var(--bone);
  --fg: var(--ink);
  --accent: var(--bronze);
  --rule: rgba(11, 11, 15, 0.12);
  --rule-soft: rgba(11, 11, 15, 0.07);
  --muted: rgba(11, 11, 15, 0.62);

  /* Display vertical squeeze — Instrument Serif has tall metrics (small
     x-height + long ascenders). scaleY shortens glyphs; we tighten line-height
     by the same factor so line spacing stays in proportion. Width unchanged. */
  --display-y: 0.88;

  /* Motion */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 100ms;
  --t-base: 200ms;
  --t-slow: 300ms;

  /* Grid */
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
}

[data-theme="dark"] {
  --bg: var(--ink);
  --fg: var(--bone);
  --rule: rgba(244, 241, 234, 0.14);
  --rule-soft: rgba(244, 241, 234, 0.07);
  --muted: rgba(244, 241, 234, 0.62);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
  transition: background var(--t-base) var(--ease), color var(--t-base) var(--ease);
}

/* Selection */
::selection { background: var(--bronze); color: var(--bone); }

/* Layout */
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.rule { height: 0.5px; background: var(--rule); border: 0; margin: 0; }
.rule-soft { height: 0.5px; background: var(--rule-soft); border: 0; margin: 0; }

/* Type */
.display {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: calc(1.05 * var(--display-y));
}
.display-1 { font-size: clamp(48px, 8.4vw, 120px); }
.display-2 { font-size: clamp(36px, 5vw, 64px); line-height: calc(1.08 * var(--display-y)); }
.display-3 { font-size: clamp(28px, 3.4vw, 44px); line-height: calc(1.15 * var(--display-y)); letter-spacing: -0.015em; }

/* Apply the vertical squeeze to every Instrument Serif display surface. */
.display-1, .display-2, .display-3,
.hero h1, .editorial, .closing h2,
.step h3, .scenario-title, .belief h4,
.tier-name, .tier-price, .step-num,
.report-card-head h4, .avatar-name, .report-score,
.quote {
  transform: scaleY(var(--display-y));
  transform-origin: left top;
}
.closing h2 { transform-origin: center top; }

.eyebrow {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .bronze {
  color: var(--accent);
  display: inline-block;
  width: 18px;
  height: 0.5px;
  background: var(--accent);
  vertical-align: middle;
  margin-right: 10px;
  margin-bottom: 2px;
}

.lede {
  font-family: var(--body);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.5;
  color: var(--fg);
  font-weight: 400;
  max-width: 56ch;
}

.body { font-size: 16px; line-height: 1.6; color: var(--fg); }
.body-muted { color: var(--muted); }
.body-small { font-size: 14px; line-height: 1.55; color: var(--muted); }

.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; }

em { font-style: italic; }

/* Wordmark */
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.01em;
  position: relative;
  display: inline-block;
  line-height: 1;
  /* Reserve external space for the horizon so layouts don't get pushed. */
  margin-right: 2.5em;
}
.wordmark::after {
  content: "";
  position: absolute;
  background: var(--accent);
  /* "prospicio" in GT Sectra Bold is ~5.6em wide; 1.7em ≈ 30% of wordmark. */
  left: calc(100% + 0.2em);
  bottom: 36%;
  width: 1.7em;
  height: max(1.5px, 0.05em);
  transform-origin: left center;
  transition: transform var(--t-slow) var(--ease);
}
/* Grow rightward on hover (36% ≈ 30% × 1.2). */
.wordmark:hover::after { transform: scaleX(1.2); }

/* Buttons */
.btn {
  appearance: none;
  border: 0;
  background: var(--fg);
  color: var(--bg);
  font-family: var(--body);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  padding: 13px 22px;
  border-radius: 2px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease);
  text-decoration: none;
}
.btn:hover { background: var(--accent); color: var(--bone); }
.btn .arrow { transition: transform var(--t-base) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 0.5px solid var(--rule);
  padding: 12.5px 22px;
}
.btn-ghost:hover { background: transparent; color: var(--accent); border-color: var(--accent); }

.link {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 0.5px solid var(--rule);
  padding-bottom: 1px;
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.link:hover { color: var(--accent); border-color: var(--accent); }

/* Sections */
section { padding: clamp(64px, 9vw, 140px) 0; position: relative; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head .lede { color: var(--muted); }

/* Image placeholder — striped, monospace caption */
.img-placeholder {
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      var(--stone-200) 0 1px,
      transparent 1px 14px
    ),
    var(--bone);
  border: 0.5px solid var(--rule);
  overflow: hidden;
  color: var(--stone-700);
}
[data-theme="dark"] .img-placeholder {
  background:
    repeating-linear-gradient(
      135deg,
      rgba(244,241,234,0.06) 0 1px,
      transparent 1px 14px
    ),
    var(--stone-900);
  color: var(--stone-300);
  border-color: rgba(244,241,234,0.14);
}
.img-placeholder .caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 4px 8px;
  background: var(--bg);
  border: 0.5px solid var(--rule);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 0.5px solid var(--rule-soft);
  transition: background var(--t-base) var(--ease);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 13.5px;
  color: var(--muted);
}
.nav-links a {
  color: inherit;
  text-decoration: none;
  transition: color var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--fg); }
.nav-cta {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 13.5px;
}
.nav-cta a:not(.btn) { color: var(--fg); text-decoration: none; }
.nav-cta .btn { padding: 8.5px 16px; font-size: 13px; }

/* Mobile menu — burger + drawer */
.nav-burger {
  display: none;
  appearance: none;
  background: transparent;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
  position: relative;
  padding: 0;
}
.nav-burger .bar {
  position: absolute;
  left: 10px;
  right: 10px;
  height: 1px;
  background: var(--fg);
  transition: transform var(--t-base) var(--ease), top var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.nav-burger .bar:nth-child(1) { top: 16px; }
.nav-burger .bar:nth-child(2) { top: 23px; }
.nav-burger[aria-expanded="true"] .bar:nth-child(1) {
  top: 19.5px; transform: rotate(45deg);
}
.nav-burger[aria-expanded="true"] .bar:nth-child(2) {
  top: 19.5px; transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  z-index: 49;
  display: flex;
  flex-direction: column;
  padding: clamp(20px, 5vw, 36px) var(--gutter) clamp(28px, 5vw, 48px);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity var(--t-base) var(--ease), transform var(--t-base) var(--ease);
  border-top: 0.5px solid var(--rule);
  overflow-y: auto;
}
.mobile-menu.open {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}
.mobile-menu-list {
  display: flex;
  flex-direction: column;
}
.mobile-menu-list a {
  display: block;
  font-family: var(--display);
  font-weight: 400;
  font-size: 32px;
  letter-spacing: -0.015em;
  color: var(--fg);
  text-decoration: none;
  padding: 18px 0;
  border-bottom: 0.5px solid var(--rule-soft);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-base) var(--ease);
}
.mobile-menu-list a:first-child { border-top: 0.5px solid var(--rule); }
.mobile-menu-list a:hover,
.mobile-menu-list a[aria-current="page"] { color: var(--accent); }
.mobile-menu-list a:hover { padding-left: 8px; }
.mobile-menu-signin {
  margin-top: auto;
  padding-top: 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 0.5px solid var(--accent);
  padding-bottom: 6px;
}
.mobile-menu-signin:hover { color: var(--accent); }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-cta .nav-signin { display: none; }
  .nav-burger { display: block; }
}

/* Hero */
.hero {
  padding-top: clamp(40px, 6vw, 96px);
  padding-bottom: clamp(64px, 9vw, 140px);
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: end;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; }
}
.hero h1 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(56px, 10vw, 144px);
  line-height: calc(0.95 * var(--display-y));
  letter-spacing: -0.025em;
  margin: 0 0 32px 0;
}
.hero h1 em {
  color: var(--accent);
  font-style: normal;
  position: relative;
}
.hero h1 em::after {
  content: "";
  position: absolute;
  left: 0; right: 6%;
  bottom: 8%;
  height: 2px;
  background: var(--accent);
}
.hero .lede { font-size: clamp(18px, 1.5vw, 22px); color: var(--muted); margin-bottom: 36px; }
.hero-meta {
  margin-top: clamp(36px, 5vw, 56px);
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-img {
  aspect-ratio: 4 / 5;
  width: 100%;
}

/* Marquee strip — words we use */
.marquee {
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
  padding: 22px 0;
  overflow: hidden;
}
.marquee-track {
  display: flex;
  gap: 56px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--muted);
}
.marquee-track span em {
  font-style: italic;
  color: var(--accent);
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Editorial passage */
.editorial {
  max-width: 60ch;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(28px, 3.6vw, 48px);
  line-height: calc(1.18 * var(--display-y));
  letter-spacing: -0.015em;
  color: var(--fg);
}
.editorial em { color: var(--accent); font-style: italic; }

.editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: start;
}
@media (max-width: 920px) {
  .editorial-grid { grid-template-columns: 1fr; }
}

/* Scenarios */
.scenarios {
  border-top: 0.5px solid var(--rule);
}
.scenario-list {
  display: grid;
  grid-template-columns: 1fr;
}
.scenario {
  display: grid;
  grid-template-columns: 80px 1.2fr 1.4fr auto;
  gap: clamp(20px, 4vw, 48px);
  align-items: start;
  padding: clamp(32px, 4vw, 48px) 0;
  border-bottom: 0.5px solid var(--rule);
  cursor: pointer;
  transition: padding-left var(--t-base) var(--ease);
}
.scenario:hover { padding-left: 12px; }
.scenario:hover .scenario-title { color: var(--accent); }
.scenario-num {
  font-family: var(--display);
  font-size: 14px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 6px;
}
.scenario-title {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: calc(1.1 * var(--display-y));
  letter-spacing: -0.015em;
  transition: color var(--t-fast) var(--ease);
}
.scenario-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 48ch;
}
.scenario-meta {
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--muted);
  padding-top: 10px;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .scenario {
    grid-template-columns: 40px 1fr;
    gap: 12px;
  }
  .scenario-desc, .scenario-meta { grid-column: 2; }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(24px, 3vw, 40px);
  border-top: 0.5px solid var(--rule);
  padding-top: clamp(40px, 5vw, 72px);
}
@media (max-width: 1080px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}
.step {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.step-num {
  font-family: var(--display);
  font-size: 56px;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  font-family: var(--display);
  font-weight: 400;
  font-size: 28px;
  line-height: calc(1.15 * var(--display-y));
  letter-spacing: -0.015em;
  margin: 0;
}
.step p { color: var(--muted); font-size: 15.5px; line-height: 1.6; margin: 0; max-width: 38ch; }

/* The Opponent — split */
.opponent {
  background: var(--ink);
  color: var(--bone);
  margin-top: clamp(40px, 6vw, 80px);
}
.opponent .section-head .lede { color: rgba(244,241,234,0.62); }
.opponent .eyebrow { color: rgba(244,241,234,0.6); }
.opponent .display-2 { color: var(--bone); }
.opponent-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
@media (max-width: 920px) {
  .opponent-grid { grid-template-columns: 1fr; }
}
.opponent .lede { color: rgba(244,241,234,0.72); }
.opponent ul {
  list-style: none;
  padding: 0;
  margin: 32px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.opponent li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 0.5px solid rgba(244,241,234,0.12);
  font-size: 15.5px;
  color: rgba(244,241,234,0.86);
  line-height: 1.5;
}
.opponent li:first-child { border-top: 0.5px solid rgba(244,241,234,0.2); }
.opponent li::before {
  content: "";
  width: 14px;
  height: 0.5px;
  background: var(--accent);
  margin-top: 12px;
}

/* Avatar mock */
.avatar-card {
  background: var(--stone-900);
  border: 0.5px solid rgba(244,241,234,0.12);
  padding: 28px;
  position: relative;
  aspect-ratio: 4 / 5;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.avatar-portrait {
  flex: 1;
  margin-bottom: 24px;
  position: relative;
  background:
    repeating-linear-gradient(
      135deg,
      rgba(244,241,234,0.04) 0 1px,
      transparent 1px 14px
    ),
    #14141a;
  border: 0.5px solid rgba(244,241,234,0.08);
}
.avatar-portrait::after {
  content: "PORTRAIT · DAVID, 47";
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(244,241,234,0.4);
  background: rgba(11,11,15,0.6);
  padding: 4px 8px;
  border: 0.5px solid rgba(244,241,234,0.1);
}
.avatar-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.avatar-name {
  font-family: var(--display);
  font-size: 26px;
  letter-spacing: -0.015em;
  color: var(--bone);
}
.avatar-role { font-size: 13px; color: rgba(244,241,234,0.55); }
.avatar-tag {
  position: absolute;
  top: 28px;
  right: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.6);
}
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(74,124,94,0.18);
}

/* Report preview */
.report {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 920px) {
  .report { grid-template-columns: 1fr; }
}
.report-card {
  background: var(--bone);
  border: 0.5px solid var(--rule);
  padding: 36px 36px 32px;
  position: relative;
  font-family: var(--body);
  color: var(--ink);
  box-shadow: 0 1px 0 rgba(11,11,15,0.04), 0 30px 60px -30px rgba(11,11,15,0.18);
}
.report-card-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  border-bottom: 0.5px solid rgba(11,11,15,0.12);
  padding-bottom: 18px;
  margin-bottom: 24px;
}
.report-card-head .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(11,11,15,0.5);
}
.report-card-head h4 {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.015em;
  margin: 6px 0 0 0;
  font-weight: 400;
  color: var(--ink);
}
.report-score {
  font-family: var(--display);
  font-weight: 700;
  font-size: 96px;
  line-height: 0.9;
  color: var(--bronze);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.report-score .max {
  font-size: 18px;
  color: rgba(11,11,15,0.4);
  font-weight: 400;
  margin-left: 4px;
  vertical-align: super;
  letter-spacing: 0;
}
.report-rows { display: flex; flex-direction: column; gap: 0; }
.report-row {
  display: grid;
  grid-template-columns: 70px 1fr 48px;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 0.5px solid rgba(11,11,15,0.08);
  align-items: center;
  font-size: 14px;
  color: rgba(11,11,15,0.78);
}
.report-row:last-child { border-bottom: 0; }
.report-row .ts {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(11,11,15,0.45);
  font-variant-numeric: tabular-nums;
}
.report-row .badge {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-align: right;
  color: rgba(11,11,15,0.55);
}
.report-row.crit .badge { color: var(--crimson); }
.report-row.warn .badge { color: var(--amber); }
.report-row.ok .badge { color: var(--green); }
.report-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 0.5px solid rgba(11,11,15,0.12);
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(11,11,15,0.5);
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 0.5px solid var(--rule);
}
@media (max-width: 840px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.tier {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
  transition: background var(--t-base) var(--ease);
}
.tier:hover { background: color-mix(in srgb, var(--bg) 94%, var(--fg) 6%); }
.tier-name {
  font-family: var(--display);
  font-size: 32px;
  letter-spacing: -0.015em;
  font-weight: 400;
}
.tier-price {
  font-family: var(--display);
  font-size: 56px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
}
.tier-price .per {
  font-size: 14px;
  color: var(--muted);
  letter-spacing: 0;
  font-family: var(--body);
  margin-left: 4px;
}
.tier-desc { font-size: 14.5px; color: var(--muted); line-height: 1.55; }
.tier-list {
  list-style: none;
  padding: 0;
  margin: 16px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
  color: var(--fg);
}
.tier-list li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  line-height: 1.5;
}
.tier-list li::before {
  content: "";
  width: 10px;
  height: 0.5px;
  background: var(--muted);
  margin-top: 11px;
}
.tier-cta { margin-top: auto; padding-top: 24px; }
.tier-featured { background: var(--ink); color: var(--bone); }
.tier-featured:hover { background: var(--ink); }
.tier-featured .tier-desc { color: rgba(244,241,234,0.6); }
.tier-featured .tier-list { color: var(--bone); }
.tier-featured .tier-list li::before { background: var(--accent); }
.tier-featured .tier-price .per { color: rgba(244,241,234,0.6); }
.tier-featured .btn { background: var(--accent); color: var(--bone); }
.tier-featured .btn:hover { background: var(--bone); color: var(--ink); }
.tier-featured .tier-flag {
  position: absolute;
  top: 24px;
  right: 24px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Beliefs */
.beliefs {
  background: var(--bone);
  color: var(--ink);
}
[data-theme="dark"] .beliefs { background: var(--stone-900); color: var(--bone); }
.beliefs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px 1px;
  background: var(--rule);
  border-top: 0.5px solid var(--rule);
  border-bottom: 0.5px solid var(--rule);
}
@media (max-width: 760px) { .beliefs-grid { grid-template-columns: 1fr; } }
.belief {
  background: var(--bg);
  padding: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
[data-theme="dark"] .belief { background: var(--stone-900); }
.belief-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
}
.belief h4 {
  font-family: var(--display);
  font-size: clamp(22px, 1.8vw, 26px);
  line-height: calc(1.18 * var(--display-y));
  letter-spacing: -0.01em;
  font-weight: 400;
  margin: 0 0 4px 0;
  max-width: 30ch;
}
.belief p { font-size: 14.5px; line-height: 1.6; color: var(--muted); margin: 0; max-width: 50ch; }

/* Closing */
.closing {
  text-align: center;
  padding: clamp(96px, 14vw, 200px) 0;
  border-top: 0.5px solid var(--rule);
}
.closing h2 {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 180px);
  line-height: calc(0.95 * var(--display-y));
  letter-spacing: -0.03em;
  margin: 0 0 36px 0;
}
.closing h2 em {
  color: var(--accent);
  font-style: normal;
  position: relative;
}
.closing h2 em::after {
  content: "";
  position: absolute;
  left: 0; right: 6%;
  bottom: 10%;
  height: 2.5px;
  background: var(--accent);
}
.closing .lede { margin: 0 auto 40px; color: var(--muted); }

/* Footer */
footer {
  background: var(--ink);
  color: var(--bone);
  padding: 80px 0 40px;
}
footer .container { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 48px; }
@media (max-width: 760px) { footer .container { grid-template-columns: 1fr 1fr; } }
.foot-brand { display: flex; flex-direction: column; gap: 18px; }
.foot-brand .wordmark { font-size: 28px; color: var(--bone); }
.foot-brand p { font-size: 13.5px; color: rgba(244,241,234,0.55); max-width: 28ch; line-height: 1.55; }
.foot-col h5 {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244,241,234,0.45);
  margin: 0 0 18px 0;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col a {
  color: rgba(244,241,234,0.82);
  text-decoration: none;
  font-size: 14px;
  transition: color var(--t-fast) var(--ease);
}
.foot-col a:hover { color: var(--accent); }

.foot-bottom {
  margin-top: 80px;
  padding-top: 24px;
  border-top: 0.5px solid rgba(244,241,234,0.14);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(244,241,234,0.45);
  font-family: var(--mono);
  letter-spacing: 0.04em;
}

/* Loading line (motion principle) */
.load-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform-origin: left;
  animation: load 1.2s var(--ease) forwards;
}
@keyframes load { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* Quote block */
.quote {
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: calc(1.3 * var(--display-y));
  letter-spacing: -0.01em;
  color: var(--fg);
  max-width: 32ch;
  border-left: 0.5px solid var(--accent);
  padding-left: 24px;
}
.quote .attr {
  display: block;
  margin-top: 18px;
  font-family: var(--body);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
