:root {
  color-scheme: light dark;
  --bg: #f5fbfb;
  --surface: #ffffff;
  --surface-soft: #e8f7f6;
  --text: #142022;
  --muted: #5d6b70;
  --line: #dce9ea;
  --accent: #14b8a6;
  --accent-strong: #0f766e;
  --blue: #2f80ed;
  --shadow: 0 20px 54px rgba(12, 42, 48, 0.10);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f1718;
    --surface: #172123;
    --surface-soft: #123334;
    --text: #edf7f7;
    --muted: #b8c8cc;
    --line: #26383b;
    --shadow: 0 20px 54px rgba(0, 0, 0, 0.34);
  }
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", "YuGothic", "Segoe UI", sans-serif;
  line-height: 1.72;
  background:
    linear-gradient(180deg, rgba(20, 184, 166, 0.12), transparent 260px),
    var(--bg);
  color: var(--text);
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 12px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: 20px;
}

.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.nav,
.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: center;
  padding: 54px 0 36px;
}

.eyebrow {
  display: inline-flex;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 14px;
}

h1 {
  margin: 20px 0 14px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.25;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 650;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 800;
}

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

.hero-card,
.card,
.notice {
  background: color-mix(in srgb, var(--surface), transparent 4%);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.hero-card,
.card,
.notice {
  padding: 24px;
}

.stat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.stat:last-child {
  border-bottom: 0;
}

.stat strong {
  font-size: 28px;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.12);
  color: var(--accent-strong);
  font-weight: 800;
  font-size: 13px;
}

.section {
  padding: 34px 0;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card p,
.notice p,
.legal p,
.legal li {
  color: var(--muted);
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: var(--surface-soft);
  color: var(--accent-strong);
  font-weight: 900;
  font-size: 22px;
}

.notice {
  border-color: color-mix(in srgb, var(--accent), var(--line) 55%);
}

.faq {
  display: grid;
  gap: 10px;
}

details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
}

summary {
  cursor: pointer;
  font-weight: 800;
}

.legal {
  max-width: 820px;
  padding: 44px 0;
}

.legal h2 {
  margin-top: 28px;
  font-size: 22px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 36px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 820px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav,
  .footer-links {
    justify-content: flex-start;
  }

  .hero,
  .grid,
  .grid.two {
    grid-template-columns: 1fr;
  }
}
