/* 🔴 2026-08-19 Windows: hidden 属性を CSS が上書きしていた。
   `.waitlist{display:inline-flex}` は UA の `[hidden]{display:none}` より強いので、
   released:true にして JS が `wait.hidden = true` を立てても**先行登録フォームが消えず**、
   「購入する」と「先行登録する」が並んで出ていた（実測 2026-08-19）。
   display を持つ要素に hidden を使う設計なら、この1行が必ず要る。 */
[hidden]{ display: none !important; }

/* main.css — つまみUI 販売LP レイアウト & コンポーネント */

/* ---------- スキップリンク ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 50;
  background: var(--coral); color: var(--coral-dark);
  padding: 10px 18px; border-radius: 0 0 12px 0; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }

/* ---------- トップバー ---------- */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 18px clamp(16px, 4vw, 40px);
  background: linear-gradient(180deg, rgba(13, 14, 28, .9), rgba(13, 14, 28, 0));
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  mask-image: linear-gradient(180deg, #000 62%, transparent);
  -webkit-mask-image: linear-gradient(180deg, #000 62%, transparent);
  pointer-events: none;
}
.top > * { pointer-events: auto; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--fog); text-decoration: none;
  font-family: var(--font-display); font-weight: 900; font-size: var(--t-brand); letter-spacing: .05em;
}
.brand-pill {
  display: inline-grid; grid-template-columns: repeat(3, 4px); gap: 2.5px;
  padding: 6px 9px; border-radius: 999px; background: var(--coral);
  box-shadow: 0 2px 12px rgba(255, 95, 109, .45);
  transition: transform .35s var(--ease-gum);
}
.brand:hover .brand-pill { transform: scaleX(1.25) scaleY(.85); } /* ガムのように潰れる */
.brand-pill i { width: 3px; height: 3px; border-radius: 50%; background: var(--coral-dark); }

/* セクションナビ */
/* 実測の基準線: 商用サイトのナビは 14〜15px/600〜700・地の文字色（灰の 13px/400 は「案内板」に見える） */
.top-nav { display: flex; gap: 26px; font-size: var(--t-ui); font-weight: 600; }
.top-nav a { color: var(--fog); opacity: .85; text-decoration: none; white-space: nowrap; transition: opacity .2s var(--ease-out); }
.top-nav a:hover { opacity: 1; }

/* 言語切替 */
.lang { display: flex; gap: 4px; padding: 3px; border-radius: 999px; border: 1px solid var(--line); background: rgba(25, 27, 46, .7); }
.lang button {
  border: 0; background: transparent; cursor: pointer;
  font: inherit; font-size: var(--t-micro); font-weight: 700; color: var(--muted);
  padding: 5px 11px; border-radius: 999px; white-space: nowrap;
  transition: color .25s var(--ease-out), background .25s var(--ease-out);
}
.lang button:hover { color: var(--fog); }
.lang button[aria-pressed="true"] { background: var(--coral); color: var(--coral-dark); }
.lang button:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; }

/* ---------- ヒーロー ---------- */
#hero { position: relative; min-height: 100svh; overflow: hidden; }
#toy {
  position: absolute; inset: 0; width: 100%; height: 100%;
  touch-action: pan-y;   /* 縦スクロールは奪わない(取っ手は横に伸ばして遊べる) */
  cursor: grab;
}
#toy.grabbing { cursor: grabbing; }

/* 取っ手の上にだけ浮かせる「スクロールを止める板」。
   ⚠ 携帯で取っ手を掴むと、ブラウザの縦スクロールと操作が奪い合いになる（2026-08-21 実機）。
     canvas 全体を touch-action:none にするとヒーローでページが動かせなくなるので、
     **取っ手の上だけ** none にする。どちらが操作するかは指が触れた瞬間の要素で決まるので、
     板の上から始まった指だけがブラウザのパンを止める。詳細は toy.js の注記。
   ⚠ 見えてはいけない（背景も枠も付けない）。位置は toy.js が毎フレーム transform で入れる。 */
