/* ============================================================
   Wizard Resumes — Roster Calculator
   "The Private Briefing" — editorial financial document aesthetic.
   Luxury Gold brand system (matches wizardresumes.com.au)
============================================================ */

:root {
  /* Luxury Gold Palette */
  --gold: #C9A962;
  --gold-light: #E5D4A1;
  --gold-dark: #8B7355;
  --gold-muted: #A69060;
  --gold-faint: rgba(201, 169, 98, 0.55);
  --gold-glow: rgba(201, 169, 98, 0.12);
  --gold-glow-strong: rgba(201, 169, 98, 0.25);

  /* Rich Dark Palette */
  --bg-void: #050608;
  --bg-deep: #08090C;
  --bg-surface: #0D0F14;
  --bg-card: #111419;
  --bg-elevated: #181C24;
  --bg-hover: #1E232E;

  /* Text */
  --text-primary: #F8F7F4;
  --text-secondary: #A8A5A0;
  --text-muted: #6B6862;
  --text-faint: #4A4842;
  --cream: #FAF7F0;

  /* Borders */
  --border: rgba(201, 169, 98, 0.08);
  --border-light: rgba(201, 169, 98, 0.15);
  --border-gold: rgba(201, 169, 98, 0.4);

  /* Accent */
  --teal: #5EEAD4;

  /* Blue — "at-or-above-median" (good news) state. Used by calculator.js.
     --blue is used for the loss-block border; --blue-deep is used for the
     large loss-figure text, so it needs to read against the dark bg. */
  --blue: #7FB2E5;
  --blue-deep: #B8D4F0;

  /* Signal colours */
  --red: #E85C5C;
  --red-muted: rgba(232, 92, 92, 0.55);

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  min-height: 100vh;
}

/* Film grain overlay — site-wide signature */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  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.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
  z-index: 10000;
}

::selection { background: var(--gold); color: var(--bg-deep); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-void); }
::-webkit-scrollbar-thumb { background: var(--gold-dark); border-radius: 3px; }

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.12;
  color: var(--cream);
}

a { color: var(--gold); }
a:hover { color: var(--gold-light); }

/* ============================================================
   ANIMATION
============================================================ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(14px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes figureReveal {
  from { opacity: 0; letter-spacing: 0.08em; }
  to   { opacity: 1; letter-spacing: -0.02em; }
}
@keyframes hairlineDraw {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

/* ============================================================
   VIEW WRAPPERS
============================================================ */

.view { display: none; min-height: 100vh; padding: 28px 20px 56px; position: relative; }
.view.active { display: block; }

/* Atmospheric radial — anchored top-right */
.view::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--gold-glow) 0%, transparent 55%);
  pointer-events: none;
  opacity: 0.55;
  z-index: 0;
}

.container { max-width: 720px; margin: 0 auto; position: relative; z-index: 1; }

/* Staggered load — apply .reveal to sections; they fade in with a delay. */
.view.active .reveal {
  opacity: 0;
  animation: fadeUp 0.7s var(--ease-out-expo) forwards;
}
.view.active .reveal:nth-child(1) { animation-delay: 0.00s; }
.view.active .reveal:nth-child(2) { animation-delay: 0.08s; }
.view.active .reveal:nth-child(3) { animation-delay: 0.16s; }
.view.active .reveal:nth-child(4) { animation-delay: 0.24s; }
.view.active .reveal:nth-child(5) { animation-delay: 0.32s; }
.view.active .reveal:nth-child(6) { animation-delay: 0.40s; }
.view.active .reveal:nth-child(7) { animation-delay: 0.48s; }
.view.active .reveal:nth-child(8) { animation-delay: 0.56s; }
.view.active .reveal:nth-child(9) { animation-delay: 0.64s; }

@media (prefers-reduced-motion: reduce) {
  .view.active .reveal { animation: none; opacity: 1; }
}

/* ============================================================
   DOCUMENT HEADER — thin mono bar at top of each view
============================================================ */

.doc-meta {
  font-family: 'IBM Plex Mono', 'SF Mono', Menlo, monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.doc-meta .doc-label { color: var(--gold-muted); }
.doc-meta .doc-label::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 10px;
  background: var(--gold);
  transform: translateY(-1px);
  vertical-align: middle;
}
.doc-meta .doc-status {
  color: var(--text-faint);
  letter-spacing: 0.25em;
  font-size: 0.625rem;
}

/* ============================================================
   BRAND-MARK
============================================================ */

.brand-mark {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.24em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 44px;
  text-decoration: none;
  transition: opacity 0.3s ease;
}
.brand-mark:hover { opacity: 0.75; }

/* ============================================================
   HERO (calculator view)
============================================================ */

.hero { text-align: center; margin-bottom: 48px; }

