/* =========================================================
   Braino HP — Sage Study テーマ
   カラーは UI設計書.md「カラーテーマ Sage Study」に準拠
   ========================================================= */
/* ヘッダーロゴ用の丸ゴシックフォント（@import は先頭に置く必要あり） */
@import url("https://fonts.googleapis.com/css2?family=M+PLUS+Rounded+1c:wght@700;800&display=swap");

:root {
  --bg-primary: #f6f7f2;
  --bg-grad-top: #eef2e8;
  --surface-card: #ffffff;
  --accent: #4c7c59;
  --accent-dark: #375c40;
  --accent-tint: #e3ede2;
  --sub-accent: #e0a458;
  --sub-tint: #f7efe2;
  --text-primary: #2a2f28;
  --text-secondary: #7c8577;
  --danger: #c25b4a;
  --danger-tint: #f7e9e5;
  --radius-card: 16px;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", sans-serif;
  color: var(--text-primary);
  background: linear-gradient(to bottom, var(--bg-grad-top), var(--bg-primary) 40%);
  background-attachment: fixed;
  line-height: 1.9;
  font-size: 16px;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 247, 242, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(124, 133, 119, 0.15);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  /* Apple の SF Pro Rounded を最優先。非Apple環境では M PLUS Rounded 1c にフォールバック */
  font-family: ui-rounded, "SF Pro Rounded", "M PLUS Rounded 1c", "Hiragino Maru Gothic ProN", sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--accent-dark);
  text-decoration: none;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px; /* iOSアイコン風の角丸 */
  display: block;
}

/* ヘッダはフレームなしのロゴマーク（本＋チェックのみ） */
.brand img.logo-mark {
  border-radius: 0;
  width: 34px;
  height: 30px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  padding: 4px 2px;
  border-bottom: 2px solid transparent;
}

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

.main-nav a.active {
  color: var(--accent-dark);
  font-weight: 600;
  border-bottom-color: var(--accent);
}

/* 言語切替：ヘッダーメニューとは別デザインのセグメント型トグル。
   本文（ヒーロー見出し下）に配置する。 */
.lang-switch {
  display: inline-flex;
  gap: 0;
  margin: 20px auto 0;
  padding: 3px;
  background: var(--surface-card);
  border: 1px solid var(--accent-tint);
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  font-size: 0.82rem;
}
.lang-switch a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 4px 16px;
  border-radius: 999px;
  border-bottom: none;
  line-height: 1.7;
  transition: color 0.15s ease, background 0.15s ease;
}
.lang-switch a:hover { color: var(--accent-dark); }
.lang-switch a.active {
  color: #fff;
  background: var(--accent);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- ヒーロー（トップ） ---------- */
.hero {
  padding: 72px 0 56px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.hero-copy { text-align: left; }

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

.hero .welcome-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: #9a6b2f;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.5rem);
  line-height: 1.5;
  margin: 0 0 16px;
  color: var(--text-primary);
}

.hero .lead {
  font-size: clamp(1rem, 2.5vw, 1.1rem);
  color: var(--text-secondary);
  margin: 0 0 32px;
  max-width: 560px;
}

/* ヒーローのアプリ画面（ベゼル付きスクリーンショット） */
.hero-visual { display: flex; justify-content: center; }

/* 影はベゼル形状のぼかしを透過PNGに焼き込んだ hero-list-shadow.png を
   ベゼル画像の背面に敷いて表現する。影は画像の一部なので、
   ロード時に四角くくっきり出る問題（filter:drop-shadow のデコード中の症状）も、
   透過の外側に余白が出る問題（box-shadow の枠依存）も起きない。 */
.hero-shot {
  position: relative;
  z-index: 1;
  width: min(300px, 72vw);
  height: auto;
}

/* 焼き込んだ影（ベゼルより一回り大きい・背面に配置） */
.hero-shadow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  /* shadow画像790x1518 / ベゼル640x1308。パディング分だけ大きく＆左上へずらす */
  width: 123.4375%;  /* 790 / 640 */
  height: auto;
  left: -11.71875%;  /* -75 / 640（幅基準） */
  top: -5.352%;      /* -70 / 1308（高さ基準） */
}

/* 収録単語数の丸バッジ（ベゼル画像の右下に重ねる） */
.hero-shot-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
  transform: rotate(2deg); /* 影とベゼルを同じ中心で一緒に傾ける */
}

