:root {
  --ink: #17182b;
  --ink-soft: #55586b;
  --paper: #f5f1e9;
  --card: #fffdf8;
  --night: #15162c;
  --night-soft: #222443;
  --line: #d9d3c9;
  --orange: #f16f47;
  --orange-dark: #c94f2c;
  --sky: #58b6d4;
  --lime: #b6d870;
  --violet: #8878db;
  --shadow: 0 26px 70px rgba(31, 25, 55, .12);
  --radius: 28px;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 84% 10%, rgba(241, 111, 71, .12), transparent 24rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, input { font: inherit; }
a { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 20;
  padding: 10px 16px;
  background: #fff;
  border-radius: 10px;
  transition: top .2s ease;
}
.skip-link:focus { top: 16px; }

.site-header {
  width: min(var(--max), calc(100% - 48px));
  min-height: 86px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(23, 24, 43, .12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  letter-spacing: -.02em;
  text-decoration: none;
}
.brand b { color: var(--orange-dark); }
.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  gap: 3px;
  padding: 7px;
  background: var(--night);
  border-radius: 10px;
}
.brand-mark i { display: block; background: var(--paper); border-radius: 3px 3px 1px 1px; }
.brand-mark i:nth-child(1) { height: 42%; }
.brand-mark i:nth-child(2) { height: 82%; background: var(--orange); }
.brand-mark i:nth-child(3) { height: 62%; }

nav { display: flex; gap: 28px; }
nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 640;
}
nav a:hover, nav a:focus-visible { color: var(--orange-dark); }

