:root {
  color-scheme: dark;
  --bg: #07080b;
  --bg-soft: #0b0d12;
  --panel: #10131a;
  --panel-2: #151923;
  --text: #f4f6fa;
  --muted: #9aa2b2;
  --line: rgba(255,255,255,.09);
  --line-strong: rgba(255,255,255,.16);
  --red: #ef3f47;
  --red-deep: #bd202c;
  --red-soft: rgba(239,63,71,.12);
  --green: #42d69a;
  --amber: #f1b957;
  --blue: #67a8ff;
  --radius: 22px;
  --shadow: 0 30px 90px rgba(0,0,0,.42);
  --max: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 76% 4%, rgba(239,63,71,.12), transparent 25rem),
    radial-gradient(circle at 12% 36%, rgba(103,168,255,.05), transparent 29rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
img { display: block; max-width: 100%; }
code, .mono { font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace; }

.shell { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7,8,11,.86);
  backdrop-filter: blur(20px);
}
.site-header-inner {
  width: min(var(--max), calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: max-content; }
.brand img { width: 40px; height: 40px; filter: drop-shadow(0 10px 20px rgba(239,63,71,.3)); }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 16px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 6px; color: var(--muted); font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.desktop-nav { display: flex; align-items: center; gap: 23px; margin-left: auto; }
.desktop-nav a { color: #bbc1cd; font-size: 13px; font-weight: 620; transition: color .16s ease; }
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: white; }
.desktop-nav a[aria-current="page"] { position: relative; }
.desktop-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -27px; height: 2px; background: var(--red); }
.header-cta, .button {
  min-height: 43px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 17px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 720;
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}
.header-cta, .button-primary { background: var(--red); color: white; box-shadow: 0 15px 34px rgba(239,63,71,.18); }
.header-cta:hover, .button-primary:hover { background: #ff5059; transform: translateY(-1px); }
.button-secondary { border-color: var(--line-strong); background: rgba(255,255,255,.035); }
.button-secondary:hover { border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.065); transform: translateY(-1px); }
.mobile-menu { display: none; margin-left: auto; }
.mobile-menu summary { width: 42px; height: 42px; display: grid; place-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; list-style: none; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu summary span { width: 18px; height: 1px; background: white; }
.mobile-menu nav { position: absolute; left: 20px; right: 20px; top: 67px; display: grid; padding: 10px; border: 1px solid var(--line-strong); border-radius: 18px; background: #10131a; box-shadow: var(--shadow); }
.mobile-menu nav a { padding: 13px 14px; border-radius: 10px; color: #d5d9e2; font-weight: 650; }
.mobile-menu nav a:hover { background: rgba(255,255,255,.06); }

.eyebrow { margin: 0 0 18px; color: var(--red); font-size: 11px; font-weight: 780; letter-spacing: .18em; text-transform: uppercase; }
.hero { position: relative; padding: 108px 0 82px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 75px; align-items: center; }
.hero::before { content: ""; position: absolute; inset: 15% auto auto -190px; width: 330px; height: 330px; border: 1px solid rgba(239,63,71,.09); border-radius: 50%; box-shadow: 0 0 0 50px rgba(239,63,71,.018), 0 0 0 100px rgba(239,63,71,.012); pointer-events: none; }
.hero h1, .page-hero h1 { margin: 0; max-width: 780px; font-size: clamp(52px, 7vw, 91px); line-height: .96; letter-spacing: -.066em; }
.hero h1 span, .page-hero h1 span { display: block; color: var(--red); font-weight: 480; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: #b5bbc7; font-size: 18px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 33px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 35px; color: var(--muted); font-size: 12px; }
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(66,214,154,.1); }

.live-card { position: relative; overflow: hidden; padding: 28px; border: 1px solid var(--line-strong); border-radius: 28px; background: linear-gradient(145deg, rgba(25,29,40,.96), rgba(12,14,19,.96)); box-shadow: var(--shadow); }
.live-card::after { content: ""; position: absolute; width: 190px; height: 190px; top: -100px; right: -80px; border-radius: 50%; background: rgba(239,63,71,.12); filter: blur(30px); }
.live-head { position: relative; z-index: 1; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.live-head span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.live-head strong { display: block; margin-top: 5px; font-size: 15px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 10px; font-weight: 760; letter-spacing: .1em; }
.status-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.status-pill.live { color: #baf4dc; border-color: rgba(66,214,154,.22); background: rgba(66,214,154,.06); }
.status-pill.live i { background: var(--green); box-shadow: 0 0 0 4px rgba(66,214,154,.11); }
.height-block { position: relative; z-index: 1; margin-top: 34px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.height-block small { display: block; color: var(--muted); }
.height-block strong { display: block; margin-top: 4px; font-size: clamp(48px, 6vw, 74px); line-height: 1; letter-spacing: -.055em; }
.live-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.live-grid div { min-width: 0; }
.live-grid small { display: block; color: var(--muted); font-size: 11px; }
.live-grid strong { display: block; margin-top: 6px; overflow: hidden; text-overflow: ellipsis; font-size: 17px; }
.live-note { position: relative; z-index: 1; margin: 24px 0 0; color: #747d8e; font-size: 11px; }

.service-strip { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.018); }
.service-strip a { min-height: 120px; display: flex; align-items: center; gap: 14px; padding: 24px; border-right: 1px solid var(--line); transition: background .16s ease; }
.service-strip a:last-child { border-right: 0; }
.service-strip a:hover { background: rgba(255,255,255,.045); }
.service-number { color: var(--red); font: 700 11px/1 "SFMono-Regular", Consolas, monospace; }
.service-copy { min-width: 0; display: grid; }
.service-copy small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.service-copy strong { margin-top: 5px; font-size: 15px; }
.service-arrow { margin-left: auto; color: var(--muted); }

.section { padding: 105px 0; }
.section-tight { padding: 75px 0; }
.section-header { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; align-items: end; margin-bottom: 42px; }
.section-header h2 { margin: 0; max-width: 730px; font-size: clamp(38px, 5vw, 62px); line-height: 1.04; letter-spacing: -.048em; }
.section-header > p { margin: 0; color: var(--muted); line-height: 1.7; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.feature-card, .data-card, .roadmap-card { padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, rgba(20,23,31,.9), rgba(11,13,18,.9)); }
.feature-card > span { color: var(--red); font: 700 11px/1 "SFMono-Regular", Consolas, monospace; }
.feature-card h3 { margin: 36px 0 10px; font-size: 18px; }
.feature-card p, .data-card p, .roadmap-card p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }

.metric-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.metric { padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.025); }
.metric span { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.metric strong { display: block; margin-top: 14px; font-size: 28px; letter-spacing: -.035em; }
.metric p { margin: 7px 0 0; color: #737c8c; font-size: 11px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.panel { padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(15,18,25,.85); }
.panel h2, .panel h3 { margin-top: 0; letter-spacing: -.03em; }
.panel p { color: var(--muted); }
.panel-accent { background: linear-gradient(145deg, rgba(239,63,71,.12), rgba(15,18,25,.9) 48%); }
.big-number { display: block; margin: 20px 0 10px; font-size: clamp(36px, 5vw, 58px); letter-spacing: -.055em; }
.big-number small { color: var(--red); font-size: .4em; letter-spacing: 0; }

.page-hero { padding: 92px 0 58px; border-bottom: 1px solid var(--line); }
.page-hero h1 { font-size: clamp(52px, 7vw, 84px); }
.page-hero > p:last-child { max-width: 750px; margin: 25px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }
.page-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 70px; padding: 70px 0 110px; }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 7px; }
.toc > span { margin-bottom: 10px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; }
.toc a { padding: 9px 12px; border-left: 1px solid var(--line); color: #8f97a6; font-size: 12px; }
.toc a:hover { color: white; border-left-color: var(--red); }
.article { min-width: 0; }
.article section { scroll-margin-top: 100px; padding: 0 0 70px; }
.article section + section { padding-top: 70px; border-top: 1px solid var(--line); }
.article h2 { margin: 0 0 20px; font-size: clamp(32px, 4vw, 50px); letter-spacing: -.045em; line-height: 1.08; }
.article h3 { margin: 28px 0 10px; font-size: 20px; }
.article p { color: #abb2bf; line-height: 1.82; }
.article ul { color: #abb2bf; line-height: 1.8; }
.section-number { float: right; color: rgba(255,255,255,.04); font-size: 78px; font-weight: 800; line-height: .8; }
.callout { margin: 28px 0; padding: 22px 24px; border: 1px solid rgba(239,63,71,.22); border-radius: 16px; background: var(--red-soft); }
.callout strong { display: block; margin-bottom: 8px; }
.callout p { margin: 0; color: #c7ccd6; }

.spec-table { overflow: hidden; margin: 28px 0; border: 1px solid var(--line); border-radius: 18px; }
.spec-row { display: grid; grid-template-columns: minmax(190px,.42fr) 1fr; border-bottom: 1px solid var(--line); }
.spec-row:last-child { border-bottom: 0; }
.spec-row dt, .spec-row dd { margin: 0; padding: 15px 18px; }
.spec-row dt { color: var(--muted); font-size: 12px; }
.spec-row dd { border-left: 1px solid var(--line); overflow-wrap: anywhere; font-size: 13px; font-weight: 650; }
.hash-box { margin: 25px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #080a0e; }
.hash-box span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 11px; }
.hash-box code { display: block; overflow-wrap: anywhere; color: #d8dde7; font-size: 12px; }

.schedule { overflow-x: auto; border: 1px solid var(--line); border-radius: 18px; }
.schedule table { width: 100%; border-collapse: collapse; min-width: 620px; }
.schedule th, .schedule td { padding: 15px 18px; border-bottom: 1px solid var(--line); text-align: left; font-size: 13px; }
.schedule th { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.schedule tr:last-child td { border-bottom: 0; }
.schedule td:last-child { color: var(--red); font-weight: 720; }
.calculator { display: grid; grid-template-columns: .85fr 1.15fr; gap: 30px; align-items: center; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(239,63,71,.1), rgba(15,18,25,.92) 50%); }
.calculator label { display: block; color: var(--muted); font-size: 12px; }
.calculator input { width: 100%; height: 52px; margin-top: 10px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 12px; outline: 0; background: #090b10; color: white; }
.calculator input:focus { border-color: var(--red); box-shadow: 0 0 0 4px var(--red-soft); }
.calculator-output { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calculator-output div { padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(0,0,0,.2); }
.calculator-output small { color: var(--muted); }
.calculator-output strong { display: block; margin-top: 7px; font-size: 19px; }

.roadmap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.roadmap-card { position: relative; padding-top: 56px; }
.roadmap-card > span { position: absolute; top: 20px; left: 22px; padding: 6px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 9px; font-weight: 760; letter-spacing: .1em; text-transform: uppercase; }
.roadmap-card.complete > span { color: #a9efd1; border-color: rgba(66,214,154,.22); background: rgba(66,214,154,.07); }
.roadmap-card.current { border-color: rgba(239,63,71,.28); box-shadow: inset 0 0 50px rgba(239,63,71,.035); }
.roadmap-card.current > span { color: #ffb7bb; border-color: rgba(239,63,71,.28); background: var(--red-soft); }
.roadmap-card h3 { margin: 13px 0 15px; font-size: 22px; }
.roadmap-card ul { margin: 20px 0 0; padding: 0; list-style: none; }
.roadmap-card li { position: relative; padding: 10px 0 10px 20px; border-top: 1px solid var(--line); color: #aab1be; font-size: 13px; }
.roadmap-card li::before { content: ""; position: absolute; left: 0; top: 17px; width: 6px; height: 6px; border-radius: 50%; background: #4c5360; }
.roadmap-card.complete li::before { background: var(--green); }
.roadmap-card.current li::before { background: var(--red); }

.site-footer { border-top: 1px solid var(--line); background: rgba(3,4,6,.5); }
.footer-main { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 55px 0 35px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; }
.footer-copy p { max-width: 520px; color: var(--muted); font-size: 13px; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; align-content: start; }
.footer-links a { color: #c4c9d2; font-size: 13px; }
.footer-links a:hover { color: white; }
.footer-bottom { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 20px 0 28px; display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); color: #6f7786; font-size: 11px; }

@media (max-width: 1050px) {
  .desktop-nav, .header-cta { display: none; }
  .mobile-menu { display: block; }
  .hero { grid-template-columns: 1fr; gap: 45px; }
  .live-card { max-width: 720px; }
  .feature-grid, .metric-grid { grid-template-columns: 1fr 1fr; }
  .service-strip { grid-template-columns: 1fr 1fr; }
  .service-strip a:nth-child(2) { border-right: 0; }
  .service-strip a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .shell, .site-header-inner, .footer-main, .footer-bottom { width: min(100% - 28px, var(--max)); }
  .site-header-inner { min-height: 68px; }
  .brand img { width: 36px; height: 36px; }
  .hero { padding: 73px 0 58px; }
  .hero h1, .page-hero h1 { font-size: clamp(45px, 14vw, 67px); }
  .hero-lead, .page-hero > p:last-child { font-size: 16px; }
  .service-strip { grid-template-columns: 1fr; }
  .service-strip a { min-height: 92px; border-right: 0; border-bottom: 1px solid var(--line); }
  .service-strip a:last-child { border-bottom: 0; }
  .section { padding: 78px 0; }
  .section-header { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid, .metric-grid, .split, .roadmap-grid, .calculator, .footer-main { grid-template-columns: 1fr; }
  .page-hero { padding: 65px 0 45px; }
  .page-layout { grid-template-columns: 1fr; gap: 35px; padding-top: 40px; }
  .toc { position: static; grid-template-columns: 1fr 1fr; }
  .toc > span { grid-column: 1 / -1; }
  .spec-row { grid-template-columns: 1fr; }
  .spec-row dd { border-left: 0; border-top: 1px solid var(--line); }
  .calculator-output { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}

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