*, *::before, *::after {
  box-sizing: border-box;
}

:root {
  --text: #102033;
  --muted: #5f6f82;
  --line: #dfe7ef;
  --soft: #f5f9fc;
  --brand: #1695c2;
  --brand-dark: #0b6387;
  --accent: #f3b53f;
}

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

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

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

a:hover {
  text-decoration: underline;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

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

.narrow {
  max-width: 760px;
}

.site-header {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.brand img {
  height: 76px;
  width: auto;
}

.header-action,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 8px 18px rgba(22, 149, 194, 0.18);
}

.header-action {
  padding: 0 18px;
  font-size: 14px;
}

.primary-action {
  padding: 0 28px;
  font-size: 16px;
}

.header-action:hover,
.primary-action:hover {
  background: var(--brand-dark);
  text-decoration: none;
}

.hero {
  padding: 76px 0 82px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fc 100%);
}

.hero-inner {
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  padding-top: 2px;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto 18px;
  color: var(--text);
  font-size: clamp(32px, 6vw, 56px);
  line-height: 1.08;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.hero-actions span {
  color: var(--muted);
  font-size: 13px;
}

.features {
  padding: 58px 0;
}

.features h2,
.data-section h2 {
  margin: 0 0 30px;
  color: var(--text);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.2;
  text-align: center;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.feature {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 4px 0;
}

.feature span {
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e7f6fb;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
}

.feature h3 {
  margin: 0 0 6px;
  font-size: 17px;
  line-height: 1.3;
}

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

.data-section {
  padding: 52px 0 60px;
  background: var(--soft);
}

.data-section h2 {
  margin-bottom: 14px;
  text-align: left;
}

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

.data-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.data-section li + li {
  margin-top: 6px;
}

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

.footer-inner {
  width: min(100% - 40px, 1120px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--muted);
  font-size: 13px;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.terms-page {
  width: min(100% - 40px, 720px);
  margin: 0 auto;
  padding: 44px 0;
  color: #334155;
  font-size: 15px;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: var(--muted);
}

.terms-page h1 {
  margin: 0 0 4px;
  color: var(--text);
  font-size: 30px;
  line-height: 1.2;
}

.updated {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.notice {
  margin: 0 0 32px;
  padding: 14px 16px;
  border: 1px solid #f7d47e;
  border-radius: 8px;
  background: #fff8e7;
  color: #715214;
}

.terms-page section {
  margin-top: 24px;
}

.terms-page h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 18px;
  line-height: 1.35;
}

.terms-page p {
  margin: 0 0 12px;
}

.terms-page ul {
  margin: 0 0 12px;
  padding-left: 24px;
}

.terms-page li + li {
  margin-top: 4px;
}

.terms-footer {
  margin-top: 40px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #8a99aa;
  text-align: center;
  font-size: 12px;
}

@media (max-width: 640px) {
  .site-header,
  .footer-inner,
  .container,
  .terms-page {
    width: min(100% - 28px, 1120px);
  }

  .site-header {
    padding: 14px 0;
  }

  .brand img {
    height: 58px;
  }

  .header-action {
    min-height: 40px;
    padding: 0 14px;
  }

  .hero {
    padding: 54px 0 62px;
  }

  .feature-grid {
    gap: 22px;
  }
}