.toy-pads { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.toy-pad {
  position: absolute; left: 0; top: 0; display: none;
  border-radius: 50%;
  touch-action: none;          /* ← これが本体 */
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}

.hero-copy {
  position: relative; z-index: 2; pointer-events: none;
  padding: clamp(84px, 14svh, 150px) clamp(16px, 5vw, 48px) 0;
  max-width: 62rem; margin-inline: auto; text-align: center;
}
.hero-copy > * { pointer-events: auto; }
.eyebrow {
  font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .2em;
  color: var(--coral); margin: 0 0 10px;
}
/* ヒーローの eyebrow は「ラベル」でなく「文」（資料、エディタ、ブラウザ。今日、何回並べ直しました?）
   ＝12px・字間 .22em では読めない。文のサイズと字間にする。 */
.hero-copy .eyebrow { font-size: var(--t-ui); letter-spacing: .08em; }
.hero-title {
  font-family: var(--font-display);
  font-size: var(--t-display);
  font-weight: 900; letter-spacing: .005em; line-height: 1.22;
  margin: 0 0 14px;
}
/* 日本語は語中どこでも折り返せてしまうので、折り返し位置を書き手側で決める。
   3つの節をそれぞれ塊にし、節と節の間でだけ改行させる。 */
.hero-title > span { display: inline-block; white-space: nowrap; }
/* 見出しの中の「取っ手」= 単語自体がつまみ */
.handle-word {
  display: inline-flex; align-items: center; gap: .18em;
  padding: .02em .32em .06em;
  border-radius: 999px;
  background: var(--coral); color: var(--coral-dark);
  box-shadow: 0 6px 30px rgba(255, 95, 109, .35), inset 0 -3px 0 rgba(0, 0, 0, .18);
  transform: rotate(-1.5deg);
  transition: transform .4s var(--ease-gum);
  cursor: grab;
}
.handle-word:hover { transform: rotate(1deg) scaleX(1.06) scaleY(.94); }
.handle-word .grip { font-size: .55em; letter-spacing: -.05em; opacity: .8; transform: translateY(.06em); }
.lede { color: var(--muted); font-size: var(--t-lede); margin: 0 0 26px; }

/* ---------- 先行登録フォーム ---------- */
.waitlist {
  display: inline-flex; gap: 8px; align-items: stretch;
  padding: 6px; border-radius: 999px;
  background: rgba(25, 27, 46, .8);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.waitlist input {
  border: 0; outline: 0; background: transparent; color: var(--fog);
  font: inherit; font-size: 1rem; padding: 10px 8px 10px 16px; width: min(52vw, 240px);
}
.waitlist input::placeholder { color: rgba(159, 163, 184, .7); }
.waitlist button {
  border: 0; cursor: pointer; font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--coral-dark); background: var(--coral);
  padding: 10px 22px; border-radius: 999px;
  box-shadow: 0 4px 22px rgba(255, 95, 109, .4);
  transition: transform .35s var(--ease-gum), box-shadow .35s var(--ease-out);
}
.waitlist button:hover { transform: scaleX(1.06) scaleY(.94); box-shadow: 0 6px 30px rgba(255, 95, 109, .55); }
.waitlist button:active { transform: scale(.94); }
.waitlist button:disabled { opacity: .6; transform: none; }
.waitlist :focus-visible, .waitlist button:focus-visible, footer a:focus-visible, .brand:focus-visible {
  outline: 2px solid var(--sky); outline-offset: 3px; border-radius: 999px;
}
.form-msg { min-height: 1.6em; margin: 12px 0 0; font-size: var(--t-small); color: var(--gold); }

/* ---------- トイのヒント ---------- */
.toy-hint {
  position: absolute; z-index: 2; left: 50%; bottom: clamp(16px, 5svh, 44px);
  transform: translateX(-50%);
  margin: 0; padding: 8px 18px; border-radius: 999px;
  font-size: var(--t-ui); color: var(--muted); white-space: nowrap;
  background: rgba(13, 14, 28, .55); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  pointer-events: none;
  transition: opacity .6s var(--ease-out);
}
.toy-hint .hint-arrow { display: inline-block; margin-left: .5em; animation: hint-bob 1.6s var(--ease-out) infinite; }

/* 音のトグル。ヒントと同じ意匠だが、こちらは**押せる**（pointer-events を殺さない）。
   ⚠ .toy-hint は触られると消えるが、このボタンは残す。手触りの音は触った後こそ要るため。
   位置はヒントの少し上。右端に寄せて、ヒーローの文字と喧嘩させない。 */
.sound-toggle {
  position: absolute; z-index: 3; right: clamp(12px, 3vw, 28px); bottom: clamp(16px, 5svh, 44px);
  display: inline-flex; align-items: center; gap: .5em;
  margin: 0; padding: 8px 14px; border-radius: 999px;
  font: inherit; font-size: var(--t-small); color: var(--muted); white-space: nowrap;
  background: rgba(13, 14, 28, .55); border: 1px solid var(--line);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  cursor: pointer; transition: color .2s var(--ease-out), border-color .2s var(--ease-out);
}
.sound-toggle:hover { color: var(--fog); border-color: rgba(255, 255, 255, .28); }
.sound-toggle:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.sound-toggle[aria-pressed="true"] { color: var(--fog); }
.sound-ico { font-size: 1rem; line-height: 1; }

/* 束の名前を打つ欄。キングつまみのバナーに重ねる。
   ⚠ Canvas に文字入力を自前で描かないための HTML <input>。IME・選択・カーソルを
     自作すると日本語入力が必ず壊れるので、ここだけはDOMに任せる。 */
.bundle-name-input {
  position: absolute; z-index: 4;
  transform: translate(-50%, -50%);
  width: 148px; max-width: 60vw;
  padding: 6px 12px; border-radius: 999px;
  font: 700 14px var(--font-body);
  text-align: center; color: #fff;
  background: var(--coral, #ff5f6d);
  border: 2px solid var(--gold, #f5c76a);
  box-shadow: 0 0 24px rgba(245, 199, 106, .45);
  outline: none;
}
.bundle-name-input::placeholder { color: rgba(255, 255, 255, .62); font-weight: 400; }
.bundle-name-input[hidden] { display: none; }
@media (max-width: 560px) {
  /* 🔴 2026-08-20 本人指摘（実機スマホ）: ヒーローが崩れていた。
     実測（375px）: コピーが 0〜556px を占め、トイに残る帯が **568〜812px の244pxだけ**。
     窓の下端 714px に対して**音ボタンが 686〜727px で重なっていた**。
     ⇒ ①ヒーローを縦に伸ばして**トイに遊べる帯を与える** ②音ボタンを窓の上から退かす。
     ⚠ `#toy` は `inset:0` で親いっぱいなので、**親を高くすればトイの遊び場が広がる**
       （layoutHome が窓を高さの0.80倍の位置へ置くので、帯も比例して広がる）。 */
  #hero { min-height: calc(100svh + 190px); }

  /* 音ボタンは**右上**へ。下に置くと窓と必ず喧嘩する（実測で重なっていた）。 */
  .sound-toggle {
    top: calc(env(safe-area-inset-top, 0px) + 64px);
    right: 12px;
    bottom: auto;
  }
}
.toy-hint.hidden { opacity: 0; }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(4px); } }

/* ---------- 実演ステージ: Canvas 直下の操作列 ---------- */
/* 🔴 本人指摘（実機スマホ）: 下の `.steps` は1項目が全幅の大ブロックで間に長文が入るため、
   携帯だとボタンに辿り着く頃には Canvas が画面外。押しても何が起きたか見えない。
   ⇒ **見えている物のすぐ下**に押せる小さなボタンを置く。⚠ タップ領域は 40px 以上を保つ。 */
.stage-quick {
  display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
  margin: 14px auto 0; max-width: 44rem;
}
.stage-quick .quick {
  /* ⚠ 幅を明示しないと他のボタン規則を拾って**全幅で縦積み**になる（実測でそうなった）。
     操作列は「横に並ぶ小さなボタン」でなければ、下の .steps と見分けが付かない。 */
  flex: 0 0 auto; width: auto; max-width: none;
  appearance: none; cursor: pointer;
  padding: 9px 15px; min-height: 40px; border-radius: 999px;
  font: 600 var(--t-small)/1.1 var(--font-body);
  color: var(--fog); background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
  transition: background .18s var(--ease-out), border-color .18s var(--ease-out);
}
.stage-quick .quick:hover { background: rgba(255, 255, 255, .13); }
.stage-quick .quick:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
/* ⚠ aria-current は main.js が「そのステップまで進んだか」で立てる（現在地ではない）。
   だから強調しすぎない。押せることが分かればよい。 */
.stage-quick .quick[aria-current="true"] { border-color: rgba(255, 255, 255, .3); }
.stage-quick .quick-off { opacity: .72; }

/* ---------- セクション共通 ---------- */
.section {
  max-width: var(--measure); margin-inline: auto;
  padding: clamp(64px, 12vh, 120px) clamp(20px, 5vw, 32px) 0;
  text-align: center;
}
.section h2 {
  font-family: var(--font-display);
  font-size: var(--t-h2); font-weight: 900; letter-spacing: 0;
  line-height: 1.3; margin: 0 0 18px;
  text-wrap: balance;
}
.section.wide { max-width: 66rem; }
.section p { color: var(--muted); font-size: var(--t-body); margin: 0 auto 14px; max-width: 38rem; }
/* 節の中の素のリンクが UA 既定の青（#0000EE）で出ていた（LFP の詳しいページへ →）。夜の地に青リンクは読めない。 */
.section a:not([class]) { color: var(--sky); text-decoration-color: rgba(88, 166, 255, .5); text-underline-offset: 3px; }
.section a:not([class]):hover { text-decoration-color: var(--sky); }
.section p:last-child { margin-bottom: 0; }
.section strong { color: var(--fog); font-weight: 700; }
/* 2026-09-04 実測（375px）: 権限の枠が 346px > 320px で横スクロールが出た。原因は dd の中の
   `~/Library/Application Support/com.xinogi.suite/grip/state.json` ＝折れない1語（本文を 16px に
   したら幅 304px になった）。グリッドの子は min-width:auto なので、その語より狭くなれない。
   ⇒ 枠は縮めてよい（min-width:0）＋語は折ってよい（break-word）。両方ないと直らない。 */
.section { overflow-wrap: break-word; }
.feat-group, .trust-col, .move, .step, .stats > div, .req-list li { min-width: 0; }
.section .eyebrow { margin-bottom: 12px; }
.section-lead { margin-bottom: 8px !important; }

/* スクロールで現れる。JSが無い/落ちた環境では最初から見えている（.js のときだけ隠す） */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.js .reveal.shown { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* ---------- 実演ステージ ---------- */
.stage-frame {
  position: relative; margin: 30px 0 8px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--ink); overflow: hidden;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .45);
}
#stage-canvas {
  display: block; width: 100%; aspect-ratio: 16 / 9;
  /* ⚠ pan-y にしてはいけない（2026-08-21 実機）。ここは窓を掴んで動かす面なので、
     ブラウザの縦スクロールと操作が奪い合いになり、掴むたびにページがずれる。
     こちらは**縦187pxの小箱**で、ページ全体（13,000px超）のごく一部でしかないから、
     ヒーローの canvas と違って全面 none にしても人はどこでもスクロールできる。 */
  touch-action: none; cursor: default;
}
#stage-canvas.grabbable { cursor: grab; }
#stage-canvas.grabbing { cursor: grabbing; }
.stage-badge {
  position: absolute; left: 14px; bottom: 14px;
  font-family: var(--font-mono); font-size: var(--t-micro); letter-spacing: .04em;
  color: var(--fog); background: rgba(13, 14, 28, .78);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
}
.stage-reduced {
  position: absolute; right: 14px; bottom: 14px; margin: 0;
  font-size: var(--t-small); color: var(--muted); max-width: 18rem; text-align: right;
}

