:root {
  color-scheme: dark;
  --bg: #0c0d10;
  --surface: rgba(28, 30, 36, 0.92);
  --surface-strong: #20232a;
  --line: rgba(255, 255, 255, 0.11);
  --text: #f8f8fa;
  --muted: #acadb6;
  --blue: #4285ff;
  --purple: #7764ec;
  --orange: #eb923f;
  --green: #2bbf80;
  --radius: 24px;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.32);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 14% -5%, rgba(66, 133, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 90% 24%, rgba(119, 100, 236, 0.16), transparent 32rem),
    radial-gradient(circle at 55% 92%, rgba(235, 146, 63, 0.08), transparent 34rem),
    var(--bg);
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

a { color: #8eb7ff; text-underline-offset: 3px; }
a:focus-visible { outline: 3px solid rgba(66, 133, 255, 0.8); outline-offset: 4px; }
.shell { width: min(1100px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 10px 14px; border-radius: 10px; color: #08101e; background: #8eb7ff; transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid var(--line); background: rgba(12, 13, 16, 0.78); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 78px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand img { width: 46px; height: 46px; border-radius: 12px; box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38); }
.brand span { display: grid; line-height: 1.15; }
.brand strong { font-size: 1.05rem; }
.brand small { margin-top: 4px; color: var(--muted); }
.top-nav, .site-footer nav { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.top-nav a, .site-footer a { padding: 9px 11px; border-radius: 11px; color: var(--muted); font-size: 0.85rem; font-weight: 700; text-decoration: none; }
.top-nav a:hover, .top-nav a[aria-current="page"], .site-footer a:hover { color: var(--text); background: rgba(255, 255, 255, 0.055); }

.hero { padding: 92px 0 60px; text-align: center; }
.legal-hero { padding-bottom: 48px; }
.eyebrow { margin: 0 0 16px; color: #87adff; font-size: 0.76rem; font-weight: 850; letter-spacing: 0.16em; text-transform: uppercase; }
h1 { max-width: 900px; margin: 0 auto; font-size: clamp(2.65rem, 7vw, 5.4rem); font-weight: 730; letter-spacing: -0.055em; line-height: 1.02; }
.legal-hero h1 { overflow-wrap: anywhere; font-size: clamp(2.5rem, 6vw, 4.65rem); }
.hero-copy { max-width: 740px; margin: 24px auto 0; color: var(--muted); font-size: clamp(1.05rem, 2.2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; padding: 0 22px; border-radius: 16px; color: white; background: linear-gradient(120deg, var(--blue), var(--purple)); box-shadow: 0 14px 36px rgba(66, 133, 255, 0.2); font-weight: 800; text-decoration: none; }
.button.secondary { border: 1px solid var(--line); color: var(--text); background: var(--surface); box-shadow: none; }
.pill { display: inline-flex; min-height: 34px; align-items: center; margin-top: 24px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: 0.82rem; font-weight: 700; }

.card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 42px; }
.card { display: flex; min-height: 250px; flex-direction: column; justify-content: space-between; gap: 24px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--text); background: linear-gradient(145deg, rgba(255, 255, 255, 0.045), transparent 50%), var(--surface); box-shadow: var(--shadow); text-decoration: none; transition: transform 180ms ease, border-color 180ms ease; }
.card:hover { border-color: rgba(66, 133, 255, 0.48); transform: translateY(-3px); }
.card-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(66, 133, 255, 0.32); border-radius: 15px; color: #9abfff; background: rgba(66, 133, 255, 0.1); font-size: 1.25rem; font-weight: 900; }
.card h2 { margin: 0; font-size: 1.55rem; }
.card p { margin: 8px 0 0; color: var(--muted); }
.card > strong { color: #8eb7ff; font-size: 0.9rem; }
.trust-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; overflow: hidden; margin-bottom: 92px; border: 1px solid var(--line); border-radius: 20px; background: var(--line); }
.trust-strip div { display: grid; gap: 4px; padding: 22px; background: rgba(16, 18, 23, 0.96); }
.trust-strip span { color: var(--muted); font-size: 0.88rem; }

.legal-layout { display: grid; grid-template-columns: 220px minmax(0, 800px); gap: 54px; align-items: start; padding-bottom: 92px; }
.side-nav { position: sticky; top: 106px; display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, 0.025); }
.side-nav a { padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: 0.78rem; font-weight: 680; line-height: 1.35; text-decoration: none; }
.side-nav a:hover { color: var(--text); background: rgba(255, 255, 255, 0.055); }
.prose { min-width: 0; padding: clamp(26px, 5vw, 46px); border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow); }
.prose h2 { margin: 2.1em 0 0.55em; font-size: clamp(1.4rem, 3vw, 1.85rem); line-height: 1.2; letter-spacing: -0.02em; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c9cad1; }
.prose strong { color: var(--text); }
.prose ul, .prose ol { padding-left: 1.35rem; }
.steps li + li { margin-top: 8px; }
.notice { margin: 24px 0; padding: 16px 18px; border-left: 3px solid var(--blue); border-radius: 0 14px 14px 0; color: #dfe8fa; background: rgba(66, 133, 255, 0.08); }
.notice.warning { border-left-color: var(--orange); background: rgba(235, 146, 63, 0.08); }
.contact-box { display: grid; gap: 5px; padding: 20px; border: 1px solid rgba(66, 133, 255, 0.28); border-radius: 16px; background: rgba(66, 133, 255, 0.07); }
.contact-box span { color: var(--muted); font-size: 0.9rem; }

.site-footer { border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 20px; font-size: 0.9rem; }

@media (max-width: 800px) {
  .card-grid, .trust-strip { grid-template-columns: 1fr; }
  .legal-layout { grid-template-columns: 1fr; gap: 18px; }
  .side-nav { position: static; flex-direction: row; flex-wrap: wrap; }
  .hero { padding-top: 62px; }
}

@media (max-width: 540px) {
  .shell { width: min(100% - 28px, 1100px); }
  .header-inner { min-height: 72px; }
  .top-nav { gap: 2px; }
  .top-nav a { padding-inline: 7px; }
  .brand small { display: none; }
  .legal-hero h1 { font-size: clamp(2rem, 8vw, 3rem); letter-spacing: -0.04em; }
  .footer-inner { align-items: flex-start; flex-direction: column; padding: 26px 0; }
}
