:root {
  --sky-top: #1f4e96;
  --sky-deep: #0e2a55;
  --night: #07142b;
  --ink: #d6e3f7;
  --ink-strong: #ffffff;
  --ink-soft: #9fb6d9;
  --accent: #3e8ef0;
  --button: #2a6fd0;
  --zoom: #ffd60a;
  --card: rgba(255, 255, 255, 0.07);
  --card-border: rgba(255, 255, 255, 0.12);
  --line: rgba(191, 214, 245, 0.14);
  --shadow: 0 20px 60px rgba(0, 8, 24, 0.45);
  --radius: 28px;
  --maxread: 700px;
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 50% -120px, rgba(62, 142, 240, 0.45), transparent 70%),
    linear-gradient(180deg, var(--sky-top) 0px, var(--sky-deep) 520px, var(--night) 1400px);
  background-color: var(--night);
  background-repeat: no-repeat;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.wrap { max-width: var(--maxread); margin: 0 auto; padding: 0 24px; }
section.wrap { padding-top: 14px; padding-bottom: 14px; }
section.hero { padding-top: 36px; }

.topbar {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1080px; margin: 0 auto; padding: 20px 24px; gap: 16px;
}
.topbar a { color: var(--ink); text-decoration: none; font-size: 15px; }
.topbar .brand { display: flex; align-items: center; gap: 10px; font-size: 21px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-strong); }
.topbar .brand img { width: 36px; height: 36px; }
.topbar nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px 20px; }
.topbar nav a { opacity: 0.8; }
.topbar nav a:hover, .topbar nav a[aria-current="page"] { opacity: 1; }
.topbar nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; text-underline-offset: 6px; }

.card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px 40px;
  text-align: center;
}
.card + .card { margin-top: 28px; }
.card .glyph, .privacy-x__head .glyph {
  width: 88px; height: 88px; margin: 0 auto 22px;
  display: grid; place-items: center;
  border-radius: 24px;
  background: linear-gradient(180deg, #2f6fc4, #173d78);
  box-shadow: 0 6px 18px rgba(0, 10, 30, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
}
.card .glyph svg, .privacy-x__head .glyph svg { width: 44px; height: 44px; }

h1, h2, h3 { color: var(--ink-strong); letter-spacing: -0.02em; line-height: 1.15; }
.hero h1 { font-size: clamp(40px, 7.5vw, 60px); font-weight: 700; line-height: 1.02; }
h2 { font-size: clamp(26px, 4.4vw, 32px); font-weight: 700; margin-bottom: 12px; }
h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
p { font-size: 18px; color: var(--ink-soft); }
p + p { margin-top: 14px; }
.eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.lead { font-size: 20px; }
.fineprint { font-size: 14px; color: var(--ink-soft); opacity: 0.85; }
.zoomtext { color: var(--zoom); font-variant-numeric: tabular-nums; font-weight: 600; }
a.inline {
  color: var(--ink-strong);
  text-decoration: underline; text-decoration-color: var(--accent);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
a.inline:hover { text-decoration-color: var(--zoom); }

.hero { text-align: center; padding-top: 24px; }
.hero .appicon {
  width: 112px; height: 112px; margin: 0 auto 26px; display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 10, 30, 0.5));
}
.hero p.lead { max-width: 560px; margin: 20px auto 0; }

.badge {
  display: inline-block; margin: 26px auto 0; border-radius: 9px; line-height: 0;
  transition: transform 0.15s ease;
}
.badge:hover { transform: translateY(-1px); }
.badge:focus-visible { outline: 3px solid var(--zoom); outline-offset: 3px; }

.badge img { display: block; height: 54px; width: auto; }
.hero .platforms { margin-top: 14px; font-size: 14px; color: var(--ink-soft); }

.phone {
  width: min(300px, 78vw); margin: 44px auto 0; display: block;
  filter: drop-shadow(0 30px 60px rgba(0, 8, 24, 0.6));
}

.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 26px; text-align: left; }
.feature {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 20px; padding: 22px 20px;
}
.feature .ic { color: var(--accent); width: 30px; height: 30px; margin-bottom: 12px; }
.feature p { font-size: 16px; }

