:root {
  color-scheme: light dark;
  --bg: #f5f8fc;
  --surface: rgba(255, 255, 255, 0.82);
  --text: #102033;
  --muted: #52657a;
  --line: rgba(16, 32, 51, 0.14);
  --brand: #0879b9;
  --brand-strong: #005f96;
  --hero: #061a2b;
  --hero-text: #f4f9ff;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.65; }
a { color: var(--brand-strong); text-underline-offset: 0.2em; }
img { display: block; max-width: 100%; }
main { min-height: 100vh; }
.site-header, .hero-inner, .content, footer { width: min(1120px, calc(100% - 32px)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand span { display: grid; line-height: 1.15; }
.brand small { margin-top: 4px; color: var(--muted); }
nav { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 18px; }
nav a { color: var(--text); font-size: 0.94rem; font-weight: 650; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--brand); }
.hero { background: var(--hero); color: var(--hero-text); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(250px, 390px); align-items: center; gap: 54px; min-height: min(720px, 78vh); padding-block: 64px; }
.hero h1, .legal-hero h1 { margin: 0; overflow-wrap: anywhere; font-size: 5.25rem; line-height: 0.98; letter-spacing: 0; }
.legal-hero h1 { font-size: 3.75rem; }
.hero p { max-width: 650px; color: #c3d5e5; font-size: 1.28rem; }
.eyebrow { margin: 0 0 12px; color: #48b7f1 !important; font-size: 0.8rem !important; font-weight: 750; letter-spacing: 0.08em; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border: 1px solid #39aeea; border-radius: 8px; padding: 10px 18px; background: #2daff0; color: #03111d; font-weight: 750; text-decoration: none; }
.button.secondary { background: transparent; color: #eaf6ff; }
.phone-shot { width: min(100%, 360px); justify-self: center; border: 1px solid rgba(255,255,255,.22); border-radius: 28px; box-shadow: 0 28px 70px rgba(0,0,0,.36); }
.content { padding-block: 64px; }
.content h2 { margin: 0 0 10px; font-size: 2.6rem; line-height: 1.15; }
.intro { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.feature, .faq section, .legal-content section { border: 1px solid var(--line); border-radius: 8px; background: var(--surface); padding: 22px; }
.feature h3, .faq h2, .legal-content h2 { margin-top: 0; }
.feature p, .faq p, .legal-content p { color: var(--muted); }
.safety-note { margin-top: 28px; border-left: 4px solid #2daff0; background: var(--surface); padding: 18px 20px; }
.legal-hero { background: var(--hero); color: var(--hero-text); padding: 62px max(16px, calc((100% - 1088px) / 2)); }
.legal-hero p { max-width: 760px; color: #c3d5e5; }
.legal-content, .faq { display: grid; gap: 16px; width: min(900px, calc(100% - 32px)); margin: 48px auto; }
footer { display: flex; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 28px 40px; color: var(--muted); }
footer div { display: flex; flex-wrap: wrap; gap: 16px; }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; flex-direction: column; padding-block: 16px; }
  nav { justify-content: flex-start; gap: 12px 18px; }
  .hero-inner { grid-template-columns: 1fr; min-height: auto; padding-block: 48px; }
  .hero h1 { font-size: 3.2rem; }
  .legal-hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1.05rem; }
  .content h2 { font-size: 1.9rem; }
  .phone-shot { width: min(82vw, 340px); }
  .feature-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}

@media (prefers-color-scheme: dark) {
  :root { --bg: #071525; --surface: rgba(17, 39, 60, 0.88); --text: #edf6ff; --muted: #b3c5d6; --line: rgba(221, 239, 255, 0.15); --brand-strong: #5bc4fa; }
}

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