:root {
  color-scheme: light dark;
  --background: #ffffff;
  --surface: #f5f5f7;
  --surface-strong: #ececf0;
  --text: #17171a;
  --muted: #68686f;
  --line: #dedee3;
  --accent: #2864dc;
  --accent-soft: #eaf0ff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --background: #111113;
    --surface: #1c1c1f;
    --surface-strong: #27272b;
    --text: #f4f4f6;
    --muted: #aaaab1;
    --line: #35353a;
    --accent: #75a2ff;
    --accent-soft: #1b2948;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--background);
}

a {
  color: var(--accent);
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 0.12em;
}

.site-shell {
  width: min(calc(100% - 40px), 780px);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 84px) 0 32px;
}

.site-header {
  margin-bottom: clamp(36px, 7vw, 58px);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  line-height: 1.2;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(2.25rem, 8vw, 4.5rem);
  letter-spacing: -0.035em;
}

h2 {
  margin: 2.8rem 0 0.8rem;
  font-size: clamp(1.35rem, 4vw, 1.7rem);
  letter-spacing: -0.015em;
}

h3 {
  margin: 1.6rem 0 0.45rem;
  font-size: 1.05rem;
}

p,
ul {
  margin-top: 0.7rem;
}

.lead {
  max-width: 58ch;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.8vw, 1.2rem);
}

.card {
  margin: 1.5rem 0;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.card > :first-child,
.legal-panel > :first-child {
  margin-top: 0;
}

.card > :last-child,
.legal-panel > :last-child {
  margin-bottom: 0;
}

.notice {
  border-left: 4px solid var(--accent);
}

.faq {
  margin-top: 1rem;
  border-top: 1px solid var(--line);
}

.faq details {
  border-bottom: 1px solid var(--line);
  padding: 0.95rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
}

.faq details p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.action {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.55rem 0.9rem;
  border-radius: 10px;
  color: #ffffff;
  background: #2864dc;
  font-weight: 650;
  text-decoration: none;
}

.action:hover {
  text-decoration: none;
  filter: brightness(1.06);
}

.legal-panel {
  margin-top: 1.2rem;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

address {
  font-style: normal;
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 20px;
  margin-top: 4rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.site-footer p {
  margin: 0;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.site-footer a {
  color: inherit;
}

@media (max-width: 520px) {
  .site-shell {
    width: min(calc(100% - 32px), 780px);
    padding-top: 38px;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