.steps {
  list-style: none; padding: 0; margin: 26px 0 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; text-align: left;
}
.step { position: relative; }
.step p { color: var(--muted); font-size: 1rem; margin: 10px 0 0; max-width: none; }
.step-btn {
  display: flex; align-items: baseline; gap: 12px; width: 100%;
  background: rgba(25, 27, 46, .5); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 14px 16px; cursor: pointer;
  color: var(--fog); font: inherit; text-align: left;
  transition: transform .4s var(--ease-gum), border-color .3s var(--ease-out), background .3s var(--ease-out);
}
.step-btn:hover { transform: translateY(-3px); border-color: rgba(255, 95, 109, .4); }
.step-btn:active { transform: scale(.98); }
.step-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }
.step-btn[aria-current="true"] { background: rgba(255, 95, 109, .12); border-color: rgba(255, 95, 109, .45); }
.step-n { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 800; color: rgba(242, 243, 248, .16); line-height: 1; }
.step-btn[aria-current="true"] .step-n { color: rgba(255, 95, 109, .55); }
.step-t { font-weight: 800; font-size: 1.125rem; }
.stage-replay-wrap { margin-top: 20px; }
.ghost-btn {
  background: transparent; border: 1px solid var(--line); color: var(--muted);
  font: inherit; font-size: var(--t-ui); padding: 9px 22px; border-radius: 999px; cursor: pointer;
  transition: color .3s var(--ease-out), border-color .3s var(--ease-out);
}
.ghost-btn:hover { color: var(--fog); border-color: rgba(255, 95, 109, .5); }
.ghost-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 3px; }

