:root {
  color-scheme: dark;
  --bg: #071421;
  --surface: #0d2030;
  --surface-raised: #10283b;
  --surface-soft: #0a1b29;
  --border: rgba(166, 202, 226, 0.13);
  --text: #f3f8fc;
  --muted: #aac0d0;
  --muted-soft: #7892a5;
  --blue: #65b7ff;
  --cyan: #4de0d0;
  --green: #65e4bd;
  --danger: #ff9e9e;
  --radius-lg: 28px;
  --radius-md: 20px;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.22);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg);
  color: var(--text);
}

* { box-sizing: border-box; }

html { min-width: 320px; scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(ellipse at 76% 2%, rgba(23, 91, 132, 0.2), transparent 34rem),
    radial-gradient(ellipse at 5% 45%, rgba(15, 75, 96, 0.12), transparent 36rem),
    var(--bg);
  color: var(--text);
  line-height: 1.65;
}

a { color: inherit; }

button, input { font: inherit; }

button, a { -webkit-tap-highlight-color: transparent; }

:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 4px;
}

[hidden] { display: none !important; }

.page-shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }

.topbar {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
}

.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 1px solid rgba(101, 183, 255, 0.35);
  border-radius: 11px;
  background: linear-gradient(145deg, rgba(77, 224, 208, 0.16), rgba(101, 183, 255, 0.12));
}

.brand-mark svg { width: 22px; height: 22px; color: var(--cyan); }
.brand-name { font-size: 18px; font-weight: 750; letter-spacing: .06em; }
.brand-name span { color: var(--blue); }

.top-link {
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
  text-decoration: none;
  transition: color .18s ease;
}
.top-link:hover { color: var(--cyan); }
.top-link span { margin-left: 5px; color: var(--cyan); }

.hero {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 40px;
  padding: 68px 34px 70px 54px;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}

.hero::before {
  position: absolute;
  z-index: -1;
  top: 15%;
  right: -6%;
  width: 58%;
  height: 72%;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(23, 107, 143, .15), transparent 70%);
  content: "";
}

.hero-copy { position: relative; z-index: 1; }
.eyebrow { margin: 0 0 15px; color: var(--cyan); font-size: 13px; font-weight: 750; letter-spacing: .11em; line-height: 1.45; }
.live-dot { width: 8px; height: 8px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(101, 228, 189, .6); vertical-align: 1px; }

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 19px;
  font-size: clamp(40px, 5.1vw, 62px);
  line-height: 1.07;
  letter-spacing: -.045em;
}

