:root {
  --bg: #08060d;
  --bg-2: #0e0a18;
  --panel: #13101d;
  --panel-2: #1a1528;
  --line: #2a2140;
  --purple: #a855f7;
  --purple-deep: #7c3aed;
  --purple-soft: #c4a6f7;
  --white: #f6f3fb;
  --muted: #9a93ab;
  --red: #ef4444;
  --green: #22c55e;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 85% 5%, rgba(124, 58, 237, 0.12), transparent 32rem),
    radial-gradient(circle at 0% 48%, rgba(168, 85, 247, 0.08), transparent 30rem),
    var(--bg);
  color: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

button, video { font: inherit; }
img, video { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 8px;
  background: var(--white);
  color: var(--bg);
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }

.cover {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 56px 84px;
  text-align: center;
}

.cover::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168, 85, 247, 0.5), transparent);
}

.cover-orb { position: absolute; border-radius: 999px; filter: blur(80px); pointer-events: none; }
.cover-orb.one { width: 520px; height: 520px; right: -220px; top: -190px; background: rgba(124, 58, 237, 0.19); }
.cover-orb.two { width: 360px; height: 360px; left: -180px; bottom: -120px; background: rgba(168, 85, 247, 0.11); }

.eyebrow {
  margin: 0 0 24px;
  color: var(--purple-soft);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.cover h1 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(68px, 9vw, 128px);
  font-weight: 900;
  letter-spacing: -0.065em;
  line-height: 0.86;
  text-transform: capitalize;
}

.cover h1 span,
.projection h2 span {
  background: linear-gradient(135deg, var(--purple-soft), var(--purple-deep));
  background-clip: text;
  color: transparent;
}

.cover-copy {
  max-width: 730px;
  margin: 38px auto 46px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-stats {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.hero-stat {
  min-height: 154px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 24px 22px;
  border: 1px solid rgba(196, 166, 247, 0.16);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(26, 21, 40, 0.96), rgba(19, 16, 29, 0.76));
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.24);
}
.hero-stat.featured { border-color: rgba(168, 85, 247, 0.46); background: linear-gradient(145deg, rgba(83, 38, 123, 0.42), rgba(19, 16, 29, 0.88)); }
.hero-stat span { color: var(--purple-soft); font-size: 11px; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; }
.hero-stat strong { margin: 8px 0 1px; font-size: 34px; line-height: 1.1; }
.hero-stat small { color: var(--muted); font-size: 12px; }

