/* ═══════════════════════════════════════════════════════
   Forge — CSS Token System & Component Styles
   3 accents × 2 themes = 6 moods
   @property registrations enable smooth color transitions
   ═══════════════════════════════════════════════════════ */

/* ═══ @property registrations ═══ */
@property --bg { syntax: '<color>'; inherits: true; initial-value: #0A0908; }
@property --bg-warm { syntax: '<color>'; inherits: true; initial-value: #0E0C0A; }
@property --panel { syntax: '<color>'; inherits: true; initial-value: #141210; }
@property --fg { syntax: '<color>'; inherits: true; initial-value: #EDE8E0; }
@property --fg-dim { syntax: '<color>'; inherits: true; initial-value: #9E978D; }
@property --fg-faint { syntax: '<color>'; inherits: true; initial-value: #7C766E; }
@property --gold { syntax: '<color>'; inherits: true; initial-value: #C8963E; }
@property --gold-dim { syntax: '<color>'; inherits: true; initial-value: rgba(200,150,62,0.25); }
@property --gold-glow { syntax: '<color>'; inherits: true; initial-value: rgba(200,150,62,0.08); }
@property --border-subtle { syntax: '<color>'; inherits: true; initial-value: rgba(94,85,78,0.3); }
@property --border-faint { syntax: '<color>'; inherits: true; initial-value: rgba(94,85,78,0.2); }
@property --score-high { syntax: '<color>'; inherits: true; initial-value: #4ADE80; }
@property --score-mid { syntax: '<color>'; inherits: true; initial-value: #FBBF24; }
@property --score-low { syntax: '<color>'; inherits: true; initial-value: #EF4444; }

/* ═══ Mood tokens ═══ */
:root, [data-mood="au"] {
  --bg: #0A0908; --bg-warm: #0E0C0A; --panel: #141210;
  --fg: #EDE8E0; --fg-dim: #9E978D; --fg-faint: #7C766E;
  --gold: #C8963E; --gold-dim: rgba(200,150,62,0.25); --gold-glow: rgba(200,150,62,0.08);
  --border-subtle: rgba(94,85,78,0.3); --border-faint: rgba(94,85,78,0.2);
  --score-high: #4ADE80; --score-mid: #FBBF24; --score-low: #EF4444;
}
[data-mood="salt"] {
  --bg: #EDE8E0; --bg-warm: #E5DFD5; --panel: #DEDAD2;
  --fg: #0A0908; --fg-dim: #4A4540; --fg-faint: #8A857E;
  --gold: #9A7030; --gold-dim: rgba(154,112,48,0.20); --gold-glow: rgba(154,112,48,0.10);
  --border-subtle: rgba(10,9,8,0.12); --border-faint: rgba(10,9,8,0.08);
  --score-high: #16A34A; --score-mid: #CA8A04; --score-low: #DC2626;
}
[data-mood="midnight"] {
  --bg: #0A0E1A; --bg-warm: #0E1220; --panel: #131828;
  --fg: #D0D8E8; --fg-dim: #7888A0; --fg-faint: #596880;
  --gold: #5B8DEF; --gold-dim: rgba(91,141,239,0.20); --gold-glow: rgba(91,141,239,0.08);
  --border-subtle: rgba(58,70,96,0.4); --border-faint: rgba(58,70,96,0.25);
  --score-high: #4ADE80; --score-mid: #FBBF24; --score-low: #EF4444;
}
[data-mood="frost"] {
  --bg: #E4E8F0; --bg-warm: #DCE2EC; --panel: #D4DAE6;
  --fg: #0A0E1A; --fg-dim: #3A4660; --fg-faint: #6E7C90;
  --gold: #3A5FBF; --gold-dim: rgba(58,95,191,0.18); --gold-glow: rgba(58,95,191,0.08);
  --border-subtle: rgba(10,14,26,0.12); --border-faint: rgba(10,14,26,0.08);
  --score-high: #16A34A; --score-mid: #CA8A04; --score-low: #DC2626;
}
[data-mood="forge"] {
  --bg: #0D0806; --bg-warm: #120A06; --panel: #1A0E08;
  --fg: #E8D8C8; --fg-dim: #A08A70; --fg-faint: #7D6A54;
  --gold: #E85020; --gold-dim: rgba(232,80,32,0.20); --gold-glow: rgba(232,80,32,0.08);
  --border-subtle: rgba(90,74,56,0.3); --border-faint: rgba(90,74,56,0.2);
  --score-high: #4ADE80; --score-mid: #FBBF24; --score-low: #F43F5E;
}
[data-mood="hearth"] {
  --bg: #F0E8E0; --bg-warm: #EAE0D5; --panel: #E2D8CC;
  --fg: #0D0806; --fg-dim: #5A4A38; --fg-faint: #9A8A72;
  --gold: #C04018; --gold-dim: rgba(192,64,24,0.18); --gold-glow: rgba(192,64,24,0.08);
  --border-subtle: rgba(13,8,6,0.12); --border-faint: rgba(13,8,6,0.08);
  --score-high: #16A34A; --score-mid: #CA8A04; --score-low: #BE123C;
}

/* ═══ Reset & Base ═══ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  transition: background 0.01s;
}
::selection { background: var(--gold-dim); color: var(--fg); }
a { color: inherit; text-decoration: none; }
button { font: inherit; border: none; background: none; cursor: pointer; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }

/* Snap transitions during JS animation */
html.mood-snap, html.mood-snap * { transition-duration: 0s !important; }

/* ═══ Typography ═══ */
.font-serif { font-family: 'Instrument Serif', Georgia, serif; }
.font-mono { font-family: 'DM Mono', 'SF Mono', monospace; }
.italic { font-style: italic; }
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

/* ═══ Layout ═══ */
.container { max-width: 80rem; margin: 0 auto; padding: 0 2rem; }
.container--narrow { max-width: 64rem; margin: 0 auto; padding: 0 2rem; }

/* ═══ Skip Link ═══ */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 10000;
  padding: 0.5rem 1rem; background: var(--gold); color: var(--bg);
  font-weight: 700; font-size: 0.875rem;
}
.skip-link:focus { left: 0.5rem; top: 0.5rem; }

/* ═══ Header ═══ */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
}
.header__inner {
  max-width: 80rem; margin: 0 auto; padding: 0 2rem;
  height: 5rem; display: flex; align-items: center; justify-content: space-between;
}
.header__nav {
  display: flex; align-items: center; gap: 2.5rem;
}
.header__nav a {
  font-family: 'DM Mono', monospace; font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fg-dim); transition: color 0.2s;
}
.header__nav a:hover { color: var(--gold); }
.header__cta {
  background: var(--gold); color: var(--bg);
  padding: 0.625rem 1.5rem; border-radius: 8px;
  font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.15em;
  transition: filter 0.2s;
}
.header__cta:hover { filter: brightness(1.1); }
.header__burger {
  display: none; color: var(--fg-dim);
  width: 2.5rem; height: 2.5rem;
  align-items: center; justify-content: center;
}

/* ═══ Logo Crossfade ═══ */
.logo__mark {
  display: inline-flex; align-items: baseline; cursor: pointer; gap: 0;
}
.logo__bracket {
  font-family: 'DM Sans', sans-serif; font-weight: 300;
  color: var(--fg-dim); font-size: 1.875rem; line-height: 1;
}
.logo__text {
  position: relative; display: inline-block;
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 1.875rem; color: var(--fg); line-height: 1;
}
.logo__short {
  position: absolute; left: 0; top: 0;
  opacity: 0; pointer-events: none; white-space: nowrap;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.logo__full {
  display: inline-block; opacity: 1;
  overflow: hidden; white-space: nowrap; max-width: 10em;
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
              max-width 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
html.logo-collapsed .logo__short { opacity: 1; pointer-events: auto; }
html.logo-collapsed .logo__full { opacity: 0; pointer-events: none; max-width: 1.1em; }
html.logo-collapsed .logo__mark:hover .logo__short { opacity: 0; pointer-events: none; }
html.logo-collapsed .logo__mark:hover .logo__full { opacity: 1; max-width: 10em; }

/* ═══ Hero ═══ */
.hero {
  position: relative; overflow: hidden;
  max-width: 80rem; margin: 0 auto; padding: 6rem 2rem;
}
.hero__content, .hero__chart { position: relative; z-index: 1; }
.hero__content { display: flex; flex-direction: column; gap: 3rem; }
.hero__badge { display: inline-flex; align-items: center; gap: 1rem; }
.hero__badge-line { width: 2rem; height: 1px; background: var(--gold); }
.hero__badge-text {
  color: var(--gold); font-family: 'DM Mono', monospace;
  font-size: 0.625rem; letter-spacing: 0.4em;
  text-transform: uppercase; font-weight: 700;
}
.hero__title {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem; line-height: 0.85; letter-spacing: -0.02em;
}
.hero__title .accent {
  color: var(--gold); font-style: italic;
  text-shadow: 0 0 20px var(--gold-dim);
}
.hero__subtitle {
  font-family: 'Instrument Serif', serif; font-style: italic;
  font-size: 1.875rem; color: var(--fg-dim); line-height: 1.2;
}
.hero__body {
  color: var(--fg-dim); font-size: 1.25rem; max-width: 32rem;
  line-height: 1.6; font-weight: 300;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 1.5rem; padding-top: 1rem; }
.btn-primary {
  background: var(--gold); color: var(--bg);
  padding: 1.25rem 3rem; border-radius: 8px;
  font-weight: 700; font-size: 1.125rem;
  transition: filter 0.2s;
  box-shadow: 0 10px 40px var(--gold-dim);
}
.btn-primary:hover { filter: brightness(1.1); }
.btn-ghost {
  border: 1px solid var(--border-subtle); color: var(--fg);
  padding: 1.25rem 3rem; border-radius: 8px;
  font-weight: 700; font-size: 1.125rem;
  transition: background 0.2s;
}
.btn-ghost:hover { background: var(--panel); }

/* ═══ Convergence Arc Chart ═══ */
.hero__chart {
  background: var(--panel); border: 1px solid var(--border-subtle);
  padding: 3rem; border-radius: 8px; position: relative; overflow: hidden;
  background-image: radial-gradient(circle at top right, var(--gold-glow), transparent),
                    linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--panel) 50%, transparent) 100%);
}
.chart__header {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 5rem; position: relative; z-index: 1;
}
.chart__title {
  font-family: 'Instrument Serif', serif; font-size: 1.875rem; font-style: italic;
}
.chart__subtitle {
  color: var(--fg-dim); font-family: 'DM Mono', monospace;
  font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.2em; margin-top: 0.5rem;
}
.chart__badge {
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  border: 1px solid var(--border-subtle);
  padding: 0.375rem 1rem; border-radius: 8px;
  font-family: 'DM Mono', monospace; font-size: 0.5625rem;
  color: var(--fg-dim); letter-spacing: 0.2em; text-transform: uppercase;
}
.chart__label {
  display: block; text-align: center;
  font-family: 'DM Mono', monospace; font-size: 0.6875rem;
  color: var(--fg-faint); margin-bottom: 1rem;
}
.chart__area {
  position: relative; height: 20rem;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1rem; padding: 0 0.5rem;
}
.chart__threshold {
  position: absolute; top: 15%; left: 0; right: 0;
  border-top: 1px dashed color-mix(in srgb, var(--gold) 20%, transparent);
  z-index: 0; display: flex; align-items: center;
  justify-content: flex-end; padding-right: 0.5rem;
}
.chart__threshold-label {
  font-family: 'DM Mono', monospace; font-size: 0.5625rem;
  color: color-mix(in srgb, var(--gold) 40%, transparent);
  margin-top: -1.25rem; background: var(--panel);
  padding: 0 0.5rem; letter-spacing: 0.2em; text-transform: uppercase;
}

/* Bars */
.bar {
  flex: 1; display: flex; flex-direction: column;
  align-items: center; gap: 1.25rem; z-index: 1;
}
.bar__score {
  font-family: 'DM Mono', monospace; font-size: 0.875rem;
  opacity: 0.6; transition: opacity 0.2s;
}
.bar:hover .bar__score { opacity: 1; }
.bar__fill {
  width: 100%; max-width: 56px; transition: background 0.3s;
}
.bar__label {
  font-family: 'DM Mono', monospace; font-size: 0.625rem;
  color: var(--fg-dim); letter-spacing: 0.2em; text-transform: uppercase;
}
/* Bar score colors */
.bar--danger .bar__score { color: var(--score-low); }
.bar--danger .bar__fill {
  background: color-mix(in srgb, var(--score-low) 5%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--score-low) 40%, transparent);
}
.bar--danger:hover .bar__fill { background: color-mix(in srgb, var(--score-low) 20%, transparent); }
.bar--warning .bar__score { color: var(--score-mid); }
.bar--warning .bar__fill {
  background: color-mix(in srgb, var(--score-mid) 5%, transparent);
  border-top: 1px solid color-mix(in srgb, var(--score-mid) 40%, transparent);
}
.bar--warning:hover .bar__fill { background: color-mix(in srgb, var(--score-mid) 20%, transparent); }
.bar--success .bar__score {
  color: var(--score-high); font-weight: 700; font-size: 1rem;
  filter: drop-shadow(0 0 10px color-mix(in srgb, var(--score-high) 50%, transparent));
}
.bar--success .bar__fill {
  background: color-mix(in srgb, var(--score-high) 20%, transparent);
  border-top: 2px solid var(--score-high);
  box-shadow: 0 0 40px color-mix(in srgb, var(--score-high) 10%, transparent);
}
.bar--success:hover .bar__fill { background: color-mix(in srgb, var(--score-high) 30%, transparent); }
.bar--success .bar__label { color: var(--fg); font-weight: 700; }

/* ═══ Trust Strip ═══ */
.trust-strip {
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background: color-mix(in srgb, var(--bg) 50%, transparent);
}
.trust-strip__inner {
  max-width: 80rem; margin: 0 auto; padding: 2.5rem 2rem;
  display: flex; flex-wrap: wrap; justify-content: space-between;
  align-items: center; gap: 2rem;
}
.trust-strip__item {
  display: flex; align-items: center; gap: 1rem;
  font-family: 'DM Mono', monospace; font-size: 0.625rem;
  letter-spacing: 0.3em; color: var(--fg-dim); text-transform: uppercase;
}
.trust-strip__dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--gold) 40%, transparent);
}
.trust-strip__divider {
  width: 1px; height: 1.5rem; background: var(--border-subtle);
  display: none;
}

/* ═══ How It Works (Steps) ═══ */
.steps { max-width: 80rem; margin: 0 auto; padding: 8rem 2rem; }
.steps__grid {
  display: grid; grid-template-columns: 1fr;
  gap: 1px; background: var(--border-subtle);
  border: 1px solid var(--border-subtle); border-radius: 8px; overflow: hidden;
}
.step-card {
  background: var(--panel); padding: 3rem; transition: background 0.2s;
}
.step-number {
  font-family: 'DM Mono', monospace; font-size: 3rem;
  color: color-mix(in srgb, var(--gold) 20%, transparent);
  margin-bottom: 2.5rem; transition: color 0.5s, transform 0.5s;
}
.step-card:hover .step-number {
  color: var(--gold); transform: translateY(-4px);
}
.step-card h3 {
  font-size: 1.25rem; font-weight: 700; margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}
.step-card p {
  color: var(--fg-dim); font-size: 0.875rem; line-height: 1.6; font-weight: 300;
}

/* ═══ 5 Layers ═══ */
.layers {
  background: var(--panel); padding: 8rem 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.layers__inner { max-width: 64rem; margin: 0 auto; padding: 0 2rem; }
.layers__header { text-align: center; margin-bottom: 6rem; }
.layers__title {
  font-family: 'Instrument Serif', serif; font-size: 3.75rem;
  font-style: italic; letter-spacing: -0.02em; margin-bottom: 2rem;
}
.layers__subtitle {
  color: var(--fg-dim); font-family: 'DM Mono', monospace;
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.3em;
}
.layers__list { display: flex; flex-direction: column; gap: 1rem; }

/* Layer row stagger reveal */
.layer-row {
  background: var(--bg); border: 1px solid var(--border-subtle);
  padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  transition: background 0.2s, border-color 0.2s, opacity 0.5s ease, transform 0.5s ease;
  cursor: default;
  opacity: 0; transform: translateY(20px);
}
.layer-row.visible { opacity: 1; transform: translateY(0); }
.layer-row:nth-child(2) { transition-delay: 0.08s; }
.layer-row:nth-child(3) { transition-delay: 0.16s; }
.layer-row:nth-child(4) { transition-delay: 0.24s; }
.layer-row:nth-child(5) { transition-delay: 0.32s; }
.layer-row:hover {
  background: var(--bg-warm);
  border-color: color-mix(in srgb, var(--gold) 30%, transparent);
}
.layer-row__left { display: flex; align-items: center; gap: 2rem; }
.layer-row__label {
  font-family: 'DM Mono', monospace;
  color: color-mix(in srgb, var(--gold) 40%, transparent);
  font-size: 0.75rem; letter-spacing: 0.2em;
}
.layer-row__name {
  font-weight: 700; font-size: 1.25rem; margin-bottom: 0.375rem;
  letter-spacing: -0.02em;
}
.layer-row__desc {
  color: var(--fg-dim); font-size: 0.875rem; font-weight: 300;
}
.layer-row__right { display: flex; align-items: center; gap: 2.5rem; }
.layer-row__health { text-align: right; display: none; }
.layer-row__health-label {
  font-family: 'DM Mono', monospace; font-size: 0.5625rem;
  color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.2em;
  margin-bottom: 0.25rem;
}
.layer-row__health-value {
  font-family: 'DM Mono', monospace; font-weight: 700; font-size: 1.5rem;
}
.score-high { color: var(--score-high); }
.score-mid { color: var(--score-mid); }
.score-low { color: var(--score-low); }

/* SVG ring gauges */
.gauge { width: 4rem; height: 4rem; transform: rotate(-90deg); }
.gauge__track { fill: none; stroke: var(--border-subtle); stroke-width: 3; }
.gauge__fill { fill: none; stroke-width: 3; stroke-linecap: round; }
.gauge__fill--high { stroke: var(--score-high); }
.gauge__fill--mid { stroke: var(--score-mid); }
.gauge__fill--low { stroke: var(--score-low); }

/* ═══ Before / After (Proof) ═══ */
.proof { max-width: 80rem; margin: 0 auto; padding: 8rem 2rem; }
.proof__card {
  background: var(--panel); border: 1px solid var(--border-subtle);
  border-radius: 8px; overflow: hidden;
  display: grid; grid-template-columns: 1fr;
  box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.proof__before, .proof__after { padding: 3rem; position: relative; }
.proof__before {
  border-bottom: 1px solid var(--border-subtle);
}
.proof__after {
  background: color-mix(in srgb, var(--gold) 2%, var(--panel));
}
.proof__label {
  position: absolute; top: 2.5rem; right: 2.5rem;
  font-family: 'DM Mono', monospace; font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.4em;
}
.proof__before .proof__label { color: var(--fg-dim); }
.proof__after .proof__label { color: var(--gold); }
.proof__score {
  font-family: 'DM Mono', monospace; font-size: 3.75rem;
  font-style: italic; margin-bottom: 1rem;
}
.proof__heading {
  font-family: 'Instrument Serif', serif; font-size: 3rem;
  font-style: italic; letter-spacing: -0.02em; margin-bottom: 3rem;
}
.proof__tags { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.proof__tag {
  padding: 0.5rem 1rem; font-size: 0.625rem; font-weight: 700;
  border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.2em;
}
.proof__tag--danger {
  background: color-mix(in srgb, var(--score-low) 5%, transparent);
  color: var(--score-low);
  border: 1px solid color-mix(in srgb, var(--score-low) 20%, transparent);
}
.proof__tag--success {
  background: color-mix(in srgb, var(--score-high) 5%, transparent);
  color: var(--score-high);
  border: 1px solid color-mix(in srgb, var(--score-high) 20%, transparent);
}
.proof__quote {
  margin-top: 5rem; padding: 2.5rem;
  background: color-mix(in srgb, var(--bg) 40%, transparent);
  border: 1px solid var(--border-subtle); border-radius: 8px;
}
.proof__after .proof__quote { border-color: color-mix(in srgb, var(--gold) 20%, transparent); }
.proof__quote p {
  font-size: 1.125rem; font-style: italic; font-weight: 300; line-height: 1.6;
}
.proof__before .proof__quote p { color: var(--fg-dim); }
.proof__divider {
  position: absolute; top: 50%; left: 0;
  transform: translate(-50%, -50%);
  width: 4rem; height: 4rem;
  background: var(--bg); border: 1px solid var(--border-subtle);
  border-radius: 50%; display: none;
  align-items: center; justify-content: center;
  color: var(--gold); z-index: 10;
  box-shadow: 0 0 30px rgba(0,0,0,0.8);
}
.proof__divider .material-symbols-outlined { font-size: 2.25rem; }

/* ═══ Pricing ═══ */
.pricing { max-width: 72rem; margin: 0 auto; padding: 8rem 2rem; }
.pricing__header { text-align: center; margin-bottom: 6rem; }
.pricing__title {
  font-family: 'Instrument Serif', serif; font-size: 3.75rem;
  font-style: italic; letter-spacing: -0.02em; margin-bottom: 2rem;
}
.pricing__subtitle {
  color: var(--fg-dim); font-family: 'DM Mono', monospace;
  font-size: 0.625rem; text-transform: uppercase; letter-spacing: 0.3em;
}
.pricing__grid {
  display: grid; grid-template-columns: 1fr; gap: 2rem; align-items: end;
}
.pricing-card {
  background: var(--panel); border: 1px solid var(--border-subtle);
  padding: 3rem; border-radius: 8px; transition: border-color 0.2s;
}
.pricing-card:hover { border-color: color-mix(in srgb, var(--fg-dim) 30%, transparent); }
.pricing-card--featured {
  border: 2px solid var(--gold); position: relative;
  box-shadow: 0 30px 100px color-mix(in srgb, var(--gold) 10%, transparent);
}
.pricing-card__badge {
  position: absolute; top: -1rem; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--bg);
  font-size: 0.625rem; font-weight: 700; padding: 0.5rem 1.25rem;
  border-radius: 9999px; text-transform: uppercase; letter-spacing: 0.2em;
  white-space: nowrap;
}
.pricing-card__tier {
  font-family: 'DM Mono', monospace; font-size: 0.625rem;
  text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--fg-dim); margin-bottom: 2.5rem;
}
.pricing-card--featured .pricing-card__tier { color: var(--gold); }
.pricing-card__price {
  margin-bottom: 3rem;
}
.pricing-card__amount {
  font-family: 'Instrument Serif', serif; font-size: 3.75rem;
  letter-spacing: -0.02em; font-style: italic;
}
.pricing-card--featured .pricing-card__amount { font-size: 4.5rem; }
.pricing-card__period {
  font-family: 'DM Mono', monospace; font-size: 0.75rem;
  color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.2em;
  margin-left: 0.5rem;
}
.pricing-card__features { margin-bottom: 3rem; }
.pricing-card__features li {
  display: flex; align-items: center; gap: 1rem;
  font-size: 0.875rem; font-weight: 300; padding: 0.75rem 0;
}
.pricing-card__features li .material-symbols-outlined {
  color: var(--gold); font-size: 1.25rem;
}
.pricing-card .pricing-card__features li { color: var(--fg-dim); }
.pricing-card--featured .pricing-card__features li { color: var(--fg); }
.pricing-card__btn {
  width: 100%; padding: 1rem; border-radius: 8px;
  font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.2em; font-size: 0.625rem; transition: all 0.2s;
}
.pricing-card__btn--outline {
  border: 1px solid var(--border-subtle); color: var(--fg);
}
.pricing-card__btn--outline:hover { background: var(--bg); }
.pricing-card__btn--primary {
  background: var(--gold); color: var(--bg);
  box-shadow: 0 4px 16px var(--gold-dim);
}
.pricing-card__btn--primary:hover { filter: brightness(1.1); }
.pricing__compare {
  text-align: center; margin-top: 4rem;
}
.pricing__compare a {
  color: var(--gold); font-size: 0.625rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  border-bottom: 1px solid color-mix(in srgb, var(--gold) 20%, transparent);
  padding-bottom: 0.375rem; transition: border-color 0.2s;
}
.pricing__compare a:hover { border-bottom-color: var(--gold); }

/* ═══ Final CTA ═══ */
.final-cta {
  background: var(--bg); padding: 10rem 2rem; text-align: center;
  border-top: 1px solid var(--border-subtle); position: relative; overflow: hidden;
}
.final-cta::before {
  content: ''; position: absolute; inset: 0;
  background: color-mix(in srgb, var(--gold) 2%, transparent);
  pointer-events: none;
}
.final-cta__inner { max-width: 64rem; margin: 0 auto; position: relative; z-index: 1; }
.final-cta__title {
  font-family: 'Instrument Serif', serif; font-size: 5rem;
  font-style: italic; letter-spacing: -0.02em; line-height: 0.8;
  margin-bottom: 3rem;
}
.final-cta__body {
  color: var(--fg-dim); font-size: 1.25rem; line-height: 1.6;
  max-width: 48rem; margin: 0 auto 4rem; font-weight: 300;
}
.final-cta .btn-primary {
  padding: 1.5rem 5rem; font-size: 1.25rem;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--gold) 30%, transparent);
}
.final-cta__note {
  margin-top: 3rem; font-family: 'DM Mono', monospace;
  font-size: 0.625rem; color: var(--fg-dim);
  text-transform: uppercase; letter-spacing: 0.5em;
}

/* ═══ Footer ═══ */
.site-footer {
  background: var(--bg); border-top: 1px solid var(--border-subtle);
  padding: 8rem 0;
}
.footer__inner {
  max-width: 80rem; margin: 0 auto; padding: 0 2rem;
}
.footer__top {
  display: flex; flex-direction: column; gap: 5rem;
}
.footer__brand { max-width: 28rem; }
.footer__mark {
  font-family: 'Instrument Serif', serif; font-size: 3rem;
  font-style: italic; letter-spacing: -0.02em;
  margin-bottom: 2rem; cursor: pointer;
}
.footer__desc {
  color: var(--fg-dim); font-size: 1.125rem; line-height: 1.6; font-weight: 300;
}
.footer__links {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 4rem;
}
.footer__col h5 {
  font-family: 'DM Mono', monospace; color: var(--gold);
  font-size: 0.625rem; text-transform: uppercase;
  letter-spacing: 0.3em; font-weight: 700; margin-bottom: 2rem;
}
.footer__col li { padding: 0.5rem 0; }
.footer__col a {
  color: var(--fg-dim); font-size: 0.875rem; font-weight: 300;
  transition: color 0.2s;
}
.footer__col a:hover { color: var(--fg); }
.footer__bottom {
  margin-top: 8rem; padding-top: 3rem;
  border-top: 1px solid var(--border-faint);
  display: flex; flex-direction: column; gap: 2.5rem; align-items: center;
}
.footer__copyright {
  font-family: 'DM Mono', monospace; font-size: 0.625rem;
  color: var(--fg-dim); text-transform: uppercase; letter-spacing: 0.4em;
}
.footer__legal {
  font-size: 0.625rem; color: var(--fg-faint); font-style: italic;
  font-weight: 300; line-height: 1.6; max-width: 48rem; text-align: center;
}

/* ═══ Mobile Nav ═══ */
.mobile-nav {
  position: fixed; inset: 0; z-index: 999;
  background: var(--bg); display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 3rem;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav__close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  color: var(--fg-dim); width: 3rem; height: 3rem;
  display: flex; align-items: center; justify-content: center;
}
.mobile-nav a {
  font-family: 'DM Mono', monospace; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--fg-dim); transition: color 0.2s;
}
.mobile-nav a:hover { color: var(--gold); }
.mobile-nav .header__cta { margin-top: 1rem; }