/* ---------- できること（3群） ---------- */
.feat-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 32px; text-align: left; }
.feat-group {
  background: rgba(25, 27, 46, .5); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 20px 22px;
}
.feat-group h3 {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 14px; font-family: var(--font-display); font-weight: 900; font-size: var(--t-h3); letter-spacing: .02em; line-height: 1.3;
}
.fg-mark {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: 9px; background: rgba(255, 95, 109, .16); color: var(--coral); font-size: 1rem; font-family: var(--font-body); font-weight: 700;
}
.feat-group dl { margin: 0; }
.feat-group dt { font-weight: 700; font-size: var(--t-body); margin-top: 14px; }
.feat-group dt:first-child { margin-top: 0; }
.feat-group dd { margin: 4px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }

/* ---------- 対応環境 ---------- */
.req-list { list-style: none; padding: 0; margin: 28px 0 0; text-align: left; display: grid; gap: 8px; }
.req-list li {
  display: grid; grid-template-columns: 6.5rem 1fr auto; gap: 6px 16px; align-items: baseline;
  padding: 14px 18px; border: 1px solid var(--line); border-radius: 12px;
  background: rgba(25, 27, 46, .45);
}
.req-list .req-k { font-family: var(--font-mono); font-size: var(--t-micro); color: var(--muted); letter-spacing: .06em; }
.req-list .req-v { font-weight: 700; font-size: var(--t-body); }
.req-list .req-n { font-size: var(--t-ui); color: var(--muted); }
.req-list li.req-warn { border-color: rgba(245, 199, 106, .38); background: rgba(245, 199, 106, .07); }
.req-list li.req-warn .req-v { color: var(--gold); }
.limits { margin-top: 22px; text-align: left; border-top: 1px solid var(--line); padding-top: 20px; }
.limits h3 { margin: 0 0 10px; font-size: var(--t-body); color: var(--muted); font-weight: 700; }
.limits ul { margin: 0; padding-left: 1.2em; color: var(--muted); font-size: 1rem; }
.limits li { margin-bottom: 6px; }

