:root {
  color-scheme: light dark;
  --bg: #f5f5f7;
  --surface: rgba(255, 255, 255, 0.82);
  --surface-solid: #ffffff;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --line: rgba(0, 0, 0, 0.08);
  --accent: #0071e3;
  --accent-hover: #0077ed;
  --soft-blue: #eaf4ff;
  --soft-green: #eaf8ef;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at 12% 8%, rgba(0, 113, 227, 0.08), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC",
    "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  color: var(--accent-hover);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 245, 247, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 15px;
  font-weight: 650;
  letter-spacing: -0.01em;
}

.brand-mark {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  background: linear-gradient(145deg, #2f9bff, #0066cc);
  color: white;
  font-size: 15px;
  box-shadow: 0 5px 14px rgba(0, 113, 227, 0.22);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13px;
}

.nav-links a {
  color: var(--muted);
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

main {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  min-height: 650px;
  display: grid;
  place-items: center;
  padding: 92px 0 88px;
  text-align: center;
}

.hero-inner {
  max-width: 850px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border: 1px solid rgba(0, 113, 227, 0.14);
  border-radius: 999px;
  background: var(--soft-blue);
  color: #0066cc;
  font-size: 13px;
  font-weight: 600;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34c759;
}

h1 {
  margin: 28px 0 20px;
  font-size: clamp(48px, 8vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 680px;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(18px, 2.4vw, 23px);
  line-height: 1.55;
  letter-spacing: -0.015em;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 44px;
  padding: 11px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
}

.button-primary {
  background: var(--accent);
  color: white;
}

.button-primary:hover {
  background: var(--accent-hover);
  color: white;
}

.button-secondary {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
}

.section {
  padding: 48px 0;
}

.section-heading {
  max-width: 680px;
  margin-bottom: 28px;
}

.section-heading h2,
.document-header h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.section-heading p,
.document-header p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.feature-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 13px;
  background: var(--soft-blue);
  color: var(--accent);
  font-size: 19px;
  font-weight: 700;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 20px;
  letter-spacing: -0.02em;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.privacy-banner {
  margin: 56px 0 42px;
  padding: 38px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  border: 1px solid rgba(52, 199, 89, 0.16);
  border-radius: var(--radius);
  background: var(--soft-green);
}

.privacy-banner h2 {
  margin: 0 0 6px;
  font-size: 25px;
  letter-spacing: -0.025em;
}

.privacy-banner p {
  margin: 0;
  color: var(--muted);
}

.fine-print {
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

.document {
  width: min(820px, 100%);
  margin: 0 auto;
  padding: 76px 0 96px;
}

.document-header {
  padding-bottom: 34px;
  border-bottom: 1px solid var(--line);
}

.document-header .meta {
  margin-top: 12px;
  font-size: 13px;
}

.document-section {
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.document-section:last-child {
  border-bottom: 0;
}

.document-section h2 {
  margin: 0 0 12px;
  font-size: 22px;
  letter-spacing: -0.025em;
}

.document-section h3 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.document-section p {
  margin: 0 0 12px;
  color: var(--muted);
}

.document-section p:last-child {
  margin-bottom: 0;
}

.document-section ul,
.document-section ol {
  margin: 12px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

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

.notice {
  margin-top: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--soft-blue);
  color: var(--muted);
  font-size: 14px;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.support-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.support-card h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.support-card p {
  font-size: 14px;
}

.contact-card {
  margin-top: 18px;
  padding: 28px;
  border-radius: 20px;
  background: var(--surface-solid);
  border: 1px solid var(--line);
}

.contact-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

.site-footer {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1080px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 18px;
}

@media (max-width: 720px) {
  .nav {
    width: min(100% - 28px, 1080px);
  }

  .nav-links {
    gap: 14px;
  }

  .nav-links a:first-child {
    display: none;
  }

  main,
  .footer-inner {
    width: min(100% - 28px, 1080px);
  }

  .hero {
    min-height: 560px;
    padding: 72px 0;
  }

  h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .feature-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 24px;
  }

  .privacy-banner {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .document {
    padding: 56px 0 76px;
  }

  .footer-inner {
    padding: 22px 0;
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --surface: rgba(28, 28, 30, 0.86);
    --surface-solid: #1c1c1e;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --line: rgba(255, 255, 255, 0.12);
    --soft-blue: rgba(10, 132, 255, 0.15);
    --soft-green: rgba(48, 209, 88, 0.12);
    --shadow: 0 20px 70px rgba(0, 0, 0, 0.28);
  }

  body {
    background:
      radial-gradient(circle at 12% 8%, rgba(10, 132, 255, 0.15), transparent 28rem),
      var(--bg);
  }

  .site-header {
    background: rgba(0, 0, 0, 0.72);
  }

  .eyebrow {
    color: #64b5ff;
  }
}

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