.hero .eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
}
.hero .eyebrow::before,
.hero .eyebrow::after {
  content: '—';
  color: var(--text-faint);
  margin: 0 10px;
}

.hero h1 {
  font-size: clamp(2.1rem, 6.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.08;
  color: var(--cream);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}
.hero .highlight {
  color: var(--gold);
  font-style: italic;
  font-weight: 500;
}

.hero .subhead {
  color: var(--text-secondary);
  font-size: 1.0625rem;
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero::after {
  content: '';
  display: block;
  width: 72px;
  height: 1px;
  margin: 32px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform-origin: center;
  animation: hairlineDraw 0.9s 0.3s var(--ease-out-expo) backwards;
}

/* ============================================================
   FORM
============================================================ */

.calculator {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 40px 28px 36px;
  position: relative;
}
/* Document corner marks — tiny L-brackets at the top corners */
.calculator::before,
.calculator::after {
  content: '';
  position: absolute;
  top: 14px;
  width: 14px;
  height: 14px;
  border: 1px solid var(--gold-faint);
}
.calculator::before { left: 14px; border-right: none; border-bottom: none; }
.calculator::after  { right: 14px; border-left: none; border-bottom: none; }

.form-head {
  text-align: center;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.form-head .step {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  color: var(--gold-muted);
  text-transform: uppercase;
}
.form-head h2 {
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--cream);
  margin-top: 10px;
  font-style: italic;
}

.field { margin-bottom: 26px; }
.field label {
  display: block;
  font-family: 'IBM Plex Mono', monospace;
  font-weight: 500;
  font-size: 0.6875rem;
  color: var(--gold-muted);
  margin-bottom: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.field label::before {
  content: counter(field-counter, decimal-leading-zero) ' · ';
  counter-increment: field-counter;
  color: var(--text-faint);
  margin-right: 2px;
}
.calculator { counter-reset: field-counter; }

.field small {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.8125rem;
  font-style: italic;
}
.field.invalid select,
.field.invalid input {
  border-color: var(--red);
}

select, input[type="number"], input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-size: 16px; /* prevents iOS zoom */
  font-family: 'DM Sans', sans-serif;
  background-color: var(--bg-elevated);
  color: var(--cream);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  transition: border-color 0.35s var(--ease-out-expo), background-color 0.35s ease;
  -webkit-appearance: none;
  appearance: none;
}
select option {
  background: var(--bg-elevated);
  color: var(--cream);
}
select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23C9A962' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
select:focus, input:focus {
  outline: none;
  border-color: var(--border-gold);
  background-color: var(--bg-hover);
  box-shadow: 0 0 0 1px var(--border-gold);
}
input::placeholder { color: var(--text-faint); }

.input-prefix { position: relative; }
.input-prefix > span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: var(--gold-muted);
  font-weight: 500;
  pointer-events: none;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
}
.input-prefix input { padding-left: 34px; }

/* ============================================================
   BUTTONS — bulletproof (no ::before overlays on text)
============================================================ */

.cta-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 18px 24px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--bg-deep);
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold) 100%);
  border: none;
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  margin-top: 16px;
  box-shadow: 0 4px 14px rgba(201, 169, 98, 0.15);
  transition:
    background 0.45s var(--ease-out-expo),
    box-shadow 0.45s var(--ease-out-expo),
    transform 0.3s var(--ease-out-expo);
}
.cta-primary:hover {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 100%);
  box-shadow: 0 18px 38px rgba(201, 169, 98, 0.28);
  transform: translateY(-2px);
}
.cta-primary:active {
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(201, 169, 98, 0.22);
}

.cta-secondary {
  display: block;
  width: 100%;
  padding: 14px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  cursor: pointer;
  margin-top: 8px;
  background-color: transparent;
  background-image: linear-gradient(90deg, var(--gold) 0%, var(--gold) 50%, transparent 50%, transparent 100%);
  background-size: 200% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  transition:
    background-position 0.45s var(--ease-out-expo),
    color 0.25s 0.1s var(--ease-out-expo),
    border-color 0.3s ease;
}
.cta-secondary:hover {
  background-position: 0 0;
  color: var(--bg-deep);
  border-color: var(--gold);
}
.cta-secondary:active { transform: translateY(1px); }

