/* 全ページで共通の配置と、部品に無い見た目（紺の面・シェーダ・数字・チップ・フッター）。手で書く（生成物ではない）。
   全ページの <head> が css/astryx.css → css/astryx-theme.css の後にこれを読む（tools/astryx/chrome.mjs）。
   ⚠ ここは @layer の外に書く。Astryx の部品の規則は @layer astryx-base にあるので、
     ここに書いたものが詳細度に関係なく勝つ。部品の色・書体・角丸は css/astryx-theme.css の
     トークンで変え、ここでは「この場所の配置」だけを足す。 */
:root {
  --ink: #0b1524;
  --ink-muted: #55627a;
  --bg: #f6f8fa;
  --panel: #ffffff;
  --line: #e3e8ef;
  --navy-1: #071320;
  --navy-2: #0d2a45;
  --cyan: #22d3ee;
  --cyan-deep: #0e7490;
  --sand: #fbbf24;
  --font-jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --font-display: "Outfit", "Hiragino Sans", sans-serif;
  --radius: 14px;
  --shadow-sm: 0 1px 3px rgba(11, 21, 36, 0.07);
  --shadow-md: 0 10px 30px rgba(11, 21, 36, 0.1);
  --nav-h: 62px;
}

/* 余白の初期化は reset の層に置く（層の外に置くと Astryx の部品の余白まで消える） */
@layer reset {
  *,
  *::before,
  *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
  font-family: var(--font-jp);
  font-size: 16px;
  line-height: 1.85;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Nav ─── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 19, 32, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.nav-inner {
  max-width: 1020px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: 0.03em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}

/* Link は文字を Text（span）で包むので、書体はロゴの指定をそのまま受け継がせる */
.nav-logo > span,
.nav-links a:not(.nav-cta) > span,
.footer-col a > span { font: inherit; }

.nav-logo .dot { color: var(--cyan); }

/* Link は a が inline-flex、中の span が block。文の途中に置くと、見た目は同じでも
   コピーした文字列や innerText でリンクの前後が改行になるので、文中のリンクだけ inline に戻す */
.section-lead a,
.section-lead a > span,
.about-card dd a,
.about-card dd a > span,
.closing p a,
.closing p a > span { display: inline; }

.nav-links {
  overflow-x: auto;
}

.nav-links a:not(.nav-cta) {
  display: inline-block;
  padding: 0.35rem 0.7rem;
  font-size: 0.88rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}

.nav-links a:not(.nav-cta):hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
}

.nav-links .nav-cta { white-space: nowrap; }

/* 折りたたみメニューのボタン。js/nav-menu.js が hidden を外したときだけ、狭い画面で出す */
.nav-menu-button {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -10px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

.nav-menu-button:hover { background: rgba(255, 255, 255, 0.09); }

.nav-menu-button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

/* 三本線。開いたら × に変える */
.nav-menu-icon,
.nav-menu-icon::before,
.nav-menu-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  border-radius: 1px;
  background: currentColor;
  transition: transform 0.2s, background 0.2s;
}

.nav-menu-icon { position: relative; }

.nav-menu-icon::before,
.nav-menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-menu-icon::before { top: -6px; }
.nav-menu-icon::after { top: 6px; }

@media (prefers-reduced-motion: reduce) {
  .nav-menu-icon,
  .nav-menu-icon::before,
  .nav-menu-icon::after { transition: none; }
}

.site-nav.is-open .nav-menu-icon { background: transparent; }
.site-nav.is-open .nav-menu-icon::before { transform: translateY(6px) rotate(45deg); }
.site-nav.is-open .nav-menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* 幅 860px 未満ではリンクが一列に収まらない（ロゴ＋6本＋遊ぶ）。JS が動いたときだけ折りたたむ */
@media (max-width: 859px) {
  .site-nav.has-menu .nav-menu-button:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .site-nav.has-menu .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.15rem;
    margin: 0;
    padding: 0.6rem 1.5rem 1.2rem;
    overflow: visible;
    /* 半透明にすると、下の白い見出しが透けて読みにくい */
    background: var(--navy-1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: var(--shadow-md);
  }

  .site-nav.has-menu.is-open .nav-links { display: flex; }

  .site-nav.has-menu .nav-links a:not(.nav-cta) {
    display: block;
    padding: 0.7rem 0.6rem;
    font-size: 1rem;
  }

  .site-nav.has-menu .nav-links .nav-cta {
    width: 100%;
    margin-top: 0.6rem;
    justify-content: center;
  }
}

