:root {
  color-scheme: light dark;
  --bg: #f4f8f7;
  --surface: #ffffff;
  --surface-soft: #eaf3f2;
  --text: #102326;
  --muted: #5b6d72;
  --border: #d5e5e4;
  --accent: #007fa3;
  --accent-strong: #006684;
  --shadow: 0 18px 45px rgba(16, 35, 38, 0.09);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #071719;
    --surface: #102528;
    --surface-soft: #142f33;
    --text: #eef8f8;
    --muted: #9eb3b8;
    --border: #284246;
    --accent: #47c6df;
    --accent-strong: #8ee4f2;
    --shadow: none;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: var(--accent);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  max-width: 1080px;
  margin: 0 auto;
  padding: 18px 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 750;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
  font-size: 0.95rem;
}

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

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

main {
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 44px;
  align-items: center;
  padding: 26px 0 48px;
}

.hero h1,
.page-title h1 {
  margin: 0;
  font-size: clamp(2.2rem, 7vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: 0;
}

.hero p,
.page-title p {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  max-width: 720px;
}

.hero-icon {
  width: 220px;
  height: 220px;
  border-radius: 44px;
  box-shadow: var(--shadow);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface);
  font-weight: 700;
  text-decoration: none;
}

.button.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #ffffff;
}

.section {
  margin-top: 28px;
}

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

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

.card h2,
.card h3 {
  margin: 0 0 8px;
  line-height: 1.2;
}

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

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

.page-title {
  margin-bottom: 28px;
}

.content {
  max-width: 820px;
}

.content h2 {
  margin: 32px 0 10px;
  font-size: 1.25rem;
}

.content ul {
  padding-left: 22px;
}

.notice {
  border-left: 4px solid var(--accent);
  background: var(--surface-soft);
  padding: 14px 16px;
  border-radius: 8px;
}

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

.footer-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 26px 20px;
  color: var(--muted);
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--muted);
}

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

  .hero {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-icon {
    width: 128px;
    height: 128px;
    border-radius: 26px;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}
