:root {
  --bg-dark: #f5f5f7;
  --bg-light: #f5f5f7;
  --text-dark: #1d1d1f;
  --text-light: #1d1d1f;
  --text-muted-dark: #6e6e73;
  --text-muted-light: #6e6e73;
  --link: #2997ff;
  --radius-lg: 28px;
  --radius-md: 16px;
  --max-width: 1200px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "SF Pro Text",
    "SF Pro JP",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    "Noto Sans JP",
    "Segoe UI",
    sans-serif;
  background: var(--bg-dark);
  color: var(--text-light);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(180%) blur(18px);
  background: rgba(245, 245, 247, 0.85);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.topbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-logo {
  width: 170px;
  max-width: 44vw;
  height: auto;
}

.download-pill {
  font-size: 13px;
  font-weight: 500;
  color: #000000;
  background: #03ff00;
  padding: 8px 14px;
  border-radius: 999px;
}

.section-dark {
  background: var(--bg-dark);
}

.section-light {
  background: var(--bg-light);
  color: var(--text-dark);
}

.content-wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 76px 20px;
}

.hero {
  text-align: center;
  overflow: hidden;
}

.hero-content {
  padding-bottom: 38px;
}

.eyebrow {
  color: var(--text-muted-light);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 9px;
}

h1,
h2 {
  margin: 0;
  letter-spacing: -0.015em;
}

h1 {
  font-size: clamp(36px, 6vw, 70px);
  line-height: 1.05;
  margin-bottom: 20px;
}

h2 {
  font-size: clamp(30px, 4.8vw, 54px);
  line-height: 1.08;
}

p {
  font-size: clamp(15px, 1.6vw, 22px);
  line-height: 1.3;
  color: var(--text-muted-light);
  margin: 18px auto 0;
  max-width: 780px;
}

h1 + p,
h2 + p {
  margin-top: 30px;
}

.section-light p {
  color: var(--text-muted-dark);
}

.hero-cta-row {
  margin-top: 42px;
  display: inline-flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary,
.btn-link {
  font-size: clamp(14px, 1.4vw, 19px);
  font-weight: 500;
  color: #000000;
  background: #03ff00;
  border: 1px solid #03ff00;
  border-radius: 999px;
  padding: 8px 16px;
  display: inline-block;
}

.btn-primary {
  color: #000000;
}

.btn-link {
  background: transparent;
  color: #000000;
  border-color: #000000;
}

.hero-image-wrap {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px 96px;
  overflow: hidden;
}

.hero-image {
  width: 104%;
  max-width: 1200px;
  display: block;
  margin: -1.2% auto -2.4%;
}

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

.feature-panel {
  border-radius: var(--radius-lg);
  background: #ffffff;
  padding: 52px;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.app-icon {
  width: clamp(130px, 20vw, 220px);
  height: auto;
  margin: 0 auto 24px;
  border-radius: 28px;
}

.platform-list {
  margin: 24px auto 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.platform-list li {
  background: #e8e8ed;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 14px;
  color: #353538;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 32px;
  align-items: center;
}

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

.store-btn {
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #1d1d1f;
  font-size: 16px;
  font-weight: 600;
  padding: 10px 18px;
}

.stat-card {
  border-radius: var(--radius-md);
  padding: 30px;
  background: linear-gradient(145deg, #ffffff, #ececf0);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.stat-value {
  margin: 0;
  font-size: clamp(30px, 4vw, 44px);
  color: #1d1d1f;
  line-height: 1.1;
}

.stat-copy {
  margin: 14px 0 0;
  font-size: 17px;
}

.footer {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
  background: #f5f5f7;
}

.footer-inner {
  padding-top: 22px;
  padding-bottom: 24px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.footer p {
  font-size: 13px;
  margin: 0;
  color: #86868b;
}

@media (max-width: 980px) {
  .feature-grid,
  .split-grid {
    grid-template-columns: 1fr;
  }

  .feature-panel {
    min-height: auto;
    padding: 36px 24px;
  }

  .hero-image-wrap {
    padding-bottom: 52px;
  }

  .eyebrow {
    font-size: 18px;
  }

  .btn-primary,
  .btn-link {
    font-size: 18px;
  }

  p {
    font-size: clamp(14px, 3.4vw, 18px);
  }
}

@media (max-width: 560px) {
  .content-wrap {
    padding: 54px 16px;
  }

  .topbar-inner {
    padding: 8px 12px;
  }

  .download-pill {
    font-size: 12px;
    padding: 7px 12px;
  }

  .hero-cta-row {
    gap: 16px;
  }

  .footer-inner {
    justify-content: flex-start;
  }
}