.count-badge {
  position: absolute;
  right: -14px;
  bottom: 46px;
  width: 140px;
  height: 140px;
  padding: 0 8px;
  box-sizing: border-box;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.1;
  text-align: center;
  border: 4px solid #fff;
  box-shadow: 0 10px 24px rgba(42, 47, 40, 0.3);
  transform: rotate(-6deg);
  z-index: 2;
}

.count-badge-top { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em; opacity: 0.95; }
.count-badge-num { font-size: 1.5rem; font-weight: 800; margin: 4px 0; white-space: nowrap; letter-spacing: 0; }
.count-badge-unit { font-size: 0.82rem; font-weight: 700; margin-left: 1px; }
.count-badge-bottom { font-size: 0.95rem; font-weight: 700; letter-spacing: 0.14em; opacity: 0.95; }

/* 収録データの数値ストリップ */
.stats-band {
  background: var(--accent-tint);
  border-top: 1px solid rgba(76, 124, 89, 0.14);
  border-bottom: 1px solid rgba(76, 124, 89, 0.14);
  padding: 26px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}

.stat-item { display: flex; flex-direction: column; gap: 4px; }
.stat-item + .stat-item { border-left: 1px solid rgba(76, 124, 89, 0.22); }
.stat-num {
  font-size: clamp(1.4rem, 3.4vw, 1.9rem);
  font-weight: 800;
  color: var(--accent-dark);
  line-height: 1.1;
  /* 単一行の数値と2行の機能テキストの縦中心を揃える */
  min-height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.stat-num-feature { font-size: clamp(0.95rem, 2.2vw, 1.15rem); line-height: 1.3; }
.stat-unit { font-size: 0.65em; font-weight: 700; margin-left: 2px; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text-primary);
  color: #fff;
  border-radius: 999px;
  padding: 13px 30px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: opacity 0.15s ease;
  box-shadow: 0 6px 16px rgba(42, 47, 40, 0.25);
}

.store-badge:hover { opacity: 0.85; color: #fff; }

/* App Store 公式バッジ（Appleガイドライン準拠） */
.app-store-badge {
  display: inline-block;
  line-height: 0;
  transition: opacity 0.15s ease;
}

.app-store-badge:hover { opacity: 0.82; }

.app-store-badge img {
  width: 150px;
  height: 50px;
  display: block;
}

.store-note {
  display: block;
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

/* ---------- セクション共通 ---------- */
.section { padding: 56px 0; }

.section h2 {
  text-align: center;
  font-size: clamp(1.4rem, 4vw, 1.8rem);
  margin: 0 0 8px;
  color: var(--text-primary);
}

.section .section-lead {
  text-align: center;
  color: var(--text-secondary);
  margin: 0 0 40px;
}

/* ---------- ストーリー ---------- */
.story-section {
  background: linear-gradient(to bottom, rgba(227, 237, 226, 0.0), rgba(227, 237, 226, 0.55) 30%, rgba(227, 237, 226, 0.55) 70%, rgba(227, 237, 226, 0.0));
}

.story-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  gap: 12px;
  align-items: stretch;
}

.story-card {
  position: relative;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 30px 24px 26px;
}

.story-num {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent-tint);
  letter-spacing: 0.05em;
}

.story-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: var(--accent-tint);
  color: var(--accent-dark);
  margin-bottom: 16px;
}