.cta-secondary-upfront {
  display: block;
  width: 100%;
  padding: 16px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--gold);
  background-color: transparent;
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  cursor: pointer;
  text-align: center;
  text-decoration: none;
  transition:
    background-color 0.35s var(--ease-out-expo),
    border-color 0.3s ease,
    color 0.25s ease,
    transform 0.3s var(--ease-out-expo);
}
.cta-secondary-upfront:hover {
  background-color: var(--gold-glow);
  border-color: var(--gold);
  color: var(--gold-light);
  transform: translateY(-1px);
}
.cta-secondary-upfront[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.cta-divider {
  display: flex;
  align-items: center;
  margin: 24px 0;
  color: var(--text-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
}
.cta-divider::before, .cta-divider::after {
  content: "";
  flex: 1;
  border-top: 1px solid var(--border);
}
.cta-divider span { padding: 0 16px; }

.link-btn {
  background: none;
  border: none;
  color: var(--gold-muted);
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  cursor: pointer;
  padding: 16px;
  margin-top: 32px;
  display: block;
  width: 100%;
  text-align: center;
  transition: color 0.3s ease, letter-spacing 0.3s ease;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.link-btn:hover { color: var(--gold); letter-spacing: 0.24em; }

.micro-trust {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 14px;
  letter-spacing: 0.01em;
  font-style: italic;
}

/* ============================================================
   SECTION MARKERS — editorial Roman-numeral section headers
============================================================ */

.section {
  margin-bottom: 56px;
  position: relative;
}
.section-marker {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}
.section-marker .numeral {
  color: var(--gold);
  font-weight: 600;
  margin-right: 14px;
}
.section-marker .tag {
  color: var(--text-faint);
  font-size: 0.625rem;
  letter-spacing: 0.25em;
}

/* ============================================================
   I. THE FIGURE (loss-block)
============================================================ */

.loss-block {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-light);
  border-radius: 2px;
  padding: 56px 24px 48px;
  text-align: center;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  overflow: hidden;
}
/* Corner marks */
.loss-block::before,
.loss-block::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--red-muted);
  border-style: solid;
  border-width: 0;
}
.loss-block::before { top: 16px; left: 16px; border-top-width: 1px; border-left-width: 1px; }
.loss-block::after  { bottom: 16px; right: 16px; border-bottom-width: 1px; border-right-width: 1px; }

.loss-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  margin-bottom: 32px;
  font-weight: 500;
}
.loss-figure {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: clamp(3.5rem, 14vw, 6.5rem);
  color: var(--red);
  line-height: 0.95;
  margin-bottom: 24px;
  letter-spacing: -0.035em;
  word-break: break-word;
  animation: figureReveal 1s 0.4s var(--ease-out-expo) backwards;
}
/* Thin hairline under figure */
.loss-figure::after {
  content: '';
  display: block;
  width: 64px;
  height: 1px;
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--red-muted), transparent);
}
.loss-subtext {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 460px;
  margin: 0 auto;
  font-style: italic;
  font-family: 'Cormorant Garamond', serif;
}

/* ============================================================
   II. DIAGNOSIS — tabular gap block + findings
============================================================ */

.gap-block {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 24px;
  margin-bottom: 32px;
}

/* Legacy prose-style paragraphs (if any retained) */
.gap-block > p {
  margin-bottom: 14px;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.7;
}
.gap-block > p:last-child { margin-bottom: 0; }
.gap-line {
  font-size: 1.125rem !important;
  margin-top: 20px !important;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--cream) !important;
  text-align: center;
}

/* Tabular layout: label · dotted leader · value */
.data-rows {
  display: grid;
  gap: 4px;
}
.data-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: baseline;
  gap: 14px;
  padding: 14px 4px;
  font-size: 0.9375rem;
}
.data-row + .data-row { border-top: 1px solid var(--border); }
.data-row .label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  color: var(--text-secondary);
  text-transform: uppercase;
}
.data-row .leader {
  border-bottom: 1px dotted var(--text-faint);
  transform: translateY(-4px);
  min-width: 20px;
}
.data-row .value {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.375rem;
  color: var(--cream);
  letter-spacing: -0.01em;
}
.data-row.summary {
  margin-top: 10px;
  padding-top: 18px;
  padding-bottom: 4px;
  border-top: 1px solid var(--gold-faint);
}
.data-row.summary .label { color: var(--gold-muted); }
.data-row.summary .value {
  color: var(--gold);
  font-style: italic;
  font-size: 1.625rem;
}

