:root {
  --bg: #040817;
  --bg-2: #071029;
  --card: rgba(18, 34, 74, 0.55);
  --card-solid: #0b1736;
  --line: rgba(125, 165, 255, 0.16);
  --line-strong: rgba(125, 165, 255, 0.34);
  --ink: #f4f7ff;
  --ink-2: #b7c3df;
  --muted: #7c8bb0;
  --accent: #1f8fff;
  --accent-2: #27d3f5;
  --accent-ink: #6cc0ff;
  --ok: #34d399;
  --grad: linear-gradient(100deg, #1f6bff 0%, #1f9bff 50%, #27d3f5 100%);
  --display: "Plus Jakarta Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --wrap: 1180px;
  --r: 16px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; z-index: 100; border-radius: 8px; }
.skip:focus { left: 8px; }

/* Type */
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -0.025em; }
h1, .h1 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1.04; text-wrap: balance; }
h2, .h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.1; font-weight: 700; text-wrap: balance; }
h3 { font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
h1 em, h2 em, .grad { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lede { font-size: clamp(1.08rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 36em; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 24px;
  font: 600 0.72rem/1 var(--display); letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent-ink);
  padding: 9px 14px; border: 1px solid rgba(31, 143, 255, 0.35); border-radius: 999px; background: rgba(31, 143, 255, 0.1);
}
.eyebrow::before { content: ""; width: 6px; height: 6px; background: var(--accent-2); border-radius: 50%; box-shadow: 0 0 10px var(--accent-2); flex: none; }
.muted { color: var(--muted); }
.mono { font-family: var(--mono); font-size: 0.86em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--grad); color: #fff;
  font: 600 1rem/1 var(--display); text-decoration: none;
  padding: 17px 28px; border: 0; border-radius: 999px;
  box-shadow: 0 10px 34px -8px rgba(31, 143, 255, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  cursor: pointer; transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 44px -8px rgba(31, 143, 255, 0.85), inset 0 1px 0 rgba(255, 255, 255, 0.25); }
.btn:active { transform: translateY(0); }
.btn .arr { transition: transform .18s; }
.btn:hover .arr { transform: translateX(3px); }
.btn-ghost { background: rgba(255, 255, 255, 0.04); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.5); filter: none; }
.btn-sm { padding: 12px 20px; font-size: 0.9rem; }
.btn[disabled] { opacity: .6; cursor: default; }
.link { font-weight: 600; color: var(--accent-ink); text-decoration: none; }
.link::after { content: " →"; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(4, 8, 23, 0.72); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 28px; height: 72px; }
.logo { display: inline-flex; align-items: center; gap: 11px; font: 800 1.28rem/1 var(--display); letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo b { font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.logo-mark { width: 34px; height: 34px; flex: none; filter: drop-shadow(0 6px 14px rgba(31, 143, 255, 0.55)); }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 500 0.94rem/1 var(--display); text-decoration: none; color: var(--ink-2); padding: 8px 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.nav a:hover, .nav a[aria-current] { color: #fff; }
.nav a:hover::after, .nav a[aria-current]::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 12px 10px; cursor: pointer; margin-right: -10px; }
.nav-toggle span { display: block; height: 2px; border-radius: 2px; background: var(--ink); margin: 6px 0; transition: transform .2s; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Sections */
.section { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.section:nth-of-type(even) { background: var(--bg-2); }
.section-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head p:not(.eyebrow) { color: var(--ink-2); max-width: 30em; margin: 0; }
.dark {
  background:
    radial-gradient(60% 120% at 85% 0%, rgba(39, 211, 245, 0.2), transparent 60%),
    radial-gradient(70% 120% at 0% 100%, rgba(31, 107, 255, 0.5), transparent 65%),
    #071a4a !important;
  border-block: 1px solid var(--line);
}

/* Hero */
.hero, .page-hero { position: relative; overflow: hidden; isolation: isolate; }
.hero::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(52% 60% at 18% 30%, rgba(31, 107, 255, 0.42), transparent 70%),
    radial-gradient(40% 50% at 88% 12%, rgba(39, 211, 245, 0.2), transparent 70%),
    linear-gradient(rgba(125, 165, 255, 0.07) 1px, transparent 1px) 0 0 / 56px 56px,
    linear-gradient(90deg, rgba(125, 165, 255, 0.07) 1px, transparent 1px) 0 0 / 56px 56px;
  mask-image: linear-gradient(#000 55%, transparent);
}
.hero { padding: clamp(56px, 8vw, 116px) 0 clamp(64px, 8vw, 116px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero .lede { margin-top: 26px; }
.hero-terms { display: flex; flex-wrap: wrap; gap: 10px 28px; margin: 40px 0 0; padding: 26px 0 0; border-top: 1px solid var(--line); list-style: none; font: 500 0.92rem/1.4 var(--sans); color: var(--ink-2); }
.hero-terms li { display: flex; align-items: center; gap: 9px; }
.hero-terms li::before { content: "✓"; display: grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--ok); color: #04231a; font-size: 0.68rem; font-weight: 800; }
.page-hero { padding: clamp(56px, 7vw, 100px) 0 clamp(48px, 6vw, 80px); }
.page-hero h1 { max-width: 15em; font-size: clamp(2.3rem, 5vw, 4rem); }

/* Lead ticket */
.ticket {
  background: linear-gradient(160deg, rgba(22, 44, 98, 0.92), rgba(8, 18, 46, 0.94));
  border: 1px solid var(--line-strong); border-radius: 20px; overflow: hidden;
  font: 400 0.82rem/1.5 var(--mono);
  box-shadow: 0 40px 90px -30px rgba(31, 143, 255, 0.65), 0 0 0 6px rgba(31, 143, 255, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
.ticket-head, .ticket-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 20px; }
.ticket-head { border-bottom: 1px solid var(--line); font: 700 0.92rem/1 var(--display); background: rgba(31, 143, 255, 0.1); }
.ticket-head b { font-weight: 700; }
.live { display: inline-flex; align-items: center; gap: 7px; color: var(--ok); font: 600 0.72rem/1 var(--display); text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; border-radius: 999px; background: rgba(52, 211, 153, 0.13); }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.7); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); } 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); } }
.ticket dl { margin: 0; padding: 8px 20px; }
.ticket dl div { display: grid; grid-template-columns: 9.5em 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(125, 165, 255, 0.1); }
.ticket dl div:last-child { border-bottom: 0; }
.ticket dt { color: var(--muted); }
.ticket dd { margin: 0; color: var(--ink); }
.ticket-foot { border-top: 1px solid var(--line); color: var(--muted); font-size: 0.72rem; }

/* Offer rows */
.rows { display: grid; gap: 16px; }
.row {
  display: grid; grid-template-columns: 3.4rem minmax(0, 1fr) minmax(0, 1.4fr) auto; gap: 28px; align-items: center;
  padding: 30px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card);
  text-decoration: none; color: inherit; transition: border-color .2s, transform .2s, box-shadow .2s, background .2s;
}
a.row:hover { color: inherit; border-color: var(--accent); transform: translateY(-3px); background: rgba(24, 48, 108, 0.7); box-shadow: 0 24px 50px -24px rgba(31, 143, 255, 0.7); }
.row .n { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--grad); font: 700 0.95rem/1 var(--display); color: #fff; box-shadow: 0 8px 20px -6px rgba(31, 143, 255, 0.8); }
.row h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 700; }
.row p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
.row .price { font: 700 1.05rem/1.3 var(--display); white-space: nowrap; text-align: right; color: var(--accent-2); }
.row .price small { display: block; color: var(--muted); font: 400 0.76rem var(--sans); margin-top: 4px; }

/* Grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.rule, .step {
  border: 1px solid var(--line); border-radius: var(--r); padding: 28px 26px;
  background: var(--card); backdrop-filter: blur(6px);
  transition: border-color .2s, transform .2s;
}
.rule:hover, .step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.dark .rule { background: rgba(4, 12, 40, 0.5); border-color: rgba(160, 200, 255, 0.24); }
.rule .n, .step .n {
  display: inline-grid; place-items: center; min-width: 40px; height: 40px; padding: 0 12px; border-radius: 11px;
  background: rgba(31, 143, 255, 0.16); border: 1px solid rgba(31, 143, 255, 0.4);
  font: 700 0.82rem/1 var(--display); color: var(--accent-ink); letter-spacing: .04em; margin-bottom: 22px;
}
.rule h3, .step h3 { font-size: 1.25rem; margin-bottom: 10px; }
.rule p, .step p { font-size: 0.97rem; color: var(--ink-2); margin: 0; }

/* Lists and tables */
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding: 15px 0 15px 34px; border-bottom: 1px solid var(--line); position: relative; color: var(--ink-2); }
.checks li strong { color: var(--ink); font-weight: 600; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1.05em; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(31, 143, 255, 0.18); color: var(--accent-2); font-size: 0.7rem; font-weight: 800; }
.checks li:first-child { border-top: 1px solid var(--line); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); }
.spec { width: 100%; border-collapse: collapse; font-size: 0.96rem; }
.spec th, .spec td { text-align: left; padding: 17px 22px; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; color: var(--ink-2); }
.spec tbody tr:last-child > * { border-bottom: 0; }
.spec tbody tr:hover { background: rgba(31, 143, 255, 0.07); }
.spec thead th { font: 600 0.72rem/1 var(--display); text-transform: uppercase; letter-spacing: .09em; color: var(--accent-ink); background: rgba(31, 143, 255, 0.1); }
.spec tbody th { font-weight: 600; white-space: nowrap; color: var(--ink); font-family: var(--display); }
.spec .num { font: 700 0.95rem var(--display); white-space: nowrap; color: var(--accent-2); }

/* Prose */
.statement { font: 700 clamp(1.5rem, 2.8vw, 2.2rem)/1.25 var(--display); letter-spacing: -0.02em; max-width: 24em; text-wrap: balance; }
.statement + p { margin-top: 24px; max-width: 34em; color: var(--ink-2); }
.grid-2 > div > p:not(.eyebrow):not(.statement):not(.lede) { color: var(--ink-2); }
.prose { max-width: 44em; color: var(--ink-2); }
.prose h1 { color: var(--ink); }
.prose h2 { font-size: 1.5rem; margin: 2em 0 .5em; color: var(--ink); }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose a { color: var(--accent-ink); }

