/* Whisper Local の紹介ページだけで使う部品（共通の k386.css を補う） */

/* ヒーロー：Apple Intelligence の目印 */
.wl-ai-badge { display: inline-flex; align-items: center; gap: 8px; margin: 18px 0 4px; padding: 6px 14px 6px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); font-size: 0.86rem; font-weight: 800; }
.wl-ai-badge svg { width: 18px; height: 18px; flex: none; }

/* ヒーロー右：音声入力の例 */
.wl-hero-demo { background: linear-gradient(135deg, var(--accent-soft), transparent 70%), var(--surface); border: 1px solid var(--rule); border-radius: var(--r-lg); padding: clamp(16px, 2.6vw, 26px); box-shadow: var(--shadow-lg); }

/* 内蔵 AI の欄：Mac の中で終わる流れ */
.wl-flow { display: grid; gap: 14px; }
.wl-flow__mac { border: 2px solid var(--accent); border-radius: var(--r-lg); background: var(--surface); padding: 16px 18px 18px; box-shadow: 0 0 0 6px var(--accent-soft); }
.wl-flow__label { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-weight: 800; color: var(--accent); font-size: 0.92rem; }
.wl-flow__label svg { width: 20px; height: 20px; }
.wl-flow__steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: none; }
.wl-flow__steps li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; align-items: center; padding: 10px 12px; border-radius: var(--r); background: var(--paper-2); }
.wl-flow__steps li + li::before { content: ""; position: absolute; left: 26px; top: -8px; height: 8px; border-left: 2px solid var(--accent); opacity: 0.5; }
.wl-flow__steps b { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--surface); color: var(--accent); border: 1px solid var(--rule-strong); font-size: 0.85rem; }
.wl-flow__steps strong { display: block; font-size: 0.95rem; color: var(--ink); }
.wl-flow__steps small { display: block; font-size: 0.8rem; color: var(--ink-2); }
.wl-flow__steps li.is-ai { background: var(--accent); }
.wl-flow__steps li.is-ai b { background: #fff; border-color: #fff; }
.wl-flow__steps li.is-ai strong, .wl-flow__steps li.is-ai small { color: #fff; }
.wl-flow__out { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: center; padding: 12px 14px; border: 1px dashed var(--rule-strong); border-radius: var(--r); color: var(--muted); font-size: 0.85rem; }
.wl-flow__out svg { width: 34px; height: 34px; padding: 6px; border-radius: 10px; background: var(--paper-2); }
.wl-flow__out strong { display: block; color: var(--ink); font-size: 0.95rem; }

/* ヒーローのキャラが例の文字に重ならないよう、例の下に場所を空ける */
@media (min-width: 901px) {
  .k-hero__visual:has(.wl-hero-demo) { padding-bottom: 150px; }
  .k-hero__visual:has(.wl-hero-demo) .k-say--hero { bottom: -10px; }
}

/* 比較：大きな数字 */
.wl-stats { margin: 8px 0 22px; }
.wl-stats .k-card { text-align: center; }
.wl-stats .wl-stat__label { margin: 0; font-size: 0.85rem; font-weight: 800; color: var(--muted); }
.wl-stats .wl-stat__num { margin: 4px 0 6px; font-size: clamp(2rem, 4.4vw, 2.8rem); font-weight: 900; line-height: 1.1; color: var(--accent); }
.wl-stat__num small { font-size: 0.45em; }
/* 比較表：Whisper Local の列を目立たせる */
.wl-compare th.is-us { background: var(--accent); color: #fff; }
.wl-compare td.is-us { background: var(--accent-soft); color: var(--ink); font-weight: 700; }
.wl-compare tbody th { white-space: nowrap; }
.wl-compare__cost td, .wl-compare__cost th { font-weight: 800; }
.wl-compare__cost td.is-us { font-size: 1.1rem; color: var(--accent); }
.wl-compare__notes { margin-top: 14px; color: var(--muted); padding-left: 1.2em; }
.wl-compare__notes li { margin-bottom: 4px; }
.wl-flow__say { margin: 4px 0 0; }
.wl-flow__say .k-say__bubble { font-size: 0.86rem; }