.bold { font-weight: 600; color: var(--cream); }
.highlight {
  color: var(--gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.15em;
  font-weight: 500;
}

/* ============================================================
   AGITATION — findings-style prose
============================================================ */

.agitation {
  padding: 8px 4px;
}
.agitation p {
  margin-bottom: 18px;
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.75;
}
.agitation p strong { color: var(--cream); font-weight: 600; }
.agitation p:last-child { margin-bottom: 0; }

/* Drop-cap on first paragraph — editorial signature */
.agitation p:first-of-type::first-letter {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 3.5em;
  float: left;
  line-height: 0.85;
  margin: 4px 12px 0 0;
  color: var(--gold);
  font-style: italic;
}

/* ============================================================
   III. RECOMMENDED ACTION (offer-block)
============================================================ */

.offer-block { margin-bottom: 0; }
.offer-block h2 {
  font-size: clamp(1.875rem, 5vw, 2.5rem);
  text-align: center;
  margin-bottom: 16px;
  color: var(--cream);
  font-weight: 400;
  font-style: italic;
}
.offer-block > p {
  text-align: center;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.75;
  max-width: 560px;
}

.offer-card {
  background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-surface) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  padding: 40px 28px 36px;
  position: relative;
}
/* Top + bottom corner brackets */
.offer-card::before,
.offer-card::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 24px;
  border-color: var(--gold-faint);
  border-style: solid;
  border-width: 0;
}
.offer-card::before { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.offer-card::after  { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }

.offer-eyebrow {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold-muted);
  text-align: center;
  margin-bottom: 20px;
}

.offer-price {
  text-align: center;
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 18px;
}
.price-strike {
  text-decoration: line-through;
  color: var(--text-muted);
  font-size: 1rem;
  font-family: 'IBM Plex Mono', monospace;
  letter-spacing: 0.05em;
}
.price-current {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 3.5rem;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-current .currency {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold-muted);
  vertical-align: middle;
  margin-left: 8px;
}
.offer-card h3 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  font-size: 1.5rem;
  margin-bottom: 32px;
  color: var(--cream);
  font-style: italic;
  letter-spacing: -0.01em;
}

.offer-features {
  list-style: none;
  margin-bottom: 32px;
}
.offer-features li {
  padding: 14px 0 14px 36px;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  line-height: 1.55;
}
.offer-features li:last-child { border-bottom: none; }
.offer-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 20px;
  width: 20px;
  height: 1px;
  background: var(--gold);
}
.offer-features li::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 4px;
  height: 4px;
  background: var(--gold);
  border-radius: 50%;
}

/* ============================================================
   IV. CASE STUDIES — editorial pull quotes
============================================================ */

.testimonials {
  display: grid;
  gap: 32px;
  padding: 8px 4px;
}
.testimonial {
  position: relative;
  padding: 20px 0 20px 40px;
  border-left: 1px solid var(--gold-faint);
}
.testimonial::before {
  content: '“';
  position: absolute;
  top: -10px;
  left: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  font-style: italic;
}
.testimonial p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--cream);
  margin-bottom: 14px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.testimonial cite {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.6875rem;
  color: var(--gold-muted);
  font-style: normal;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

/* ============================================================
   EMAIL CAPTURE — inline, restrained
============================================================ */

.email-capture {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 32px 28px;
  margin-bottom: 32px;
  position: relative;
}
.email-capture::before {
  content: 'V';
  position: absolute;
  top: 18px;
  right: 20px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.3em;
  color: var(--gold-faint);
}
.email-capture h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: var(--cream);
  font-style: italic;
  font-weight: 500;
}
.email-capture > p {
  font-size: 0.9375rem;
  margin-bottom: 22px;
  color: var(--text-secondary);
  line-height: 1.7;
}
.email-form input { margin-bottom: 10px; }
.email-status {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  margin-top: 14px;
  text-align: center;
  min-height: 20px;
  color: var(--text-secondary);
}
.email-status.success { color: var(--teal); }
.email-status.error { color: var(--red); }

/* ============================================================
   DATA NOTE + SIGNATURE FOOTER
============================================================ */

.data-note {
  padding: 24px 4px 20px;
  border-top: 1px solid var(--border);
  margin-top: 32px;
}
.data-note small {
  color: var(--text-muted);
  font-size: 0.75rem;
  line-height: 1.75;
}
.data-note a { color: var(--gold-muted); text-decoration: underline; text-underline-offset: 2px; }
.data-note a:hover { color: var(--gold); }

.doc-sig {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 0.625rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-faint);
}
.doc-sig .sig-left { color: var(--gold-muted); }
.doc-sig .sig-right { text-align: right; }

/* ============================================================
   DESKTOP
============================================================ */

@media (min-width: 768px) {
  .view { padding: 48px 32px 72px; }
  .container { max-width: 760px; }
  .hero { margin-bottom: 64px; }
  .calculator { padding: 52px 44px 44px; }
  .loss-block { padding: 68px 40px 56px; }
  .offer-card { padding: 52px 44px 44px; }
  .section { margin-bottom: 72px; }
  .email-capture { padding: 40px 36px; }

  .data-row { padding: 16px 6px; font-size: 1rem; }
  .data-row .value { font-size: 1.5rem; }
  .data-row.summary .value { font-size: 1.75rem; }
}

@media (min-width: 960px) {
  .doc-meta { font-size: 0.75rem; }
}
