:root {
  --bg: #05090c;
  --panel: #0b1217;
  --panel-2: #111b22;
  --line: rgba(115, 216, 237, .16);
  --text: #f3f8fa;
  --muted: #94a7b1;
  --cyan: #18e2de;
  --blue: #1f8cff;
  --green: #62f5b3;
  --amber: #ffc75f;
  --danger: #ff6c7c;
  --radius: 24px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 20%, rgba(16, 116, 137, .11), transparent 28rem),
    var(--bg);
  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, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: fixed; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cyan); color: #001416; }
.skip-link:focus { top: 12px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(24px, calc((100vw - 1240px) / 2));
  background: rgba(5, 9, 12, .72);
  border-bottom: 1px solid rgba(255, 255, 255, .06);
  backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 11px; text-transform: uppercase; letter-spacing: .08em; }
.brand img { width: 50px; height: 50px; border-radius: 12px; object-fit: cover; }
.brand span { display: grid; line-height: 1; }
.brand b { font-size: .92rem; font-style: italic; }
.brand small { color: var(--cyan); margin-top: 5px; font-weight: 800; font-size: .68rem; }
.site-nav { display: flex; align-items: center; gap: 28px; color: #c6d2d8; font-size: .9rem; }
.site-nav a { transition: color .2s ease; }
.site-nav a:hover { color: var(--cyan); }
.site-nav .nav-cta { padding: 10px 18px; color: #001517; background: var(--cyan); border-radius: 999px; font-weight: 800; }
.nav-toggle { display: none; color: var(--text); border: 1px solid var(--line); border-radius: 9px; padding: 8px 12px; background: var(--panel); }

.hero { min-height: 780px; position: relative; display: grid; align-items: center; overflow: hidden; border-bottom: 1px solid rgba(255,255,255,.06); }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,9,12,.98) 0%, rgba(5,9,12,.8) 37%, rgba(5,9,12,.12) 75%), url("../img/hero-racing.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--bg)); }
.hero-grid { position: relative; z-index: 2; width: min(1240px, calc(100% - 48px)); margin: 78px auto 0; display: grid; grid-template-columns: minmax(0, 650px) 1fr; align-items: center; }
.hero-copy { padding: 80px 0 110px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: #9eb1ba; text-transform: uppercase; letter-spacing: .16em; font-weight: 700; font-size: .72rem; }
.eyebrow i { width: 38px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--blue)); box-shadow: 0 0 16px var(--cyan); }
h1, h2, h3, p { margin-top: 0; }
.hero h1, .page-hero h1 { margin: 24px 0; max-width: 760px; font-size: clamp(3.2rem, 7vw, 6.9rem); line-height: .88; letter-spacing: -.06em; text-transform: uppercase; font-style: italic; }
.hero h1 em { display: block; color: transparent; -webkit-text-stroke: 1px rgba(65, 231, 236, .9); text-shadow: 0 0 35px rgba(24, 226, 222, .14); }
.hero-copy > p { max-width: 580px; color: #b5c2c8; font-size: 1.1rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 34px 0 28px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; border: 0; border-radius: 12px; padding: 0 22px; cursor: pointer; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: #001718; background: linear-gradient(110deg, var(--cyan), #5fb5ff); box-shadow: 0 12px 36px rgba(24, 226, 222, .2); }
.button-primary:hover { box-shadow: 0 16px 44px rgba(24, 226, 222, .3); }
.button-ghost { color: var(--text); background: rgba(7, 15, 19, .66); border: 1px solid rgba(158, 220, 233, .22); }
.button-wide { width: 100%; }
.trust-line { display: flex; flex-wrap: wrap; gap: 20px; color: #8fa2ac; font-size: .82rem; }
.trust-line span::before { content: "✓"; color: var(--cyan); margin-right: 6px; }
.hero-logo { justify-self: end; width: min(290px, 32vw); border-radius: 28px; opacity: .82; box-shadow: 0 20px 80px rgba(0,0,0,.5); mix-blend-mode: screen; }

.section { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 110px 0; }
.section-tight { padding-bottom: 70px; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.section-heading > span { color: var(--cyan); text-transform: uppercase; font-weight: 800; letter-spacing: .15em; font-size: .72rem; }
.section-heading h2, .status-panel h2, .support-cta h2 { margin: 14px 0; font-size: clamp(2rem, 4.4vw, 4.25rem); line-height: 1; letter-spacing: -.04em; text-transform: uppercase; font-style: italic; }
.section-heading p, .status-panel p { color: var(--muted); max-width: 680px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature-card, .location-card, .app-card, .private-card, .qr-card, .price-card, .order-result { border: 1px solid var(--line); background: linear-gradient(145deg, rgba(17,27,34,.9), rgba(7,13,17,.94)); box-shadow: var(--shadow); }
.feature-card { min-height: 245px; padding: 30px; border-radius: var(--radius); }
.feature-card > b { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 42px; border-radius: 14px; color: var(--cyan); background: rgba(24,226,222,.1); font-size: 1.4rem; }
.feature-card h3 { margin-bottom: 9px; font-size: 1.2rem; }
.feature-card p { margin: 0; color: var(--muted); }

.locations-section { position: relative; }
.locations-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.location-card { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; min-height: 112px; padding: 20px; border-radius: 18px; }
.location-flag { display: grid; place-items: center; width: 54px; height: 54px; background: rgba(255,255,255,.04); border-radius: 14px; font-size: 1.55rem; }
.location-card h3 { margin: 0 0 4px; font-size: 1rem; }
.location-card p { margin: 0; color: var(--muted); font-size: .85rem; }
.status { padding: 6px 10px; border-radius: 999px; font-size: .72rem; font-weight: 800; white-space: nowrap; }
.status-online { color: var(--green); background: rgba(98,245,179,.1); }
.status-pending { color: var(--amber); background: rgba(255,199,95,.1); }
.status-offline { color: var(--danger); background: rgba(255,108,124,.1); }
.honesty-note { margin: 24px 0 0; padding: 18px 20px; color: #a9bbc3; background: rgba(31,140,255,.08); border-left: 3px solid var(--blue); border-radius: 0 12px 12px 0; }

.status-section { padding-top: 40px; }
.status-panel { display: grid; grid-template-columns: 1.3fr 1fr; gap: 60px; align-items: center; padding: 54px; border: 1px solid rgba(24,226,222,.2); border-radius: 30px; background: radial-gradient(circle at 100% 20%, rgba(31,140,255,.2), transparent 50%), #091116; }
.telemetry { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.telemetry span { padding: 18px 10px; text-align: center; color: var(--muted); background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; font-size: .75rem; }
.telemetry b { display: block; color: var(--cyan); font-size: 2rem; }
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.app-card { display: grid; grid-template-columns: 52px 1fr auto; gap: 15px; align-items: center; padding: 20px; border-radius: 18px; transition: transform .2s ease, border-color .2s ease; }
.app-card:hover { transform: translateY(-3px); border-color: rgba(24,226,222,.46); }
.app-card h3 { margin: 0 0 3px; font-size: 1rem; }
.app-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.app-os { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; color: var(--cyan); background: rgba(24,226,222,.09); font-weight: 900; }
.app-card > b { color: var(--cyan); }

.guide-section { padding-top: 60px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; }
.steps li { display: grid; grid-template-columns: 100px 1fr; gap: 26px; padding: 34px 0; border-top: 1px solid rgba(255,255,255,.08); }
.steps li > b { color: var(--cyan); font-size: 2rem; font-style: italic; }
.steps h3 { margin-bottom: 6px; font-size: 1.3rem; }
.steps p { margin: 0; color: var(--muted); }
.support-cta { margin-bottom: 110px; padding: 45px; display: flex; align-items: center; justify-content: space-between; gap: 28px; border-radius: 28px; background: linear-gradient(120deg, rgba(16, 55, 67, .9), rgba(12, 27, 44, .9)); border: 1px solid rgba(24,226,222,.2); }
.support-cta span { color: var(--cyan); text-transform: uppercase; font-size: .72rem; letter-spacing: .14em; font-weight: 800; }
.support-cta h2 { max-width: 700px; margin-bottom: 0; font-size: clamp(1.8rem, 3.5vw, 3rem); }

.page-hero { width: min(1050px, calc(100% - 48px)); margin: 0 auto; padding: 170px 0 55px; text-align: center; }
.page-hero .eyebrow { justify-content: center; }
.page-hero h1 { margin: 25px auto; font-size: clamp(3rem, 7vw, 6rem); }
.page-hero p { max-width: 680px; margin: 0 auto; color: var(--muted); }
.pricing-wrap { width: min(900px, calc(100% - 48px)); margin: 0 auto; padding: 20px 0 130px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 20px; align-items: start; }
.price-card, .order-result { padding: 34px; border-radius: 26px; }
.price-top { display: flex; align-items: center; justify-content: space-between; color: #c7d6dc; }
.price-top b { padding: 6px 10px; border-radius: 999px; color: var(--cyan); background: rgba(24,226,222,.1); font-size: .7rem; text-transform: uppercase; }
.price { display: flex; align-items: center; margin: 30px 0; }
.price strong { font-size: 5.8rem; line-height: .8; letter-spacing: -.08em; }
.price > span { display: grid; margin-left: 12px; color: var(--cyan); font-size: 1.5rem; font-weight: 900; }
.price small { margin-top: 5px; color: var(--muted); font-size: .7rem; font-weight: 500; }
.price-card ul { margin: 0 0 28px; padding: 0; list-style: none; }
.price-card li { padding: 10px 0; color: #c0ced4; border-bottom: 1px solid rgba(255,255,255,.06); }
.price-card li::before { content: "✓"; margin-right: 9px; color: var(--cyan); }
.price-footnote, .muted { margin: 18px 0 0; color: var(--muted); font-size: .8rem; }
.order-result span { color: var(--muted); }
.order-result strong { display: block; margin: 10px 0; color: var(--cyan); font-size: 1.5rem; letter-spacing: .05em; overflow-wrap: anywhere; }
.order-result p { color: #bfccd2; }
.text-link { display: inline-block; margin-top: 18px; color: var(--cyan); font-weight: 700; }

.private-page { min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 140px 24px 90px; }
.private-card { width: min(620px, 100%); padding: 40px; border-radius: 28px; }
.private-card h1 { margin: 18px 0 28px; font-size: clamp(2rem, 6vw, 4rem); line-height: 1; letter-spacing: -.04em; overflow-wrap: anywhere; }
.order-state { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; padding: 18px; background: rgba(255,255,255,.035); border-radius: 14px; }
.order-state span, .order-meta span { color: var(--muted); }
.order-state strong { color: var(--amber); }
.order-state strong[data-status="paid"] { color: var(--green); }
.order-state strong[data-status="rejected"] { color: var(--danger); }
.order-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 24px; }
.order-meta span { display: grid; padding: 15px; border: 1px solid rgba(255,255,255,.06); border-radius: 12px; }
.order-meta b { margin-top: 4px; color: var(--text); }
.notice { margin: 16px 0; padding: 14px; color: #bdd0d7; background: rgba(31,140,255,.08); border-radius: 12px; font-size: .86rem; }
.connect-layout { width: min(920px, 100%); display: grid; grid-template-columns: 1.35fr .65fr; gap: 20px; align-items: stretch; }
.connect-layout .private-card { width: 100%; }
.connect-copy label { display: block; margin: 24px 0 8px; color: var(--muted); font-size: .85rem; }
.connect-copy select { width: 100%; height: 50px; margin-bottom: 12px; padding: 0 12px; color: var(--text); background: #0a1217; border: 1px solid var(--line); border-radius: 11px; }
.connect-copy .button + .button { margin-top: 10px; }
.qr-card { padding: 28px; display: flex; flex-direction: column; justify-content: center; align-items: center; border-radius: 28px; text-align: center; }
.qr-card > span { margin-bottom: 18px; font-weight: 800; }
.qr-card img { width: min(220px, 100%); padding: 10px; background: white; border-radius: 15px; }
.qr-card small { margin-top: 14px; color: var(--muted); }

.site-footer { width: min(1240px, calc(100% - 48px)); margin: 0 auto; padding: 34px 0 42px; display: grid; grid-template-columns: 1fr auto; gap: 10px 30px; border-top: 1px solid rgba(255,255,255,.08); color: var(--muted); }
.site-footer div { display: grid; }
.site-footer b { color: var(--text); }
.site-footer a { color: var(--cyan); }
.site-footer small { grid-column: 1 / -1; font-size: .7rem; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } .reveal { opacity: 1; transform: none; } }

@media (max-width: 850px) {
  .site-header { height: 68px; padding: 0 18px; }
  .brand img { width: 44px; height: 44px; }
  .nav-toggle { display: block; }
  .site-nav { position: absolute; inset: 68px 14px auto; display: none; padding: 18px; flex-direction: column; align-items: stretch; gap: 14px; background: rgba(7,14,18,.98); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); }
  .site-nav.open { display: flex; }
  .site-nav .nav-cta { text-align: center; }
  .hero { min-height: 720px; }
  .hero-bg { background-position: 67% center; opacity: .64; }
  .hero-grid { grid-template-columns: 1fr; width: min(100% - 36px, 680px); }
  .hero-copy { padding-top: 110px; }
  .hero-logo { display: none; }
  .hero h1 { font-size: clamp(3rem, 15vw, 5.3rem); }
  .feature-grid, .locations-grid, .app-grid, .status-panel, .pricing-wrap, .connect-layout { grid-template-columns: 1fr; }
  .section { width: min(100% - 36px, 680px); padding: 80px 0; }
  .status-panel { padding: 30px; gap: 28px; }
  .pricing-wrap { width: min(100% - 36px, 580px); padding-bottom: 90px; }
  .support-cta { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
  .brand span { display: none; }
  .hero { min-height: 700px; }
  .hero-copy { padding-bottom: 70px; }
  .hero-actions .button { width: 100%; }
  .location-card { grid-template-columns: 46px 1fr; }
  .location-flag { width: 46px; height: 46px; }
  .location-card .status { grid-column: 2; justify-self: start; }
  .telemetry { grid-template-columns: 1fr; }
  .steps li { grid-template-columns: 60px 1fr; gap: 12px; }
  .private-card, .price-card, .order-result { padding: 25px; }
  .order-meta { grid-template-columns: 1fr; }
  .price strong { font-size: 4.8rem; }
  .site-footer { grid-template-columns: 1fr; }
  .site-footer small { grid-column: auto; }
}

/* Public Pages bundle: visible without JavaScript and safe on narrow screens. */
html, body { max-width: 100%; overflow-x: hidden; }
.reveal { opacity: 1; transform: none; }

@media (max-width: 520px) {
  .hero-grid { width: calc(100% - 32px); grid-template-columns: minmax(0, 1fr); }
  .hero-copy { min-width: 0; padding-top: 82px; }
  .hero-copy > p { overflow-wrap: anywhere; }
  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.5rem);
    line-height: .94;
    letter-spacing: -.045em;
    overflow-wrap: anywhere;
  }
  .page-hero {
    width: calc(100% - 32px);
    padding: 125px 0 38px;
  }
  .page-hero h1 {
    font-size: clamp(2.15rem, 11.5vw, 3rem);
    line-height: .96;
    letter-spacing: -.04em;
    overflow-wrap: anywhere;
  }
  .page-hero p { font-size: .95rem; }
  .eyebrow { flex-wrap: wrap; letter-spacing: .11em; font-size: .66rem; }
  .pricing-wrap { width: calc(100% - 32px); }
  .price-card { min-width: 0; padding: 22px; }
  .price-top { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .price { margin: 26px 0; }
  .price strong { font-size: 4.1rem; }
  .hero-actions, .trust-line { min-width: 0; max-width: 100%; }
  .trust-line span { white-space: normal; }
  .button { max-width: 100%; padding-right: 16px; padding-left: 16px; text-align: center; white-space: normal; }
}