/* ═══ Mood Toolbar ═══ */
.mood-toolbar {
  position: fixed; top: 5.5rem; right: 1.5rem;
  display: flex; flex-direction: column; gap: 0.5rem; z-index: 50;
}
.mood-swatch {
  width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--border-subtle);
  cursor: pointer; transition: transform 0.2s, border-color 0.2s;
}
.mood-swatch:hover { transform: scale(1.3); }
.mood-swatch.active { border-color: var(--fg); transform: scale(1.2); }
.mood-swatch--gold { background: #C8963E; }
.mood-swatch--blue { background: #5B8DEF; }
.mood-swatch--ember { background: #E85020; }
.mood-toggle {
  width: 28px; height: 28px; margin-top: 0.25rem;
  border: 1px solid var(--border-subtle); border-radius: 50%;
  background: transparent; color: var(--fg-dim); cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s;
}
.mood-toggle:hover { color: var(--gold); }
.mood-toggle .material-symbols-outlined { font-size: 16px; }

/* ═══ Grain Overlay ═══ */
body::after {
  content: ''; position: fixed; inset: 0; z-index: 9999;
  pointer-events: none; opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px;
}

/* ═══ Responsive ═══ */
@media (min-width: 640px) {
  .layer-row__health { display: block; }
  .trust-strip__divider { display: block; }
}
@media (min-width: 768px) {
  .hero__title { font-size: 5rem; }
  .steps__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(3, 1fr); }
  .pricing-card--featured { transform: scale(1.05); z-index: 10; }
  .footer__links { grid-template-columns: repeat(3, 1fr); }
  .footer__bottom { flex-direction: row; justify-content: space-between; }
  .footer__legal { text-align: right; }
  .header__burger { display: none; }
}
@media (max-width: 767px) {
  .header__nav { display: none; }
  .header__burger { display: flex; }
}
@media (min-width: 1024px) {
  .hero {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6rem; align-items: center; padding: 12rem 2rem;
  }
  .hero__title { font-size: 6rem; }
  .hero__subtitle { font-size: 2.25rem; }
  .steps__grid { grid-template-columns: repeat(4, 1fr); }
  .layers { padding: 12rem 0; }
  .layers__title { font-size: 4.5rem; }
  .layer-row { padding: 2.5rem 3rem; }
  .layer-row__left { gap: 3rem; }
  .layer-row__name { font-size: 1.5rem; }
  .layer-row__desc { font-size: 1rem; }
  .proof__card { grid-template-columns: 1fr 1fr; }
  .proof__before { border-bottom: none; border-right: 1px solid var(--border-subtle); }
  .proof__before, .proof__after { padding: 5rem; }
  .proof__divider { display: flex; }
  .proof__score { font-size: 3.75rem; }
  .proof__heading { font-size: 3rem; }
  .final-cta__title { font-size: 9rem; }
  .final-cta__body { font-size: 1.875rem; }
  .footer__top { flex-direction: row; justify-content: space-between; }
  .footer__links { gap: 8rem; }
}
@media (min-width: 1440px) {
  .final-cta__title { font-size: 12rem; }
}

/* ═══ Focus & Accessibility ═══ */
:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--gold); outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .logo__short, .logo__full { transition: none; }
  .layer-row { opacity: 1; transform: none; transition: background 0.2s, border-color 0.2s; }
  .mobile-nav { transition: none; }
}