/* ---------- 権限の安心 ---------- */
.trust-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 30px; text-align: left; }
.trust-col { border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: rgba(25, 27, 46, .45); }
.trust-col h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-family: var(--font-display); font-weight: 900; font-size: var(--t-h3); line-height: 1.3; }
.tc-mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: .9rem; font-weight: 800; font-family: var(--font-body); }
.trust-col.do { border-color: rgba(88, 166, 255, .28); }
.trust-col.do .tc-mark { background: rgba(88, 166, 255, .18); color: var(--sky); }
.trust-col.dont { border-color: rgba(255, 95, 109, .26); }
.trust-col.dont .tc-mark { background: rgba(255, 95, 109, .16); color: var(--coral); }
.trust-col dl { margin: 0; }
.trust-col dt { font-weight: 700; font-size: var(--t-body); margin-top: 14px; }
.trust-col dt:first-child { margin-top: 0; }
.trust-col dd { margin: 4px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.trust-off { margin-top: 20px; text-align: left; padding: 18px 20px; border-radius: 12px; border: 1px dashed rgba(159, 163, 184, .28); }
.trust-off h3 { margin: 0 0 8px; font-size: var(--t-body); }
.trust-off p { margin: 0; font-size: 1rem; max-width: none; }

/* ---------- 価格 ---------- */
.price-tag {
  margin: 26px 0 16px !important;
  font-family: var(--font-mono); font-weight: 700; letter-spacing: -.02em;
  font-size: clamp(1.6rem, 5vw, 2.6rem); color: var(--fog) !important;
  display: inline-block; padding: 8px 26px;
  border: 1px solid var(--line); border-radius: 14px; background: rgba(25, 27, 46, .55);
}
.assurances {
  list-style: none; padding: 0; margin: 0 auto; max-width: 30rem;
  display: grid; gap: 7px; width: fit-content; text-align: left;
}
.assurances li { color: var(--muted); font-size: 1rem; }
.assurances li::before { content: "✓"; color: var(--sky); margin-right: .6em; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq { margin-top: 26px; text-align: left; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 16px 34px 16px 2px;
  font-weight: 700; font-size: 1.125rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 6px; top: 50%; translate: 0 -50%;
  color: var(--coral); font-size: 1.2rem; font-weight: 400;
  transition: transform .3s var(--ease-out);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline: 2px solid var(--sky); outline-offset: 2px; border-radius: 6px; }
.faq p { margin: 0 0 18px; color: var(--muted); font-size: 1rem; max-width: none; }

/* ---------- 購入ボタン（RELEASED=true のとき） ---------- */
.cta-slot { display: block; }
.cta-buy { margin: 0 !important; }
.buy-btn {
  display: inline-block; text-decoration: none;
  color: var(--coral-dark); background: var(--coral);
  /* 実測の基準線: 商用のCTAは height を直接指定（padding 任せだと必ず小さくなる） */
  font-weight: 700; font-size: var(--t-body); padding: 0 40px; height: 60px; line-height: 60px; border-radius: 999px;
  box-shadow: 0 6px 30px rgba(255, 95, 109, .42);
  transition: transform .35s var(--ease-gum), box-shadow .35s var(--ease-out);
}
.buy-btn:hover { transform: scaleX(1.05) scaleY(.95); box-shadow: 0 8px 40px rgba(255, 95, 109, .6); }
.buy-btn:active { transform: scale(.95); }
.buy-btn:focus-visible { outline: 2px solid var(--sky); outline-offset: 4px; }
.friction { font-size: var(--t-small) !important; color: var(--muted) !important; margin: 12px auto 0 !important; opacity: .9; }
.method { font-size: var(--t-micro) !important; line-height: 1.8; opacity: .75; margin-top: 6px !important; max-width: 40rem !important; }

/* ---------- 3つの動き ---------- */
#moves { max-width: 64rem; }
.moves-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  margin-top: 34px; text-align: left;
}
.move {
  background: rgba(25, 27, 46, .55);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 22px;
  transition: transform .45s var(--ease-gum), border-color .45s var(--ease-out);
}
.move:hover { transform: translateY(-4px); border-color: rgba(255, 95, 109, .35); }
.move h3 { margin: 16px 0 6px; font-family: var(--font-display); font-weight: 900; font-size: var(--t-h3); line-height: 1.3; }
.move p { font-size: 1rem; margin: 0; max-width: none; }

/* ミニ再現(vignette) */
.vig {
  position: relative; height: 118px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(13, 14, 28, .5), rgba(13, 14, 28, .2));
  border: 1px solid var(--line);
  overflow: hidden;
}
.vig-handle {
  --c: var(--coral);
  position: absolute; top: 14px; left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--c); color: rgba(0, 0, 0, .55);
  font-size: .75rem; font-weight: 700;
  padding: 3px 10px; border-radius: 999px;
  box-shadow: 0 3px 14px color-mix(in srgb, var(--c) 45%, transparent);
}
.vig-handle.small { translate: 0 0; top: 46px; }
.vig-handle i { font-style: normal; font-size: .8em; opacity: .75; }
.vig-gum { position: absolute; top: 26px; left: 50%; translate: -50% 0; width: 120px; height: 44px; }
.vig-win {
  position: absolute; bottom: -22px; left: 50%; translate: -50% 0;
  width: 108px; height: 64px; border-radius: 10px 10px 0 0;
  background: var(--card); border: 2px solid var(--coral);
  box-shadow: 0 -6px 24px rgba(0, 0, 0, .35);
}
.vig-win::before {
  content: ""; position: absolute; top: 6px; left: 8px;
  width: 22px; height: 4px; border-radius: 2px;
  background: linear-gradient(90deg, #ff5f57 0 4px, transparent 4px 9px, #febc2e 9px 13px, transparent 13px 18px, #28c840 18px 22px);
}
.vig-win.ghost { opacity: .35; border-color: var(--sky); border-style: dashed; }
.vig-king {
  position: absolute; top: 12px; left: 50%; translate: -50% 0;
  background: var(--coral); color: #fff;
  font-size: .75rem; font-weight: 800;
  padding: 4px 16px;
  clip-path: polygon(8% 0, 92% 0, 100% 50%, 92% 100%, 8% 100%, 0 50%);
  box-shadow: 0 0 0 2px var(--gold), 0 4px 18px rgba(245, 199, 106, .35);
}

/* ---------- 実機の証拠 ---------- */
.proof-lede { margin-bottom: 8px; }
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin: 30px 0 26px; padding: 0;
}
.stats > div {
  background: rgba(25, 27, 46, .55); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px 10px 16px;
}
.stats dt { font-size: var(--t-small); color: var(--muted); margin-bottom: 4px; }
.stats dd {
  margin: 0; font-family: var(--font-mono); font-weight: 700;
  font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--fog); letter-spacing: -.02em;
}
.stats dd small { font-size: var(--t-small); color: var(--muted); font-weight: 500; }
.demo-frame { margin: 0; }
.demo-placeholder {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  aspect-ratio: 16 / 9; border-radius: var(--radius);
  border: 1px dashed rgba(159, 163, 184, .35);
  background: repeating-linear-gradient(-45deg, rgba(242, 243, 248, .02) 0 12px, transparent 12px 24px);
  color: var(--muted); font-size: 1rem;
}
.rec-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--coral); animation: rec-blink 1.4s ease infinite; }
@keyframes rec-blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.demo-frame figcaption { font-size: var(--t-small); color: var(--muted); margin-top: 10px; }