.scroll-cue { position: absolute; bottom: 24px; color: #6f687d; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.scroll-cue span { display: inline-block; margin-left: 6px; color: var(--purple-soft); animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(4px); } }

.audit-section {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 118px 56px;
  border-bottom: 1px solid rgba(42, 33, 64, 0.68);
}

.section-header { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: start; margin-bottom: 46px; }
.section-number {
  margin-top: -18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(145deg, var(--purple-soft), var(--purple-deep));
  background-clip: text;
  color: transparent;
}
.title-line { display: flex; flex-wrap: wrap; gap: 15px; align-items: center; }
.section-header h2 { margin: 0; font-size: 34px; line-height: 1.15; letter-spacing: -0.035em; }
.warning-pill {
  padding: 6px 10px;
  border: 1px solid rgba(239, 68, 68, 0.52);
  border-radius: 999px;
  color: #ff8585;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.section-lead { max-width: 760px; margin: 14px 0 0; color: var(--muted); }

.comparison-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.audit-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.16);
}
.audit-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; }
.audit-card.current { background: linear-gradient(180deg, rgba(84, 21, 29, 0.18), var(--panel) 150px); }
.audit-card.current::before { background: linear-gradient(90deg, transparent, rgba(239, 68, 68, 0.9), transparent); }
.audit-card.ours { background: linear-gradient(180deg, rgba(76, 29, 149, 0.22), var(--panel) 150px); }
.audit-card.ours::before { background: linear-gradient(90deg, transparent, var(--purple), transparent); }
.card-kicker { color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.current .card-kicker span { color: var(--red); }
.ours .card-kicker span { color: var(--purple-soft); }
.audit-card h3 { margin: 12px 0 18px; font-size: 22px; letter-spacing: -0.02em; }

.diagnostic-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.diagnostic-list li { position: relative; padding-left: 17px; color: #ded9e7; font-size: 14px; line-height: 1.5; }
.diagnostic-list li::before { content: ""; position: absolute; left: 0; top: 0.65em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 14px rgba(239, 68, 68, 0.55); }
.ours .diagnostic-list li::before { background: var(--purple); box-shadow: 0 0 14px rgba(168, 85, 247, 0.62); }
.card-body { margin: 24px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }

.media-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: auto; padding-top: 4px; }
.media-grid.single { grid-template-columns: 1fr; }
.media-button, .video-frame, .missing-media {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid rgba(196, 166, 247, 0.12);
  border-radius: 12px;
  background: var(--panel-2);
}
.media-button { cursor: zoom-in; padding: 0; color: var(--white); }
.media-button { background: #ffffff; touch-action: manipulation; }
.media-button img { width: 100%; min-height: 0; height: auto; object-fit: contain; background: #ffffff; transition: transform 0.25s ease, opacity 0.25s ease; }
.media-button span { position: absolute; right: 10px; bottom: 10px; padding: 5px 8px; border-radius: 7px; background: rgba(8, 6, 13, 0.82); color: #ddd5e8; font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; opacity: 0; transition: opacity 0.2s ease; }
.media-button:hover img { transform: scale(1.025); opacity: 0.88; }
.media-button:hover span, .media-button:focus-visible span { opacity: 1; }
.video-frame video { width: 100%; max-height: 420px; background: #050407; object-fit: contain; }
.video-frame p { margin: 0; padding: 9px 11px; color: var(--muted); font-size: 11px; }
.missing-media { min-height: 210px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; text-align: center; border-style: dashed; }
.missing-icon { color: var(--purple); font-size: 36px; }
.missing-media strong { font-size: 13px; }
.missing-media small { max-width: 220px; color: var(--muted); font-size: 11px; }

.impact-card {
  display: flex;
  gap: 24px;
  align-items: center;
  margin-top: 24px;
  padding: 22px 26px;
  border: 1px solid rgba(168, 85, 247, 0.28);
  border-radius: 14px;
  background: linear-gradient(105deg, rgba(124, 58, 237, 0.23), rgba(19, 16, 29, 0.72));
}
.impact-label { flex: 0 0 auto; color: var(--purple-soft); font-size: 10px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.impact-points { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.impact-points p { margin: 0; color: #ded8e8; font-size: 13px; line-height: 1.45; }

.projection, .revenue-goal {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 130px 56px;
  text-align: center;
}
.projection { position: relative; }
.projection::before { content: ""; position: absolute; left: 50%; top: 62px; width: 520px; height: 300px; transform: translateX(-50%); border-radius: 50%; background: rgba(124, 58, 237, 0.12); filter: blur(80px); pointer-events: none; }
.projection h2, .revenue-goal h2, .score-copy h2 {
  position: relative;
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.045em;
}
.projection-copy { position: relative; margin: 24px auto 0; color: #ddd6e8; font-size: 18px; }
.projection-copy.narrow { max-width: 750px; margin-top: 12px; color: var(--muted); font-size: 15px; }
.projection-grid { position: relative; display: grid; gap: 20px; width: min(900px, 100%); margin: 48px auto 0; }
.projection-grid.three { grid-template-columns: repeat(3, 1fr); }
.projection-grid.two { grid-template-columns: repeat(2, 1fr); max-width: 690px; }
.projection-card { display: flex; flex-direction: column; justify-content: center; min-height: 168px; padding: 28px 20px; border: 1px solid rgba(196, 166, 247, 0.16); border-radius: 16px; background: linear-gradient(145deg, rgba(26, 21, 40, 0.96), rgba(19, 16, 29, 0.72)); }
.projection-card.featured { border-color: rgba(168, 85, 247, 0.48); background: linear-gradient(145deg, rgba(92, 36, 145, 0.42), rgba(19, 16, 29, 0.86)); }
.projection-card strong { color: var(--white); font-size: 40px; line-height: 1.1; }
.projection-card span { margin-top: 7px; color: var(--purple-soft); font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.projection-card small { color: var(--muted); font-size: 11px; }

.revenue-goal { padding-top: 20px; }
.revenue-goal h2 { max-width: 850px; margin: 0 auto; font-size: clamp(40px, 5.5vw, 66px); }
.revenue-goal > p:not(.eyebrow) { max-width: 740px; margin: 28px auto 0; color: var(--muted); }

.scorecard {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(260px, 360px) 1fr;
  gap: 48px;
  align-items: center;
  margin: 0 auto;
  padding: 110px 56px;
  border-top: 1px solid var(--line);
}
.score-box { padding: 42px 34px; border: 1px solid rgba(168, 85, 247, 0.45); border-radius: 20px; background: linear-gradient(145deg, rgba(124, 58, 237, 0.48), rgba(35, 24, 54, 0.84)); text-align: center; box-shadow: 0 30px 90px rgba(44, 17, 81, 0.34); }
.score-box > span { color: var(--purple-soft); font-size: 11px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; }
.score-box strong { display: block; margin: 10px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 104px; line-height: 0.95; }
.score-box strong small { color: var(--purple-soft); font-family: "Inter", system-ui, sans-serif; font-size: 28px; font-weight: 600; }
.score-box p { margin: 8px 0 0; color: #b8afc5; font-size: 12px; }
.score-copy .eyebrow { margin-bottom: 16px; }
.score-copy h2 { font-size: clamp(38px, 4.4vw, 56px); }
.score-copy > p:not(.eyebrow) { color: var(--muted); }
.score-copy ul { display: grid; gap: 10px; margin: 24px 0 0; padding: 0; list-style: none; }
.score-copy li { position: relative; padding-left: 22px; color: #ddd7e7; font-size: 14px; }
.score-copy li::before { content: "→"; position: absolute; left: 0; color: var(--purple-soft); }

footer { padding: 62px 56px; border-top: 1px solid var(--line); color: var(--muted); text-align: center; }
footer strong { color: var(--white); font-family: "Playfair Display", Georgia, serif; font-size: 30px; }
footer p { max-width: 800px; margin: 12px auto 0; font-size: 12px; }

.lightbox { position: fixed; inset: 0; z-index: 99; display: grid; place-items: center; padding: 40px; background: rgba(4, 3, 7, 0.94); backdrop-filter: blur(12px); cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1200px, 94vw); max-height: 88vh; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.72); }
.lightbox button { position: fixed; top: 18px; right: 22px; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--white); font-size: 26px; cursor: pointer; }

@media (max-width: 820px) {
  .cover { padding: 100px 24px 74px; }
  .cover h1 { font-size: clamp(60px, 18vw, 92px); }
  .hero-stats, .comparison-grid, .projection-grid.three, .projection-grid.two, .scorecard { grid-template-columns: 1fr; }
  .hero-stats { max-width: 520px; }
  .hero-stat { min-height: 125px; }
  .audit-section, .projection, .revenue-goal, .scorecard { padding-left: 24px; padding-right: 24px; }
  .audit-section { padding-top: 86px; padding-bottom: 86px; }
  .section-header { grid-template-columns: 68px 1fr; gap: 12px; }
  .section-number { font-size: 52px; }
  .section-header h2 { font-size: 27px; }
  .comparison-grid { gap: 18px; }
  .impact-card { align-items: flex-start; }
  .impact-points { grid-template-columns: 1fr; gap: 10px; }
  .scorecard { gap: 34px; }
  .score-box { max-width: 440px; width: 100%; margin: 0 auto; }
}

@media (max-width: 600px) {
  .cover { min-height: 100svh; padding: 74px 18px 36px; }
  .cover h1 { font-size: clamp(54px, 16vw, 66px); line-height: 0.9; }
  .cover-copy { margin: 28px auto 32px; font-size: 15px; line-height: 1.65; }
  .hero-stats { gap: 12px; }
  .hero-stat { min-height: 108px; padding: 18px; }
  .hero-stat strong { font-size: 30px; }
  .scroll-cue { position: static; margin-top: 24px; }
  .section-header { grid-template-columns: 1fr; }
  .section-number { margin: 0 0 4px; font-size: 48px; }
  .section-header h2 { font-size: 30px; }
  .title-line { align-items: flex-start; gap: 12px; }
  .warning-pill { max-width: 100%; line-height: 1.35; }
  .section-lead { font-size: 15px; line-height: 1.6; }
  .audit-section { padding: 72px 18px; }
  .audit-card { padding: 19px 18px; }
  .audit-card h3 { font-size: 23px; }
  .diagnostic-list li, .card-body { font-size: 15px; overflow-wrap: anywhere; }
  .card-body { line-height: 1.72; }
  .media-grid { grid-template-columns: 1fr; }
  .media-button span { opacity: 1; }
  .video-frame video { max-height: none; }
  .impact-card { flex-direction: column; }
  .impact-card { padding: 20px 18px; }
  .impact-points p { font-size: 14px; line-height: 1.55; }
  .projection, .revenue-goal { padding: 84px 18px; }
  .projection-card strong { font-size: 34px; }
  .scorecard { padding: 84px 18px; }
  .score-box { padding: 34px 24px; }
  .score-box strong { font-size: 88px; }
  .score-copy h2 { font-size: 42px; }
  footer { padding: 48px 20px; }
  footer strong { font-size: 28px; }
  .lightbox { padding: 12px; }
  .lightbox button { top: max(12px, env(safe-area-inset-top)); right: 12px; }
}

@media print {
  body { background: var(--bg); print-color-adjust: exact; -webkit-print-color-adjust: exact; }
  .cover { min-height: auto; padding-top: 80px; }
  .scroll-cue, .lightbox, video::-webkit-media-controls { display: none !important; }
  .audit-section, .audit-card, .impact-card, .projection-card, .score-box { break-inside: avoid; }
}