.story-icon svg { width: 28px; height: 28px; }
.story-icon.amber { background: var(--sub-tint); color: #9a6b2f; }
.story-icon.blue { background: #e5ecf2; color: #4a6b86; }

.story-card h3 { margin: 0 0 8px; font-size: 1.08rem; }
.story-card p { margin: 0; color: var(--text-secondary); font-size: 0.95rem; }

.story-arrow {
  align-self: center;
  color: var(--accent);
  display: flex;
}

.story-arrow svg { width: 26px; height: 26px; }

/* ---------- 特徴カード ---------- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 24px;
}

.feature-card .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  margin-bottom: 16px;
  background: var(--accent-tint);
  color: var(--accent-dark);
}

.feature-card .icon svg { width: 26px; height: 26px; }

.feature-card .icon.amber { background: var(--sub-tint); color: #9a6b2f; }
.feature-card .icon.blue { background: #e5ecf2; color: #4a6b86; }

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
}

.feature-card p {
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- テスト機能ハイライト ---------- */
.highlight-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 48px;
  align-items: center;
}

.highlight-grid.reverse { grid-template-columns: 1.15fr 0.85fr; }

/* セクション見出しの下にグリッドが続く場合の間隔 */
.section h2 + .section-lead + .highlight-grid { margin-top: 8px; }

.highlight-copy h2 {
  text-align: left;
  font-size: clamp(1.4rem, 4vw, 1.7rem);
  margin: 0 0 16px;
}

.highlight-copy p { color: var(--text-secondary); margin: 0 0 16px; }

.check-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.check-list li {
  position: relative;
  padding-left: 1.9em;
  margin-bottom: 10px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.1em;
  height: 1.1em;
  border-radius: 50%;
  background: var(--accent) url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="3.2" stroke-linecap="round" stroke-linejoin="round"><path d="M5.5 12.5l4 4L18.5 7.5"/></svg>') center / 62% no-repeat;
}

/* スクリーンショットの切り抜きカード（box-shadowで角丸に沿ったソフトな影・最初から付与） */
.shot-card {
  max-width: 380px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  background: var(--bg-grad-top);
  box-shadow: 0 20px 44px rgba(42, 47, 40, 0.22);
}

.shot-card img { display: block; width: 100%; height: auto; }

.shot-card.tilt-l { transform: rotate(-2deg); }
.shot-card.tilt-r { transform: rotate(2deg); }

/* 出題→結果のコラージュ（フラッシュカードを扇状に＋結果リング） */
.test-collage {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
  aspect-ratio: 400 / 500;
}

.test-collage img {
  position: absolute;
  height: auto;
  box-shadow: 0 14px 32px rgba(42, 47, 40, 0.2);
}

/* 「わからなかった」カード（背面・左に傾く） */
.test-collage .shot-card-back {
  width: 60%;
  left: 1%;
  top: 1%;
  border-radius: 24px;
  transform: rotate(-6deg);
}

/* 「わかった」カード（前面・右に傾く） */
.test-collage .shot-card-front {
  width: 60%;
  right: 1%;
  top: 9%;
  border-radius: 24px;
  transform: rotate(6deg);
  z-index: 2;
  box-shadow: 0 18px 36px rgba(42, 47, 40, 0.24);
}

/* 結果の正答率リング（手前に重ねる） */
.test-collage .shot-result {
  width: 76%;
  left: 12%;
  bottom: 0;
  border-radius: 16px;
  transform: rotate(-1deg);
  z-index: 3;
  box-shadow: 0 16px 34px rgba(42, 47, 40, 0.22);
}

/* 価格表記（DLボタン付近にさらっと・リリース記念をオレンジで強調） */
.price-line {
  display: block;
  margin: 0 0 14px;
  font-size: 0.9rem;
  line-height: 1.7;
}

/* オレンジのピル型バッジ「リリース記念キャンペーン中」 */
.release-badge {
  display: inline-block;
  font-weight: 700;
  color: #fff;
  background: var(--sub-accent);
  border-radius: 999px;
  padding: 4px 14px;
  font-size: 0.88rem;
  box-shadow: 0 2px 8px rgba(224, 164, 88, 0.35);
  white-space: nowrap;
}

/* 価格詳細（ピルの外・ヒーロー用） */
.price-detail {
  display: inline-block;
  color: var(--text-secondary);
  margin-left: 8px;
}

.price-was {
  text-decoration: line-through;
  color: var(--text-secondary);
}

.price-now { font-weight: 700; color: var(--accent-dark); }

/* ピル内に価格を入れる場合（CTA用）は白系で表示 */
.release-badge .price-was { color: rgba(255, 255, 255, 0.72); }
.release-badge .price-now { color: #fff; }

/* バッジ＋対応OS注記の横並び */
.badge-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.badge-row .store-note { margin-top: 0; }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0 24px;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  padding: 18px 32px 18px 0;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 4px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }

.faq-item p {
  margin: 0;
  padding: 0 0 20px;
  color: var(--text-secondary);
  font-size: 0.95rem;
}

/* ---------- CTA ---------- */
.cta-section {
  padding-bottom: 88px;
}

.cta-section .section-lead { margin-bottom: 28px; }
.cta-section .price-line { margin: 18px 0 6px; }

/* ---------- 辞書データ帰属 ---------- */
.attribution {
  background: var(--accent-tint);
  border-radius: var(--radius-card);
  padding: 28px 28px;
  font-size: 0.9rem;
  color: var(--text-primary);
}

.attribution h3 { margin: 0 0 12px; font-size: 1.05rem; color: var(--accent-dark); }
.attribution p { margin: 0 0 10px; }
.attribution p:last-child { margin-bottom: 0; }

/* ---------- 法的ページ ---------- */
.legal-hero {
  padding: 56px 0 32px;
  text-align: center;
}

.legal-hero h1 {
  font-size: clamp(1.6rem, 4vw, 2rem);
  margin: 0 0 8px;
}

.legal-hero .updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0;
}

