:root {
  color-scheme: light dark;
  --accent: #1878d1;
  --accent-strong: #0967bd;
  --accent-soft: rgba(24, 120, 209, 0.11);
  --page: #f4f6f8;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-solid: #ffffff;
  --surface-muted: #edf1f5;
  --text: #17212b;
  --text-secondary: #5d6a76;
  --line: rgba(23, 33, 43, 0.1);
  --shadow: 0 22px 60px rgba(41, 57, 73, 0.1);
  --radius-card: 24px;
  --radius-inset: 16px;
  --content-width: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --accent: #62adf2;
    --accent-strong: #88c5fb;
    --accent-soft: rgba(98, 173, 242, 0.15);
    --page: #0b1015;
    --surface: rgba(24, 31, 39, 0.84);
    --surface-solid: #181f27;
    --surface-muted: #212a34;
    --text: #f4f7fa;
    --text-secondary: #aab6c2;
    --line: rgba(235, 243, 250, 0.11);
    --shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-x: clip;
  background:
    radial-gradient(circle at 80% -10%, var(--accent-soft), transparent 34rem),
    var(--page);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 160ms ease;
}

a:hover {
  color: var(--text);
}

img {
  display: block;
  max-width: 100%;
}

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

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 70%, transparent);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--surface-solid);
  color: var(--text);
  box-shadow: var(--shadow);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  width: min(calc(100% - 32px), var(--content-width));
  margin-inline: auto;
}

.topbar-wrap {
  position: sticky;
  z-index: 20;
  top: 0;
  padding: 12px 0;
  background: color-mix(in srgb, var(--page) 78%, transparent);
  backdrop-filter: blur(18px) saturate(1.25);
  -webkit-backdrop-filter: blur(18px) saturate(1.25);
}

.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 10px 8px 12px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 8px 26px rgba(31, 46, 61, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--text);
  font-weight: 720;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  box-shadow: 0 7px 17px rgba(28, 80, 124, 0.2);
}

.topnav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-link {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.hero {
  min-height: min(690px, calc(100svh - 82px));
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(62px, 10vh, 112px) 0 72px;
}

.release-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid color-mix(in srgb, var(--accent) 28%, transparent);
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

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

h1 {
  max-width: min(100%, 13ch);
  margin-bottom: 22px;
  font-size: clamp(42px, calc(30px + 2.8vw), 68px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
  text-align: start;
  text-wrap: pretty;
  word-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(27px, 4vw, 38px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.hero-lead {
  max-width: 660px;
  margin-bottom: 28px;
  color: var(--text-secondary);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 680;
  text-decoration: none;
  transition: transform 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 11px 25px color-mix(in srgb, var(--accent) 26%, transparent);
}

.button-primary:hover {
  background: var(--accent-strong);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface-solid);
  color: var(--text);
}

.hero-visual {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
  isolation: isolate;
  overflow: visible;
}

.hero-visual::before {
  position: absolute;
  z-index: 0;
  width: min(calc(100% - 8px), 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    color-mix(in srgb, var(--accent) 7%, transparent) 0,
    color-mix(in srgb, var(--accent) 4%, transparent) 46%,
    transparent 74%
  );
  content: "";
  pointer-events: none;
}

.route-orbit {
  position: absolute;
  z-index: 1;
  width: min(calc(100% - 28px), 390px);
  aspect-ratio: 1;
  border: 1px solid color-mix(in srgb, var(--accent) 20%, transparent);
  border-radius: 50%;
  opacity: 0.86;
  transform: rotate(-14deg);
}

.route-orbit::before,
.route-orbit::after {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--accent-soft);
  content: "";
}

.route-orbit::before {
  top: 42px;
  right: 48px;
}

.route-orbit::after {
  bottom: 51px;
  left: 38px;
}

.app-stage {
  position: relative;
  z-index: 2;
  width: min(84%, 310px);
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--surface);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--surface-solid) 78%, transparent),
    var(--shadow);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
}

.app-stage img {
  width: 94px;
  height: 94px;
  margin-bottom: 24px;
  border-radius: 23px;
  box-shadow: 0 15px 34px rgba(33, 80, 120, 0.24);
}

.app-stage strong,
.app-stage span {
  display: block;
}

.app-stage strong {
  margin-bottom: 5px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.app-stage span {
  color: var(--text-secondary);
  font-size: 14px;
}

.platform-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 20px;
}

.platform-list span {
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--surface-muted);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 650;
}

.section {
  padding: 56px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 28px;
}

.section-heading p,
.legal-intro,
.muted {
  color: var(--text-secondary);
}

.surface {
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.topic {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  background: var(--surface-solid);
}

.topic-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 18px;
}

.topic-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  flex: none;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent-strong);
  font-weight: 760;
}

.topic p {
  margin-bottom: 0;
  color: var(--text-secondary);
}

.subscription-panel {
  display: grid;
  grid-template-columns: minmax(240px, 0.78fr) minmax(0, 1.22fr);
  gap: 24px;
  padding: clamp(24px, 5vw, 44px);
}

.plan-stack {
  display: grid;
  gap: 10px;
}

.plan-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 17px 18px;
  border-radius: var(--radius-inset);
  background: var(--surface-muted);
}

.plan-row strong,
.plan-row span {
  display: block;
}

.plan-row span {
  color: var(--text-secondary);
  font-size: 14px;
}

.plan-label {
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface-solid);
  overflow: clip;
}

