:root {
  color-scheme: light;
  --brand: #4f46e5;
  --brand-dark: #3730a3;
  --ink: #18181b;
  --muted: #5f6472;
  --line: #e4e4e7;
  --soft: #eef2ff;
  --paper: #ffffff;
  --background: #f5f5f7;
  --shadow: 0 18px 50px rgba(24, 24, 27, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  background: var(--background);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}
a { color: var(--brand-dark); text-underline-offset: 3px; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 100; padding: 10px 14px; background: var(--ink); color: white; border-radius: 8px; }
.skip-link:focus { top: 12px; }
.site-header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 14px max(24px, calc((100vw - 1120px) / 2));
  background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(228,228,231,.9);
  backdrop-filter: blur(16px);
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; background: linear-gradient(145deg, #6366f1, #3730a3); color: white; font-weight: 900; letter-spacing: -.04em; }
.brand strong, .brand small { display: block; line-height: 1.25; }
.brand small { color: var(--muted); font-size: .72rem; }
nav { display: flex; gap: 4px; }
nav a { padding: 8px 11px; color: #454752; font-size: .9rem; font-weight: 700; text-decoration: none; border-radius: 9px; }
nav a:hover, nav a:focus-visible { background: var(--soft); color: var(--brand-dark); }
main { width: min(100% - 32px, 960px); margin: 0 auto; }
.hero { padding: 92px 0 68px; }
.eyebrow { display: inline-flex; padding: 7px 12px; border: 1px solid #c7d2fe; border-radius: 999px; background: var(--soft); color: var(--brand-dark); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
h1 { max-width: 820px; margin: 20px 0 18px; font-size: clamp(2.35rem, 6vw, 4.7rem); line-height: 1.02; letter-spacing: -.055em; }
.hero > p { max-width: 760px; color: var(--muted); font-size: 1.14rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px; border-radius: 12px; font-weight: 850; text-decoration: none; }
.button.primary { background: var(--brand); color: white; box-shadow: 0 12px 25px rgba(79,70,229,.25); }
.button.secondary { background: white; color: var(--ink); border: 1px solid var(--line); }
.notice { margin-top: 38px; padding: 18px 20px; border-left: 4px solid #f59e0b; border-radius: 4px 14px 14px 4px; background: #fffbeb; color: #713f12; }
.document { margin-bottom: 42px; padding: clamp(24px, 5vw, 54px); border: 1px solid var(--line); border-radius: 26px; background: var(--paper); box-shadow: var(--shadow); }
.section-heading { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.section-heading > span { display: grid; place-items: center; flex: 0 0 50px; height: 50px; border-radius: 15px; background: var(--soft); color: var(--brand); font-weight: 900; }
.section-heading p { margin: 0; color: var(--brand); font-size: .75rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
h2 { margin: 2px 0 0; font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -.035em; }
h3 { margin: 31px 0 8px; font-size: 1.08rem; line-height: 1.35; }
.document p, .document li { color: #464955; }
.document ul { padding-left: 22px; }
.document li { margin: 6px 0; }
.updated { margin: 17px 0 0; font-size: .84rem; font-weight: 700; }
.contact-card { display: flex; align-items: center; gap: 14px; margin-top: 24px; padding: 18px; border: 1px solid #c7d2fe; border-radius: 16px; background: var(--soft); text-decoration: none; }
.contact-card > span:first-child { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: white; font-size: 1.25rem; font-weight: 900; }
.contact-card small, .contact-card strong { display: block; }
.contact-card small { color: var(--muted); }
.legal-note { margin-top: 30px; padding: 16px; border-radius: 12px; background: #f4f4f5; font-size: .88rem; }
footer { display: flex; justify-content: space-between; gap: 24px; width: min(100% - 32px, 960px); margin: 0 auto; padding: 26px 0 54px; color: var(--muted); font-size: .86rem; }
footer strong, footer span { display: block; }
footer p { margin: 0; text-align: right; }
.back-top { position: fixed; right: 18px; bottom: 18px; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: white; color: var(--brand); font-size: 1.2rem; font-weight: 900; text-decoration: none; box-shadow: var(--shadow); }

@media (max-width: 760px) {
  .site-header { align-items: flex-start; padding: 12px 16px; }
  .brand small { display: none; }
  nav { max-width: 58vw; overflow-x: auto; padding-bottom: 2px; }
  nav a { white-space: nowrap; font-size: .8rem; }
  .hero { padding-top: 62px; }
  .document { border-radius: 20px; }
  footer { display: block; }
  footer p { margin-top: 12px; text-align: left; }
}

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