:root {
  color-scheme: light;
  --bg: #fbfdfc;
  --surface: #ffffff;
  --surface-soft: #eef7f5;
  --text: #17212a;
  --muted: #5e6b76;
  --line: #dbe5e2;
  --teal: #27c3b6;
  --teal-dark: #0f7d75;
  --coral: #ff7d70;
  --graphite: #26313b;
  --shadow: 0 18px 50px rgba(21, 38, 48, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 253, 252, 0.92);
  border-bottom: 1px solid rgba(219, 229, 226, 0.85);
  backdrop-filter: blur(16px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  border-radius: 12px;
  background: var(--teal);
  color: white;
  box-shadow: 0 10px 24px rgba(39, 195, 182, 0.24);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  background: var(--graphite);
  color: white;
  font-size: 15px;
  font-weight: 750;
  text-decoration: none;
  box-shadow: 0 12px 30px rgba(38, 49, 59, 0.2);
}

.button.secondary {
  background: white;
  color: var(--graphite);
  border: 1px solid var(--line);
  box-shadow: none;
}

.hero {
  width: min(1120px, calc(100% - 40px));
  min-height: calc(100vh - 132px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
  align-items: center;
  gap: 48px;
  padding: 44px 0 54px;
}

.hero > *,
.section-inner,
.legal {
  min-width: 0;
}

.hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.hero p {
  max-width: 610px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 20px;
}

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

.hero-media {
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
}

.hero-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.section {
  border-top: 1px solid var(--line);
  padding: 78px 0;
}

.section-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.section h2,
.legal h1 {
  margin: 0;
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

.section-lead,
.legal .lead {
  max-width: 760px;
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

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

.feature-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.notice {
  margin-top: 34px;
  padding: 24px;
  border-left: 4px solid var(--coral);
  background: #fff3f1;
  color: #61332e;
}

.legal {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: 62px 0 84px;
}

.legal h2 {
  margin: 38px 0 10px;
  font-size: 24px;
}

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

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 34px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-inner a {
  color: var(--muted);
  margin-left: 18px;
  text-decoration: none;
}

@media (max-width: 820px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 0 34px;
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.12;
  }

  .hero p {
    margin-top: 18px;
    font-size: 17px;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .button {
    min-height: 46px;
    padding: 0 18px;
  }

  .section h2,
  .legal h1 {
    font-size: 30px;
    line-height: 1.12;
  }

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

  .footer-inner {
    flex-direction: column;
  }

  .footer-inner a {
    display: inline-block;
    margin: 0 18px 0 0;
  }
}
