:root {
  color-scheme: dark;
  --bg: #090b0d;
  --surface: #111519;
  --surface-2: #171c21;
  --ink: #f5f7f8;
  --muted: #a8b1b8;
  --line: rgba(255,255,255,.13);
  --accent: #ffd600;
  --cyan: #70e7ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: radial-gradient(circle at 83% 2%, rgba(112,231,255,.075), transparent 28rem), var(--bg);
  font-family: Inter, Manrope, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
::selection { color: var(--bg); background: var(--accent); }
.shell { width: min(calc(100% - 40px), 1200px); margin-inline: auto; }
.site-header { border-bottom: 1px solid var(--line); }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 760; letter-spacing: -.025em; white-space: nowrap; }
.brand img { width: 38px; height: 38px; }
.nav-links { display: flex; align-items: center; gap: 30px; color: #c7ced3; font-size: .93rem; }
.nav-links a:hover, .nav-links a:focus-visible, .text-link:hover { color: var(--accent); }
.nav-cta { padding: 10px 17px; border: 1px solid rgba(255,214,0,.55); border-radius: 999px; color: var(--accent); font-weight: 700; }
a:focus-visible { outline: 3px solid rgba(112,231,255,.55); outline-offset: 5px; border-radius: 3px; }
.back-link { display: inline-flex; gap: 9px; align-items: center; color: #c7ced3; font-size: .93rem; font-weight: 650; }
.back-link:hover { color: var(--accent); }
.case-hero { padding: clamp(68px, 9vw, 122px) 0 clamp(66px, 9vw, 112px); border-bottom: 1px solid var(--line); }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 42px 0 22px; color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: clamp(40px, 7vw, 110px); align-items: end; }
h1 { max-width: 850px; margin: 0; font-size: clamp(3.1rem, 6.5vw, 6.4rem); line-height: .97; font-weight: 740; letter-spacing: -.065em; text-wrap: balance; }
.highlight { color: var(--accent); }
.hero-lead { max-width: 700px; margin: 30px 0 0; color: #bbc4ca; font-size: clamp(1.08rem, 1.8vw, 1.28rem); line-height: 1.5; }
.hero-aside { padding: 26px; border: 1px solid var(--line); border-radius: 24px; background: var(--surface); }
.aside-label, .stat-label { margin: 0; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.hero-aside strong { display: block; margin-top: 12px; font-size: 1.5rem; line-height: 1.18; letter-spacing: -.035em; }
.hero-aside p:last-child { margin: 16px 0 0; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 56px; }
.stats-four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { min-height: 176px; display: flex; flex-direction: column; justify-content: space-between; padding: 24px; border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(145deg, rgba(255,214,0,.055), rgba(255,255,255,.016)); }
.stat strong { display: block; margin: 12px 0 7px; color: var(--accent); font-size: clamp(2.3rem, 4vw, 4rem); line-height: 1; letter-spacing: -.06em; }
.stat span { color: #d2d9dd; }
.stat small { display: block; margin-top: 8px; color: var(--muted); font-size: .82rem; }
.case-main { display: grid; grid-template-columns: minmax(180px, .3fr) minmax(0, .7fr); gap: clamp(30px, 6vw, 95px); padding-top: clamp(76px, 10vw, 130px); }
.side-index { position: sticky; top: 28px; align-self: start; display: grid; gap: 13px; padding-top: 6px; font-size: .9rem; }
.side-index span { margin-bottom: 7px; color: var(--muted); font-size: .78rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.side-index a { color: #b5bec5; }
.side-index a:hover { color: var(--accent); }
.article-section { padding: 0 0 clamp(70px, 9vw, 108px); scroll-margin-top: 35px; }
.article-section + .article-section { padding-top: clamp(70px, 9vw, 108px); border-top: 1px solid var(--line); }
.section-number { margin: 0 0 17px; color: var(--accent); font-size: .78rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
h2 { max-width: 750px; margin: 0 0 30px; font-size: clamp(2.2rem, 4.6vw, 4.2rem); line-height: 1.03; letter-spacing: -.055em; font-weight: 710; text-wrap: balance; }
h3 { margin: 0 0 9px; font-size: 1.33rem; line-height: 1.2; letter-spacing: -.025em; }
.article-section > p:not(.section-number), .article-section li { color: #c4cdd2; font-size: 1.06rem; line-height: 1.72; }
.article-section > p:not(.section-number) { max-width: 760px; margin: 0 0 20px; }
.article-section > p:last-child { margin-bottom: 0; }
.detail-list { display: grid; gap: 0; margin: 34px 0 0; padding: 0; list-style: none; }
.detail-list li { display: grid; grid-template-columns: 38px 1fr; gap: 18px; padding: 23px 0; border-top: 1px solid var(--line); }
.detail-list li:last-child { border-bottom: 1px solid var(--line); }
.detail-list .number { color: var(--accent); font-size: .8rem; font-weight: 800; letter-spacing: .08em; }
.detail-list p { margin: 0; }
.detail-list h3 { color: var(--ink); }
.callout { margin-top: 34px; padding: 23px 26px; border-left: 3px solid var(--accent); border-radius: 0 15px 15px 0; color: #d1d8dc; background: rgba(255,214,0,.065); font-size: 1rem; }
.callout strong { color: var(--ink); }
.proofs { padding: clamp(86px, 10vw, 134px) 0; border-top: 1px solid var(--line); }
.proof-head { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; align-items: end; margin-bottom: 36px; }
.proof-head h2 { margin-bottom: 0; }
.proof-head p { max-width: 460px; margin: 0 0 5px; color: var(--muted); }
.proof-frame { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 24px; background: #e8ebed; }
.proof-frame img { width: 100%; height: auto; border-radius: 10px; }
figcaption { margin: 14px 7px 3px; color: #c5cdd2; font-size: .9rem; }
.proof-frame figcaption { color: #39454d; }
.proof-explainer { max-width: 760px; margin: 22px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.65; }
.letters { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 16px; }
.letter { margin: 0; padding: 15px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); }
.letter img { width: 100%; height: auto; background: white; border-radius: 8px; }
.letter figcaption { margin-top: 15px; }
.source-line { margin: 28px 0 0; color: var(--muted); font-size: .93rem; }
.text-link { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: 5px; }
.closing { padding: clamp(76px, 10vw, 125px) 0; border-top: 1px solid var(--line); background: radial-gradient(circle at 96% 100%, rgba(255,214,0,.075), transparent 32rem); }
.closing-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 45px; align-items: end; }
.closing h2 { margin-bottom: 18px; }
.closing p { max-width: 600px; margin: 0; color: var(--muted); }
.closing .closing-terms { margin-top: 14px; color: var(--ink); font-weight: 650; }
.closing-actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 52px; padding: 12px 22px; border: 1px solid var(--line); border-radius: 999px; font-weight: 760; text-align: center; }
.button:hover { transform: translateY(-2px); border-color: var(--accent); }
.button-primary { color: var(--bg); background: var(--accent); border-color: var(--accent); }
.button-primary:hover { background: #ffe33d; }
.more-cases { padding: 50px 0 70px; border-top: 1px solid var(--line); }
.more-cases h2 { margin-bottom: 25px; font-size: 2rem; }
.more-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.more-list a { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 22px 25px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); font-weight: 700; }
.more-list a:hover { border-color: rgba(255,214,0,.55); color: var(--accent); }
.more-list span { color: var(--accent); }
footer { padding: 28px 0; border-top: 1px solid var(--line); color: #929da5; font-size: .83rem; }
.footer-row { display: flex; justify-content: space-between; gap: 20px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 9px 22px; }
@media (max-width: 900px) {
  .hero-grid, .case-main, .proof-head, .closing-grid { grid-template-columns: 1fr; }
  .stats-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-aside { max-width: 600px; }
  .side-index { display: none; }
  .closing-actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .shell { width: min(calc(100% - 28px), 1200px); }
  .nav { min-height: 72px; }
  .brand { font-size: .93rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .nav-cta { padding: 9px 12px; font-size: .8rem; }
  .case-hero { padding-top: 48px; }
  .eyebrow { margin-top: 34px; }
  h1 { font-size: clamp(2.7rem, 11.5vw, 4.1rem); }
  .stats, .stats-four, .letters, .more-list { grid-template-columns: 1fr; }
  .stats { margin-top: 35px; }
  .stat { min-height: 130px; }
  .proof-frame, .letter { padding: 8px; border-radius: 15px; }
  .footer-row { flex-direction: column; gap: 4px; }
  .footer-links { justify-content: flex-start; }
  .closing-actions, .button { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
