:root {
  color-scheme: light;
  --accent: #5f7df7;
  --accent-strong: #4767ea;
  --accent-soft: #eef2ff;
  --background: #f6f7fb;
  --surface: rgba(255, 255, 255, 0.86);
  --text: #11131a;
  --muted: #656c7b;
  --border: rgba(17, 19, 26, 0.08);
  --shadow: 0 24px 80px rgba(52, 68, 121, 0.13);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --accent: #7892ff;
    --accent-strong: #91a6ff;
    --accent-soft: rgba(95, 125, 247, 0.14);
    --background: #0d1017;
    --surface: rgba(24, 29, 41, 0.88);
    --text: #f5f7ff;
    --muted: #aeb6c8;
    --border: rgba(255, 255, 255, 0.09);
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 82% 8%, rgba(95, 125, 247, 0.22), transparent 31rem),
    radial-gradient(circle at 8% 36%, rgba(141, 164, 255, 0.15), transparent 25rem),
    var(--background);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { color: var(--accent-strong); text-underline-offset: 0.18em; }

.shell {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 52px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 54px;
  margin-bottom: 58px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 1.08rem;
  font-weight: 780;
  text-decoration: none;
}

.brand img { width: 44px; height: 44px; border-radius: 12px; }

.nav-links,
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.nav-links a:hover,
.footer-links a:hover { color: var(--text); }

.hero-section {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(340px, 0.98fr);
  align-items: center;
  gap: clamp(44px, 8vw, 100px);
  min-height: 680px;
  padding: 32px 0 72px;
}

.hero-copy { position: relative; z-index: 2; }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

h1, h2, h3 { margin-top: 0; line-height: 1.08; letter-spacing: -0.035em; }
h1 { max-width: 730px; margin-bottom: 24px; font-size: clamp(3.2rem, 6.2vw, 6rem); }
h2 { margin-bottom: 18px; font-size: clamp(2.25rem, 4.5vw, 4.25rem); }
h3 { margin-bottom: 10px; font-size: 1.35rem; }