h1 span { color: var(--blue); }
.hero-lead { max-width: 495px; margin-bottom: 24px; color: var(--muted); font-size: 18px; line-height: 1.65; }
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.hero-pills span { padding: 8px 13px; border: 1px solid var(--border); border-radius: 999px; background: rgba(9, 27, 41, .72); color: #d1e2ee; font-size: 14px; font-weight: 600; line-height: 1.4; }
.hero-pills span span { margin-right: 5px; color: var(--cyan); }

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 750;
  font-size: 15px;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.button:hover:not(:disabled) { transform: translateY(-1px); }
.button:active:not(:disabled) { transform: translateY(0); }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-primary { background: linear-gradient(135deg, #71c5ff, #56d9cf); color: #05202b; box-shadow: 0 10px 28px rgba(57, 190, 206, .18); }
.button-primary:hover:not(:disabled) { box-shadow: 0 13px 34px rgba(57, 190, 206, .27); }
.button-secondary { border-color: rgba(128, 192, 224, .23); background: rgba(14, 37, 55, .75); color: var(--text); }
.button-secondary:hover { border-color: rgba(77, 224, 208, .6); background: rgba(17, 52, 71, .9); }
.hero-cta { min-height: 48px; padding: 11px 16px; font-size: 15px; }

.hero-art { position: relative; min-height: 290px; display: grid; place-items: center; color: var(--cyan); }
.glow { position: absolute; width: 225px; height: 225px; border-radius: 50%; background: rgba(48, 191, 205, .14); filter: blur(30px); }
.orbit { position: absolute; border: 1px solid rgba(95, 188, 221, .17); border-radius: 50%; transform: rotate(-22deg); }
.orbit-one { width: 340px; height: 180px; }
.orbit-two { width: 278px; height: 235px; transform: rotate(40deg); }
.hero-icon { position: relative; width: 170px; height: 170px; display: grid; place-items: center; border: 1px solid rgba(83, 224, 210, .32); border-radius: 48% 48% 46% 46%; background: linear-gradient(155deg, rgba(35, 115, 144, .48), rgba(14, 39, 59, .8)); box-shadow: 0 0 65px rgba(47, 201, 202, .15), inset 0 0 38px rgba(94, 225, 213, .1); }
.hero-icon svg { width: 92px; height: 92px; color: var(--cyan); filter: drop-shadow(0 0 12px rgba(77, 224, 208, .3)); }

.steps-section { padding: 70px 0 78px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 8px; }
.section-heading h2, .result-heading h2, .bot-banner h2 { margin-bottom: 0; font-size: clamp(25px, 3vw, 34px); letter-spacing: -.035em; line-height: 1.2; }
.section-note { max-width: 300px; margin: 0 0 3px; color: var(--muted-soft); font-size: 15px; line-height: 1.55; text-align: right; }

.steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: 0; margin: 0; list-style: none; counter-reset: step; }
.step-card { position: relative; min-height: 280px; padding: 24px 22px 22px; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius-md); background: linear-gradient(145deg, rgba(16, 40, 59, .93), rgba(10, 29, 44, .98)); box-shadow: var(--shadow-card); }
.step-card-request { border-color: rgba(77, 224, 208, .28); background: linear-gradient(145deg, rgba(15, 48, 62, .94), rgba(11, 31, 46, .98)); }
.step-number { position: absolute; top: 15px; right: 18px; color: rgba(174, 202, 220, .55); font-size: 13px; font-weight: 700; letter-spacing: .07em; }
.step-content { position: relative; z-index: 1; }
.step-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 20px; border: 1px solid rgba(97, 185, 225, .21); border-radius: 12px; background: rgba(76, 154, 196, .11); color: var(--cyan); }
.step-icon svg { width: 23px; height: 23px; }
.step-description { padding: 12px 13px; border: 1px solid rgba(77, 224, 208, .16); border-radius: 11px; background: rgba(6, 23, 36, .5); }
.step-card-request { scroll-margin-top: 20px; }
.step-card h3 { margin-bottom: 9px; font-size: 20px; letter-spacing: -.02em; line-height: 1.35; }
.step-card p { margin-bottom: 16px; color: var(--muted); font-size: 15px; line-height: 1.65; }
.store-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 19px; }
.store-links a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 9px 12px; border: 1px solid rgba(128, 192, 224, .2); border-radius: 9px; background: rgba(8, 24, 37, .45); color: #d9edf8; font-size: 15px; font-weight: 650; line-height: 1.35; text-decoration: none; }
.store-links a:hover { border-color: rgba(77, 224, 208, .5); color: var(--cyan); }
.store-links a svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--cyan); }

