/* ============================================================================
   リライト ─ トップページ固有のスタイル（css/style.css の後に読む）

   100 サービスまで増やす前提の「ディレクトリ」として組んでいる。
     ・ヒーロー（見出し・朱の筆線・言語のリング）
     ・ファインダー（検索＋カテゴリーチップ。スクロールしても上に貼り付く）
     ・カテゴリーごとのカードグリッド（3列→2列→1列）
     ・多言語展開しているサービスは「ファミリーカード」1枚に言語タイルをまとめる
     ・深緑の帯（リライトについて＋フッター）

   トップページの CSP は style-src 'self' なので style 属性は使えない。
   余白・色は必ずクラスで当てる。SVG の色も presentation attribute かクラスで。
   ========================================================================== */

:root {
  --wrap: 1160px;      /* カードを3列で組むためトップページだけ少し広く */
  --finder-h: 64px;
  --tone-bg: var(--paper-2);
  --tone-fg: var(--ink-2);
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(52px, 9vh, 112px) 0 clamp(36px, 6vh, 64px);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.hero-copy { max-width: 800px; min-width: 0; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.hero-title {
  margin-top: 22px;
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 500;
  line-height: 1.26;
  letter-spacing: 0.02em;
  text-wrap: balance;
}
/* 日本語・中国語では js/app.js が句ごとに .ph で包み、句読点の直後でだけ折り返す */
.hero-title .ph { white-space: nowrap; font: inherit; }
/* 欧文・タイ語などは 1 行が長いので、CJK より一回り小さく詰めて組む */
html:not(:lang(ja)):not(:lang(zh)):not(:lang(ko)) .hero-title {
  font-size: clamp(32px, 5.2vw, 64px);
  line-height: 1.16;
  letter-spacing: 0;
}

/* 「書きかえる」の含意 ─ ロゴの下線と同じ、朱の筆線と三つの点。
   線が引かれ、点が順に灯る。 */
.hero-stroke {
  display: block;
  width: 240px;
  height: 20px;
  margin: 24px 0 26px;
  color: var(--accent);
  overflow: visible;
}
.hero-stroke path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-dasharray: 130;
  stroke-dashoffset: 130;
  animation: draw 0.9s var(--ease) 0.25s forwards;
}
.hero-stroke path + path { animation-delay: 0.9s; }
.hero-stroke circle {
  fill: currentColor;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  transform: scale(0.4);
  animation: pop 0.45s var(--ease) forwards;
}
.hero-stroke circle:nth-of-type(1) { animation-delay: 0.95s; }
.hero-stroke circle:nth-of-type(2) { animation-delay: 1.10s; }
.hero-stroke circle:nth-of-type(3) { animation-delay: 1.25s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { to { opacity: 1; transform: scale(1); } }

.hero-sub {
  font-size: 16px;
  line-height: 2;
  color: var(--ink-2);
  max-width: 620px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
              background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.btn svg { flex: none; }
.btn-primary {
  background: var(--brand);
  color: var(--brand-ink);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-ghost {
  border-color: var(--line-2);
  color: var(--ink);
  background: transparent;
}
.btn-ghost:hover { background: var(--surface); border-color: var(--ink-2); }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin: 40px 0 0;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.hero-stats > div { display: flex; flex-direction: column-reverse; }
.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-stats dt {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 言語のリング ─ 10 言語の名前がゆっくり回り、中央にロゴの若葉。 */
.hero-art {
  position: relative;
  width: 300px;
  height: 300px;
  flex: none;
  justify-self: end;
}
.hero-art::before {
  content: "";
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  background:
    radial-gradient(closest-side, var(--accent-dim), transparent 72%),
    radial-gradient(closest-side at 30% 70%, color-mix(in srgb, var(--leaf) 14%, transparent), transparent 70%);
  pointer-events: none;
}
.ring { position: relative; width: 100%; height: 100%; overflow: visible; }
.ring-rot {
  transform-origin: 150px 150px;
  animation: spin 90s linear infinite;
}
.ring text {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.1em;
  fill: var(--muted);
}
.ring-mark .stem { stroke: var(--leaf); stroke-width: 3; stroke-linecap: round; fill: none; }
.ring-mark .leaf { fill: var(--leaf); }
.ring-mark .leaf-2 { fill: var(--leaf); opacity: 0.82; }
.ring-mark .arc { stroke: var(--leaf); stroke-width: 2.2; stroke-linecap: round; fill: none; }
.ring-mark .sun { fill: var(--accent); }
.ring-mark .seed { fill: var(--accent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* 言語メニューは常にページ内容より前に出す */
.lang { z-index: 60; }

/* ---------- finder（検索＋カテゴリーチップ） ---------- */

.finder {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(16px);
  -webkit-backdrop-filter: saturate(1.4) blur(16px);
  border-block: 1px solid var(--line);
}
.finder-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: var(--finder-h);
  padding-block: 10px;
}

.search {
  position: relative;
  display: flex;
  align-items: center;
  flex: 0 1 340px;
  min-width: 220px;
}
.search-icon {
  position: absolute;
  left: 14px;
  color: var(--muted);
  pointer-events: none;
}
.search input {
  width: 100%;
  height: 42px;
  padding: 0 44px 0 40px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface);
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search input:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--brand) 14%, transparent);
}
.search kbd {
  position: absolute;
  right: 12px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  color: var(--muted);
  border: 1px solid var(--line-2);
  border-radius: 6px;
  padding: 0 6px;
  background: var(--paper);
  pointer-events: none;
}
.search-clear {
  position: absolute;
  right: 8px;
  display: none;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--ink-2);
  cursor: pointer;
}
.search-clear:hover { background: var(--line); color: var(--ink); }
/* 入力中はショートカット表示を消して × を出す */
.search.has-value kbd { display: none; }
.search.has-value .search-clear { display: grid; }

.chips {
  display: flex;
  gap: 6px;
  margin-left: auto;
  padding: 2px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.chips::-webkit-scrollbar { display: none; }

.chip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 13px;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
}
.chip:hover { background: var(--paper-2); color: var(--ink); }
.chip.is-active { background: var(--brand); color: var(--brand-ink); }
.chip-n {
  font-family: var(--font-mono);
  font-size: 10.5px;
  line-height: 1.6;
  padding: 0 6px;
  border-radius: 999px;
  background: var(--paper-2);
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.chip.is-active .chip-n { background: rgba(255, 255, 255, 0.16); color: inherit; }
.chip-n:empty { display: none; }

/* 読み上げ専用の件数通知 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 検索で絞ったものは hidden 属性で消す。カードは display: grid を後から当てているので !important で確実に消す */
.cat[hidden], .card[hidden], .tiles li[hidden], .empty[hidden] { display: none !important; }

/* ---------- category sections ---------- */

.directory { padding-bottom: clamp(24px, 4vh, 40px); }

.cat {
  padding: clamp(40px, 6vh, 64px) 0 clamp(20px, 3vh, 32px);
  scroll-margin-top: calc(var(--header-h) + var(--finder-h) + 4px);
}

.cat-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 24px;
}
/* 番号と件数は見出し（h2）の天地中央あたりに合わせる */
.cat-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent);
  padding-top: 13px;
}
.cat-head h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.05em;
  line-height: 1.4;
}
.cat-sub { margin-top: 4px; font-size: 13.5px; color: var(--muted); letter-spacing: 0.02em; }
.cat-count {
  margin-left: auto;
  padding-top: 13px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

/* ---------- card grid ---------- */

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 16px;
}