.hero {
  width: min(var(--max), calc(100% - 48px));
  min-height: 670px;
  margin: 0 auto;
  padding: 90px 0 80px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: clamp(40px, 7vw, 90px);
  align-items: center;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--orange-dark);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.eyebrow span {
  width: 7px;
  height: 7px;
  display: inline-block;
  margin: 0 7px 1px 0;
  background: var(--orange);
  border-radius: 50%;
}
.eyebrow.light { color: #ffad91; }

h1, h2, h3, h4, p { margin-top: 0; }
h1 {
  max-width: 740px;
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6.5vw, 6.25rem);
  line-height: .98;
  letter-spacing: -.065em;
  font-weight: 500;
}
h1 em { color: var(--orange-dark); font-style: italic; }
.lede {
  max-width: 660px;
  margin-bottom: 34px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 1.6vw, 1.24rem);
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 48px;
  padding: 0 19px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 720;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { color: #fff; background: var(--night); box-shadow: 0 10px 24px rgba(21, 22, 44, .18); }
.button-quiet { border-color: rgba(23, 24, 43, .26); }

.hero-card {
  position: relative;
  min-height: 500px;
  padding: 38px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 74% 20%, rgba(136, 120, 219, .45), transparent 42%),
    linear-gradient(145deg, #1b1d3b, #111225);
  border-radius: 34px;
  box-shadow: var(--shadow);
}
.hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .13;
  background-image: linear-gradient(rgba(255,255,255,.15) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.15) 1px, transparent 1px);
  background-size: 30px 30px;
  mask-image: linear-gradient(to bottom, #000, transparent 76%);
}
.signal-orbit { position: relative; height: 210px; z-index: 1; }
.orbit { position: absolute; left: 50%; top: 50%; border: 1px solid rgba(255,255,255,.24); border-radius: 50%; transform: translate(-50%, -50%); }
.orbit-one { width: 184px; height: 184px; }
.orbit-two { width: 132px; height: 132px; border-color: rgba(88,182,212,.6); }
.orbit-one::after, .orbit-two::after { content: ""; position: absolute; width: 9px; height: 9px; background: var(--orange); border-radius: 50%; }
.orbit-one::after { right: 9px; top: 29px; box-shadow: 0 0 18px var(--orange); }
.orbit-two::after { left: 5px; bottom: 25px; background: var(--sky); box-shadow: 0 0 18px var(--sky); }
.signal-core {
  position: absolute;
  left: 50%; top: 50%;
  z-index: 2;
  transform: translate(-50%, -50%);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.8rem;
  letter-spacing: -.08em;
}
.signal-core span { font: 700 1.2rem/1 Inter, sans-serif; margin-left: 3px; color: var(--sky); }
.hero-card-label { position: relative; z-index: 1; margin-bottom: 8px; color: #9fa4c8; font-size: .78rem; font-weight: 780; letter-spacing: .13em; text-transform: uppercase; }
.hero-card h2 { position: relative; z-index: 1; max-width: 430px; margin-bottom: 26px; font: 500 1.75rem/1.25 Georgia, serif; }
.hero-card-foot { position: relative; z-index: 1; display: flex; justify-content: space-between; gap: 16px; padding-top: 18px; color: #bfc2d9; border-top: 1px solid rgba(255,255,255,.15); font-size: .78rem; }

.metric-strip {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto 110px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 40px rgba(31, 25, 55, .06);
}
.metric-strip article { padding: 28px 30px 24px; border-right: 1px solid var(--line); }
.metric-strip article:nth-child(3) { border-right: 0; }
.metric-strip strong { display: block; margin-bottom: 4px; font: 500 clamp(2rem, 4vw, 3.5rem)/1 Georgia, serif; color: var(--orange-dark); }
.metric-strip article p { margin: 0; color: var(--ink-soft); font-size: .9rem; }
.metric-note { grid-column: 1 / -1; margin: 0; padding: 10px 30px; color: #77788a; background: #eee9df; border-radius: 0 0 23px 23px; font-size: .73rem; }

.section-shell { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.section-heading { max-width: 680px; margin-bottom: 40px; }
.section-heading h2, .recommendation h2 { margin-bottom: 14px; font: 500 clamp(2.5rem, 5vw, 4.4rem)/1.03 Georgia, serif; letter-spacing: -.045em; }
.section-heading > p:last-child { color: var(--ink-soft); font-size: 1.08rem; }
.section-heading.compact { max-width: 850px; }

.chart-card {
  padding: clamp(24px, 4vw, 44px);
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.chart-tabs { display: inline-flex; gap: 4px; margin-bottom: 38px; padding: 5px; background: #ece7dc; border-radius: 999px; }
.chart-tabs button { padding: 9px 17px; color: var(--ink-soft); background: transparent; border: 0; border-radius: 999px; cursor: pointer; font-weight: 720; }
.chart-tabs button.is-active { color: #fff; background: var(--night); box-shadow: 0 5px 16px rgba(21,22,44,.16); }
.chart-intro { display: flex; justify-content: space-between; gap: 30px; align-items: flex-start; }
.chart-intro h3 { margin-bottom: 5px; font-size: clamp(1.45rem, 2.5vw, 2rem); letter-spacing: -.035em; }
.chart-intro p, .chart-meta { color: var(--ink-soft); }
.chart-intro a { color: var(--orange-dark); font-weight: 720; text-decoration: none; white-space: nowrap; }
.chart-axis { display: grid; grid-template-columns: repeat(5, 1fr); margin: 30px 72px 10px min(34%, 330px); color: #99968f; font-size: .7rem; }
.chart-axis span:not(:first-child) { text-align: right; }
.bar-chart { display: grid; gap: 19px; }
.bar-row { display: grid; grid-template-columns: minmax(170px, 33%) 1fr 58px; gap: 16px; align-items: center; animation: rise .45s both; animation-delay: var(--delay); }
@keyframes rise { from { opacity: 0; transform: translateY(7px); } to { opacity: 1; transform: none; } }
.bar-label { font-size: .86rem; line-height: 1.25; }
.bar-track { position: relative; height: 15px; overflow: hidden; background: #eae5db; border-radius: 999px; }
.bar-track::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(90deg, transparent calc(25% - 1px), rgba(23,24,43,.12) 25%, transparent calc(25% + 1px), transparent calc(50% - 1px), rgba(23,24,43,.12) 50%, transparent calc(50% + 1px), transparent calc(75% - 1px), rgba(23,24,43,.12) 75%, transparent calc(75% + 1px)); }
.bar-fill { width: var(--value); height: 100%; position: relative; z-index: 1; border-radius: inherit; background: var(--violet); animation: grow .7s cubic-bezier(.2,.8,.2,1) both; transform-origin: left; }
@keyframes grow { from { transform: scaleX(0); } }
.bar-fill.is-primary { background: var(--orange); }
.bar-fill.is-secondary { background: var(--violet); }
.bar-fill.is-warning { background: #d6a74c; }
.bar-fill.is-accent { background: var(--sky); }
.bar-value { text-align: right; font-size: .88rem; }
.chart-meta { margin: 24px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: .74rem; }

.experience-compare {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 34px;
  margin-top: 22px;
  padding: 30px 34px;
  color: #fff;
  background: #242646;
  border-radius: 24px;
}
.experience-compare .card-kicker { margin-bottom: 12px; color: #ffad91; }
.experience-compare h3 { margin-bottom: 10px; font: 500 1.55rem/1.18 Georgia, serif; }
.experience-compare > div:first-child > p:last-child { margin: 0; color: #bfc2d9; font-size: .82rem; }
.compare-bars { display: grid; gap: 12px; }
.compare-bars > div { display: grid; grid-template-columns: 86px 1fr 42px; gap: 10px; align-items: center; font-size: .76rem; }
.compare-bars span { color: #c7c9dc; }
.compare-bars i { height: 9px; overflow: hidden; background: rgba(255,255,255,.12); border-radius: 999px; }
.compare-bars i::after { content: ""; display: block; width: var(--compare); height: 100%; background: linear-gradient(90deg, var(--orange), #ffad91); border-radius: inherit; }
.compare-bars strong { text-align: right; font-size: .8rem; }
.compare-bars p { margin: 5px 0 0 96px; color: #9498ba; font-size: .66rem; }

.interpretation-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 20px; margin: 22px 0 120px; }
.interpretation-card { padding: 32px; background: transparent; border: 1px solid var(--line); border-radius: 24px; }
.interpretation-card.standout { color: #fff; background: var(--night); border-color: var(--night); }
.card-kicker { margin-bottom: 24px; color: var(--orange-dark); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.standout .card-kicker { color: #ffad91; }
.interpretation-card h3 { max-width: 560px; margin-bottom: 12px; font: 500 clamp(1.6rem, 3vw, 2.5rem)/1.15 Georgia, serif; }
.interpretation-card > p:last-child { margin-bottom: 0; color: var(--ink-soft); }
.standout > p:last-child { color: #c5c7db; }

.recommendation {
  padding: 110px max(24px, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1fr .82fr;
  gap: clamp(48px, 7vw, 100px);
  align-items: center;
  color: #fff;
  background:
    radial-gradient(circle at 84% 24%, rgba(136,120,219,.32), transparent 30rem),
    var(--night);
}
.recommendation-copy > p:not(.eyebrow) { max-width: 650px; color: #c7c9dc; }
.principles { list-style: none; margin: 38px 0 0; padding: 0; border-top: 1px solid rgba(255,255,255,.15); }
.principles li { display: grid; grid-template-columns: 42px 1fr; gap: 14px; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.principles li > span { color: #ffad91; font-size: .72rem; font-weight: 800; }
.principles b { display: block; margin-bottom: 3px; }
.principles p { margin: 0; color: #aeb1ca; font-size: .88rem; }

.policy-lab { padding: 30px; color: var(--ink); background: var(--card); border-radius: 28px; box-shadow: 0 26px 70px rgba(0,0,0,.22); }
.policy-lab-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 38px; }
.policy-lab-head p { margin-bottom: 3px; color: var(--orange-dark); font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.policy-lab-head h3 { margin: 0; font-size: 1.3rem; }
.policy-lab-head > span { padding: 6px 10px; color: #fff; background: var(--night); border-radius: 999px; font-size: .69rem; font-weight: 750; white-space: nowrap; }
.policy-lab label { display: block; margin-bottom: 12px; color: var(--ink-soft); font-size: .83rem; }
.policy-lab input[type="range"] { width: 100%; accent-color: var(--orange-dark); }
.risk-scale { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 8px; color: #8a887f; font-size: .68rem; }
.risk-scale strong { color: var(--orange-dark); font-size: .8rem; }
.policy-result { display: grid; grid-template-columns: 36px 1fr; gap: 13px; margin-top: 32px; padding: 22px; background: #ede8de; border-radius: 18px; }
.policy-result > span { width: 34px; height: 34px; display: grid; place-items: center; color: #fff; background: var(--orange-dark); border-radius: 50%; }
.policy-result p { margin-bottom: 4px; color: var(--ink-soft); font-size: .78rem; }
.policy-result h4 { margin: 0 0 5px; font-size: 1.35rem; }
.policy-result div > p:last-child { margin: 0; font-size: .85rem; }
.illustration-note { margin: 16px 2px 0; color: #8a887f; font-size: .68rem; }

.methods { padding: 115px 0 80px; }
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.methods-grid article { padding: 26px; background: rgba(255,253,248,.65); border: 1px solid var(--line); border-radius: 20px; }
.methods-grid span { color: var(--orange-dark); font-size: .69rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.methods-grid h3 { margin: 15px 0 10px; font-size: 1.15rem; }
.methods-grid p { margin: 0; color: var(--ink-soft); font-size: .88rem; }
.source-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-top: 24px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.source-row p { margin: 0; color: var(--ink-soft); font-size: .84rem; }
.source-row div { display: flex; gap: 18px; white-space: nowrap; }
.source-row a { color: var(--orange-dark); font-size: .82rem; font-weight: 720; text-decoration: none; }

footer {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 36px 0 50px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 32px;
  align-items: center;
  color: var(--ink-soft);
  font-size: .78rem;
}
footer p { margin: 0; }
footer a { color: inherit; font-weight: 720; text-underline-offset: 3px; }
footer a:hover { color: var(--orange-dark); }

@media (max-width: 900px) {
  .hero, .recommendation { grid-template-columns: 1fr; }
  .hero { padding-top: 70px; }
  .hero-card { min-height: 470px; }
  .metric-strip { grid-template-columns: 1fr; }
  .metric-strip article { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-strip article:nth-child(3) { border-bottom: 0; }
  .interpretation-grid, .methods-grid { grid-template-columns: 1fr; }
  .experience-compare { grid-template-columns: 1fr; }
  .source-row { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 640px) {
  .site-header, .hero, .metric-strip, .section-shell, footer { width: min(100% - 30px, var(--max)); }
  .site-header { min-height: 72px; }
  nav { display: none; }
  .hero { padding: 62px 0 64px; }
  h1 { font-size: clamp(3.05rem, 15vw, 4.7rem); }
  .hero-card { min-height: 455px; padding: 27px; border-radius: 25px; }
  .hero-card-foot { flex-direction: column; }
  .metric-strip { margin-bottom: 80px; }
  .chart-card { border-radius: 22px; }
  .chart-tabs { width: 100%; }
  .chart-tabs button { flex: 1; padding-inline: 8px; }
  .chart-intro { flex-direction: column; gap: 8px; }
  .chart-axis { display: none; }
  .bar-row { grid-template-columns: 1fr 54px; gap: 8px 12px; }
  .bar-track { grid-column: 1 / -1; grid-row: 2; }
  .bar-value { grid-column: 2; grid-row: 1; }
  .experience-compare { padding: 25px 22px; }
  .compare-bars > div { grid-template-columns: 72px 1fr 38px; }
  .compare-bars p { margin-left: 0; }
  .recommendation { padding-top: 82px; padding-bottom: 82px; }
  .policy-lab { padding: 22px; }
  .policy-lab-head { flex-direction: column; margin-bottom: 28px; }
  .source-row div { flex-direction: column; gap: 8px; white-space: normal; }
  footer { grid-template-columns: 1fr; gap: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