.steps { display: flex; flex-direction: column; gap: 26px; margin-top: 26px; }
.step { display: flex; align-items: center; gap: 22px; text-align: left; }
.step .tile {
  width: 84px; height: 84px; flex: 0 0 auto;
  display: grid; place-items: center;
  border-radius: 22px;
  background: linear-gradient(180deg, #2f6fc4, #173d78);
  box-shadow: 0 4px 14px rgba(0, 10, 30, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
}
.step .tile svg { width: 40px; height: 40px; }
.step p { font-size: 16px; }
.step:nth-child(even) { flex-direction: row-reverse; text-align: right; }

.compare { width: 100%; table-layout: fixed; border-collapse: collapse; margin-top: 18px; font-size: 16px; text-align: left; }
.compare th, .compare td { width: 50%; }
.compare th {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft);
  padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.compare td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tr:last-child td { border-bottom: none; }
.compare td.old { color: var(--ink-soft); }
.compare td.new { color: var(--ink-strong); font-weight: 500; }
.compare td.new::before { content: "✓"; color: var(--zoom); font-weight: 700; margin-right: 8px; }

.reach { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 16px; text-align: start; }
.reach th {
  font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft);
  padding: 10px 12px; border-bottom: 1px solid var(--line); font-weight: 600;
}
.reach td { padding: 12px; border-bottom: 1px solid var(--line); color: var(--ink-strong); }
.reach tr:last-child td { border-bottom: none; }
.reach td.num, .reach th.num { text-align: end; width: 22%; }
.reach td.num { color: var(--zoom); font-variant-numeric: tabular-nums; font-weight: 600; }

.checks { list-style: none; text-align: left; max-width: 440px; margin: 22px auto 0; }
.checks li {
  display: flex; gap: 12px; align-items: flex-start; padding: 9px 0;
  color: var(--ink-strong); font-size: 17px; border-bottom: 1px solid var(--line);
}
.checks li:last-child { border-bottom: none; }
.checks li svg { width: 22px; height: 22px; color: var(--accent); flex: none; margin-top: 2px; }

.sample { width: min(360px, 100%); margin: 6px auto 22px; display: block; border-radius: 16px; box-shadow: 0 10px 30px rgba(0, 8, 24, 0.5); }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 18px; }
.chip {
  font-size: 14px; color: var(--ink-strong);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line);
}

.faq { text-align: start; margin-top: 8px; }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq details:last-child { border-bottom: none; }
.faq summary {
  font-weight: 600; color: var(--ink-strong); cursor: pointer; list-style: none; font-size: 17px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--ink-soft); font-weight: 400; font-size: 22px; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq summary:focus-visible { outline: 2px solid var(--zoom); outline-offset: 4px; border-radius: 4px; }
.faq details p { margin-top: 10px; font-size: 16px; }

.doc { text-align: start; }
.doc h2 { margin-top: 6px; }
.doc h3 { margin-top: 26px; display: flex; align-items: center; gap: 10px; }
.doc h3 svg { width: 22px; height: 22px; color: var(--accent); flex: none; }
.doc p, .doc li { font-size: 17px; }
.doc ul { margin: 10px 0 0; margin-inline-start: 22px; color: var(--ink-soft); }
.doc li + li { margin-top: 6px; }
.doc .msg { color: var(--ink-strong); font-weight: 600; }
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.toc a {
  font-size: 14px; color: var(--ink-strong); text-decoration: none;
  padding: 7px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.07); border: 1px solid var(--line);
}
.toc a:hover { border-color: var(--accent); }
.card[id] { scroll-margin-top: 20px; }
kbd {
  font-family: inherit; font-size: 0.9em; color: var(--ink-strong);
  padding: 1px 7px; border-radius: 6px; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06);
}

