:root {
  color-scheme: dark;
  --bg: #020203;
  --surface: #101013;
  --surface-strong: #17171b;
  --line: #303037;
  --text: #f8f7fa;
  --muted: #aaa7b0;
  --dim: #77747d;
  --accent: #ad1c30;
  --accent-soft: #cf5364;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 4%, rgba(104, 16, 29, .42), transparent 28rem),
    radial-gradient(circle at 3% 76%, rgba(72, 10, 20, .26), transparent 30rem),
    var(--bg);
  color: var(--text);
  font: 15px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.wrap { width: min(980px, calc(100% - 36px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(2,2,3,.82);
  backdrop-filter: blur(18px);
}
.nav { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.mark { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #000 url('/assets/reactox-logo.png') center/cover no-repeat; }
.links { display: flex; align-items: center; gap: 22px; }
.links a, footer a { color: var(--muted); text-decoration: none; }
.links a:hover, footer a:hover { color: white; }
.hero { min-height: 590px; display: grid; grid-template-columns: 1.18fr .82fr; gap: 50px; align-items: center; padding: 70px 0; }
.eyebrow { color: var(--accent-soft); font-size: 11px; font-weight: 800; letter-spacing: .14em; }
h1 { margin: 8px 0 18px; font-size: clamp(48px, 9vw, 88px); line-height: .92; letter-spacing: -.065em; }
h2 { margin: 0 0 16px; font-size: clamp(27px, 5vw, 40px); line-height: 1.1; letter-spacing: -.035em; }
h3 { margin: 26px 0 7px; font-size: 18px; }
p { margin: 0 0 15px; }
.lede { max-width: 610px; color: var(--muted); font-size: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 15px;
  background: rgba(17,17,20,.78);
  color: white;
  text-decoration: none;
  font-weight: 700;
}
.button.primary { border-color: rgba(207,83,100,.72); box-shadow: 0 0 36px rgba(173,28,48,.18); }
.phone {
  width: min(290px, 78vw);
  position: relative;
  justify-self: center;
  padding: 11px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 42px;
  background: linear-gradient(145deg, #25252a, #08080a);
  box-shadow: 0 34px 90px rgba(0,0,0,.65), 0 0 70px rgba(104,16,29,.14);
}
.screen { overflow: hidden; border-radius: 32px; background: #030304; }
.screen img { display: block; width: 100%; height: auto; }
.phone::after { content: ''; position: absolute; right: -4px; top: 20%; width: 3px; height: 50px; border-radius: 2px; background: #58585f; }
.phone-preview { margin: 0; justify-self: center; min-width: 0; }
.phone-preview figcaption { margin-top: 18px; color: var(--muted); text-align: center; font-size: 12px; }
h1 span { color: #e25770; }
.hero-detail { max-width: 430px; color: var(--muted); }
.availability { margin-top: 16px; color: var(--muted); font-size: 12px; }
.step { color: var(--accent-soft); font-weight: 700; font-size: 12px; letter-spacing: .08em; }
.card h3 { margin: 12px 0; font-size: 24px; }
.card h2 { margin-top: 16px; font-size: clamp(26px, 4vw, 34px); }
.section > .wrap > .eyebrow, .feature-split .eyebrow { margin-bottom: 12px; }
.section { scroll-margin-top: 100px; }
.showcase { border-block: 1px solid var(--line); background: rgba(0,0,0,.35); }
.gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px; margin-top: 32px; }
.gallery figure { margin: 0; min-width: 0; }
.gallery img { display: block; width: 100%; height: auto; border-radius: 18px; }
.gallery figcaption { text-align: center; padding: 16px 0; font-weight: 650; }
.fine-print { color: var(--muted); font-size: 12px; margin-top: 16px; }
.feature-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.feature-list { list-style: none; padding: 0; margin: 0; }
.feature-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.feature-list li:first-child { padding-top: 0; }
.feature-list strong, .feature-list span { display: block; }
.feature-list span { color: var(--muted); margin-top: 5px; }
.grid.two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.pro-card { border-color: #694127; }
.closing { text-align: center; }
.closing .lede { margin-inline: auto; }
.closing .actions { justify-content: center; }
.document .actions { margin-bottom: 36px; }
.links a, .footer-links a { min-height: 48px; min-width: 48px; display: inline-flex; align-items: center; }
.button { transition: border-color .15s ease, background .15s ease; overflow-wrap: anywhere; text-align: center; }
.button:hover { background: #222127; border-color: var(--accent-soft); }
a:focus-visible { outline: 2px solid #f18497; outline-offset: 5px; border-radius: 5px; }
.document h1 { line-height: 1.05; overflow-wrap: anywhere; }
.document a { overflow-wrap: anywhere; }
.section { padding: 74px 0; }
.grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.018)); }
.card b { display: block; margin-bottom: 7px; font-size: 17px; }
.card p { color: var(--muted); font-size: 14px; }
.document { width: min(780px, calc(100% - 36px)); margin: 0 auto; padding: 64px 0 90px; }
.document .meta { color: var(--dim); margin-bottom: 34px; }
.document section { padding: 24px 0; border-top: 1px solid #25252b; }
.document ul { padding-left: 22px; color: var(--muted); }
.document li { margin: 7px 0; }
.document p { color: var(--muted); }
.document strong { color: var(--text); }
.callout { margin: 22px 0; padding: 18px; border: 1px solid rgba(173,28,48,.52); border-radius: 17px; background: rgba(104,16,29,.16); }
.callout p { margin: 0; }
footer.site-footer { border-top: 1px solid #25252b; padding: 28px 0 45px; }
.footer-row { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; color: var(--dim); font-size: 12px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .links { gap: 13px; font-size: 13px; }
  .hero { grid-template-columns: 1fr; min-height: 0; padding-top: 54px; }
  .phone { margin-top: 14px; }
  .grid, .grid.two, .feature-split { grid-template-columns: 1fr; }
  .feature-split { gap: 28px; }
  .gallery { gap: 12px; }
}
@media (max-width: 470px) {
  .wrap { width: min(100% - 24px, 980px); }
  .nav { flex-wrap: wrap; gap: 0 16px; padding-block: 8px; }
  .links { flex-wrap: wrap; gap: 16px; }
  .gallery { grid-template-columns: 1fr; gap: 28px; }
  .gallery figure { width: min(100%, 310px); margin-inline: auto; }
  .hero { gap: 28px; }
  .section { padding: 52px 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
