/* ==========================================================================
   Argent — 製品ページ固有の見た目 (2026-11-24 に作り直し、TASK M-16)
   --------------------------------------------------------------------------
   土台は /assets/site.css、chrome は /assets/house.css。差し色は名前 (argent = 銀) から冷たい銀。
   節: hero (ネガ ↔ ポジのスライダー) → NEUTRAL (スクロールで進む 3 段) → ROLL (同じ 1 本の 4 コマ) → AUTO CROP → COLOR (カラーグレーディング → プリセットの作例)
   → WORKFLOW (3 歩) → PRICING (価格・試用と購入。2026-11-27 の発売までは LAUNCH = お知らせ登録。user 2026-11-25 に ENGINE の前へ) → ENGINE (反転の流れ図と 5 枚のカード) → DETAILS → FAQ。
   写真は見せる大きさで置く (ペルソナ評価 2026-11-04 の 04: 飾りの大きさにしない)。
   ネガとポジの絵は大きく出す (user 2026-11-24)。出し方は節ごとに変える (user 2026-11-25)。
   ========================================================================== */

:root {
  --accent: #c9d0da;
  --accent-soft: rgba(201, 208, 218, 0.12);
  /* 薄い字 (キャプション・札・フォームのラベル)。house.css の #6a645a は地に 3.4:1 で、操作の説明 (長押しでネガ) が読みにくい (レビュー 2026-11-25)。
     Argent だけ 4.5:1 以上 (地 5.3・panel 5.2・panel-2 4.7) に上げる */
  --faint: #8a8377;
}
/* 動きを減らす設定ではページ内のリンクも飛ぶだけにする。貼り付いた header の下にフォーカスが隠れないよう上を空ける */
html { scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
/* header のガラスは下を通る写真の色を濃くする (saturate)。「余計な色を足さない」ページなので Argent では外す */
.site-header { -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); background: rgba(11, 10, 8, 0.72); }