.footer { text-align: center; padding: 60px 24px 48px; color: var(--ink-soft); font-size: 14px; }
.footer img { width: 40px; height: 40px; margin: 22px auto 8px; display: block; }
.footer .name { color: var(--ink-strong); font-weight: 600; font-size: 16px; }
.footer nav { margin: 10px 0; }
.footer nav a { color: var(--ink); text-decoration: none; margin: 0 8px; }
.footer nav a:hover { color: var(--ink-strong); }

@media (max-width: 600px) {
  .card { padding: 34px 22px; }
  .features { grid-template-columns: 1fr; }
  .step, .step:nth-child(even) { flex-direction: column; text-align: center; gap: 14px; }
  .topbar { padding: 16px; }
  .wrap { padding: 0 16px; }
  p { font-size: 17px; }
}

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

.mt-s { margin-top: 14px; }
.mt-m { margin-top: 20px; }
.mt-l { margin-top: 28px; }
.pb-l { padding-bottom: 40px; }
.doc h2.mt-l { margin-top: 32px; }

.zooms { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.zooms figure { position: relative; margin: 0; }
.zooms img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; box-shadow: 0 8px 24px rgba(0, 8, 24, 0.45); }
.zooms figcaption {
  position: absolute; left: 8px; bottom: 8px;
  font-size: 13px; font-weight: 700; color: var(--zoom); font-variant-numeric: tabular-nums;
  padding: 2px 9px; border-radius: 999px; background: rgba(14, 29, 51, 0.85);
}
.more { margin-top: 22px; text-align: left; }
.more summary {
  cursor: pointer; list-style: none; text-align: center;
  font-size: 15px; font-weight: 600; color: var(--ink-strong);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::after { content: " +"; color: var(--ink-soft); font-weight: 400; }
.more[open] summary::after { content: " –"; }
.more summary:focus-visible { outline: 2px solid var(--zoom); outline-offset: 4px; border-radius: 4px; }
@media (max-width: 600px) {
  .zooms { gap: 8px; }
  .zooms img { border-radius: 10px; }
  .zooms figcaption { left: 5px; bottom: 5px; font-size: 11px; padding: 1px 7px; }
}

.topbar nav { align-items: center; }
.topbar nav a.pill {
  opacity: 1; padding: 7px 15px; border-radius: 999px;
  background: #ffffff; color: #0b1a33; font-weight: 600; font-size: 14px;
}
.topbar nav a.pill:hover { background: var(--zoom); }
.topbar nav a.pill:focus-visible { outline: 3px solid var(--zoom); outline-offset: 3px; }
@media (max-width: 600px) { .topbar nav a.pill { display: none; } }

body:not(.home) {

  background: linear-gradient(#1f4e96, #1f4e96) top / 100% 110px no-repeat #eef4fb;
  display: flex; flex-direction: column;
  --ink: #2b3d5c;
  --ink-strong: #0e2a55;
  --ink-soft: #4f6385;
  --accent: #1f5fbf;
  --zoom: #1f4e96;
  --card: #ffffff;
  --card-border: #d3e0f2;
  --line: rgba(14, 42, 85, 0.14);
  --shadow: 0 18px 44px rgba(14, 42, 85, 0.14);
}
body:not(.home) .topbar, body:not(.home) .hero, body:not(.home) .footer {
  --ink: #d6e3f7;
  --ink-strong: #ffffff;
  --ink-soft: #9fb6d9;
  --accent: #3e8ef0;
  --zoom: #ffd60a;
  --line: rgba(191, 214, 245, 0.2);
}

body:not(.home) .topbar { border-image: linear-gradient(#1f4e96, #1f4e96) fill 0 / 0 / 0 100vw; }
body:not(.home) .hero { border-image: linear-gradient(180deg, #1f4e96, #12336a) fill 0 / 0 / 0 100vw; padding-bottom: 0; }
body:not(.home) .hero .eyebrow { color: var(--zoom); }

body:not(.home) .hero::after {
  content: ""; display: block; position: relative; height: 72px; width: 100vw; margin: 40px 0 -2px; margin-inline-start: calc(50% - 50vw);
  box-shadow: 0 2px 0 #eef4fb;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 72' preserveAspectRatio='none'%3E%3Cpath fill='%232a5fb0' d='M0 28 C200 48 400 48 600 28 S1000 8 1200 28 V72 H0Z'/%3E%3Cpath fill='%23eef4fb' d='M0 48 C200 30 400 30 600 48 S1000 66 1200 48 V72 H0Z'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
}
body:not(.home) main > section.wrap:nth-of-type(2) { padding-top: 26px; }
body:not(.home) main { flex: 1 0 auto; }
body:not(.home) .topbar { width: 100%; }
body:not(.home) .footer { margin-top: 70px; background: linear-gradient(180deg, #1f4e96 0%, #0e2a55 100%); }

.langswitch { position: relative; font-size: 14px; }
.langswitch summary {
  list-style: none; cursor: pointer; white-space: nowrap; position: relative;
  padding: 4px 10px; padding-inline-end: 28px; border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.38); color: #fff;
}
.langswitch summary::-webkit-details-marker { display: none; }
.langswitch summary, .topbar nav .langswitch__menu a { display: flex; align-items: center; gap: 8px; }
.langswitch__flag {
  flex: none; width: 20px; height: 15px; border-radius: 2px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(14, 42, 85, 0.18);
}
.langswitch summary::after {
  content: ""; position: absolute; inset-inline-end: 11px; top: 50%; width: 6px; height: 6px;
  border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor;
  transform: translateY(-72%) rotate(45deg);
}
.langswitch summary:hover, .langswitch[open] summary { background: rgba(255, 255, 255, 0.14); }
.langswitch summary:focus-visible { outline: 3px solid #ffd60a; outline-offset: 3px; }
.langswitch__menu {
  position: absolute; z-index: 30; top: calc(100% + 8px); inset-inline-end: 0;
  width: min(480px, calc(100vw - 32px)); max-height: min(70vh, 560px); overflow: auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; padding: 10px;
  border-radius: 14px; background: #fff; border: 1px solid #d3e0f2;
  box-shadow: 0 18px 50px rgba(14, 42, 85, 0.32);
}
.topbar nav .langswitch__menu a {
  opacity: 1; color: #0e2a55; font-size: 14px; padding: 7px 10px; border-radius: 8px; text-align: start;
}
.topbar nav .langswitch__menu a:hover { background: #eef4fb; }
.topbar nav .langswitch__menu a[aria-current] { background: #1f4e96; color: #fff; text-decoration: none; }
@media (max-width: 600px) {
  .langswitch__menu { grid-template-columns: repeat(2, 1fr); }

  .topbar { padding-left: 16px; padding-right: 16px; gap: 12px; }
  .topbar .brand { flex: none; }
  .topbar nav { min-width: 0; gap: 4px 14px; }
  .topbar { position: relative; }
  .langswitch { position: static; min-width: 0; max-width: 100%; }
  .langswitch summary { white-space: normal; line-height: 1.2; text-align: start; }
  .langswitch__menu { top: 100%; left: 16px; right: 16px; inset-inline-end: 16px; width: auto; }

  .hero h1 { font-size: clamp(22px, 7.4vw, 40px); overflow-wrap: anywhere; }
}
@media (max-width: 380px) {
  .langswitch summary { font-size: 12.5px; padding-inline-start: 8px; gap: 6px; }
  .topbar .brand { font-size: 18px; gap: 8px; }
  .topbar .brand img { width: 30px; height: 30px; }
}
