:root {
  --bg: #07090d;
  --bg-soft: #0d1016;
  --surface: rgba(19, 23, 31, 0.94);
  --surface-strong: #151a23;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.19);
  --text: #f5f7fa;
  --muted: #a9b1be;
  --muted-strong: #c8ced8;
  --green: #48d26b;
  --blue: #168cf2;
  --pink: #ef2e61;
  --danger: #ff315f;
  --danger-soft: rgba(255, 49, 95, 0.12);
  --focus: #6ab8ff;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.42);
  --content: 760px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 4%, rgba(22, 140, 242, 0.13), transparent 27rem),
    radial-gradient(circle at 88% 15%, rgba(72, 210, 107, 0.09), transparent 24rem),
    radial-gradient(circle at 50% 70%, rgba(239, 46, 97, 0.055), transparent 35rem),
    var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.19;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
}

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

.skip-link {
  position: fixed;
  left: 12px;
  top: 10px;
  z-index: 100;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 10px;
  color: #07111b;
  background: var(--focus);
  font-weight: 800;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  width: min(100%, 1180px);
  margin: 0 auto;
  padding: 0 18px calc(32px + env(safe-area-inset-bottom));
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: 178px; height: auto; display: block; }
.product-mark {
  color: var(--muted-strong);
  font-size: .73rem;
  letter-spacing: .17em;
  text-transform: uppercase;
  font-weight: 800;
  white-space: nowrap;
}

main { width: min(100%, var(--content)); margin: 0 auto; }

.hero {
  padding: 46px 0 28px;
  text-align: center;
}

.scan-emblem {
  width: 104px;
  aspect-ratio: 1;
  position: relative;
  margin: 0 auto 26px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: linear-gradient(145deg, rgba(255,255,255,.095), rgba(255,255,255,.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 18px 50px rgba(0,0,0,.42);
}
.scan-emblem::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: 21px;
  background: #11151c;
  border: 1px solid rgba(255,255,255,.09);
}
.scan-emblem img { position: relative; width: 54px; height: 54px; object-fit: contain; }
.scan-corner { position: absolute; width: 24px; height: 24px; border-color: var(--blue); border-style: solid; }
.scan-corner--tl { left: -4px; top: -4px; border-width: 3px 0 0 3px; border-radius: 9px 0 0 0; }
.scan-corner--tr { right: -4px; top: -4px; border-width: 3px 3px 0 0; border-radius: 0 9px 0 0; border-color: var(--green); }
.scan-corner--bl { left: -4px; bottom: -4px; border-width: 0 0 3px 3px; border-radius: 0 0 0 9px; border-color: var(--pink); }
.scan-corner--br { right: -4px; bottom: -4px; border-width: 0 3px 3px 0; border-radius: 0 0 9px 0; }

.eyebrow {
  margin: 0 0 10px;
  color: #70bfff;
  text-transform: uppercase;
  letter-spacing: .15em;
  font-size: .74rem;
  font-weight: 850;
}
.eyebrow--danger { color: #ff7795; }

h1, h2, h3, p { overflow-wrap: anywhere; }
h1 {
  margin: 0 auto;
  max-width: 680px;
  font-size: clamp(2.22rem, 9.4vw, 4.4rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.hero-copy {
  max-width: 590px;
  margin: 20px auto 0;
  color: var(--muted-strong);
  font-size: clamp(1rem, 4vw, 1.13rem);
}
.hero-copy strong { color: white; }
.scan-status {
  width: max-content;
  max-width: 100%;
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(72,210,107,.26);
  background: rgba(72,210,107,.07);
  border-radius: 999px;
  color: #c9f8d4;
  font-size: .8rem;
  font-weight: 750;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(72,210,107,.12); }

.action-stack { display: grid; gap: 12px; }
.action-card {
  width: 100%;
  min-height: 94px;
  display: grid;
  grid-template-columns: 52px 1fr auto;
  align-items: center;
  gap: 15px;
  padding: 17px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  color: var(--text);
  background: linear-gradient(145deg, rgba(26,31,41,.97), rgba(16,19,26,.97));
  box-shadow: 0 12px 30px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.045);
  text-align: left;
  cursor: pointer;
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.action-card:hover { transform: translateY(-2px); border-color: rgba(106,184,255,.42); }
.action-card:active { transform: scale(.992); }
.action-card:focus-visible, .button:focus-visible, .store-button:focus-visible, .call-button:focus-visible, .modal-close:focus-visible, .brand:focus-visible, .site-footer a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.action-card--emergency {
  border-color: rgba(255,49,95,.38);
  background: linear-gradient(145deg, rgba(72,20,34,.96), rgba(27,15,21,.98));
}
.action-card--emergency:hover { border-color: rgba(255,89,125,.75); }
.action-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #9ed0ff;
  background: rgba(22,140,242,.11);
  border: 1px solid rgba(22,140,242,.2);
}
.action-card--emergency .action-icon { color: #ff8ca6; background: rgba(255,49,95,.12); border-color: rgba(255,49,95,.24); }
.action-icon svg { width: 27px; height: 27px; fill: currentColor; }
.action-content { min-width: 0; display: grid; gap: 2px; }
.action-title { font-size: 1.08rem; font-weight: 850; letter-spacing: -.015em; }
.action-summary { color: var(--muted); font-size: .88rem; line-height: 1.35; }
.action-arrow { color: var(--muted); font-size: 1.35rem; font-weight: 500; }
.emergency-help {
  margin: -3px 10px 4px;
  color: #d5a8b3;
  font-size: .78rem;
  line-height: 1.42;
}
.emergency-help strong { color: #ff9bb2; }

.urgent-banner {
  margin: 24px 0 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px 14px;
  align-items: center;
  padding: 16px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,.1);
  background: rgba(255,255,255,.035);
}
.urgent-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  color: white;
  background: #b91f43;
  font-size: .86rem;
  font-weight: 900;
  letter-spacing: .04em;
}
.urgent-banner h2 { margin: 0; font-size: .98rem; }
.urgent-banner p { margin: 3px 0 0; color: var(--muted); font-size: .8rem; line-height: 1.38; }
.call-button {
  grid-column: 1 / -1;
  min-height: 46px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  text-decoration: none;
  color: white;
  background: #b91f43;
  font-weight: 850;
}

.download-section, .explain-section {
  margin-top: 70px;
  padding-top: 4px;
}
.download-section {
  padding: 30px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, rgba(23,28,37,.95), rgba(11,14,19,.95));
  box-shadow: var(--shadow);
  text-align: center;
}
.download-section h2, .section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 7vw, 2.8rem);
  line-height: 1.07;
  letter-spacing: -.04em;
}
.download-section > p:not(.eyebrow):not(.rescan-note), .section-heading > p:not(.eyebrow) {
  margin: 14px auto 0;
  color: var(--muted);
  max-width: 610px;
}

