:root {
  color-scheme: light;
  --ink: #0a1730;
  --muted: #5e6b82;
  --line: #dce3f0;
  --surface: #f5f8ff;
  --blue: #315adf;
  --blue-dark: #173aa7;
  --cyan: #27c5e7;
  --white: #ffffff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
}
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid rgba(220, 227, 240, .85);
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(16px);
}
.nav { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.brand-mark {
  width: 36px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--white);
  background: linear-gradient(145deg, var(--blue-dark), var(--blue) 58%, var(--cyan));
  box-shadow: 0 8px 22px rgba(49, 90, 223, .24);
  font-size: 15px;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { text-decoration: none; color: var(--muted); font-weight: 650; font-size: .92rem; }
.lang-switch { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); }
.lang-switch button { border: 0; border-radius: 999px; padding: 7px 11px; background: transparent; color: var(--muted); cursor: pointer; font: inherit; font-size: .82rem; font-weight: 750; }
.lang-switch button[aria-pressed="true"] { color: var(--white); background: var(--ink); }
.hero {
  position: relative;
  overflow: hidden;
  padding: 94px 0 78px;
  background: linear-gradient(135deg, #f8faff 0%, #edf3ff 52%, #f1fcff 100%);
}
.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  right: -170px;
  top: -240px;
  border: 1px solid rgba(49, 90, 223, .15);
  border-radius: 50%;
  box-shadow: 0 0 0 58px rgba(39, 197, 231, .05), 0 0 0 116px rgba(49, 90, 223, .035);
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 64px; align-items: center; }
.eyebrow { margin: 0 0 16px; color: var(--blue); font-weight: 800; letter-spacing: .09em; text-transform: uppercase; font-size: .78rem; }
h1 { max-width: 780px; margin: 0; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .98; letter-spacing: -.065em; }
.hero-copy { max-width: 700px; margin: 26px 0 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.25rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px; border-radius: 13px; text-decoration: none; font-weight: 800; }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 0 12px 28px rgba(49, 90, 223, .25); }
.button-secondary { background: var(--white); border: 1px solid var(--line); }
.doc-card { position: relative; min-height: 360px; padding: 30px; border-radius: 30px; color: var(--white); background: var(--ink); box-shadow: 0 30px 60px rgba(10, 23, 48, .18); transform: rotate(2deg); }
.doc-card::before { content: "PDF"; position: absolute; right: 24px; top: 20px; color: rgba(255,255,255,.08); font-size: 5.8rem; font-weight: 900; }
.doc-icon { width: 58px; height: 72px; padding: 13px; border-radius: 14px 14px 20px 14px; background: linear-gradient(160deg, var(--blue), var(--cyan)); font-weight: 900; }
.doc-lines { display: grid; gap: 13px; margin-top: 44px; }
.doc-lines span { height: 9px; border-radius: 99px; background: rgba(255,255,255,.14); }
.doc-lines span:nth-child(2) { width: 74%; background: var(--cyan); }
.doc-lines span:nth-child(3) { width: 86%; }
.doc-lines span:nth-child(4) { width: 55%; background: #ffd84d; }
.doc-label { position: absolute; left: 30px; right: 30px; bottom: 28px; display: flex; justify-content: space-between; color: #cbd7ee; font-size: .85rem; }
.section { padding: 86px 0; }
.section-head { max-width: 720px; margin-bottom: 38px; }
.section h2 { margin: 0 0 12px; font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.08; letter-spacing: -.045em; }
.section-head p, .privacy-lead { margin: 0; color: var(--muted); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--white); }
.feature-index { color: var(--blue); font-weight: 900; font-size: .8rem; letter-spacing: .08em; }
.feature h3 { margin: 24px 0 8px; font-size: 1.2rem; letter-spacing: -.02em; }
.feature p { margin: 0; color: var(--muted); }
.trust { background: var(--ink); color: var(--white); }
.trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: start; }
.trust .section-head p { color: #bac6da; }
.trust-list { display: grid; gap: 14px; }
.trust-item { padding: 18px 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; background: rgba(255,255,255,.045); }
.trust-item strong { display: block; margin-bottom: 3px; }
.trust-item span { color: #bac6da; }
.support-card { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; padding: 34px; border-radius: 24px; background: linear-gradient(125deg, #edf2ff, #effcff); border: 1px solid #d7e5f7; }
.support-card h2 { margin-bottom: 8px; }
.support-card p { margin: 0; color: var(--muted); }
.footer { padding: 30px 0; border-top: 1px solid var(--line); }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .9rem; }
.footer-links { display: flex; gap: 18px; }
.legal { padding: 72px 0 92px; }
.legal-wrap { width: min(820px, 100%); }
.legal h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); }
.legal-meta { margin: 18px 0 45px; color: var(--muted); }
.legal h2 { margin: 38px 0 10px; font-size: 1.35rem; letter-spacing: -.025em; }
.legal p, .legal li { color: #3e4a60; }
.legal ul { padding-left: 22px; }
.notice { margin: 28px 0; padding: 18px 20px; border-left: 4px solid var(--cyan); background: var(--surface); border-radius: 0 12px 12px 0; }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .nav-links > a { display: none; }
  .hero { padding: 70px 0 58px; }
  .hero-grid, .trust-grid { grid-template-columns: 1fr; gap: 42px; }
  .doc-card { min-height: 280px; width: min(390px, 92%); margin-inline: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .support-card { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .shell { width: min(100% - 28px, 1120px); }
  .brand span:last-child { display: none; }
  .hero-actions .button { width: 100%; }
  .footer-row { align-items: flex-start; flex-direction: column; }
}

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