.toc {
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 24px 28px;
  margin-bottom: 40px;
}

.toc h5 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: var(--accent-dark);
}

/* 条文タイトル自体に番号があるため、目次のol自動ナンバリングは出さない */
.toc ol {
  list-style: none;
  margin: 0;
  padding-left: 0;
  columns: 2;
  column-gap: 32px;
  font-size: 0.9rem;
}

.toc ol li { margin-bottom: 4px; break-inside: avoid; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }

.legal-body { padding-bottom: 72px; }

.legal-body h2 {
  font-size: 1.2rem;
  margin: 44px 0 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent-tint);
  color: var(--accent-dark);
}

.legal-body p { margin: 0 0 14px; }

.legal-body ul, .legal-body ol { margin: 0 0 14px; padding-left: 1.6em; }

.legal-body li { margin-bottom: 6px; }

.legal-body table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  background: var(--surface-card);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  font-size: 0.95rem;
}

.legal-body th, .legal-body td {
  text-align: left;
  vertical-align: top;
  padding: 12px 16px;
  border-bottom: 1px solid var(--bg-primary);
}

.legal-body th {
  white-space: nowrap;
  width: 9em;
  background: var(--accent-tint);
  color: var(--accent-dark);
  font-weight: 600;
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 26px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  transition: opacity 0.15s ease;
}

.btn:hover { opacity: 0.85; }

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { color: #fff; }

/* ---------- お問い合わせ ---------- */
.contact-note {
  max-width: 640px;
  margin: 0 auto 32px;
  color: var(--text-secondary);
  text-align: center;
}

.form-embed {
  max-width: 720px;
  margin: 0 auto 80px;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 0;            /* iframe周りの余白をなくす */
  overflow: hidden;      /* iframeの角を角丸に合わせて切り抜く */
}

.form-embed iframe {
  display: block;        /* インライン要素の下端の隙間を消す */
  width: 100%;
  border: 0;
}

.form-embed .placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 432px;
  border: 2px dashed rgba(124, 133, 119, 0.35);
  border-radius: 12px;
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  padding: 24px;
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid rgba(124, 133, 119, 0.15);
  background: var(--bg-primary);
  padding: 28px 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
}

.site-footer a { color: var(--text-secondary); text-decoration: none; }
.site-footer a:hover { color: var(--accent-dark); text-decoration: underline; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 860px) {
  .hero-grid,
  .highlight-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero { padding-top: 48px; }
  .hero-copy { text-align: center; }
  .hero .lead { margin: 0 auto 32px; }
  .hero-copy .badge-row { justify-content: center; }
  .highlight-copy h2 { text-align: center; }
  .highlight-visual { order: -1; }
  .hero-shot { width: min(260px, 68vw); }
  .hero-shot-wrap { transform: rotate(1deg); }
  .count-badge { width: 116px; height: 116px; right: -6px; bottom: 30px; transform: rotate(-4deg); }
  .count-badge-num { font-size: 1.2rem; }
  .count-badge-top, .count-badge-bottom { font-size: 0.8rem; }
  .shot-card.tilt-l,
  .shot-card.tilt-r { transform: none; }
  .test-collage { max-width: 340px; }

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

  .story-arrow {
    justify-content: center;
  }

  .story-arrow svg { transform: rotate(90deg); }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(246, 247, 242, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(124, 133, 119, 0.15);
    padding: 8px 20px 16px;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 12px 4px;
    border-bottom: 1px solid rgba(124, 133, 119, 0.12);
  }

  .main-nav a.active { border-bottom-color: rgba(124, 133, 119, 0.12); }

  .toc ol { columns: 1; }

  .legal-body th { white-space: normal; width: 7em; }

  .stats-grid { gap: 10px; }
  .stat-label { font-size: 0.72rem; }
}