/* ---------- CTA / フッター ---------- */
#cta { padding-bottom: 20px; }
#cta .waitlist { margin-top: 22px; }
.privacy { font-size: var(--t-small); color: var(--muted); opacity: .8; margin-top: 14px; }

#foot {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  max-width: 64rem; margin: 90px auto 0;
  padding: 26px clamp(20px, 5vw, 32px) 34px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: var(--t-ui);
}
#foot a { color: var(--fog); text-decoration: none; border-bottom: 1px solid var(--coral); padding-bottom: 1px; }
#foot a:hover { color: var(--coral); }

/* ---------- レスポンシブ ---------- */
@media (max-width: 980px) {
  .feat-groups { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .trust-cols { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .steps { grid-template-columns: 1fr; max-width: 34rem; margin-inline: auto; }
  .top-nav { display: none; }
}

@media (max-width: 760px) {
  .moves-grid { grid-template-columns: 1fr; max-width: 26rem; margin-inline: auto; }
  .stats { grid-template-columns: 1fr; max-width: 20rem; margin-inline: auto; }
  .waitlist { display: flex; width: 100%; max-width: 26rem; margin-inline: auto; }
  .waitlist input { flex: 1; width: auto; min-width: 0; }
  .req-list li { grid-template-columns: 1fr; gap: 3px; }
  .req-list .req-n { text-align: left; }
  .stage-reduced { position: static; text-align: left; margin: 10px 14px 12px; max-width: none; }
  .stage-badge { bottom: 10px; left: 10px; font-size: .75rem; padding: 4px 11px; }
  .lang button { padding: 6px 7px; font-size: .75rem; }
  .lang { gap: 2px; padding: 2px; }
  .top { padding: 10px 12px; gap: 8px; }
  /* 2026-09-04 実測（375px）: 屋号 17.6px ＋ 言語6個で 368px ＞ 360px と右へはみ出した。
     屋号は 1rem に戻し（明朝900なら 16px でも看板に見える）、ボタンの左右余白を詰める。 */
  .brand { font-size: 1rem; letter-spacing: .03em; }
  .hero-copy { padding-top: clamp(72px, 12svh, 120px); }
  .price-tag { padding: 8px 20px; }
}

@media (max-width: 380px) {
  .brand { font-size: .95rem; }
  .lang { gap: 1px; }
  .lang button { padding: 6px 6px; font-size: .75rem; }
}

/* 2026-09-04 実測（375px）: eyebrow を文のサイズ（15px）にしたら2行になり、右上の音ボタン（64〜108px）と
   1行目（top 97px）が重なった。コピーの開始をボタンの下（120px〜）へ。
   ⚠ 上の 760px ブロックの `.hero-copy{padding-top}` より**後ろ**に置くこと（同じ強さなので後勝ち。
     最初 560px ブロックの中に書いて効かなかった＝実測 top 97px のまま）。 */
@media (max-width: 560px) {
  .hero-copy { padding-top: clamp(120px, 16svh, 150px); }
}

/* 購入モードの逃げ道リンク（主CTA1つ + 逃げ道1つまで） */
.cta-alt { display: block; margin-top: 12px; color: var(--muted); font-size: var(--t-ui); font-weight: 500; }
.cta-alt:hover { color: var(--fog); }

/* H1: つまみの丸薬と、その直後の節は必ず同じ行に置く（「束」だけ行末に残さない） */
.h1-tail { display: inline-block; white-space: nowrap; }
.h1-tail > span { white-space: nowrap; }


/* ── もう1本（LiveFramePin）＝おまけ節。2026-08-19 Windows 追加 ──────────
   つまみが主役なので、この節は「静かに、しかし手抜きに見えない」濃さで置く。
   動画は最大幅を抑えて主役の実演より大きくしない（視線の順位を守る）。 */
.pin-media{ margin: 28px auto 0; max-width: 760px; }
.pin-media video{ width: 100%; height: auto; display: block; border-radius: 14px;
                  border: 1px solid var(--line, #2a2a2a); background: #000; }
.pin-media figcaption{ margin-top: 10px; font-size: var(--t-small); opacity: .62; text-align: center; }
.pin-facts{ margin: 26px auto 0; max-width: 760px;
            display: grid; grid-template-columns: 1fr; gap: 2px 18px; }
.pin-facts dt{ font-weight: 700; margin-top: 14px; }
.pin-facts dd{ margin: 2px 0 0; opacity: .78; }
.pin-fine{ margin: 22px auto 0; max-width: 760px; font-size: var(--t-small); opacity: .6; }
@media (min-width: 720px){
  .pin-facts{ grid-template-columns: max-content 1fr; }
  .pin-facts dt{ margin-top: 10px; }
  .pin-facts dd{ margin-top: 10px; }
}

/* ── フッターの法務リンク（販売LPでは必須）。2026-08-19 Windows 追加 ── */
.foot-legal{ display:flex; flex-wrap:wrap; gap:4px 18px; justify-content:center; margin:10px 0; }
/* ⚠ 2026-08-20 の実測: 法務リンク5本の**タップ高が23px**しかなく、Apple の 44pt 推奨を下回っていた。
   特商法表記や返金が押しにくいのは体裁でなく実害寄りなので、当たり判定を上下に広げる。
   ⛔ `border-bottom` のまま padding を足すと**下線だけが文字から10px離れて浮く**（6言語すべてで崩れる）。
   下線は文字に追従する `text-decoration` に替えてから広げること。 */
/* ⛔ セレクタは `#foot .foot-legal a`。`.foot-legal a` だけだと **`#foot a`（ID指定）の方が強く**、
   `padding-bottom:1px` と `border-bottom` が生き残って「下線が二重・高さも伸びない」になる。
   実際に一度そうなった（padding を 15px にしても実測 35px のままだった）。 */
#foot .foot-legal a{
  font-size:var(--t-ui); opacity:.72;
  display:inline-block;
  padding:15px 8px;
  min-width:44px;      /* 「返金」のように短い語だけ幅 42px で基準を割っていた */
  text-align:center;
  line-height:1.2;
  border-bottom:0;
  text-decoration:underline;
  text-decoration-color:var(--coral);
  text-underline-offset:3px;
}

/* ── 色パレット（実演で色を塗り替える）。2026-08-19 Windows 追加 ────────── */
.palette{ display:flex; flex-wrap:wrap; align-items:center; gap:10px;
          margin:16px auto 0; max-width:960px; }
.palette-label{ font-size:var(--t-ui); opacity:.7; }
.palette .sw{ border:1px solid rgba(255,255,255,.16); background:transparent; color:inherit;
              border-radius:999px; padding:7px 14px 7px 30px; position:relative;
              font:inherit; font-size:var(--t-ui); cursor:pointer; }
.palette .sw::before{ content:''; position:absolute; left:10px; top:50%; translate:0 -50%;
                      width:13px; height:13px; border-radius:50%; }
.palette .sw-coral::before{ background:var(--coral,#ff5f6d); }
.palette .sw-sky::before{ background:var(--sky,#58a6ff); }
.palette .sw-gold::before{ background:var(--gold,#f5c76a); }
.palette .sw-off::before{ background:transparent; border:1px solid rgba(255,255,255,.35); }
.palette .sw[aria-pressed="true"]{ border-color:currentColor; background:rgba(255,255,255,.08); }
.palette-hint{ flex:1 1 100%; font-size:var(--t-small); opacity:.55; }
#stage-canvas.painting{ cursor:crosshair; }

/* ── LiveFramePin 節（2本目の製品として見せる）。2026-08-19 Windows 追加 ──────
   つまみが主役なので**主役より大きくしない**が、「おまけ」に見える薄さにもしない。
   ＝1カラムの帯を2本（Source Pin / OBS）＋小さめの3枚組。 */
.pin-hero{ display:grid; gap:22px; align-items:center; margin:44px auto 0; max-width:1040px; }
.pin-hero figure{ margin:0; }
.pin-hero video{ width:100%; height:auto; display:block; border-radius:14px;
                 border:1px solid rgba(255,255,255,.10); background:#000; }
.pin-tag{ font-family:var(--font-mono); font-size:var(--t-micro); letter-spacing:.14em; text-transform:uppercase;
          color:var(--sky,#58a6ff); margin:0 0 6px; }
.pin-hero-copy h3{ margin:0 0 10px; font-family:var(--font-display); font-weight:900; font-size:1.6rem; line-height:1.3; }
.pin-hero-copy p{ margin:0 0 10px; opacity:.82; }
.pin-note{ font-size:1rem; opacity:.62 !important; }
.pin-note kbd{ font:inherit; border:1px solid rgba(255,255,255,.22); border-radius:5px;
               padding:1px 6px; opacity:.9; }
.pin-list{ margin:10px 0 0; padding-left:1.1em; opacity:.78; }
.pin-list li{ margin:5px 0; }
.pin-grid{ display:grid; gap:18px; margin:44px auto 0; max-width:1040px; }
.pin-grid figure{ margin:0; }
.pin-grid video{ width:100%; height:auto; display:block; border-radius:12px;
                 border:1px solid rgba(255,255,255,.10); background:#000; }
.pin-grid figcaption{ margin-top:10px; font-size:var(--t-small); opacity:.72; }
.pin-grid figcaption b{ display:block; opacity:1; margin-bottom:3px; }
.pin-uses{ margin:36px auto 0; max-width:820px; text-align:center; opacity:.76; }
.pin-limits{ margin:30px auto 0; max-width:820px; border:1px solid rgba(255,255,255,.12);
             border-radius:12px; padding:14px 18px; }
.pin-limits summary{ cursor:pointer; font-size:1rem; opacity:.8; }
.pin-limits ul{ margin:12px 0 2px; padding-left:1.1em; font-size:1rem; opacity:.72; }
.pin-limits li{ margin:7px 0; }
@media (min-width: 860px){
  .pin-hero{ grid-template-columns: 0.9fr 1.1fr; gap:34px; }
  .pin-hero.reverse .pin-hero-copy{ order:2; }
  .pin-grid{ grid-template-columns: repeat(3, 1fr); }
}

/* LFP 詳細ページへの導線（2026-08-19）。購入は Sightkeep 側のまま＝ここは"読み物"への入口。 */
.pin-more{ margin:26px auto 0; max-width:1040px; text-align:right; font-size:var(--t-ui); }
.pin-more a{ opacity:.85; }
