:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #ececf1;
  --ink: #17171d;
  --muted: #67676f;
  --line: #d9d9df;
  --brand: #5856d6;
  --brand-strong: #4745bd;
  --brand-soft: #e7e6ff;
  --on-brand: #ffffff;
  --shadow: 0 24px 70px rgb(22 22 30 / 10%);
  --radius: 28px;
  --shell: 1120px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #09090b;
    --surface: #17171a;
    --surface-soft: #222227;
    --ink: #f5f5f7;
    --muted: #aaaab2;
    --line: #303037;
    --brand: #8b89ff;
    --brand-strong: #aaa8ff;
    --brand-soft: #272653;
    --on-brand: #0c0c13;
    --shadow: 0 24px 70px rgb(0 0 0 / 34%);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3 { margin-top: 0; }
p { text-wrap: pretty; }
h1, h2, h3 { text-wrap: balance; }

.shell { width: min(var(--shell), calc(100% - 40px)); margin-inline: auto; }
.skip-link {
  position: fixed;
  z-index: 1000;
  top: -80px;
  left: 20px;
  padding: 12px 18px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
}
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 4px; }

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--line) 75%, transparent);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(20px) saturate(150%);
}
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-size: 14px; font-weight: 760; letter-spacing: 2.3px; }
.brand img { width: 38px; height: 38px; border-radius: 10px; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 600; }
.site-nav a { min-height: 44px; display: inline-flex; align-items: center; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav .language-link { color: var(--brand-strong); }
.menu-button { display: none; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; background: var(--surface); }
.menu-button span:not(.sr-only) { display: block; width: 19px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.hero {
  min-height: 740px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(350px, 0.78fr);
  align-items: center;
  gap: 74px;
  padding-block: 82px 94px;
}
.eyebrow { margin-bottom: 18px; color: var(--brand-strong); font-size: 12px; font-weight: 760; letter-spacing: 2.4px; text-transform: uppercase; }
.hero h1 { max-width: 750px; margin-bottom: 26px; font-size: clamp(56px, 7.1vw, 102px); font-weight: 750; line-height: 0.94; letter-spacing: -0.065em; }
.hero h1 em { color: var(--brand); font-style: normal; }
.hero-lead { max-width: 640px; margin-bottom: 32px; color: var(--muted); font-size: 21px; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 20px; border: 1px solid transparent; border-radius: 15px; font-size: 15px; font-weight: 680; }
.button-primary { background: var(--brand); color: var(--on-brand); }
.button-primary:hover { background: var(--brand-strong); }
.button-secondary { border-color: var(--line); background: var(--surface); }
.button-disabled { cursor: default; opacity: 0.72; }
.hero-note { margin: 18px 0 0; color: var(--muted); font-size: 13px; }

.phone-stage { position: relative; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 410px; height: 410px; border-radius: 50%; background: var(--brand-soft); }
.phone { position: relative; width: min(360px, 82vw); padding: 10px; border-radius: 52px; background: #050506; box-shadow: var(--shadow); transform: rotate(2deg); }
.phone img { width: 100%; border-radius: 43px; }
.privacy-pill { position: absolute; right: -18px; bottom: 80px; min-height: 44px; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); box-shadow: 0 12px 34px rgb(20 20 30 / 12%); font-size: 13px; font-weight: 650; }

.section { padding-block: 104px; }
.section + .section { border-top: 1px solid var(--line); }
.section-intro { max-width: 730px; margin-bottom: 42px; }
.section-intro h2 { margin-bottom: 18px; font-size: clamp(42px, 5vw, 68px); font-weight: 730; line-height: 1; letter-spacing: -0.055em; }
.section-intro p { color: var(--muted); font-size: 19px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card { min-height: 260px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.feature-icon { width: 48px; height: 48px; display: grid; place-items: center; margin-bottom: 36px; border-radius: 15px; background: var(--brand-soft); color: var(--brand-strong); font-size: 24px; font-weight: 700; }
.feature-card h3 { margin-bottom: 10px; font-size: 24px; letter-spacing: -0.025em; }
.feature-card p { margin: 0; color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: step; }
.step { position: relative; padding-top: 24px; border-top: 2px solid var(--line); counter-increment: step; }
.step::before { content: "0" counter(step); display: block; margin-bottom: 42px; color: var(--brand-strong); font-size: 13px; font-weight: 760; letter-spacing: 1.5px; }
.step h3 { margin-bottom: 8px; font-size: 23px; }
.step p { margin: 0; color: var(--muted); }

.category-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.category-list li { padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); font-size: 15px; font-weight: 620; }

.privacy-section { padding-block: 94px; }
.privacy-card { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px; padding: 52px; border-radius: 34px; background: #0c0e34; color: #fff; }
.privacy-card h2 { margin-bottom: 12px; font-size: clamp(38px, 5vw, 62px); line-height: 1; letter-spacing: -0.05em; }
.privacy-card p { max-width: 690px; margin: 0; color: rgb(255 255 255 / 72%); font-size: 18px; }
.privacy-symbol { width: 120px; height: 120px; display: grid; place-items: center; border: 1px solid rgb(255 255 255 / 18%); border-radius: 50%; color: #c7c6ff; font-size: 42px; }

.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; list-style: none; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--brand-strong); font-size: 24px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 780px; padding-bottom: 24px; color: var(--muted); }

.final-cta { padding-block: 104px; text-align: center; }
.final-cta h2 { margin-bottom: 16px; font-size: clamp(44px, 6vw, 76px); letter-spacing: -0.055em; }
.final-cta p { margin-bottom: 28px; color: var(--muted); font-size: 19px; }

.site-footer { padding-block: 32px; border-top: 1px solid var(--line); }
.footer-inner { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 28px; color: var(--muted); font-size: 13px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 22px; }
.footer-inner a:hover { color: var(--ink); }

.legal-hero { max-width: 820px; margin-inline: auto; padding-block: 90px 52px; }
.legal-hero h1 { margin-bottom: 18px; font-size: clamp(50px, 7vw, 82px); letter-spacing: -0.06em; line-height: 0.98; }
.legal-hero > p:last-child { max-width: 680px; color: var(--muted); font-size: 20px; }
.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); justify-content: center; gap: 60px; padding-bottom: 110px; }
.legal-aside { position: sticky; top: 104px; align-self: start; display: grid; gap: 10px; color: var(--muted); font-size: 13px; }
.legal-aside strong { color: var(--ink); font-size: 11px; letter-spacing: 1.5px; }
.legal-aside a { min-height: 44px; display: flex; align-items: center; color: var(--brand-strong); font-weight: 620; }
.legal-copy h2 { margin: 48px 0 14px; font-size: 29px; letter-spacing: -0.035em; }
.legal-copy h2:first-child { margin-top: 0; }
.legal-copy h3 { margin: 26px 0 10px; font-size: 21px; }
.legal-copy p, .legal-copy li { color: var(--muted); }
.legal-copy a { color: var(--brand-strong); text-decoration: underline; text-underline-offset: 3px; }
.legal-copy li + li { margin-top: 8px; }
.legal-callout, .contact-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.support-card { padding: 22px; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); }
.support-card h3 { margin-top: 0; }
.support-card p { margin-bottom: 0; }
.not-found { min-height: 100svh; display: grid; align-content: center; justify-items: start; max-width: 760px; padding-block: 80px; }
.not-found h1 { margin-bottom: 18px; font-size: clamp(54px, 9vw, 96px); line-height: 0.96; letter-spacing: -0.06em; }
.not-found > p:not(.eyebrow) { max-width: 560px; margin-bottom: 30px; color: var(--muted); font-size: 20px; }

@media (max-width: 820px) {
  .site-nav { position: absolute; top: 68px; left: 20px; right: 20px; display: none; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); }
  .site-nav[data-open] { display: grid; }
  .site-nav a { padding-inline: 10px; }
  .menu-button { display: block; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 64px; padding-block: 58px 82px; }
  .hero h1 { font-size: clamp(54px, 15vw, 82px); }
  .phone-stage { margin-inline: auto; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .step::before { margin-bottom: 24px; }
  .privacy-card { grid-template-columns: 1fr; padding: 34px 28px; }
  .privacy-symbol { width: 84px; height: 84px; font-size: 32px; }
  .footer-inner { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 32px; }
  .legal-aside { position: static; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  .shell { width: min(100% - 32px, var(--shell)); }
  .hero { padding-top: 46px; }
  .hero-lead { font-size: 18px; }
  .hero-actions { display: grid; }
  .button { width: 100%; }
  .privacy-pill { right: -6px; bottom: 52px; }
  .section { padding-block: 78px; }
  .section-intro { margin-bottom: 30px; }
  .legal-hero { padding-block: 64px 38px; }
}

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