:root {
  --dr-bg: #080909;
  --dr-panel: #101213;
  --dr-paper: #f3f3f0;
  --dr-ink: #1b1c1c;
  --dr-line: #aaa;
  --dr-line-dark: #2b2e2f;
  --dr-muted: #6d7273;
  --dr-red: #d90b18;
  --dr-gutter: 48px;
  --dr-nav: 56px;
  --dr-mono: "JetBrains Mono", Consolas, monospace;
  --dr-sans: "Inter", "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--dr-bg); }
body.dr-body { margin: 0; background: var(--dr-paper); color: var(--dr-ink); font-family: var(--dr-sans); -webkit-font-smoothing: antialiased; }
.dr-body a { color: inherit; text-decoration: none; }
.dr-body button { font: inherit; }
.dr-body ::selection { background: var(--dr-ink); color: var(--dr-paper); }
.dr-body :focus-visible { outline: 2px solid var(--dr-red); outline-offset: 3px; }
.dr-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.dr-skip { position: fixed; top: 10px; left: 10px; z-index: 3000; padding: 10px 14px; background: var(--dr-paper); color: var(--dr-ink); border: 1px solid var(--dr-line); transform: translateY(-160%); transition: transform .2s ease; }
.dr-skip:focus { transform: translateY(0); }
.dr-shell { width: 100%; max-width: none; margin: 0; padding: 0 var(--dr-gutter); }
.dr-nav { position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--dr-nav); color: #fff; border-bottom: 1px solid rgba(255,255,255,.16); background: rgba(8,9,9,.15); backdrop-filter: blur(14px); transition: background-color .3s ease, color .3s ease, border-color .3s ease; }
.dr-nav.is-scrolled { background: rgba(8,9,9,.94); border-bottom-color: rgba(255,255,255,.25); }
.dr-nav__inner { width: 100%; height: 100%; padding: 0 var(--dr-gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.dr-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: .04em; }
.dr-brand__mark { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid currentColor; clip-path: polygon(0 0, 76% 0, 100% 24%, 100% 100%, 24% 100%, 0 76%); }
.dr-brand__mark svg { width: 17px; height: 17px; }
.dr-brand__sub { color: rgba(255,255,255,.58); font-family: var(--dr-mono); font-size: 10px; letter-spacing: .08em; }
.dr-nav__menu { display: flex; align-items: center; gap: 26px; justify-self: center; }
.dr-nav__menu a { color: rgba(255,255,255,.66); font-size: 12px; transition: color .2s ease; }
.dr-nav__menu a:hover { color: #fff; }
.dr-nav__toggle { display: none; justify-self: end; width: 44px; height: 44px; padding: 10px; color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.4); }
.dr-nav__toggle span { display: block; height: 1px; margin: 5px 0; background: currentColor; }
.dr-hero { position: relative; min-height: 100vh; padding-top: var(--dr-nav); overflow: hidden; background: var(--dr-bg); color: #fff; }
.dr-hero__visual { position: absolute; inset: 0; color: rgba(255,255,255,.22); background: radial-gradient(circle at 72% 34%, rgba(217,11,24,.2), transparent 28%), linear-gradient(120deg, #050606 0%, #111415 58%, #080909 100%); }
.dr-hero__visual::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.055) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.055) 1px, transparent 1px); background-size: 48px 48px; mask-image: linear-gradient(to bottom, #000 0%, transparent 92%); }
.dr-hero__visual svg { position: absolute; inset: 9% 0 0; width: 100%; height: 80%; fill: none; stroke: currentColor; stroke-width: 1.5; opacity: .5; }
.dr-hero__inner { position: relative; z-index: 2; min-height: calc(100vh - var(--dr-nav)); display: grid; grid-template-columns: minmax(0, .88fr) minmax(520px, 1.12fr); gap: 72px; align-items: end; padding: 84px var(--dr-gutter) 66px; }
.dr-hero__copy { max-width: 650px; }
.dr-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--dr-red); font-family: var(--dr-mono); font-size: 10px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; }
.dr-kicker::before { content: ""; width: 20px; height: 2px; background: currentColor; }
.dr-kicker--light { color: rgba(255,255,255,.62); }
.dr-hero h1 { margin: 22px 0 22px; font-size: clamp(58px, 6.6vw, 108px); line-height: .94; letter-spacing: -.07em; font-weight: 700; }
.dr-hero__copy > p { max-width: 560px; margin: 0; color: rgba(255,255,255,.64); font-size: 15px; line-height: 1.85; }
.dr-principles { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0 0; padding: 0; list-style: none; }
.dr-principles li { padding: 7px 9px; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.68); font-family: var(--dr-mono); font-size: 10px; }
.dr-hero__routes { display: grid; gap: 12px; }
.dr-route { position: relative; padding: 26px; border: 1px solid rgba(255,255,255,.25); background: rgba(11,13,14,.72); backdrop-filter: blur(16px); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.dr-route__top { display: flex; justify-content: space-between; gap: 16px; color: rgba(255,255,255,.48); font-family: var(--dr-mono); font-size: 10px; letter-spacing: .12em; }
.dr-route__index { color: var(--dr-red); }
.dr-route__main { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: end; margin-top: 24px; }
.dr-route h2 { margin: 0 0 8px; font-size: clamp(34px, 3.2vw, 52px); line-height: 1; letter-spacing: -.05em; }
.dr-route p { max-width: 440px; margin: 0; color: rgba(255,255,255,.58); font-size: 13px; line-height: 1.7; }
.dr-route__tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 0; padding: 0; list-style: none; }
.dr-route__tags li { padding: 5px 7px; border: 1px solid rgba(255,255,255,.22); color: rgba(255,255,255,.55); font-family: var(--dr-mono); font-size: 9px; }
.dr-btn { min-height: 52px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: space-between; gap: 20px; border: 1px solid var(--dr-line); clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px); font-size: 13px; font-weight: 600; white-space: nowrap; transition: background-color .25s ease, color .25s ease, border-color .25s ease; }
.dr-btn--solid { background: #fff; color: var(--dr-ink); border-color: #fff; }
.dr-btn--solid:hover { background: var(--dr-red); color: #fff; border-color: var(--dr-red); }
.dr-btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.dr-btn--outline:hover { background: #fff; color: var(--dr-ink); }
.dr-hero__meta { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.18); background: rgba(5,6,6,.8); }
.dr-hero__meta span { min-height: 44px; display: flex; align-items: center; padding: 0 var(--dr-gutter); color: rgba(255,255,255,.58); font-family: var(--dr-mono); font-size: 10px; letter-spacing: .06em; border-right: 1px solid rgba(255,255,255,.14); }
.dr-hero__meta span:last-child { border-right: 0; }
.dr-section { padding: 104px 0; background: var(--dr-paper); border-top: 1px solid var(--dr-line); }
.dr-section--soft { background: #e9e9e6; }
.dr-section--dark, .dr-section--final { background: var(--dr-bg); color: #fff; border-top-color: var(--dr-line-dark); }
.dr-head { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 72px; align-items: end; margin-bottom: 52px; }
.dr-head h2 { margin: 18px 0 0; font-size: clamp(38px, 4.4vw, 72px); line-height: 1.02; letter-spacing: -.055em; }
.dr-head p { margin: 0; padding-top: 18px; border-top: 1px solid var(--dr-line); color: var(--dr-muted); font-size: 14px; line-height: 1.8; }
.dr-section--dark .dr-head p, .dr-section--final .dr-head p { color: rgba(255,255,255,.58); border-color: rgba(255,255,255,.2); }
.dr-note { margin: 18px 0 0; color: var(--dr-muted); font-family: var(--dr-mono); font-size: 10px; }
.dr-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; transition: color .2s ease; }
.dr-link:hover { color: var(--dr-red); }
.dr-waterfall { columns: 3; column-gap: 1px; column-rule: 1px solid var(--dr-line); border-top: 1px solid var(--dr-line); border-bottom: 1px solid var(--dr-line); }
.dr-waterfall--2 { columns: 2; }
.dr-card { min-height: 250px; margin: 0; padding: 30px; break-inside: avoid; border-bottom: 1px solid var(--dr-line); background: var(--dr-paper); transition: background-color .2s ease, transform .2s ease; }
.dr-card:hover { background: #fff; transform: translateY(-2px); }
.dr-card__index { color: var(--dr-red); font-family: var(--dr-mono); font-size: 10px; }
.dr-card__big { display: block; margin-top: 28px; font-family: var(--dr-mono); font-size: 26px; }
.dr-card h3 { margin: 12px 0 22px; font-size: 24px; }
.dr-card p { margin: 0 0 22px; color: var(--dr-muted); font-size: 13px; line-height: 1.75; }
.dr-card dl { margin: 0; display: grid; gap: 10px; }
.dr-card dl div { display: flex; justify-content: space-between; gap: 14px; padding-top: 9px; border-top: 1px solid #cfcfcb; }
.dr-card dt { color: var(--dr-muted); font-size: 11px; }
.dr-card dd { margin: 0; text-align: right; font-size: 11px; }
.dr-card ul { margin: 0; padding: 0; list-style: none; }
.dr-card li { padding: 11px 0; border-top: 1px solid #cfcfcb; color: var(--dr-muted); font-size: 13px; }
.dr-waterfall .dr-link { margin-top: 26px; }
.dr-slot { min-height: 160px; margin: -30px -30px 24px; display: flex; align-items: flex-end; padding: 16px; color: var(--dr-muted); border-bottom: 1px solid var(--dr-line); background: linear-gradient(135deg, rgba(27,28,28,.1) 25%, transparent 25%, transparent 50%, rgba(27,28,28,.1) 50%, rgba(27,28,28,.1) 75%, transparent 75%); background-size: 22px 22px; font-family: var(--dr-mono); font-size: 10px; }
.dr-table-wrap { overflow-x: auto; border: 1px solid var(--dr-line); background: #fff; }
.dr-table { width: 100%; min-width: 760px; border-collapse: collapse; }
.dr-table th, .dr-table td { padding: 20px 22px; border-right: 1px solid var(--dr-line); border-bottom: 1px solid var(--dr-line); text-align: left; font-size: 13px; font-weight: 400; }
.dr-table tr:last-child th, .dr-table tr:last-child td { border-bottom: 0; }
.dr-table th:last-child, .dr-table td:last-child { border-right: 0; }
.dr-table thead th { background: var(--dr-ink); color: #fff; font-family: var(--dr-mono); font-size: 10px; letter-spacing: .12em; }
.dr-table tbody th { width: 180px; background: #e8e8e5; font-weight: 600; }
.dr-level { display: inline-flex; align-items: center; gap: 8px; color: var(--dr-muted); }
.dr-level::before { content: ""; width: 7px; height: 7px; border: 1px solid currentColor; }
.dr-level--good { color: var(--dr-ink); font-weight: 600; }
.dr-level--good::before { background: var(--dr-ink); }
.dr-level--high { color: var(--dr-red); font-weight: 600; }
.dr-level--high::before { background: var(--dr-red); border-color: var(--dr-red); }
.dr-level--avoid { color: #969b9b; text-decoration: line-through; }
.dr-rows { border-top: 1px solid var(--dr-line); }
.dr-row { display: grid; grid-template-columns: minmax(250px, 1.4fr) .68fr .62fr .68fr .82fr 64px; gap: 18px; align-items: center; min-height: 94px; padding: 18px 0; border-bottom: 1px solid var(--dr-line); }
.dr-row:hover { background: #fff; }
.dr-row > div span { display: block; font-size: 16px; font-weight: 600; }
.dr-row small { display: block; margin-top: 6px; color: var(--dr-muted); font-family: var(--dr-mono); font-size: 10px; }
.dr-row > span { color: var(--dr-muted); font-size: 12px; }
.dr-row a { justify-self: end; color: var(--dr-red); font-size: 12px; font-weight: 600; }
.dr-upgrade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .8fr); gap: 80px; align-items: end; }
.dr-upgrade h2, .dr-final h2 { margin: 18px 0 22px; font-size: clamp(46px, 5.2vw, 76px); line-height: 1.02; letter-spacing: -.055em; }
.dr-upgrade p { max-width: 620px; margin: 0 0 30px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.8; }
.dr-bottleneck { padding: 24px 0; border-top: 1px solid rgba(255,255,255,.2); }
.dr-bottleneck__row { display: grid; grid-template-columns: 1fr minmax(180px, 2fr) 40px; gap: 18px; align-items: center; min-height: 56px; border-bottom: 1px solid rgba(255,255,255,.14); }
.dr-bottleneck__row:last-of-type { border-bottom: 0; }
.dr-bottleneck__row i { position: relative; display: block; height: 5px; background: rgba(255,255,255,.16); }
.dr-bottleneck__row i::after { content: ""; position: absolute; left: 0; top: 0; width: var(--dr-bar); height: 100%; background: var(--dr-red); }
.dr-bottleneck__row b { color: #fff; font-family: var(--dr-mono); font-size: 11px; text-align: right; }
.dr-bottleneck > p { margin: 18px 0 0; color: rgba(255,255,255,.42); font-family: var(--dr-mono); font-size: 10px; }
.dr-final { min-height: 460px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .7fr); gap: 80px; align-items: end; }
.dr-final__actions { display: flex; flex-direction: column; gap: 12px; }
.dr-final__actions .dr-btn { width: 100%; }
.dr-footer { background: #050606; color: rgba(255,255,255,.5); border-top: 1px solid rgba(255,255,255,.18); }
.dr-footer__inner { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font-family: var(--dr-mono); font-size: 10px; }
.dr-footer nav { display: flex; gap: 22px; }
@media (max-width: 1180px) {
  .dr-hero__inner { gap: 42px; }
  .dr-hero__routes { min-width: 480px; }
  .dr-waterfall, .dr-waterfall--3 { columns: 2; }
  .dr-row { grid-template-columns: minmax(220px, 1.4fr) .7fr .6fr .7fr .8fr 56px; gap: 12px; }
}
@media (max-width: 1024px) {
  .dr-nav__menu { position: absolute; top: var(--dr-nav); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 10px var(--dr-gutter) 16px; background: rgba(8,9,9,.98); border-bottom: 1px solid rgba(255,255,255,.2); }
  .dr-nav__menu.is-open { display: flex; }
  .dr-nav__menu a { min-height: 46px; display: flex; align-items: center; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dr-nav__toggle { display: block; }
  .dr-brand__sub { display: none; }
  .dr-hero__inner { grid-template-columns: 1fr; gap: 36px; align-items: start; padding-top: 64px; }
  .dr-hero__routes { min-width: 0; }
  .dr-hero__meta { grid-template-columns: 1fr; }
  .dr-hero__meta span { min-height: 38px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .dr-hero__meta span:last-child { border-bottom: 0; }
  .dr-section { padding: 80px 0; }
  .dr-head { grid-template-columns: 1fr; gap: 28px; }
  .dr-head p { max-width: 620px; }
  .dr-upgrade, .dr-final { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 767px) {
  :root { --dr-gutter: 16px; }
  .dr-nav__inner { grid-template-columns: 1fr auto; }
  .dr-hero { min-height: 100vh; }
  .dr-hero__inner { min-height: auto; padding: 38px var(--dr-gutter) 36px; }
  .dr-hero h1 { font-size: 58px; }
  .dr-hero__copy > p { font-size: 14px; }
  .dr-principles { margin-top: 20px; }
  .dr-route { padding: 20px; }
  .dr-route__main { grid-template-columns: 1fr; gap: 20px; }
  .dr-route h2 { font-size: 38px; }
  .dr-btn { width: 100%; min-height: 50px; }
  .dr-section { padding: 68px 0; }
  .dr-head { margin-bottom: 36px; }
  .dr-head h2 { font-size: 34px; }
  .dr-waterfall, .dr-waterfall--2, .dr-waterfall--3 { columns: 1; }
  .dr-card { min-height: 0; }
  .dr-table-wrap { margin-right: calc(var(--dr-gutter) * -1); margin-left: calc(var(--dr-gutter) * -1); border-right: 0; border-left: 0; }
  .dr-table { min-width: 620px; }
  .dr-table th, .dr-table td { padding: 16px 17px; font-size: 12px; }
  .dr-table tbody th { width: 128px; }
  .dr-rows { margin-right: calc(var(--dr-gutter) * -1); margin-left: calc(var(--dr-gutter) * -1); }
  .dr-row { grid-template-columns: 1fr 1fr; gap: 12px 16px; min-height: 0; padding: 20px var(--dr-gutter); }
  .dr-row > div, .dr-row a { grid-column: 1 / -1; }
  .dr-row a { justify-self: start; }
  .dr-upgrade h2, .dr-final h2 { font-size: 42px; }
  .dr-bottleneck__row { grid-template-columns: 1fr 76px 30px; gap: 10px; }
  .dr-footer__inner { min-height: 112px; align-items: flex-start; flex-direction: column; justify-content: center; }
  .dr-footer nav { flex-wrap: wrap; gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .dr-body [data-reveal] { opacity: 1; transform: none; }
  .dr-body * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 767px) {
  .dr-hero__inner { gap: 20px; padding: 26px var(--dr-gutter) 22px; }
  .dr-hero h1 { margin: 14px 0 14px; font-size: 46px; }
  .dr-hero__copy > p { font-size: 13px; line-height: 1.62; }
  .dr-principles { display: none; }
  .dr-route { padding: 16px; }
  .dr-route__main { gap: 12px; margin-top: 14px; }
  .dr-route h2 { font-size: 34px; }
  .dr-route p { font-size: 12px; line-height: 1.6; }
  .dr-route__tags { margin-top: 10px; }
  .dr-route__tags li { padding: 4px 6px; }
}
