/* ============================================
   聞いて話せるネパール語 - 共通スタイル
   ============================================ */

:root {
  --color-primary: #2F75F2;
  --color-primary-dark: #1F5BCC;
  --color-primary-light: #EAF2FE;
  --color-accent: #14B8A6;        /* ティール: 青と調和するアクセント */
  --color-accent-warm: #F59E0B;   /* 暖色アクセント(数字強調などに) */
  --color-text: #1A1A1A;
  --color-text-muted: #6B7280;
  --color-text-subtle: #9CA3AF;
  --color-bg: #FFFFFF;
  --color-bg-soft: #FAFAFA;
  --color-bg-mute: #F5F7FA;
  --color-border: #E5E7EB;
  --color-border-soft: #F0F2F5;

  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 48px rgba(15, 23, 42, 0.08);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --max-width: 1180px;

  --font-jp: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  --font-en: "Inter", system-ui, -apple-system, sans-serif;
  --font-deva: "Noto Sans Devanagari", "Noto Sans JP", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font-jp);
  font-feature-settings: "palt";
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

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

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

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 64px;
}

.section-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.section-lead {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.85;
  margin: 0;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0);
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease,
    box-shadow 0.3s ease, border-color 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom-color: var(--color-border-soft);
  box-shadow: var(--shadow-sm);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.site-header__brand {
  font-weight: 700;
  color: var(--color-text);
  font-size: 17px;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-deva);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
}

/* safa ロゴ画像用 */
.brand-logo {
  display: inline-block;
  height: 36px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand__title .brand-logo {
  height: 32px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav__link {
  color: var(--color-text);
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.nav-cta:hover {
  background-color: var(--color-primary-dark);
  color: #fff;
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
}

.nav-toggle:hover {
  background-color: var(--color-bg-mute);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 160px 0 96px;
  overflow: hidden;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(47, 117, 242, 0.08), transparent 70%),
    radial-gradient(40% 40% at 0% 30%, rgba(20, 184, 166, 0.06), transparent 70%),
    var(--color-bg);
}

.hero__deva-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  user-select: none;
  overflow: hidden;
}

.hero__deva-bg span {
  position: absolute;
  font-family: var(--font-deva);
  font-weight: 700;
  color: rgba(47, 117, 242, 0.06);
  line-height: 1;
  letter-spacing: -0.02em;
}

.hero__deva-bg span:nth-child(1) {
  font-size: clamp(180px, 28vw, 360px);
  top: -40px;
  right: -60px;
}

.hero__deva-bg span:nth-child(2) {
  font-size: clamp(120px, 18vw, 240px);
  bottom: -50px;
  left: -30px;
  color: rgba(20, 184, 166, 0.05);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}

.hero__eyebrow .deva {
  font-family: var(--font-deva);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0;
}

.hero__title {
  font-size: clamp(36px, 5.4vw, 60px);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.hero__title .accent {
  background: linear-gradient(120deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.95;
  color: var(--color-text-muted);
  margin: 0 0 36px;
  max-width: 520px;
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: var(--color-text);
  color: #fff;
  padding: 14px 22px;
  border-radius: 14px;
  font-weight: 600;
  font-size: 15px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.store-button:hover {
  color: #fff;
  background-color: #000;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.store-button .store-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-button__label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-button__small {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.04em;
}

.store-button__name {
  font-size: 16px;
  font-weight: 700;
}

.store-button__badge {
  margin-left: 6px;
  font-size: 10.5px;
  font-weight: 600;
  background-color: rgba(255, 255, 255, 0.18);
  padding: 2px 8px;
  border-radius: 999px;
}

.hero__note {
  font-size: 13px;
  color: var(--color-text-subtle);
}

/* ---------- Hero screens (4 app screenshots, fan layout) ---------- */
.hero__screens {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  aspect-ratio: 1.08 / 1;
}

.hero__screen {
  position: absolute;
  display: block;
  width: 36%;             /* 39% → 36% (重なり緩和、約1.2倍を維持) */
  height: auto;
  top: 0;
  border-radius: 30px;
  background-color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 26px 64px rgba(15, 23, 42, 0.17),
    0 9px 22px rgba(15, 23, 42, 0.06);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.45s ease;
}

/* 重ね順: 右に行くほど手前(単語モードが最前面) */

/* 1. 会話モード(左端・最背面) */
.hero__screen--1 {
  left: 0%;
  top: 9%;
  transform: rotate(-10deg);
  z-index: 1;
}

/* 2. 文法モード(中央左) */
.hero__screen--2 {
  left: 22%;
  top: 0%;
  transform: rotate(-3deg);
  z-index: 2;
}

/* 3. 聞き流しモード(中央右) */
.hero__screen--3 {
  left: 43%;
  top: 0%;
  transform: rotate(3deg);
  z-index: 3;
}

/* 4. 単語モード(右端・最前面) */
.hero__screen--4 {
  left: 64%;
  top: 9%;
  transform: rotate(10deg);
  z-index: 4;
}

/* ホバー時のさりげない動き */
.hero__screens:hover .hero__screen--1 {
  transform: rotate(-12deg) translate(-4px, -6px);
}
.hero__screens:hover .hero__screen--2 {
  transform: rotate(-4deg) translateY(-8px);
}
.hero__screens:hover .hero__screen--3 {
  transform: rotate(4deg) translateY(-8px);
}
.hero__screens:hover .hero__screen--4 {
  transform: rotate(12deg) translate(4px, -6px);
}

/* ---------- Cards (features / target users) ---------- */
.card-grid {
  display: grid;
  gap: 20px;
}

.card-grid--3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-md);
  padding: 28px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(47, 117, 242, 0.25);
  box-shadow: var(--shadow-md);
}

.feature-card__icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-card--accent .feature-card__icon {
  background-color: rgba(20, 184, 166, 0.12);
  color: var(--color-accent);
}

.feature-card__title {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
}

.feature-card__desc {
  font-size: 14.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin: 0;
}

/* ---------- Modes (alternating layout) ---------- */
.mode-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-bottom: 112px;
}

.mode-block:last-child {
  margin-bottom: 0;
}

.mode-block--reverse .mode-block__visual {
  order: 2;
}

.mode-block__number {
  font-family: var(--font-en);
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
}

.mode-block__title {
  font-size: clamp(26px, 3.4vw, 34px);
  font-weight: 700;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
  line-height: 1.35;
}

.mode-block__stat {
  display: inline-block;
  font-family: var(--font-en);
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}

.mode-block__desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.95;
  margin: 0 0 20px;
}