a { color: var(--accent); }
a:hover { color: #eef2f7; }
.hero::before {
  background:
    radial-gradient(760px 420px at 70% 20%, rgba(201, 208, 218, 0.07), transparent 70%),
    radial-gradient(600px 400px at 10% 90%, rgba(201, 208, 218, 0.03), transparent 70%);
}
.wordmark svg { color: var(--accent); }
.btn-solid { color: #14171b; }
.btn-solid small { color: #3c434d; }
h2 { font-size: clamp(30px, 4.2vw, 44px); }
body.lang-ja h2 { font-size: clamp(26px, 3.4vw, 36px); line-height: 1.35; text-wrap: balance; } /* 「傾き。」だけが 2 行目に残るのを避ける */

/* 節の札 (英語の大文字のまま。JA でも札は英語で、意味は日本語の見出しが運ぶ) */
.label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; color: var(--faint); margin: 0 0 14px; }
.sec-body { color: var(--dim); font-size: 16.5px; max-width: 62ch; margin-top: 18px; text-wrap: pretty; }
body.lang-ja .sec-body { font-size: 16px; }
.cap { font-size: 12.5px; color: var(--faint); margin-top: 10px; line-height: 1.6; }

/* ---------- hero: 左に文、右に絵。絵は画面の右の端まで (3 案から A、user 2026-11-25) ---------- */
.hero { padding: 88px 0 96px; border-bottom: 1px solid var(--line); }
.hero .shell { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 56px; align-items: center; } /* 5:7 では EN の見出しが 5 行に割れ、登録の欄が最初の画面から落ちた (レビュー 2026-11-25) */
.hero h1 { font-size: clamp(36px, 3.9vw, 54px); line-height: 1.08; }
body.lang-ja .hero h1 { font-size: clamp(30px, 3.8vw, 48px); max-width: 100%; line-height: 1.3; }
.hero .lede { color: var(--dim); font-size: 17.5px; max-width: 560px; margin-top: 24px; text-wrap: pretty; }
.hero .hero-cta { margin-top: 32px; }
.hero .hero-cta .btn-lg { min-width: 0; } /* 2 つのボタンを hero の文の幅で 1 行に (200px の下限では割れた) */
@media (max-width: 640px) { .hero .hero-cta .btn-lg { flex: 1 1 100%; } } /* 縦に積むときは幅を揃える */
.hero .hero-cta .field-note { margin-top: 14px; max-width: 560px; }
/* 画面の端まで伸ばす量 (shell は border-box、左右の余白 28px) */
.hero .compare { margin-right: calc(-1 * max(28px, calc((100vw - var(--shell)) / 2 + 28px))); }
.hero .compare-frame { border-radius: 10px 0 0 10px; aspect-ratio: 4 / 3; max-height: min(80vh, 880px); } /* 2000px を超える幅で絵が画面の下にはみ出さない */
/* 出てくる動きは位置だけ。opacity を 0 から上げると、LCP の候補から hero の絵と見出しが外れる (レビュー 2026-11-25) */
@keyframes hero-rise { from { transform: translateY(10px); } to { transform: none; } }
.hero .hero-in { animation-name: hero-rise; }
@media (prefers-reduced-motion: reduce) { .hero .hero-in { animation: none; } }
.hero .compare-frame img { height: 100%; object-fit: cover; }
@media (max-width: 960px) {
  /* 1 列では絵を見出しのすぐ下に (スマホの最初の画面に写真が無かった。レビュー 2026-11-25)。文の箱を解いて並びを替える */
  .hero .shell { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero .hero-copy { display: contents; }
  .hero-copy > .chip-row { order: 0; }
  .hero-copy > .lang-block:has(> h1) { order: 1; }
  .hero .compare { order: 2; margin-top: 28px; }
  .hero-copy > .lang-block:has(> .lede) { order: 3; }
  .hero-copy > .hero-cta { order: 4; }
  .hero .compare { margin-inline: -28px; }
  .hero .compare-frame { border-radius: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 640px) { .hero .compare { margin-inline: -20px; } } /* site.css の .shell の余白 */
/* 1 列では幅いっぱいが正。80vh の上限が残ると、横向きのスマホ (844×390) で高さに合わせて幅が 468px に縮み右が空いた (QA 2026-11-25) */
@media (max-width: 960px) { .hero .compare-frame { max-height: none; } }

/* ---------- ネガ ↔ ポジのスライダー ----------
   下にポジ、上にネガを重ね、ネガを左から range の値まで見せる (clip-path)。
   range は枠いっぱいに透明で重ねるので、キーボードと支援技術でも動かせる */
.compare { margin: 0; }
.compare-frame { position: relative; border-radius: 10px; overflow: hidden; background: var(--panel); box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line); }
.compare-frame img { display: block; width: 100%; height: auto; }
.compare-over { position: absolute; inset: 0; clip-path: inset(0 50% 0 0); }
.compare-over img { width: 100%; height: 100%; object-fit: cover; }
.compare-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; margin-left: -1px; background: var(--accent); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; background: var(--accent); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5); }
.compare-handle span::before { content: "◂ ▸"; font-size: 10px; color: #14171b; letter-spacing: 1px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + .compare-handle span { outline: 2px solid #eef2f7; outline-offset: 3px; }
.compare-tags { position: absolute; left: 12px; right: 12px; top: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.compare-tags span { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: #eef2f7; background: rgba(11, 10, 8, 0.6); padding: 4px 8px; border-radius: 4px; }

/* ---------- 絵の出し方 (節ごとに違う動き。user 2026-11-25「切り替え系の UI がワンパターン」) ----------
   hero = スライダー、NEUTRAL = スクロールで進む 3 段、ROLL = 画面に入ると順にポジへ・触れるとネガ、COLOR = アプリと同じ棚。動きは argent.js */
.shot { margin: 48px 0 0; }
.shot img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }

/* NEUTRAL: 左の段が真ん中に来ると、右に貼り付いた絵が替わる */
.scrolly { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 48px; margin-top: 24px; }
.scrolly-steps { display: grid; }
.scrolly-step { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 64vh; padding: 0 0 0 22px; font: inherit; text-align: left; color: var(--faint); background: none; border: 0; border-left: 1px solid var(--line); cursor: pointer; transition: color 0.3s, border-color 0.3s; }
.scrolly-step .no { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; }
.scrolly-step .t { font-size: 21px; line-height: 1.4; font-weight: 600; }
.scrolly-step.is-on { color: var(--ink); border-left-color: var(--accent); }
.scrolly-step.is-on .no { color: var(--accent); }
.scrolly-step:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.scrolly-stage { position: sticky; top: calc(50vh - 16vw); align-self: start; margin: 4vh 0 0; display: grid; }
/* 1 段目は上に寄せ、節に入ってすぐ絵と札が並ぶように (縦線だけの空きが 300px あった。レビュー 2026-11-25) */
.scrolly-step:first-child { justify-content: flex-start; padding-top: 4vh; }
/* 今の段の札を絵に重ねる。1 列では段の字が貼り付いた絵の下に隠れるので、こちらで見せる (argent.js が字を入れる) */
.scrolly-tag { display: none; position: absolute; left: 12px; top: 12px; margin: 0; z-index: 1; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: #eef2f7; background: rgba(11, 10, 8, 0.6); padding: 4px 8px; border-radius: 4px; pointer-events: none; }
.scrolly-stage img { grid-area: 1 / 1; display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--line); opacity: 0; transition: opacity 0.5s var(--ease-out); }
.scrolly-stage img.is-on { opacity: 1; }
/* JS が無い (または読めない) ときは 3 枚を縦に並べて全部見せる。切り替えは argent.js が is-live を付けてから */
.scrolly:not(.is-live) { grid-template-columns: minmax(0, 1fr); }
.scrolly:not(.is-live) .scrolly-steps { display: none; }
.scrolly:not(.is-live) .scrolly-stage { position: static; margin: 0; gap: 16px; }
.scrolly:not(.is-live) .scrolly-stage img { grid-area: auto; opacity: 1; }
@media (max-width: 900px) {
  .scrolly { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .scrolly-stage { order: -1; top: 64px; margin: 0; z-index: 2; }
  .scrolly-step, .scrolly-step:first-child { min-height: 36vh; padding-top: 0; justify-content: center; }
  .scrolly.is-live .scrolly-tag { display: block; }
}
/* 横向きのスマホ (幅はあるが背が低い) では、1 列だと貼り付く絵が画面より高くなり段の字が隠れた (QA 2026-11-25)。
   デスクトップと同じ 2 列に戻し、絵の幅を画面の高さに収まる分にする (絵は 3:2) */
@media (min-width: 641px) and (max-width: 900px) and (max-height: 640px) {
  .scrolly.is-live { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 24px; }
  .scrolly.is-live .scrolly-stage { order: 0; top: 72px; margin: 0; width: min(100%, calc((100svh - 88px) * 1.5)); }
  .scrolly.is-live .scrolly-step, .scrolly.is-live .scrolly-step:first-child { min-height: 70svh; }
  .scrolly.is-live .scrolly-step .t { font-size: 17px; }
  .scrolly.is-live .scrolly-tag { display: none; }
}

/* ROLL: 同じ 1 本の 4 コマを 2×2。画面に入るとネガから順にポジへ、触れている間はそのコマのネガ */
.roll-peek { margin: 48px 0 0; }
.roll-quad { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.peek { position: relative; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); cursor: crosshair; outline: none; -webkit-touch-callout: none; user-select: none; }
.peek img { display: block; width: 100%; height: auto; -webkit-user-drag: none; }
.peek-neg { position: absolute; inset: 0; height: 100% !important; object-fit: cover; opacity: 0; transition: opacity 0.3s var(--ease-out); }
.peek[aria-pressed="true"] .peek-neg, .peek.is-held .peek-neg { opacity: 1; }
@media (hover: hover) { .peek:hover .peek-neg { opacity: 1; } } /* タップの後に :hover が残ってネガのままにならないよう、マウスだけ (QA 2026-11-25) */
.peek:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.roll-peek[data-peek="wait"] .peek-neg { opacity: 1; }
.roll-peek[data-peek="play"] .peek-neg { transition: opacity 0.9s var(--ease-out) calc(var(--d) * 240ms); }
.peek-no { position: absolute; left: 10px; bottom: 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: #eef2f7; background: rgba(11, 10, 8, 0.55); padding: 2px 6px; border-radius: 3px; pointer-events: none; }
@media (max-width: 640px) { .roll-quad { gap: 6px; } }
@media (prefers-reduced-motion: reduce) { .peek-neg, .roll-peek[data-peek="play"] .peek-neg, .scrolly-stage img { transition: none; } }

/* COLOR のプリセット: 大きい絵 + 同じコマのサムネの棚 (アプリの棚と同じ形) */
.shelf { display: grid; gap: 14px; margin: 40px 0 0; }
.switch-stage { display: grid; }
.switch-stage > * { grid-area: 1 / 1; } /* 重ねて置き、見えている 1 枚が高さを決める */
.switch-stage > [hidden] { display: none; }
.switch-stage img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 0 0 1px var(--line); }
.shelf-row { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.shelf-row button { display: grid; gap: 8px; padding: 0; font: inherit; font-size: 12.5px; text-align: left; color: var(--faint); background: none; border: 0; cursor: pointer; }
.shelf-row img { display: block; width: 100%; height: auto; border-radius: 4px; box-shadow: 0 0 0 1px var(--line); opacity: 0.6; transition: opacity 0.2s, box-shadow 0.2s; }
.shelf-row button:hover img { opacity: 0.9; }
.shelf-row button[aria-selected="true"] { color: var(--ink); }
.shelf-row button[aria-selected="true"] img { opacity: 1; box-shadow: 0 0 0 2px var(--accent); }
.shelf-row button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
@media (max-width: 640px) { .shelf-row { grid-template-columns: repeat(5, minmax(92px, 1fr)); overflow-x: auto; padding: 2px 2px 6px; } }

/* ---------- COLOR ---------- */
.sub-head { font-size: 22px; margin: 72px 0 0; }

/* ---------- WORKFLOW: 3 歩 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 40px; }
.step-card { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.step-card .no { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--faint); }
.step-card h3 { font-size: 19px; }
.step-card p { color: var(--dim); font-size: 15px; }
.step-card img { display: block; width: 100%; height: auto; border-radius: 8px; box-shadow: 0 0 0 1px var(--line); }
@media (max-width: 900px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- details (spec list) ---------- */
.spec-list { list-style: none; margin: 30px 0 0; padding: 0; border-top: 1px solid var(--line); }
.spec-list li { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.spec-list .k { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
body.lang-ja .spec-list .k { font-family: inherit; font-size: 13px; letter-spacing: 0; text-transform: none; }
.spec-list .v { color: var(--dim); text-wrap: pretty; } /* 最後の行に「適用。」だけが残らないように */
@media (max-width: 640px) { .spec-list li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------- PRICING (2026-11-27 に LAUNCH から差し替えた。形は easel の .price-card、発売記念の出し方は loupe の .price-launch-*) ---------- */
.price-card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 44px 40px; margin-top: 30px; }
.price-top { text-align: center; margin-bottom: 30px; }
.price-amount { display: flex; align-items: baseline; justify-content: center; gap: 12px; flex-wrap: wrap; }
.price-amount .mono { font-size: 56px; font-weight: 600; color: var(--ink); letter-spacing: -0.02em; }
.price-once { color: var(--dim); font-size: 15px; }
.price-launch-tag { display: inline-block; font-size: 11px; letter-spacing: 0.12em; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: var(--accent-soft); border-radius: 999px; padding: 4px 10px; margin-bottom: 14px; }
html.argent-launch-on .price-amount .price-regular { font-size: 24px; font-weight: 400; color: var(--faint); text-decoration: line-through; }
.price-launch { color: var(--dim); font-size: 14px; margin: 14px auto 0; max-width: 520px; text-wrap: pretty; }
.price-card .field-note.price-note { margin-top: 10px; }
.launch-terms { list-style: none; margin: 0 auto; padding: 0; display: grid; gap: 12px; max-width: 560px; }
.launch-terms li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; color: var(--dim); }
/* 頭の記号は本文の頭と同じ字になって重なって読めた (レビュー 2026-11-25) ので、銀の点にする */
.launch-terms .mono { flex: none; width: 6px; height: 6px; margin-top: 11px; border-radius: 50%; background: var(--accent); font-size: 0; }
.price-card .cta-row { margin-top: 34px; }
.price-alt { text-align: center; color: var(--faint); font-size: 12px; letter-spacing: 0.04em; margin-top: 26px; text-wrap: pretty; }
html.argent-launch-on .chip-was { text-decoration: line-through; opacity: 0.6; }
/* 発売記念の帯 (site.css の .launch-bar は屋号の琥珀)。Argent のページは差し色の銀 */
.launch-bar { color: var(--accent); background: var(--accent-soft); border-bottom-color: color-mix(in srgb, var(--accent) 25%, transparent); }
@media (max-width: 640px) { .price-card { padding: 30px 22px; } .price-amount .mono { font-size: 46px; } }

/* ---------- FAQ ---------- */
.faq-list { margin-top: 30px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 20px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--font-mono); color: var(--faint); flex: none; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list .a { padding: 0 0 22px; color: var(--dim); font-size: 15px; max-width: 70ch; }

/* ---------- 作り手の 1 行 ---------- */
.maker-line { padding: 48px 0; color: var(--dim); font-size: 15px; border-bottom: 1px solid var(--line); }

/* ナビは 5 項目あるので、言語と Notify me と並ぶと 900px 以下で入りきらない (641〜759 で Notify me がはみ出し横スクロール、768 で「日本語」が切れた。QA 2026-11-25) */
@media (max-width: 900px) {
  .header-nav { display: none; }
  .header-actions { margin-left: auto; }
}
.lang-switch :is(button, a) { white-space: nowrap; }
@media (max-width: 640px) {
  .header-actions .btn { display: none; }
}

/* ---------- AUTO CROP: 本文 + 3 点 + 切り抜きのモードの画面 ---------- */
.point-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.point-list li { border-top: 1px solid var(--line); padding-top: 16px; color: var(--dim); font-size: 15px; }
.point-list .no { display: block; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--faint); margin-bottom: 8px; }
@media (max-width: 900px) { .point-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- ENGINE: 流れ図 + 5 枚のカード (user 2026-11-25「文字文字しい感じを無くしたい、フロー図」) ----------
   図に描くのは持ち場の順 (反転 → 基本補正 → ルック) と「1 本で 1 回 / コマごと」の分け方まで。1 本で測る 2 つは横に並べて順番に見せない */
.flow { display: grid; grid-template-columns: minmax(0, 2.2fr) 44px minmax(0, 5fr) 44px minmax(0, 2.2fr); align-items: center; margin-top: 56px; }
.fl-col { display: grid; gap: 14px; }
.fl-node { position: relative; display: grid; gap: 5px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.fl-node b { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.35; }
.fl-meta { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; color: var(--faint); }
.fl-n { position: absolute; top: -9px; right: 12px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: #14171b; background: var(--accent); border-radius: 999px; padding: 2px 7px; }
.fl-opt, .fl-fix { border-style: dashed; background: transparent; }
.fl-arrow { display: flex; justify-content: center; }
.fl-arrow svg { width: 100%; height: 12px; fill: none; stroke: var(--faint); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fl-engine { position: relative; display: grid; gap: 22px; padding: 32px 22px 22px; border: 1px solid rgba(201, 208, 218, 0.35); border-radius: 16px; background: linear-gradient(180deg, rgba(201, 208, 218, 0.06), rgba(201, 208, 218, 0) 70%); }
.fl-tag { position: absolute; top: -10px; left: 18px; display: flex; align-items: center; gap: 8px; padding: 0 8px; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.2em; color: var(--accent); background: var(--bg-alt); }
.fl-tag .fl-n { position: static; }
.fl-lane { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.fl-lane-k { grid-column: 1 / -1; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.2em; color: var(--faint); }
/* JA の札は本文の書体で (等幅の英字の字間のままだと和字が間延びする) */
body.lang-ja :is(.fl-meta, .fl-lane-k, .fl-tag, .cardfig text) { font-family: inherit; letter-spacing: 0.04em; }
.fl-pair { display: contents; }
.fl-lane + .fl-lane { padding-top: 20px; border-top: 1px dashed var(--line); }
@media (max-width: 900px) {
  .flow { grid-template-columns: minmax(0, 1fr); }
  .fl-arrow { height: 40px; align-items: center; }
  .fl-arrow svg { width: 40px; transform: rotate(90deg); }
}

.engine-cards { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 56px 0 0; padding: 0; }
.engine-cards li { display: grid; gap: 12px; align-content: start; padding: 24px 24px 26px; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; }
.engine-cards li.wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); column-gap: 40px; }
.engine-cards li.wide > :not(.xover-wrap) { grid-column: 1; }
.engine-cards .xover-wrap { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.engine-cards .no { display: inline-block; margin-bottom: 8px; font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.06em; color: #14171b; background: var(--accent); border-radius: 999px; padding: 2px 7px; }
.engine-cards h3 { font-size: 18px; line-height: 1.4; text-wrap: balance; }
.engine-cards p { color: var(--dim); font-size: 15px; }
.xover { display: block; width: 100%; height: auto; }
.xover .ax path { fill: none; stroke: rgba(235, 230, 220, 0.25); stroke-width: 1.2; }
.xover .ln path { fill: none; stroke-width: 2.4; stroke-linecap: round; }
.xover .r { stroke: #d98a8a; }
.xover .g { stroke: #8fc79a; }
.xover .b { stroke: #8aa8d9; }
.xover text { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; fill: var(--faint); }
@media (max-width: 760px) {
  .engine-cards { grid-template-columns: minmax(0, 1fr); }
  .engine-cards li.wide { grid-template-columns: minmax(0, 1fr); }
  .engine-cards .xover-wrap { grid-column: 1; grid-row: auto; }
}
.engine-note { margin-top: 24px; }

/* ENGINE のカードの模式図 (user 2026-11-25「図が 1 個しかないから寂しい」)。どれも教科書の図か画面の操作で、測り方・順番は描かない */
.cardfig-wrap { margin-bottom: 6px; }
.cardfig { display: block; width: 100%; height: auto; max-height: 96px; overflow: visible; }
.cardfig text, .xover text { font-family: var(--font-mono); font-size: 8.5px; letter-spacing: 0.14em; fill: var(--faint); }
.cardfig .hit rect { fill: none; stroke: var(--accent); stroke-width: 1.4; stroke-dasharray: 3 2; }
.cardfig .miss { stroke: #d9a54a; stroke-width: 1.6; }
.cardfig .mark { fill: #d9a54a; }
.cardfig .drop rect, .cardfig .drop path { fill: var(--ink); }

/* AUTO CROP: 切る前の全面 → 切り抜き枠 (傾いて浮かぶ) → Auto Crop の後。触れている間は切る前 (動きは argent.js) */
.crop-demo { margin: 48px 0 0; }
.cd-stage { position: relative; overflow: hidden; aspect-ratio: 3 / 2; border-radius: 6px; background: #000; box-shadow: 0 0 0 1px var(--line); outline: none; cursor: crosshair; -webkit-touch-callout: none; user-select: none; }
.cd-stage:focus-visible { box-shadow: 0 0 0 2px var(--accent); }
.cd-before, .cd-after { display: block; width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; }
.cd-box { position: absolute; left: 0; top: 0; width: 100%; height: 100%; outline: 2px solid transparent; box-shadow: 0 0 0 200vmax rgba(11, 10, 8, 0); transition: left 0.9s var(--ease-out), top 0.9s var(--ease-out), width 0.9s var(--ease-out), height 0.9s var(--ease-out), transform 0.9s var(--ease-out), box-shadow 0.5s, outline-color 0.5s, opacity 0.3s; }
.cd-after { transition: opacity 0.6s var(--ease-out); }
.crop-demo[data-cropdemo="wait"] .cd-box { opacity: 0; }
.crop-demo[data-cropdemo="wait"] .cd-after, .crop-demo[data-cropdemo="frame"] .cd-after { opacity: 0; }
.crop-demo[data-cropdemo="frame"] .cd-box { left: var(--l); top: var(--t); width: var(--w); height: var(--h); transform: rotate(var(--tilt)); outline-color: var(--accent); box-shadow: 0 0 0 200vmax rgba(11, 10, 8, 0.7); }
.cd-stage[aria-pressed="true"] .cd-box, .cd-stage.is-held .cd-box { opacity: 0; }
@media (hover: hover) { .cd-stage:hover .cd-box { opacity: 0; } }
.cd-tag { position: absolute; left: 12px; top: 12px; margin: 0; font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.14em; color: #eef2f7; background: rgba(11, 10, 8, 0.6); padding: 4px 8px; border-radius: 4px; pointer-events: none; }
.cd-t-scan { display: none; }
.crop-demo[data-cropdemo="wait"] .cd-t-scan, .crop-demo[data-cropdemo="frame"] .cd-t-scan, .cd-stage[aria-pressed="true"] .cd-t-scan, .cd-stage.is-held .cd-t-scan { display: inline; }
.crop-demo[data-cropdemo="wait"] .cd-t-crop, .crop-demo[data-cropdemo="frame"] .cd-t-crop, .cd-stage[aria-pressed="true"] .cd-t-crop, .cd-stage.is-held .cd-t-crop { display: none; }
@media (hover: hover) { .cd-stage:hover .cd-t-scan { display: inline; } .cd-stage:hover .cd-t-crop { display: none; } }
/* 画像が読めないとき、重ねた方の代わりの文字が下の文字と重なって読めなくなる */
.compare-over img, .cd-box .cd-after { color: transparent; }
@media (prefers-reduced-motion: reduce) { .cd-box, .cd-after { transition: none; } }

/* FAQ の下の、関係するガイドへの 1 行 (内部リンク。TASK M-37) */
.faq-guide { margin: 22px 0 0; font-size: 14px; color: var(--dim); }
.faq-guide a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- handoff: スマホ・タブレットで来た人に、Mac で開くリンクをメールで送る (index.html の #send-to-mac、/assets/handoff.js) ----------
   Loupe の style.css の「handoff」と同じ判定と組み方 (2026-11-28)。Mac のアプリは指で操作する端末ではダウンロードしても使えないので、
   そこではダウンロードのボタンを隠してフォームを出す。判定は hover: none かつ pointer: coarse (iPhone・iPad・Android)。
   隠すのは form のある LP (body.handoff-page) だけ。thanks.html は購入した人がダウンロードする所なので、指の端末でもボタンを残す */
.handoff, .handoff-link { display: none; }
@media (hover: none) and (pointer: coarse) {
  .handoff-page [data-download] { display: none !important; }
  .handoff { display: block; }
  .handoff-link { display: inline-flex; }
}
.handoff { margin-bottom: 14px; max-width: 560px; }
.handoff-lead { display: block; color: var(--ink); font-size: 15px; line-height: 1.7; margin-bottom: 12px; }
.handoff-row { display: flex; flex-direction: column; gap: 10px; }
.handoff-row .btn { width: 100%; }
.handoff-input {
  height: 50px; padding: 0 14px; border-radius: 8px; border: 1px solid rgba(236, 232, 224, 0.22);
  background: var(--panel); color: var(--ink); font: inherit; font-size: 16px; min-width: 0; width: 100%;
}
.handoff-input::placeholder { color: var(--faint); }
.handoff-input:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
.handoff-note { color: var(--dim); font-size: 12.5px; line-height: 1.7; margin-top: 10px; }
.handoff-status:empty { display: none; }
.handoff-status { color: var(--ink); font-size: 14px; line-height: 1.7; margin-top: 8px; }
.handoff[data-handoff-state="sent"] .handoff-status { color: var(--ok); }
.handoff[data-handoff-state="failed"] .handoff-status { color: var(--bad); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