/* ─── Hero ─── */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(34, 211, 238, 0.16) 0%, transparent 65%),
    radial-gradient(ellipse 55% 45% at 12% 85%, rgba(14, 116, 144, 0.25) 0%, transparent 60%),
    linear-gradient(168deg, var(--navy-1) 0%, var(--navy-2) 100%);
  padding: 6.5rem 0 8.5rem;
  overflow: hidden;
}

/* WebGL の背景は描けた時だけ重ねる。描けない環境では上のグラデーションがそのまま見える */
.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.hero-canvas.is-ready { opacity: 1; }

.hero > .wrap {
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}

.hero h1 {
  letter-spacing: 0.01em;
  margin-bottom: 1.2rem;
}

.hero h1 .accent { color: var(--cyan); }

.hero-lead {
  max-width: 34em;
  font-size: 1.02rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 2.2rem;
}

.hero-ctas { margin-bottom: 3.2rem; }

/* ボタンは Astryx の Button。色はテーマ（主ボタン＝シアンの塗りに紺の文字）、ここは影と浮きだけ */
.btn-glow,
.btn-on-navy,
.btn-outline {
  font-weight: 700;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s, color 0.15s;
}

.btn-glow,
.btn-on-navy,
.btn-outline {
  padding-inline: 1.5rem;
  font-size: 0.95rem;
}

.btn-glow { box-shadow: 0 6px 22px rgba(34, 211, 238, 0.35); }

.btn-glow:hover {
  transform: translateY(-2px);
  background: #67e8f9;
}

.btn-on-navy {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-on-navy:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.btn-outline {
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow-sm);
}

.btn-outline:hover {
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
  background: var(--panel);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 2.6rem;
}

.stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
}

.stat .num .unit {
  font-size: 1rem;
  color: var(--cyan);
  margin-left: 0.15em;
}

.stat .label {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.06em;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  display: block;
  width: 100%;
  height: 70px;
  z-index: 1;
}

/* ─── Sections ─── */
section { padding: 4.5rem 0 1rem; }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--cyan-deep);
  margin-bottom: 0.4rem;
}

.section-title { margin-bottom: 0.6rem; }

.section-lead {
  max-width: 40em;
  margin-bottom: 2.2rem;
}

/* ─── Games ─── */
.arcade-feature {
  background:
    radial-gradient(ellipse 60% 80% at 85% 20%, rgba(34, 211, 238, 0.14) 0%, transparent 60%),
    linear-gradient(150deg, var(--navy-1), var(--navy-2));
  color: #fff;
  border-color: transparent;
  padding: 2.4rem 2.6rem;
  margin-bottom: 1.6rem;
}

.arcade-feature .display {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.arcade-feature p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
}

/* 中身は build_games.py が差し込む（素の ul/li/a）。部品ではなくここで見た目を付ける */
.game-chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.game-chips a {
  display: inline-block;
  padding: 0.42rem 0.95rem;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.15s, border-color 0.15s, color 0.15s;
}

.game-chips a:hover {
  transform: translateY(-2px);
  border-color: var(--cyan-deep);
  color: var(--cyan-deep);
}

/* ─── Cards ─── */
.card-grid-follow { margin-top: 2rem; }