.mode-block__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mode-block__list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.75;
}

.mode-block__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 14px;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
}

/* ---------- Mode screens (per-mode screenshot showcase) ---------- */
.mode-screen-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  overflow: hidden;
  padding: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  background: linear-gradient(160deg, var(--color-primary-light), #fff);
}

/* 各モードのブランドカラー背景 */
.mode-screen-wrap--conversation {
  background: linear-gradient(160deg, var(--color-primary-light), #fff);
}

.mode-screen-wrap--grammar {
  background: linear-gradient(160deg, rgba(20, 184, 166, 0.14), #fff);
}

.mode-screen-wrap--hearing {
  background: linear-gradient(160deg, rgba(245, 158, 11, 0.12), #fff);
}

.mode-screen-wrap--vocab {
  background: linear-gradient(160deg, #FDF2F8, #fff);
}

/* 装飾: 背景に薄い円形ブロブ */
.mode-screen-wrap::before {
  content: "";
  position: absolute;
  width: 70%;
  aspect-ratio: 1;
  top: -10%;
  right: -15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.6), transparent 70%);
  pointer-events: none;
}

.mode-screen {
  position: relative;
  z-index: 1;
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  border-radius: 26px;
  background-color: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow:
    0 20px 50px rgba(15, 23, 42, 0.18),
    0 6px 16px rgba(15, 23, 42, 0.06);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mode-screen-wrap:hover .mode-screen {
  transform: translateY(-6px);
}

/* ---------- Stats section ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}

.stat__number {
  font-family: var(--font-en);
  font-size: clamp(48px, 7vw, 84px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.stat__label {
  font-size: 16px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 4px;
}

.stat__sub {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ---------- Privacy callout ---------- */
.privacy-callout {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  background: #fff;
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  box-shadow: var(--shadow-sm);
}

.privacy-callout__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background-color: var(--color-primary-light);
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.privacy-callout__title {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.privacy-callout__desc {
  color: var(--color-text-muted);
  font-size: 16px;
  line-height: 1.9;
  margin: 0 0 28px;
}

.privacy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.privacy-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: var(--color-bg-mute);
  color: var(--color-text);
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 999px;
}

.privacy-tag svg {
  color: var(--color-accent);
}

/* ---------- CTA section ---------- */
.cta-section {
  padding: 96px 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary) 0%, #1F5BCC 50%, #14B8A6 130%);
  border-radius: var(--radius-xl);
  padding: 72px 48px;
  text-align: center;
  color: #fff;
  box-shadow: 0 24px 60px rgba(47, 117, 242, 0.25);
}

.cta-card::before,
.cta-card::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.cta-card::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -80px;
}

.cta-card::after {
  width: 240px;
  height: 240px;
  bottom: -100px;
  left: -60px;
  background: rgba(255, 255, 255, 0.06);
}

.cta-card__deva {
  font-family: var(--font-deva);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  opacity: 0.9;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.cta-card__title {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin: 0 0 16px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  position: relative;
  z-index: 1;
}

.cta-card__lead {
  font-size: 16px;
  opacity: 0.92;
  line-height: 1.85;
  margin: 0 0 36px;
  position: relative;
  z-index: 1;
}

.cta-card .hero__ctas {
  justify-content: center;
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.cta-card .store-button {
  background-color: #fff;
  color: var(--color-text);
}

.cta-card .store-button:hover {
  background-color: #fff;
  color: var(--color-text);
}

.cta-card .store-button__badge {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

/* ---------- Footer ---------- */
.site-footer {
  background-color: #0F172A;
  color: #CBD5E1;
  padding: 72px 0 32px;
}

.site-footer a {
  color: #CBD5E1;
}

.site-footer a:hover {
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}

.footer-brand__title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin: 0 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.footer-brand__desc {
  font-size: 14px;
  color: #94A3B8;
  line-height: 1.85;
  margin: 0;
  max-width: 360px;
}

.footer-col__title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
  font-family: var(--font-en);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 12px;
  font-size: 14.5px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  color: #94A3B8;
}

.footer-bottom__deva {
  font-family: var(--font-deva);
  font-weight: 600;
  color: #CBD5E1;
  letter-spacing: 0.02em;
}

/* ============================================
   Article pages (privacy / terms)
   ============================================ */
.page-hero {
  padding: 160px 0 56px;
  background:
    radial-gradient(60% 60% at 80% 0%, rgba(47, 117, 242, 0.06), transparent 70%),
    var(--color-bg);
}

.page-hero__breadcrumb {
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 16px;
}

.page-hero__title {
  font-size: clamp(32px, 4.6vw, 48px);
  font-weight: 700;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

.page-hero__meta {
  font-size: 14px;
  color: var(--color-text-muted);
  font-family: var(--font-en);
}

.article {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 96px;
  font-size: 15.5px;
  line-height: 1.95;
  color: var(--color-text);
}

.article h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 56px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--color-border-soft);
  letter-spacing: -0.005em;
}

.article h2:first-of-type {
  margin-top: 0;
}

.article h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 32px 0 12px;
}

.article p {
  margin: 0 0 18px;
  color: #2F374A;
}

.article ul {
  padding-left: 1.4em;
  margin: 0 0 18px;
}

.article li {
  margin-bottom: 8px;
}

.article strong {
  font-weight: 700;
  color: var(--color-text);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 40px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-primary);
}

.back-to-top:hover {
  gap: 10px;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 56px;
    text-align: center;
  }

  .hero__lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__eyebrow {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__ctas {
    justify-content: center;
  }

  .mode-block {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 80px;
  }

  .mode-block--reverse .mode-block__visual {
    order: 0;
  }

  .card-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 720px) {
  .section {
    padding: 72px 0;
  }

  .section-header {
    margin-bottom: 48px;
  }

  .hero {
    padding: 128px 0 72px;
  }

  .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--color-border-soft);
    padding: 24px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.22s ease, opacity 0.22s ease;
  }

  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
    box-shadow: var(--shadow-md);
  }

  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .site-nav__link {
    display: block;
    padding: 12px 4px;
    border-bottom: 1px solid var(--color-border-soft);
    font-size: 15px;
  }

  .site-nav__link::after {
    display: none;
  }

  .nav-cta {
    justify-content: center;
    padding: 14px;
    font-size: 15px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .card-grid--3,
  .card-grid--2 {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .cta-card {
    padding: 56px 24px;
  }

  .privacy-callout {
    padding: 40px 24px;
  }
}