.card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.45s var(--ease);
}
.card:not(.card-family):hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-2);
  border-color: var(--line-2);
}
.card:focus-within { border-color: var(--brand); }

/* 通常カードはグリッドで組む：
     [モノグラム][言語タグ]
     [名前              ]
     [説明（余白を吸収）]
     [ホスト     ガイド ]
   説明の行が余りを取るので、同じ段のカードは高さがそろい、フッターが下端に付く */
.card:not(.card-family) {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto 1fr auto;
  grid-template-areas:
    "mono tag"
    "name name"
    "desc desc"
    "foot foot";
  align-items: center;
  padding: 18px 20px 0;
}
.card:not(.card-family) .card-mono { grid-area: mono; }
.card:not(.card-family) .card-tag  { grid-area: tag; justify-self: end; }
.card:not(.card-family) .card-name { grid-area: name; margin: 14px 0 0; }
.card:not(.card-family) .card-desc { grid-area: desc; margin: 8px 0 0; align-self: start; }
.card:not(.card-family) .card-foot { grid-area: foot; margin: 18px 0 0; }

/* 頭文字のモノグラム。色は .grid の中の並び順で 6 色を巡回させる
   （:nth-child は hidden の要素も数えるので、検索で絞っても色が入れ替わらない）。 */
.card-mono {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 13px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 500;
  line-height: 1;
  background: var(--tone-bg);
  color: var(--tone-fg);
  letter-spacing: 0;
}
.grid > .card:nth-child(6n+1) { --tone-bg: #e4eee6; --tone-fg: #2f5a41; }
.grid > .card:nth-child(6n+2) { --tone-bg: #fbe6de; --tone-fg: #9a3f22; }
.grid > .card:nth-child(6n+3) { --tone-bg: #f7ecd0; --tone-fg: #7a5a12; }
.grid > .card:nth-child(6n+4) { --tone-bg: #e2ebf3; --tone-fg: #2f4d6b; }
.grid > .card:nth-child(6n+5) { --tone-bg: #eee4f3; --tone-fg: #5c3b6e; }
.grid > .card:nth-child(6n+6) { --tone-bg: #e9eed8; --tone-fg: #4d5e2a; }
@media (prefers-color-scheme: dark) {
  .grid > .card:nth-child(6n+1) { --tone-bg: rgba(126, 178, 145, 0.16); --tone-fg: #a9d1b7; }
  .grid > .card:nth-child(6n+2) { --tone-bg: rgba(240, 135, 106, 0.16); --tone-fg: #f3a58c; }
  .grid > .card:nth-child(6n+3) { --tone-bg: rgba(220, 180, 90, 0.16);  --tone-fg: #e6c777; }
  .grid > .card:nth-child(6n+4) { --tone-bg: rgba(120, 160, 205, 0.16); --tone-fg: #a9c4e2; }
  .grid > .card:nth-child(6n+5) { --tone-bg: rgba(180, 140, 205, 0.16); --tone-fg: #cbb0e0; }
  .grid > .card:nth-child(6n+6) { --tone-bg: rgba(160, 185, 110, 0.16); --tone-fg: #c2d295; }
}

.card-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-name {
  margin: 14px 20px 0;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.45;
  color: var(--ink);
}
.card-name a { text-decoration: none; color: inherit; transition: color 0.3s var(--ease); }
/* カード全体をクリック可能にする（名前のリンクを面いっぱいに広げる） */
.card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card:hover .card-name a { color: var(--accent); }
.card-name-sub {
  display: inline-block;
  margin-inline-start: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
  vertical-align: middle;
}

.card-desc {
  margin: 8px 20px 0;
  font-size: 13.5px;
  line-height: 1.8;
  color: var(--ink-2);
}

.card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 18px 20px 0;
  padding: 12px 0 16px;
  border-top: 1px dashed var(--line);
}
.card-host {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.03em;
  color: var(--muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.card-arrow {
  display: inline-block;
  font-size: 14px;
  color: var(--muted);
  transition: transform 0.35s var(--ease), color 0.35s var(--ease);
}
.card:hover .card-arrow { transform: translate(3px, -3px); color: var(--accent); }

/* ガイドへの導線。名前のリンクが面を覆うので、その上に載せる */
.card-guide {
  position: relative;
  z-index: 2;
  flex: none;
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  white-space: nowrap;
}
.card-guide::before { content: "→ "; color: var(--muted); }
.card-guide:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- family card（多言語展開しているサービス） ---------- */

.card-family { grid-column: 1 / -1; }

.fam-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px 18px;
  align-items: start;
  padding: 20px 20px 18px;
}
.fam-head .card-mono { width: 52px; height: 52px; font-size: 25px; border-radius: 15px; }
.fam-head .card-name { margin: 6px 0 0; font-size: 22px; }
.fam-head .card-desc { margin: 6px 0 0; max-width: 70ch; }
.fam-head .card-guide { align-self: center; padding-top: 4px; }
.fam-n { font-weight: 600; }

.tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
  gap: 10px;
  padding: 0 20px 20px;
}
.tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  height: 100%;
  padding: 13px 14px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  text-decoration: none;
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease),
              background 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.tile:hover {
  transform: translateY(-2px);
  background: var(--surface);
  border-color: var(--brand);
  box-shadow: var(--shadow-1);
}
/* 1行目＝母語の名前（探す人はまずこれを見る）＋ホスト名、2行目＝そのサイトでの名称 */
.tile-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}
.tile-lang { font-size: 14.5px; font-weight: 600; line-height: 1.4; color: var(--ink); }
.tile-name { font-size: 12.5px; line-height: 1.5; color: var(--ink-2); }
.tile-host {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.03em;
  color: var(--muted);
  white-space: nowrap;
}
.tile-host::after { content: " ↗"; }
.tile:hover .tile-host { color: var(--accent); }

/* ---------- 検索結果なし ---------- */

.empty {
  margin: 40px auto 0;
  padding: 36px 24px;
  max-width: 560px;
  text-align: center;
  border: 1px dashed var(--line-2);
  border-radius: var(--radius);
  color: var(--ink-2);
}
.empty p { font-size: 15px; margin-bottom: 18px; }

/* ---------- 深緑の帯（リライトについて） ---------- */

.about {
  margin-top: clamp(40px, 8vh, 80px);
  background: var(--brand);
  color: var(--brand-ink);
  padding: clamp(60px, 10vh, 104px) 0 clamp(28px, 5vh, 48px);
}
.about-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  gap: 48px;
  align-items: center;
}
.about h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.06em;
  margin-bottom: 20px;
}
.about h2::after {
  content: "";
  display: block;
  width: 40px;
  height: 1px;
  margin-top: 16px;
  background: rgba(243, 239, 228, 0.42);
}
.about-body { font-size: 15.5px; line-height: 2.05; max-width: 62ch; opacity: 0.92; }
.about-logo {
  justify-self: end;
  width: min(100%, 320px);
  height: auto;
  opacity: 0.96;
}

/* トップページのフッターは帯の続き。上罫だけで区切る */
.site-footer { padding-top: 28px; }

/* ---------- responsive ---------- */

@media (max-width: 1000px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { display: none; }
  /* 検索とチップが1行に収まらなければチップを次の行へ（横スクロールに頼らない） */
  .finder-inner { flex-wrap: wrap; }
  .search { flex: 1 1 260px; }
  .chips { margin-left: 0; flex: 1 1 auto; }
  .cat { scroll-margin-top: 180px; }   /* ファインダーが2段になっても見出しが隠れない余裕 */
}

@media (max-width: 760px) {
  /* 小さな画面ではヘッダーは流し、検索とチップだけを上に貼り付ける。
     static にすると z-index が効かなくなり、言語メニューがヒーロー（position: relative）の下に潜って
     タップできなくなる（2026-08-18 に本番で発生）。relative なら流れつつ重なり順は保てる */
  .site-header { position: relative; }
  .finder { top: 0; }
  .finder-inner { flex-wrap: wrap; gap: 10px; padding-block: 10px; }
  .search { flex: 1 1 100%; min-width: 0; }
  .search input { height: 40px; }
  .chips { margin-left: 0; width: 100%; padding-inline: 0; }
  .cat { scroll-margin-top: 108px; }

  .hero { padding-top: 40px; }
  .hero-title { font-size: clamp(34px, 9.6vw, 44px); }
  html:not(:lang(ja)):not(:lang(zh)):not(:lang(ko)) .hero-title { font-size: clamp(30px, 8.6vw, 40px); }
  .hero-stroke { width: 180px; margin: 18px 0 20px; }
  .hero-sub { font-size: 15px; }
  .hero-stats { gap: 16px 28px; margin-top: 30px; }
  .hero-stats dd { font-size: 26px; }

  .cat-head { gap: 12px; margin-bottom: 18px; }
  .cat-count { display: none; }
  .grid { gap: 12px; }
  /* 小さな画面ではモノグラムを左に寄せ、その右にタグと名前を積んで縦を詰める */
  .card:not(.card-family) {
    grid-template-columns: 44px minmax(0, 1fr);
    grid-template-rows: auto auto 1fr auto;
    grid-template-areas:
      "mono tag"
      "mono name"
      "desc desc"
      "foot foot";
    column-gap: 14px;
    align-items: start;
    padding: 16px 16px 0;
  }
  .card:not(.card-family) .card-tag  { justify-self: start; padding-top: 3px; }
  .card:not(.card-family) .card-name { margin: 0; font-size: 18px; line-height: 1.35; }
  .card:not(.card-family) .card-desc { margin: 10px 0 0; font-size: 13px; }
  .card:not(.card-family) .card-foot { margin: 14px 0 0; padding-bottom: 14px; }
  .tile-host { display: none; }   /* 幅が無いので母語名と名称だけ（リンク先は同じ） */
  .fam-head { grid-template-columns: auto minmax(0, 1fr); padding: 16px 16px 14px; }
  .fam-head .card-guide { grid-column: 2; justify-self: start; padding-top: 0; }
  .fam-head .card-name { font-size: 20px; }
  .card-name-sub { display: block; margin: 4px 0 0; }
  .tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; padding: 0 16px 16px; }
  .tile { padding: 11px 12px 10px; }
  .tile-lang { font-size: 13.5px; }
  .tile-name { font-size: 12px; }

  .about-inner { grid-template-columns: 1fr; gap: 28px; }
  .about-logo { justify-self: start; width: 200px; }
}

@media print {
  .finder, .hero-actions, .hero-art { display: none; }
  .card { break-inside: avoid; box-shadow: none; }
  .about { background: #fff; color: #000; }
}