.inline-status { margin: 18px 0 12px; color: #bbd3e1; font-size: 14px; line-height: 1.55; }
.inline-status.is-error { color: var(--danger); }
.captcha-form { margin-top: 14px; }
.captcha-row { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.captcha-image-wrap { width: 190px; height: 66px; display: grid; place-items: center; overflow: hidden; border: 1px solid rgba(143, 197, 219, .2); border-radius: 10px; background: #eaf2f5; }
.captcha-image { width: 100%; height: 100%; object-fit: contain; }
.captcha-placeholder { padding: 8px; color: #315064; font-size: 14px; line-height: 1.45; text-align: center; }
.icon-button { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border: 1px solid rgba(128, 192, 224, .22); border-radius: 11px; background: rgba(7, 24, 36, .7); color: #cde2ef; cursor: pointer; transition: color .18s ease, border-color .18s ease, transform .18s ease; }
.icon-button:hover:not(:disabled) { transform: rotate(-18deg); border-color: var(--cyan); color: var(--cyan); }
.icon-button:disabled { cursor: not-allowed; opacity: .45; }
.icon-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.captcha-form label { display: block; margin: 0 0 7px; color: #dceaf2; font-size: 14px; font-weight: 600; line-height: 1.45; }
.answer-row { display: grid; grid-template-columns: minmax(90px, .62fr) 1fr; gap: 8px; }
.answer-row input { width: 100%; min-width: 0; height: 50px; padding: 0 12px; border: 1px solid rgba(143, 197, 219, .3); border-radius: 11px; outline: none; background: rgba(5, 21, 33, .78); color: var(--text); font-size: 17px; letter-spacing: .07em; }
.answer-row input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(77, 224, 208, .13); }
.answer-row .button { min-height: 50px; padding: 10px 12px; border-radius: 11px; font-size: 14px; }
.field-help { margin: 8px 0 0 !important; color: var(--muted-soft) !important; font-size: 14px !important; line-height: 1.5 !important; }
.notice { padding: 11px 13px; border: 1px solid transparent; border-radius: 10px; font-size: 14px; line-height: 1.55; }
.notice-error { margin-top: 12px; border-color: rgba(255, 158, 158, .25); background: rgba(139, 48, 61, .17); color: #ffc3c3; }

.mini-instruction { display: flex; align-items: center; gap: 11px; margin-top: 21px; padding: 13px; border: 1px solid rgba(101, 183, 255, .16); border-radius: 12px; background: rgba(6, 23, 36, .53); color: #c5d8e4; font-size: 15px; line-height: 1.55; }
.mini-instruction strong { color: var(--cyan); font-weight: 750; }
.mini-instruction-icon { width: 32px; height: 32px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 8px; background: rgba(77, 224, 208, .12); color: var(--cyan); font-size: 12px; font-weight: 700; }

.result-section { margin: 4px 0 72px; padding: 28px; border: 1px solid rgba(77, 224, 208, .28); border-radius: var(--radius-lg); background: linear-gradient(145deg, rgba(15, 45, 59, .96), rgba(10, 29, 44, .98)); box-shadow: 0 30px 90px rgba(0, 0, 0, .24); }
.result-heading { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 25px; }
.result-heading .eyebrow { margin-bottom: 9px; }
.result-subtitle { max-width: 630px; margin: 10px 0 0; color: var(--muted); font-size: 15px; line-height: 1.6; }
.countdown-card { min-width: 145px; padding: 12px 16px; border: 1px solid rgba(77, 224, 208, .25); border-radius: 14px; background: rgba(3, 23, 34, .55); text-align: center; }
.countdown-label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 13px; font-weight: 600; line-height: 1.4; }
.countdown-card strong { color: var(--cyan); font-variant-numeric: tabular-nums; font-size: 25px; letter-spacing: .04em; }
.result-grid { display: grid; grid-template-columns: minmax(210px, .8fr) 1.2fr; gap: 15px; }
.qr-card, .download-card { border: 1px solid rgba(157, 200, 223, .14); border-radius: 18px; background: rgba(5, 23, 35, .56); }
.qr-card { display: grid; place-items: center; align-content: center; min-height: 270px; padding: 20px; }
.qr-frame { width: min(100%, 218px); aspect-ratio: 1; display: grid; place-items: center; padding: 12px; border-radius: 17px; background: #fff; box-shadow: 0 13px 35px rgba(0, 0, 0, .2); }
.qr-frame img { width: 100%; height: 100%; object-fit: contain; image-rendering: pixelated; }
.qr-caption { margin: 12px 0 0; color: var(--muted); font-size: 14px; font-weight: 600; line-height: 1.45; text-align: center; }
.download-card { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: 25px; }
.file-icon { width: 46px; height: 46px; display: grid; place-items: center; margin-bottom: 17px; border: 1px solid rgba(101, 183, 255, .2); border-radius: 13px; background: rgba(101, 183, 255, .1); color: var(--blue); }
.file-icon svg { width: 27px; height: 27px; }
.download-card h3 { margin: 0 0 7px; font-size: 20px; line-height: 1.35; }
.download-card p { margin-bottom: 18px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.download-button { min-width: 180px; }
.download-help { margin: 14px 0 0 !important; color: var(--muted) !important; font-size: 14px !important; line-height: 1.6 !important; }
.security-note { display: flex; align-items: flex-start; gap: 12px; margin-top: 16px; padding: 14px 16px; border: 1px solid rgba(255, 198, 121, .2); border-radius: 13px; background: rgba(96, 66, 29, .15); }
.security-icon { width: 22px; height: 22px; flex: 0 0 auto; color: #ffd18b; }
.security-note p { margin: 0; color: #d9c7a8; font-size: 15px; line-height: 1.6; }
.security-note strong { color: #ffe1b4; }

.expired-card { display: flex; align-items: center; gap: 15px; margin: 5px 0 72px; padding: 22px 24px; border: 1px solid rgba(255, 198, 121, .25); border-radius: var(--radius-md); background: rgba(70, 50, 28, .26); }
.expired-icon { width: 42px; height: 42px; display: grid; flex: 0 0 auto; place-items: center; border-radius: 13px; background: rgba(255, 201, 124, .1); color: #ffd18b; font-size: 23px; }
.expired-card h2 { margin-bottom: 5px; font-size: 20px; line-height: 1.35; }
.expired-card p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.6; }

.bot-banner { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 18px; margin-bottom: 58px; padding: 22px 25px; border: 1px solid rgba(101, 183, 255, .19); border-radius: 19px; background: linear-gradient(115deg, rgba(14, 42, 62, .95), rgba(10, 29, 44, .95)); }
.bot-mark { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: linear-gradient(145deg, rgba(101, 183, 255, .17), rgba(77, 224, 208, .12)); color: var(--cyan); font-size: 24px; }
.bot-banner .eyebrow { margin: 0 0 5px; font-size: 12px; }
.bot-banner h2 { margin-bottom: 5px; font-size: 21px; }
.bot-banner p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.bot-banner .button { min-width: 190px; font-size: 15px; }
.bot-banner .button svg { width: 17px; height: 17px; }

.footer { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); }
.footer-brand .brand-mark { width: 28px; height: 28px; border-radius: 9px; }
.footer-brand .brand-name { font-size: 14px; }
.footer p { max-width: 430px; margin: 0; color: var(--muted-soft); font-size: 13px; line-height: 1.55; text-align: center; }
.footer-version { color: #6e899d; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.noscript { position: fixed; z-index: 10; right: 16px; bottom: 16px; left: 16px; padding: 16px; border: 1px solid var(--danger); border-radius: 12px; background: #391e28; color: white; text-align: center; }

@media (max-width: 860px) {
  .hero { grid-template-columns: 1.1fr .9fr; gap: 15px; padding-right: 18px; padding-left: 30px; }
  .hero-art { transform: scale(.88); }
  .steps-list { grid-template-columns: 1fr 1fr; }
  .step-card:last-child { grid-column: 1 / -1; min-height: 225px; }
  .step-card-request { min-height: 320px; }
  .bot-banner { grid-template-columns: minmax(0, 1fr) auto; }
  .bot-banner .button { justify-self: start; }
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 32px, 460px); }
  .topbar { min-height: 68px; }
  .brand-mark { width: 31px; height: 31px; }
  .top-link { font-size: 14px; }
  .hero { min-height: 0; display: block; padding: 43px 0 38px; }
  .hero-copy { max-width: 460px; }
  h1 { font-size: clamp(40px, 12vw, 54px); }
  .hero-lead { max-width: 380px; font-size: 17px; line-height: 1.65; }
  .hero-pills { gap: 7px; }
  .hero-pills span { padding: 8px 11px; font-size: 12px; }
  .hero-art { position: absolute; right: -44px; bottom: -34px; width: 190px; min-height: 190px; opacity: .48; transform: scale(.72); transform-origin: bottom right; pointer-events: none; }
  .hero-icon { width: 130px; height: 130px; }
  .hero-icon svg { width: 72px; height: 72px; }
  .hero-cta { position: relative; z-index: 2; }
  .steps-section { padding: 47px 0 52px; }
  .section-heading { display: block; margin-bottom: 19px; }
  .section-heading h2 { max-width: 340px; font-size: 28px; line-height: 1.25; }
  .section-note { margin-top: 9px; font-size: 14px; text-align: left; }
  .steps-list { grid-template-columns: 1fr; gap: 11px; }
  .step-card, .step-card:last-child { min-height: 0; grid-column: auto; padding: 20px; }
  .step-card-request { min-height: 0; }
  .step-icon { margin-bottom: 15px; }
  .step-card p { font-size: 15px; line-height: 1.65; }
  .store-links a { font-size: 14px; }
  .captcha-image-wrap { width: 188px; height: 68px; }
  .captcha-form label { font-size: 14px; }
  .answer-row { grid-template-columns: minmax(76px, .54fr) minmax(0, 1fr); gap: 7px; }
  .answer-row .button { gap: 5px; padding: 9px 8px; font-size: 13px; }
  .field-help { font-size: 14px !important; }
  .mini-instruction { font-size: 14px; }
  .result-section { margin: 0 0 48px; padding: 19px 15px; border-radius: 21px; }
  .result-heading { align-items: flex-start; gap: 13px; }
  .result-heading h2 { font-size: 25px; }
  .result-heading .eyebrow { font-size: 11px; }
  .result-subtitle { font-size: 14px; line-height: 1.6; }
  .countdown-card { min-width: 94px; padding: 9px 7px; }
  .countdown-label { font-size: 12px; }
  .countdown-card strong { font-size: 21px; }
  .result-grid { grid-template-columns: 1fr; }
  .qr-card { min-height: 0; padding: 17px; }
  .qr-frame { width: min(68vw, 230px); }
  .download-card { padding: 20px; }
  .download-button { width: 100%; }
  .security-note { padding: 13px; }
  .security-note p { font-size: 14px; line-height: 1.6; }
  .expired-card { align-items: flex-start; margin-bottom: 48px; padding: 18px; }
  .bot-banner { grid-template-columns: 1fr; gap: 14px; margin-bottom: 37px; padding: 18px 16px; }
  .bot-banner .eyebrow { font-size: 11px; }
  .bot-banner h2 { font-size: 19px; }
  .bot-banner p:not(.eyebrow) { font-size: 14px; line-height: 1.55; }
  .bot-banner .button { min-width: 0; min-height: 50px; justify-self: stretch; font-size: 16px; }
  .footer { min-height: 82px; flex-wrap: wrap; justify-content: space-between; gap: 7px 12px; padding: 16px 0; }
  .footer p { order: 3; width: 100%; max-width: none; font-size: 13px; text-align: left; }
  .footer-version { font-size: 10px; }
}

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