.store-buttons {
  margin-top: 22px;
  display: grid;
  gap: 11px;
}
.store-button {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 18px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,.17);
  background: #020305;
  color: white;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease;
}
.store-button:hover { transform: translateY(-2px); border-color: rgba(255,255,255,.38); }
.store-button svg { width: 30px; height: 30px; fill: currentColor; flex: 0 0 auto; }
.store-button span { display: grid; text-align: left; line-height: 1; }
.store-button small { font-size: .66rem; margin-bottom: 4px; }
.store-button strong { font-size: 1.18rem; letter-spacing: -.02em; }
.store-button.is-recommended { border-color: rgba(72,210,107,.55); box-shadow: 0 0 0 3px rgba(72,210,107,.075); }
.rescan-note { margin: 14px 0 0; color: #8e97a5; font-size: .77rem; }

.section-heading { text-align: center; }
.info-grid { display: grid; gap: 13px; margin-top: 28px; }
.info-card {
  position: relative;
  padding: 23px 20px 22px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(17,21,28,.78);
  overflow: hidden;
}
.info-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(var(--blue), var(--green));
}
.info-card--emergency::before { background: var(--danger); }
.info-number { color: #6f7886; font-size: .71rem; letter-spacing: .15em; font-weight: 850; }
.info-card h3 { margin: 8px 0 7px; font-size: 1.17rem; }
.info-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.info-card > strong { display: block; margin-top: 12px; color: #ff9ab1; font-size: .84rem; }

.trust-strip {
  margin-top: 56px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 14px;
  color: #919aa8;
  font-size: .72rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
}
.trust-strip p { margin: 0; }
.trust-strip span { width: 4px; height: 4px; border-radius: 50%; background: var(--green); }

.site-footer {
  width: min(100%, var(--content));
  margin: 58px auto 0;
  padding: 34px 0 20px;
  text-align: center;
}
.site-footer img { width: 164px; height: auto; }
.site-footer p { color: var(--muted); font-size: .84rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin: 22px 0; }
.site-footer a { color: #bdc5d1; font-size: .8rem; text-decoration: none; }
.site-footer a:hover { color: white; }
.site-footer small { color: #727b88; font-size: .72rem; }

.modal {
  width: min(calc(100% - 26px), 540px);
  max-height: min(88vh, 760px);
  padding: 0;
  border: 0;
  border-radius: 26px;
  color: var(--text);
  background: transparent;
  box-shadow: var(--shadow);
  overflow: visible;
}
.modal::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(8px); }
.modal-card {
  position: relative;
  max-height: min(88vh, 760px);
  overflow-y: auto;
  padding: 31px 22px calc(24px + env(safe-area-inset-bottom));
  border: 1px solid var(--line-strong);
  border-radius: 26px;
  background: linear-gradient(160deg, #171c25, #090c11);
  text-align: center;
}
.modal-card--danger { border-color: rgba(255,49,95,.34); background: linear-gradient(160deg, #27141b, #0d090b 55%); }
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #d9dee6;
  background: rgba(255,255,255,.045);
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
}
.modal-symbol {
  width: 72px;
  height: 72px;
  margin: 5px auto 20px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  border: 1px solid rgba(22,140,242,.26);
  background: rgba(22,140,242,.09);
}
.modal-symbol img { width: 44px; height: 44px; object-fit: contain; }
.modal-symbol--danger { color: #fff; background: rgba(255,49,95,.17); border-color: rgba(255,49,95,.34); font-size: 2.2rem; font-weight: 900; }
.modal h2 { margin: 0; font-size: clamp(1.65rem, 7vw, 2.35rem); line-height: 1.06; letter-spacing: -.04em; }
.modal-card > p:not(.eyebrow):not(.coming-soon):not(.rescan-note) { color: var(--muted-strong); }
.danger-box {
  margin: 19px 0;
  padding: 14px;
  display: grid;
  gap: 3px;
  border-radius: 15px;
  color: #ffd9e2;
  background: var(--danger-soft);
  border: 1px solid rgba(255,49,95,.22);
  text-align: left;
}
.danger-box strong { font-size: .9rem; }
.danger-box span { color: #d9aeb8; font-size: .8rem; }
.confirm-check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 11px;
  align-items: start;
  padding: 14px;
  border-radius: 15px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.035);
  text-align: left;
  cursor: pointer;
}
.confirm-check input { width: 21px; height: 21px; accent-color: var(--danger); }
.confirm-check span { color: #e5e8ed; font-size: .86rem; line-height: 1.4; }
.modal-actions { display: grid; gap: 10px; margin-top: 18px; }
.button {
  min-height: 51px;
  display: grid;
  place-items: center;
  padding: 10px 17px;
  border-radius: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  font-weight: 850;
}
.button--outline { color: white; border-color: rgba(255,255,255,.19); background: rgba(255,255,255,.045); }
.button--danger { color: white; background: var(--danger); }
.button--danger:disabled { cursor: not-allowed; opacity: .42; filter: grayscale(.25); }
.coming-soon {
  margin: 14px 0 0;
  padding: 11px;
  border-radius: 12px;
  color: #d3a6b0;
  background: rgba(255,255,255,.035);
  font-size: .75rem;
}
.coming-soon code { color: white; }
.store-buttons--modal { margin-top: 20px; }

.noscript {
  position: fixed;
  inset: auto 12px 12px;
  z-index: 50;
  padding: 14px;
  border-radius: 14px;
  color: #16100a;
  background: #ffd083;
  font-weight: 750;
  font-size: .82rem;
}

@media (min-width: 560px) {
  .page-shell { padding-inline: 28px; }
  .site-header { min-height: 88px; }
  .brand img { width: 198px; }
  .hero { padding-top: 62px; }
  .action-card { min-height: 102px; padding: 20px 22px; grid-template-columns: 58px 1fr auto; }
  .action-icon { width: 58px; height: 58px; }
  .action-title { font-size: 1.18rem; }
  .action-summary { font-size: .93rem; }
  .urgent-banner { grid-template-columns: auto 1fr auto; }
  .call-button { grid-column: auto; min-width: 112px; padding-inline: 18px; }
  .store-buttons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .download-section { padding: 42px 36px; }
  .info-card { padding: 27px 26px; }
  .modal-card { padding-inline: 34px; }
  .modal-actions { grid-template-columns: 1fr 1.35fr; }
}

@media (min-width: 900px) {
  .page-shell { width: min(100%, 1240px); }
  main, .site-footer { width: min(100%, 900px); }
  .hero { padding-top: 74px; }
  .action-stack { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .action-card--emergency { grid-column: 1 / -1; }
  .emergency-help { grid-column: 1 / -1; }
  .info-grid { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .info-card { min-height: 270px; }
}

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