/* FAQ */
.faq { display: grid; gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); padding: 0 24px; transition: border-color .2s; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 22px 0; font: 600 1.05rem/1.4 var(--display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: rgba(31, 143, 255, 0.16); color: var(--accent-ink); font: 500 1.2rem/1 var(--sans); transition: transform .2s; flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); max-width: 44em; padding-bottom: 22px; margin: 0; }

/* CTA band */
.cta-band h2 { max-width: 14em; font-size: clamp(2.1rem, 4.2vw, 3.3rem); font-weight: 800; }
.cta-band p:not(.eyebrow) { max-width: 32em; margin-top: 20px; color: #d3def7; font-size: 1.1rem; }
.dark .btn { background: #fff; color: #06205c; box-shadow: 0 14px 40px -10px rgba(255, 255, 255, 0.45); }
.dark .btn:hover { color: #06205c; filter: none; background: #eaf3ff; }

/* Forms */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: clamp(22px, 3vw, 34px); border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(160deg, rgba(22, 44, 98, 0.8), rgba(8, 18, 46, 0.9)); box-shadow: 0 40px 90px -40px rgba(31, 143, 255, 0.6); }
.form .full { grid-column: 1 / -1; }
.field label { display: block; font: 600 0.8rem/1 var(--display); color: var(--ink-2); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--ink);
  background: rgba(3, 9, 28, 0.7); border: 1px solid var(--line-strong); border-radius: 11px; padding: 14px 14px;
  appearance: none; transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--accent-ink) 50%), linear-gradient(135deg, var(--accent-ink) 50%, transparent 50%); background-position: calc(100% - 20px) 52%, calc(100% - 15px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.field select option { background: #0b1736; color: #fff; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(31, 143, 255, 0.22); }
.hp { position: absolute; left: -9999px; }
.form-note { font-size: .86rem; color: var(--muted); margin: 0; }
.form-note a { color: var(--accent-ink); }
.form-status { margin: 0; font-weight: 600; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--ok); }
.form-status.err { color: #ff9a8a; }

/* Calculator */
.calc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border: 1px solid var(--line-strong); border-radius: 22px; overflow: hidden; background: var(--card); box-shadow: 0 40px 90px -40px rgba(31, 143, 255, 0.6); }
.calc-in { padding: clamp(24px, 3vw, 40px); display: grid; gap: 26px; align-content: start; }
.calc-out { padding: clamp(24px, 3vw, 40px); background: radial-gradient(120% 90% at 100% 0%, rgba(39, 211, 245, 0.22), transparent 60%), linear-gradient(160deg, #0d3aa8, #071a4a); display: grid; gap: 2px; align-content: start; }
.calc label { display: flex; justify-content: space-between; font: 500 .96rem var(--display); margin-bottom: 10px; color: var(--ink-2); }
.calc label output { font: 700 .98rem var(--display); color: #fff; }
.calc input[type=range] { width: 100%; accent-color: var(--accent); height: 6px; }
.calc-out div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 15px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.calc-out div:last-of-type { border-bottom: 0; }
.calc-out span { color: #c5d5f7; font-size: .95rem; }
.calc-out b { font: 700 1.2rem var(--display); }
.calc-out .big { flex-direction: column; align-items: flex-start; gap: 6px; }
.calc-out .big b { font: 800 3.4rem/1 var(--display); letter-spacing: -0.03em; }
.calc-out p { font-size: .8rem; color: #a9bde8; margin: 14px 0 0; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 68px 0 28px; font-size: .94rem; background: #030613; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-grid h2 { font: 700 .78rem/1 var(--display); letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-grid a:not(.logo) { display: block; text-decoration: none; padding: 6px 0; color: var(--muted); }
.footer-grid a:not(.logo):hover { color: var(--accent-ink); }
.footer-note { color: var(--muted); max-width: 22em; margin-top: 18px; }
.footer-legal { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .84rem; }
.footer-legal a { margin-left: 22px; text-decoration: none; }

/* Reveal */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .live::before { animation: none; }
}

/* Responsive */
@media (max-width: 980px) {
  .hero-grid, .section-head, .grid-2, .calc { grid-template-columns: 1fr; }
  .section-head { gap: 18px; align-items: start; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-3 { grid-template-columns: 1fr; }
  .row { grid-template-columns: 46px 1fr; gap: 10px 18px; padding: 24px 22px; }
  .row p, .row .price { grid-column: 2; text-align: left; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 72px; background: #050b1f; border-bottom: 1px solid var(--line-strong); flex-direction: column; gap: 0; padding: 8px 20px 20px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav a::after { display: none; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .grid-4, .form, .footer-grid { grid-template-columns: 1fr; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .ticket dl div { grid-template-columns: 7.5em 1fr; }
  .btn { width: 100%; justify-content: center; }
  .btn-sm { width: auto; }
  .spec th, .spec td { padding: 14px 16px; }
}
