@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  color-scheme: dark;
  --navy: #0f1b2d;
  --navy-light: #162338;
  --accent: #3b82f6;
  --accent-light: #60a5fa;
  --teal: #14b8a6;
  --text-primary: #f1f5f9;
  --text-secondary: #a8b6ca;
  --text-muted: #708199;
  --card-bg: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 12%, rgba(59, 130, 246, 0.15), transparent 28rem),
    var(--navy);
  color: var(--text-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.nav {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  text-decoration: none;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(96, 165, 250, 0.35);
  border-radius: 9px;
  background: rgba(59, 130, 246, 0.12);
  color: var(--accent-light);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.nav-link:hover,
.nav-link:focus-visible,
.legal-copy a:hover,
.legal-copy a:focus-visible,
footer a:hover,
footer a:focus-visible {
  color: var(--accent-light);
}

main {
  width: min(1040px, calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 96px;
}

.hero {
  max-width: 800px;
  margin-bottom: 64px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent-light);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  font-size: clamp(42px, 7vw, 72px);
  font-weight: 900;
  line-height: 1.04;
  letter-spacing: -2px;
  text-wrap: balance;
}

.hero-lead {
  max-width: 660px;
  margin-top: 24px;
  color: var(--text-secondary);
  font-size: clamp(17px, 2.2vw, 20px);
  line-height: 1.6;
  text-wrap: pretty;
}

.hero-actions {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid rgba(96, 165, 250, 0.4);
  border-radius: 12px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.24);
  transition: transform 0.15s ease-out, background 0.15s ease-out, box-shadow 0.15s ease-out;
}

.button:hover {
  transform: translateY(-1px);
  background: #2563eb;
  box-shadow: 0 16px 42px rgba(59, 130, 246, 0.32);
}

.button:active {
  transform: translateY(0);
}

.button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(96, 165, 250, 0.65);
  outline-offset: 4px;
}

.updated {
  color: var(--text-muted);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

.legal-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 64px;
  align-items: start;
}

.contents {
  position: sticky;
  top: 24px;
  padding: 20px;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  background: var(--card-bg);
}

.contents strong {
  display: block;
  margin-bottom: 12px;
  font-size: 13px;
}

.contents ol {
  padding-left: 18px;
  color: var(--text-muted);
  font-size: 13px;
}

.contents li + li {
  margin-top: 8px;
}

.contents a {
  color: var(--text-secondary);
  text-decoration: none;
}

.legal-copy {
  min-width: 0;
}

.notice {
  margin-bottom: 48px;
  padding: 24px 28px;
  border: 1px solid rgba(20, 184, 166, 0.25);
  border-radius: 16px;
  background: rgba(20, 184, 166, 0.07);
  color: var(--text-secondary);
  text-wrap: pretty;
}

.notice strong {
  color: var(--text-primary);
}

.legal-copy section {
  max-width: 68ch;
  padding: 0 0 44px;
}

.legal-copy section + section {
  padding-top: 44px;
  border-top: 1px solid var(--card-border);
}

.legal-copy h2 {
  margin-bottom: 16px;
  color: var(--text-primary);
  font-size: clamp(23px, 3vw, 30px);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
  text-wrap: balance;
}

.legal-copy h3 {
  margin: 24px 0 8px;
  font-size: 17px;
  font-weight: 700;
}

.legal-copy p,
.legal-copy li {
  color: var(--text-secondary);
  text-wrap: pretty;
}

.legal-copy p + p {
  margin-top: 16px;
}

.legal-copy ul {
  margin-top: 14px;
  padding-left: 22px;
}

.legal-copy li + li {
  margin-top: 10px;
}

.legal-copy strong {
  color: var(--text-primary);
  font-weight: 650;
}

.legal-copy a {
  color: var(--accent-light);
  font-weight: 600;
  text-underline-offset: 4px;
}

footer {
  padding: 32px 24px;
  border-top: 1px solid var(--card-border);
  color: var(--text-muted);
  font-size: 13px;
  text-align: center;
}

footer a {
  color: var(--text-secondary);
  text-decoration: none;
}

footer .sep {
  margin: 0 10px;
  opacity: 0.5;
}

.tin-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.tin-credit svg {
  width: 1em;
  height: 1em;
}

@media (max-width: 760px) {
  .nav,
  main {
    width: min(100% - 40px, 1040px);
  }

  main {
    padding: 48px 0 72px;
  }

  .hero {
    margin-bottom: 48px;
  }

  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contents {
    position: static;
  }
}

@media (max-width: 520px) {
  .nav {
    align-items: flex-start;
  }

  .nav-link {
    text-align: right;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .notice {
    padding: 20px;
  }

  footer {
    line-height: 2;
  }

  footer .sep {
    margin: 0 6px;
  }
}

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

  .button {
    transition: none;
  }
}