.faq-list summary {
  position: relative;
  padding: 19px 54px 19px 20px;
  cursor: pointer;
  font-weight: 680;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 21px;
  color: var(--accent-strong);
  font-size: 22px;
  font-weight: 400;
  content: "+";
  transform: translateY(-52%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 20px 20px;
  color: var(--text-secondary);
}

.faq-answer p:last-child,
.faq-answer ul:last-child {
  margin-bottom: 0;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 26px;
  padding: clamp(26px, 5vw, 44px);
}

.legal-layout {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding-bottom: 72px;
}

.legal-toc {
  position: sticky;
  top: 96px;
  display: grid;
  gap: 3px;
  padding: 13px;
}

.legal-toc a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.legal-toc a:hover {
  background: var(--accent-soft);
  color: var(--accent-strong);
}

.legal-article {
  padding: clamp(24px, 5vw, 52px);
}

.legal-section {
  padding-bottom: 36px;
  margin-bottom: 36px;
  border-bottom: 1px solid var(--line);
}

.legal-section:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  font-size: clamp(24px, 3.5vw, 31px);
}

.legal-section h3 {
  margin-top: 24px;
}

.legal-section li + li {
  margin-top: 8px;
}

.data-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 20px 0;
}

.data-item {
  padding: 16px;
  border-radius: var(--radius-inset);
  background: var(--surface-muted);
}

.data-item strong,
.data-item span {
  display: block;
}

.data-item span {
  margin-top: 4px;
  color: var(--text-secondary);
  font-size: 14px;
}

.callout {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--accent);
  border-radius: 4px var(--radius-inset) var(--radius-inset) 4px;
  background: var(--accent-soft);
}

.callout p:last-child {
  margin-bottom: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 14px;
}

.choice-card {
  padding: 25px;
}

.choice-card ul {
  padding-left: 20px;
}

.site-footer {
  padding: 34px 0 46px;
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-top: 22px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.site-registration {
  display: grid;
  grid-template-columns: max-content max-content;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  column-gap: 18px;
  margin-top: 14px;
  padding-top: 14px;
}

.registration-link {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: var(--text-secondary);
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.registration-link:hover,
.registration-link:focus-visible {
  color: var(--text-primary);
}

.registration-link-police {
  gap: 7px;
}

.registration-link-police img {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  object-fit: contain;
}

@media (max-width: 960px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 34px;
    padding: clamp(42px, 7vw, 58px) 0 58px;
  }

  h1 {
    max-width: min(100%, 12.5ch);
    font-size: clamp(40px, 7vw, 52px);
    line-height: 1.08;
    letter-spacing: -0.04em;
  }

  .hero-visual {
    min-height: clamp(360px, 59vw, 420px);
  }

  .legal-layout {
    grid-template-columns: 1fr;
  }

  .legal-toc {
    position: static;
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .legal-toc a {
    white-space: nowrap;
  }

  .subscription-panel,
  .choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-shell {
    width: min(calc(100% - 22px), var(--content-width));
  }

  .topbar-wrap {
    padding: 8px 0;
  }

  .topbar {
    min-height: 54px;
    gap: 8px;
    padding: 7px 8px;
  }

  .brand span {
    display: none;
  }

  .brand-icon {
    width: 36px;
    height: 36px;
  }

  .nav-link {
    padding: 8px 9px;
    font-size: 13px;
  }

  h1 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(36px, 11vw, 46px);
    line-height: 1.1;
    letter-spacing: -0.035em;
  }

  .hero {
    gap: 24px;
    padding: 30px 0 42px;
  }

  .release-kicker {
    margin-bottom: 16px;
    padding: 6px 10px;
  }

  .hero-lead {
    margin-bottom: 22px;
    font-size: clamp(17px, 4.8vw, 19px);
    line-height: 1.55;
  }

  .hero-visual {
    min-height: clamp(318px, calc(100vw - 10px), 380px);
  }

  .route-orbit {
    width: min(calc(100% - 24px), 354px);
    transform: none;
  }

  .app-stage {
    width: min(90%, 310px);
    padding: 24px;
    border-radius: 28px;
  }

  .app-stage img {
    width: 82px;
    height: 82px;
    margin-bottom: 20px;
    border-radius: 20px;
  }

  .app-stage strong {
    font-size: 22px;
  }

  .topic,
  .choice-card {
    padding: 20px;
  }

  .subscription-panel,
  .contact-panel,
  .legal-article {
    padding: 20px;
  }

  .legal-section {
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .topic-grid,
  .data-map {
    grid-template-columns: 1fr;
  }

  .topic-wide {
    grid-template-columns: 1fr;
  }

  .contact-panel,
  .footer-row {
    grid-template-columns: 1fr;
    display: grid;
  }

  .site-registration {
    grid-template-columns: max-content max-content;
    align-items: center;
    justify-content: space-between;
    column-gap: 8px;
    font-size: clamp(10px, 3vw, 12px);
  }

  .registration-link-police {
    gap: 4px;
  }

  .registration-link-police img {
    width: 16px;
    height: 16px;
  }

  .section {
    padding: 40px 0;
  }

  .legal-article {
    border-radius: 20px;
  }
}

@media (max-width: 380px) {
  .site-shell {
    width: min(calc(100% - 18px), var(--content-width));
  }

  .nav-link {
    padding-inline: 7px;
    font-size: 12px;
  }

  .button-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .button {
    min-width: 0;
    padding-inline: 10px;
    font-size: 14px;
    white-space: nowrap;
  }

  .plan-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .topbar-wrap {
    background: var(--page);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .topbar,
  .app-stage,
  .surface {
    background: var(--surface-solid);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}