.lead,
.section-lead { color: var(--muted); font-size: clamp(1.08rem, 2vw, 1.28rem); }
.lead { max-width: 680px; margin: 0; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.button,
.language a {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 11px 19px;
  background: var(--surface);
  color: var(--text);
  font-weight: 720;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(52, 68, 121, 0.12); }
.button.primary { border-color: transparent; background: linear-gradient(135deg, #5275fb, #6e86f6); color: white; }
.trust-note { margin: 18px 0 0; color: var(--muted); font-size: 0.9rem; }

.hero-visual { position: relative; display: grid; min-height: 610px; place-items: center; }

.glow {
  position: absolute;
  width: 88%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(95, 125, 247, 0.19);
  filter: blur(48px);
}

.phone {
  position: relative;
  overflow: hidden;
  border: 9px solid #11141b;
  border-radius: 46px;
  background: #11141b;
  box-shadow: 0 36px 90px rgba(25, 32, 60, 0.28);
}

.phone::before {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 50%;
  width: 35%;
  height: 24px;
  border-radius: 999px;
  background: #090a0d;
  content: "";
  transform: translateX(-50%);
}

.phone img { width: 100%; height: auto; }
.phone-hero { z-index: 1; width: min(348px, 72vw); transform: rotate(2.5deg); }

.floating-label {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(255,255,255,0.6);
  border-radius: 999px;
  padding: 10px 15px;
  background: rgba(255,255,255,0.84);
  box-shadow: 0 12px 30px rgba(45, 58, 106, 0.16);
  color: #1a1d27;
  font-size: 0.86rem;
  font-weight: 750;
  backdrop-filter: blur(12px);
}

.label-top { top: 18%; right: -2%; }
.label-bottom { bottom: 17%; left: -7%; }
.section { padding: 112px 0; }
.intro > h2, .intro > .section-lead { max-width: 760px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 48px;
}

.feature-card {
  min-height: 260px;
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 26px;
  background: var(--surface);
  box-shadow: 0 18px 54px rgba(45, 58, 106, 0.07);
  backdrop-filter: blur(18px);
}

.feature-number { display: inline-block; margin-bottom: 54px; color: var(--accent-strong); font-size: 0.8rem; font-weight: 800; }
.feature-card p, .showcase-copy p, .privacy-block > p, .cta-section p { margin: 0; color: var(--muted); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(340px, 1.08fr);
  align-items: center;
  gap: clamp(44px, 9vw, 112px);
  min-height: 720px;
  padding: 86px 0;
}

.showcase-reverse .showcase-copy { order: 2; }
.showcase-reverse .device-stage { order: 1; }
.showcase-copy p:not(.eyebrow) { max-width: 560px; font-size: 1.08rem; }

.device-stage {
  display: grid;
  min-height: 620px;
  place-items: center;
  border-radius: 40px;
  background: radial-gradient(circle at 65% 20%, rgba(255,255,255,0.72), transparent 28%), linear-gradient(145deg, #dfe6ff, #f5f7ff);
}

.report-stage { background: linear-gradient(145deg, #eef1ff, #dbe4ff); }
.phone-secondary { width: min(320px, 72vw); }

.privacy-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: end;
  margin: 92px 0;
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: clamp(28px, 6vw, 64px);
  background: var(--accent-soft);
}

.privacy-block h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.6rem); }
.privacy-block > p { font-size: 1.08rem; }

.cta-section {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  margin-top: 120px;
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: 28px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.cta-section img { width: 74px; border-radius: 20px; }
.cta-section h2 { margin-bottom: 7px; font-size: clamp(1.5rem, 3vw, 2.2rem); }

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  padding: 48px 6px 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer > span { text-align: right; }
.footer-brand img { width: 34px; border-radius: 9px; }

/* Shared document and support pages */
.language { display: flex; gap: 8px; }
.language a { min-height: 0; padding: 8px 13px; }
.language a[aria-current="page"] { border-color: transparent; background: var(--accent); color: white; }

.card {
  border: 1px solid var(--border);
  border-radius: 30px;
  padding: clamp(26px, 6vw, 62px);
  background: var(--surface);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.document h1 { margin-bottom: 16px; font-size: clamp(2.3rem, 6vw, 4.2rem); }
.document h2 { margin: 2.2em 0 0.55em; font-size: clamp(1.3rem, 3vw, 1.75rem); }
.document .lead { max-width: 720px; }
.document ul { padding-left: 1.3rem; }
.meta, .note, footer { color: var(--muted); }

.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.support-item { border: 1px solid var(--border); border-radius: 20px; padding: 22px; }
.support-item h2 { margin-top: 0; }
footer:not(.site-footer) { padding: 28px 8px 0; text-align: center; font-size: 0.9rem; }

.gateway {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding-block: 24px;
}

.gateway-card {
  width: min(560px, 100%);
  text-align: center;
}

.gateway-card img {
  width: 96px;
  margin: 0 auto 22px;
  border-radius: 26px;
}

.gateway-card h1 {
  margin-bottom: 12px;
  font-size: clamp(2.5rem, 9vw, 4.5rem);
}

.gateway-card .actions { justify-content: center; }

@media (max-width: 940px) {
  .hero-section { grid-template-columns: 1fr; padding-top: 24px; }
  .hero-copy { text-align: center; }
  .hero-copy .lead { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .hero-visual { min-height: 560px; }
  .feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .showcase { grid-template-columns: 1fr 1fr; gap: 38px; }
  .privacy-block { grid-template-columns: 1fr; align-items: start; }
  .site-footer { grid-template-columns: 1fr; justify-items: center; }
  .site-footer > span { text-align: center; }
}

@media (max-width: 680px) {
  .shell { width: min(100% - 20px, 1160px); padding-top: 14px; }
  .topbar { margin-bottom: 28px; }
  .nav-links { gap: 14px; }
  .nav-links a:first-child { display: none; }
  .nav-group { gap: 10px; }
  .hero-section { min-height: auto; padding-bottom: 48px; }
  h1 { font-size: clamp(2.75rem, 15vw, 4rem); }
  .hero-visual { min-height: 530px; }
  .phone-hero { width: min(300px, 76vw); }
  .label-top { right: 0; }
  .label-bottom { left: 0; }
  .section { padding: 82px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 220px; }
  .feature-number { margin-bottom: 34px; }
  .showcase, .showcase-reverse { grid-template-columns: 1fr; min-height: auto; padding: 70px 0; }
  .showcase-reverse .showcase-copy, .showcase-reverse .device-stage { order: initial; }
  .device-stage { min-height: 580px; border-radius: 28px; }
  .privacy-block { margin: 70px 0; border-radius: 26px; }
  .cta-section { grid-template-columns: auto 1fr; }
  .cta-section .button { grid-column: 1 / -1; }
  .footer-links { justify-content: center; gap: 14px; }
  .support-grid { grid-template-columns: 1fr; }
  .card { border-radius: 24px; }
}

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