.card {
  display: flex;
  flex-direction: column;
  padding: 1.6rem 1.7rem;
  transition: transform 0.18s, box-shadow 0.18s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card h3 {
  margin-bottom: 0.4rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.card h3 .mono {
  font-family: var(--font-display);
  letter-spacing: 0.01em;
}

.card p {
  flex: 1;
  margin-bottom: 1.1rem;
}

.card .card-link {
  align-self: flex-start;
  text-decoration: none;
}

.card .card-link:hover { text-decoration: underline; }

/* コピーして使うコマンド。カード幅では収まらないので、<wbr> を置いた「/」の後ろだけで折り返す
   （表示上の折り返しなので、選んでコピーすれば1行のまま貼れる） */
.card .cmd {
  display: block;
  margin: -0.4rem 0 1.1rem;
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  background: rgba(15, 23, 42, 0.05);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.85em;
  word-break: keep-all;
}

/* ハイフンの位置で折り返すと「bayfront-」で切れて読み違えるので、塊ごと送る */
.card .cmd .nobr { white-space: nowrap; }

.card .badge-new,
.card .badge-oss,
.card .badge-soon {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* ─── About ─── */
.about-card { max-width: 640px; }

/* MetadataList は項目を上に寄せるので、ラベルと値の帯の高さを揃えるために伸ばす */
.about-card dl {
  gap: 0;
  align-items: stretch;
}

.about-card dt,
.about-card dd {
  padding: 0.9rem 1.3rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
  display: block;
}

.about-card dt {
  color: var(--ink-muted);
  font-weight: 600;
  white-space: nowrap;
  background: #fbfcfd;
}

.about-card dt:last-of-type,
.about-card dd:last-of-type { border-bottom: none; }

/* ─── Closing CTA ─── */
.closing {
  padding: 5.5rem 0 1rem;
  text-align: center;
}

/* 日本語の見出しは語の途中（「要りま／せん」）で折れないよう、文節で折り返す */
.closing-title,
.footer-brand p {
  word-break: auto-phrase;
  text-wrap: balance;
}

.closing-title {
  font-size: clamp(1.35rem, 5.4vw, 2.3rem);
  line-height: 1.4;
  margin-bottom: 0.8rem;
}

.closing p { margin-bottom: 2rem; }

.closing .hero-ctas { margin-bottom: 0; }

/* ─── Footer ─── */
.site-footer {
  position: relative;
  margin-top: 5.5rem;
  padding: 3.6rem 0 0;
  background: var(--navy-1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.88rem;
  overflow: hidden;
}

.footer-grid { grid-template-columns: 1.4fr repeat(3, 1fr); }

.footer-brand .nav-logo { font-size: 1.15rem; }

.footer-brand p {
  margin-top: 0.6rem;
  font-size: 0.88rem;
  line-height: 1.7;
}

.footer-col h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan);
  margin-bottom: 0.8rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

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

.footer-divider {
  margin-top: 3rem;
  --color-border: rgba(255, 255, 255, 0.08);
}

.footer-bottom {
  padding: 1.2rem 0;
  font-size: 0.8rem;
}

/* 画面幅いっぱいの社名。読ませる文字ではなく、ページの終わりを示す飾り */
.footer-wordmark {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(4rem, 17vw, 12.5rem);
  line-height: 0.8;
  letter-spacing: -0.03em;
  text-align: center;
  white-space: nowrap;
  color: transparent;
  background: linear-gradient(180deg, rgba(34, 211, 238, 0.22), rgba(34, 211, 238, 0));
  -webkit-background-clip: text;
  background-clip: text;
  user-select: none;
  margin-bottom: -0.12em;
}

/* ─── トップ以外のページ（tools/astryx/subpage.mjs の枠） ─── */
/* 本文の幅は読み物に合わせて 760px。紺の帯の見出し → 本文のカード → 共通のフッター */
.wrap.is-narrow { max-width: calc(760px + 3rem); }

.page-header {
  color: #fff;
  background:
    radial-gradient(ellipse 70% 55% at 78% 18%, rgba(34, 211, 238, 0.16) 0%, transparent 65%),
    linear-gradient(168deg, var(--navy-1) 0%, var(--navy-2) 100%);
  padding: 2.6rem 0 2.4rem;
}

.page-crumbs {
  font-size: 0.85rem;
  margin-bottom: 0.9rem;
}

.page-crumbs a { color: var(--cyan); }

.page-crumbs a:hover { color: #fff; }

.page-crumbs li > span[aria-hidden] { color: rgba(255, 255, 255, 0.45); }

/* 和文の題は文節で折る（「必要／な」のような折れ方を避ける） */
.page-title {
  font-size: clamp(1.45rem, 4.2vw, 1.9rem);
  line-height: 1.5;
  word-break: auto-phrase;
  text-wrap: pretty;
}

.page-title.is-display {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
}

.page-meta {
  margin-top: 0.5rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.85rem;
}

.page-main { padding: 2rem 0 0; }

/* 手で書いた長い文章（記事・規約）。断片の HTML は素の要素なので、ここで見た目を付ける */
.prose-card { padding: 2rem 1.8rem; }

.prose { line-height: 1.9; }

.prose > :first-child { margin-top: 0; }

.prose h1 {
  font-size: 1.3rem;
  font-weight: 800;
  margin: 0 0 0.3rem;
}

.prose h2 {
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.6;
  border-left: 4px solid var(--cyan-deep);
  padding-left: 0.7rem;
  margin: 2.2rem 0 0.8rem;
}

/* 和文の見出しは文節で折る（「生／む」のような折れ方を避ける） */
.prose h1,
.prose h2,
.prose h3 { word-break: auto-phrase; }

.prose h3 {
  font-size: 1.02rem;
  font-weight: 700;
  margin: 1.6rem 0 0.5rem;
}

.prose p,
.prose ul,
.prose ol,
.prose table { margin-bottom: 0.9rem; }

.prose p,
.prose li { font-size: 0.98rem; }

/* Astryx の reset は一覧の印を外すので、文章の中だけ戻す */
.prose ul,
.prose ol { padding-left: 1.5rem; }

.prose ul { list-style: disc; }

.prose ol { list-style: decimal; }

.prose li + li { margin-top: 0.2rem; }

.prose a { color: var(--cyan-deep); }

.prose hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.6rem 0;
}

.prose table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.92rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.prose th { background: #eef4f8; }

/* 行の頭が見出しで、右に値が続く表（特商法の表記）は、見出しの列に幅を取って語の途中で折らない */
.prose th:has(+ td) { width: 30%; }

/* 表の中も文節で折る。ただし列が狭いときは語の途中でも折る（anywhere は列幅の計算にも効くので、
   文節を割らないために表が枠からはみ出す、を防げる） */
.prose th,
.prose td {
  word-break: auto-phrase;
  overflow-wrap: anywhere;
}

/* 規約の「最終更新」「制定日」の行と、特商法の表記の注記 */
.prose .lang,
.prose .updated,
.prose .date,
.prose .note {
  color: var(--ink-muted);
  font-size: 0.85rem;
}

/* 表は狭い画面で横にはみ出さないよう、表だけを横に送る */
.prose .table-scroll { overflow-x: auto; }

/* アプリの紹介ページ（tools/astryx/product.mjs） */
.product-tagline {
  margin-top: 0.4rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
}

.product-lead {
  max-width: 36em;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.72);
}

.product-status {
  margin-top: 1.3rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.product-section-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.product-features .card { padding: 1.3rem 1.4rem; }

.product-features .card h3 {
  margin-bottom: 0.3rem;
  word-break: auto-phrase;
}

.product-features .card p { margin-bottom: 0; }

.product-support { padding: 3rem 0 0; }

.product-support-card { padding: 1.6rem 1.8rem; }

.product-support-card p + p { margin-top: 0.6rem; }

.app-links {
  margin-top: 2.6rem;
  text-align: center;
}

/* Link は a が inline-flex、中の span が block。文中のリンクは inline に戻す（トップの節のリードと同じ理由） */
.inline-link,
.inline-link > span { display: inline; }

/* 記事の後のアプリの案内 */
.app-cta {
  margin-top: 1.4rem;
  padding: 1.1rem 1.3rem;
  background: #ecfeff;
  border-color: #a5f3fc;
  font-size: 0.95rem;
}

.app-cta a { color: var(--cyan-deep); }

/* コラム一覧のカード。題のリンクの当たり判定をカードいっぱいに広げる */
.column-list { list-style: none; }

.column-card { position: relative; }

.column-card h2 {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 0.3rem;
}

.column-card .stretched-link { text-decoration: none; }

/* Link は文字を Text（span）で包むので、見出しの太さをそのまま受け継がせる */
.column-card .stretched-link > span { font: inherit; }

.column-card .stretched-link::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
}

.column-card:hover h2 { color: var(--cyan-deep); }

.column-card p { margin-bottom: 0; }

/* 記事の後の関連記事。中身は build_related.py が差し込む素の nav/ul/li/a なので、ここで見た目を付ける */
.related { margin-top: 2.2rem; }

.related h2 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.9rem;
}

.related ul {
  list-style: none;
  display: grid;
  gap: 0.8rem;
}

.related li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}

.related li:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--cyan-deep);
}

.related a {
  display: block;
  padding: 0.9rem 1.1rem;
  text-decoration: none;
  color: var(--ink);
}

.related .t {
  display: block;
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.related .d {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
}

/* ─── Scroll reveal ─── */
/* 対応ブラウザだけ、要素が画面に入るにつれて浮かび上がらせる。hover の transform とぶつからないよう translate で動かす */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    main .section-title,
    main .section-lead,
    main .card,
    main .arcade-feature,
    main .about-card,
    .closing-title {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 70%;
    }
  }
}

@keyframes reveal {
  from {
    opacity: 0;
    translate: 0 24px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}

@media (max-width: 640px) {
  .hero { padding: 4.5rem 0 7rem; }
  .hero-stats { gap: 1.6rem; }
  .arcade-feature { padding: 1.8rem 1.6rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .nav-links a:not(.nav-cta) { padding: 0.35rem 0.45rem; }
  .prose-card { padding: 1.5rem 1.1rem; }
  .prose table { font-size: 0.82rem; }
  .prose th,
  .prose td { padding: 0.45rem 0.45rem; }
}
