/* FletchShot LP — デザイントークン
   世界観: スクリーンショット撮影オーバーレイ。ページ自体が「注釈されたスクショ」。
   ピンクは Skitch 2.9 実機採寸の確定値 sRGB #FF2E6C（2026-07-06）。
   ダーク面は同系の明度違い。 */

:root {
  --bg: #f6f6f8;
  --ink: #17161b;
  --muted: #5f5a66;
  --card: #ffffff;
  --line: #e4e1e9;
  --pink: #ff2e6c;
  --pink-soft: rgba(255, 46, 108, 0.10);
  --dim: rgba(23, 22, 27, 0.045);
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14121a;
    --ink: #f3f0f6;
    --muted: #a49bae;
    --card: #1d1a24;
    --line: #2c2836;
    --pink: #ff5c8c;
    --pink-soft: rgba(255, 92, 140, 0.12);
    --dim: rgba(243, 240, 246, 0.05);
  }
}
:root[data-theme="dark"] {
  --bg: #14121a;
  --ink: #f3f0f6;
  --muted: #a49bae;
  --card: #1d1a24;
  --line: #2c2836;
  --pink: #ff5c8c;
  --pink-soft: rgba(255, 92, 140, 0.12);
  --dim: rgba(243, 240, 246, 0.05);
}
:root[data-theme="light"] {
  --bg: #f6f6f8;
  --ink: #17161b;
  --muted: #5f5a66;
  --card: #ffffff;
  --line: #e4e1e9;
  --pink: #ff2e6c;
  --pink-soft: rgba(255, 46, 108, 0.10);
  --dim: rgba(23, 22, 27, 0.045);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

body {
  /* 製品と同じくmacOSネイティブの書体で組む（それ自体が表明） */
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Hiragino Sans", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.mono {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, monospace;
  font-feature-settings: "tnum";
}

a { color: var(--pink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration: none; }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: 820px; margin: 0 auto; padding: 0 24px; }

/* ─── ヘッダ ─── */
header.site {
  display: flex; justify-content: space-between; align-items: center;
  max-width: 1200px; margin: 0 auto; padding: 20px 24px;
}
.wordmark {
  font-weight: 800; letter-spacing: -0.02em; font-size: 1.05rem;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
}
.wordmark svg { display: block; }
.nav { display: flex; align-items: center; gap: 20px; }
.nav .navlink {
  font-size: 0.88rem; color: var(--muted); text-decoration: none;
}
.nav .navlink:hover { color: var(--ink); }
.nav .navcta {
  font-size: 0.88rem; font-weight: 650; color: #fff; text-decoration: none;
  background: var(--pink); padding: 8px 16px; border-radius: 7px;
}
.nav .navcta:hover { filter: brightness(1.07); }
@media (max-width: 680px) { .nav .navlink { display: none; } }
.lang { font-size: 0.85rem; color: var(--muted); }
.lang a { color: var(--muted); }
.lang strong { color: var(--ink); font-weight: 600; }

/* ─── ヒーロー ─── */
.hero { position: relative; padding: 9vh 0 96px; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-shot .media { margin-top: 0; }
@media (min-width: 1020px) {
  .hero-grid { grid-template-columns: 11fr 9fr; gap: 56px; }
}
@media (max-width: 1019px) {
  .hero-shot { max-width: 640px; }
}
#arrowCanvas {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 2;
}
.eyebrow {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--muted); margin-bottom: 20px;
}
html[lang="ja"] .eyebrow { text-transform: none; letter-spacing: 0.08em; font-size: 0.82rem; }
h1 {
  font-size: clamp(2.5rem, 7.2vw, 4.4rem);
  line-height: 1.06; letter-spacing: -0.03em; font-weight: 800;
  text-wrap: balance;
}
html[lang="ja"] h1 { line-height: 1.22; letter-spacing: -0.01em; font-size: clamp(2.1rem, 6vw, 3.6rem); }
h1 .accent { color: var(--pink); }
.hero .sub {
  margin-top: 28px; font-size: 1.06rem; color: var(--muted); max-width: 34em;
}
.hero .sub strong { color: var(--ink); font-weight: 600; }

/* 選択範囲フレーム演出（装飾のみ。CTAとは重ねない——撮影オーバーレイの世界観の記号として残す） */
.capture-decor {
  position: relative; margin-top: 64px; max-width: 480px; height: 168px;
  border: 1.5px solid var(--pink);
  background: var(--card);
  box-shadow: 0 0 0 9999px var(--dim);
}
.capture-decor .handle, .media .handle {
  position: absolute; width: 7px; height: 7px;
  background: var(--card); border: 1.5px solid var(--pink);
  z-index: 1;
}
.capture-decor .readout {
  position: absolute; top: -26px; right: -1.5px;
  font-size: 0.72rem; color: var(--pink);
  background: var(--bg); padding: 1px 7px;
  border: 1px solid var(--line);
}

/* Mac App Store CTA（自前デザイン。公式バッジではない。data-store 属性でJSがhrefを注入し、
   将来 <span class="storecta-label"> の中身だけ公式バッジ<img>に差し替えれば移行できる） */
.cta-block { margin-top: 28px; }
.storecta {
  display: inline-flex; align-items: center;
  text-decoration: none; font-family: inherit;
}
.storecta.primary {
  background: var(--pink); color: #fff; font-weight: 700;
  padding: 16px 30px; border-radius: 9px;
  font-size: 1.02rem; letter-spacing: -0.01em;
}
.storecta.primary:hover { filter: brightness(1.07); }
.storecta.disabled { pointer-events: none; opacity: 0.45; cursor: not-allowed; }
.ctanote { margin-top: 14px; font-size: 0.82rem; color: var(--muted); }

/* FAQ内の縮退フォーム（アップデート通知1件のみ） */
form.signup.mini { max-width: 420px; }
form.signup { margin-top: 18px; display: flex; gap: 10px; flex-wrap: wrap; }
form.signup input[type="email"] {
  flex: 1 1 200px; padding: 11px 14px; font-size: 0.95rem;
  border: 1px solid var(--line); border-radius: 7px;
  background: var(--bg); color: var(--ink);
  font-family: inherit;
}
form.signup input[type="email"]::placeholder { color: var(--muted); }
form.signup button {
  padding: 11px 22px; font-size: 0.95rem; font-weight: 650;
  background: var(--pink); color: #fff;
  border: none; border-radius: 7px; cursor: pointer;
  font-family: inherit;
}
form.signup button:hover { filter: brightness(1.07); }
.formnote { margin-top: 12px; font-size: 0.78rem; color: var(--muted); }
.formmsg { margin-top: 12px; font-size: 0.88rem; font-weight: 600; display: none; }
.formmsg.ok { display: block; color: var(--pink); }
.formmsg.err { display: block; color: var(--muted); }

/* ─── セクション共通 ─── */
section { padding: 72px 0 0; }
section:last-of-type { padding-bottom: 96px; }
.kicker {
  font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--pink); font-weight: 700; margin-bottom: 14px;
}
html[lang="ja"] .kicker { text-transform: none; letter-spacing: 0.1em; }
h2.head {
  font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 800;
  letter-spacing: -0.02em; line-height: 1.25; text-wrap: balance;
}
section > .wrap > p, .prose p { margin-top: 18px; color: var(--muted); max-width: 38em; }
.prose strong, section p strong { color: var(--ink); font-weight: 600; }

/* タイムライン */
.timeline { margin-top: 32px; border-top: 1px solid var(--line); }
.timeline .row {
  display: grid; grid-template-columns: 9.5em 1fr; gap: 18px;
  padding: 18px 0; border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.timeline .when { font-size: 0.82rem; color: var(--muted); }
.timeline .what { font-size: 0.97rem; }
.timeline .what em { font-style: normal; color: var(--pink); font-weight: 650; }
.timeline .row.now .when, .timeline .row.now .what { color: var(--ink); font-weight: 600; }
.fine { font-size: 0.78rem; color: var(--muted); margin-top: 12px; }

/* 4点セット */
.four { margin-top: 36px; display: grid; gap: 14px; }
.four .item {
  background: var(--card); border: 1px solid var(--line); border-radius: 10px;
  padding: 22px 24px;
}
.four .item h3 { font-size: 1.02rem; font-weight: 700; letter-spacing: -0.01em; }
.four .item h3 .n { color: var(--pink); margin-right: 10px; }
.four .item p { margin-top: 6px; font-size: 0.92rem; color: var(--muted); }
@media (min-width: 880px) { .four { grid-template-columns: repeat(3, 1fr); } }

/* 1機能=1セクションの2カラム（デスクトップで交互、モバイルで縦積み） */
.wrap-wide { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.feature { margin-top: 8px; display: grid; gap: 32px; align-items: center; }
.feature .ftext p { margin-top: 16px; color: var(--muted); max-width: 38em; }
.feature .ftext p strong { color: var(--ink); font-weight: 600; }
.feature .fmedia .media { margin-top: 0; }
@media (min-width: 880px) {
  .feature { grid-template-columns: 5fr 6fr; gap: 48px; }
  .feature.flip .fmedia { order: -1; }
}

/* ミニ機能グリッド */
.four.mini { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.four.mini .item { padding: 16px 18px; }
.four.mini .item h3 { font-size: 0.95rem; }
.four.mini .item p { font-size: 0.85rem; }

/* FAQ */
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 16px 0; font-weight: 650; font-size: 0.98rem;
  list-style: none; display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--pink); font-weight: 700; flex-shrink: 0; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding: 0 0 18px; max-width: 40em; }

/* 実機メディア（スクリーンショット/デモ動画）。選択範囲フレームの世界観を踏襲 */
.media { margin: 40px 0 0; }
.media .frame {
  position: relative;
  border: 1.5px solid var(--pink);
  background: var(--card);
}
.media img, .media video { display: block; width: 100%; height: auto; }
.media figcaption { margin-top: 10px; font-size: 0.82rem; color: var(--muted); }

/* 捨てるものリスト */
.refuse { margin-top: 32px; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 8px 24px; }
.refuse li {
  list-style: none; font-size: 0.95rem; color: var(--muted);
  text-decoration: line-through; text-decoration-color: var(--pink);
  text-decoration-thickness: 1.5px;
}
.refuse-note { margin-top: 24px; }

/* 価格 */
.deal {
  margin-top: 32px; background: var(--card); border: 1px solid var(--line);
  border-radius: 10px; padding: 28px; display: flex; gap: 28px; flex-wrap: wrap; align-items: baseline;
}
.deal .price { font-size: 2.2rem; font-weight: 800; letter-spacing: -0.02em; }
.deal .price small { font-size: 0.95rem; font-weight: 500; color: var(--muted); margin-left: 6px; }
.deal ul { list-style: none; font-size: 0.9rem; color: var(--muted); }
.deal ul li::before { content: "— "; color: var(--pink); }

/* フッタ */
footer.site {
  border-top: 1px solid var(--line); margin-top: 96px; padding: 36px 0 64px;
  font-size: 0.78rem; color: var(--muted);
}
footer.site p { max-width: 52em; margin-top: 8px; }
footer.site .cols {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 24px; margin-bottom: 28px;
}
footer.site .cols h4 { font-size: 0.8rem; color: var(--ink); margin-bottom: 6px; font-weight: 700; }
footer.site .cols a { display: block; color: var(--muted); text-decoration: none; padding: 3px 0; }
footer.site .cols a:hover { color: var(--ink); }

@media (max-width: 760px) {
  #arrowCanvas { display: none; }
  .hero { padding-top: 5vh; }
}

/* ---- ヘルプページ（help.html / help-ja.html）専用 ---- */
kbd{display:inline-block;padding:1px 7px;border:1px solid var(--line);border-bottom-width:2px;border-radius:5px;background:var(--card);font-family:ui-monospace,'SF Mono',Menlo,monospace;font-size:.85em;white-space:nowrap}
.helptable{width:100%;border-collapse:collapse;margin-top:18px}
.helptable th,.helptable td{padding:8px 10px;border-bottom:1px solid var(--line);text-align:left;font-size:.95rem}
.helptable th{color:var(--muted);font-weight:600}
.prose h3{margin:28px 0 8px;font-size:1.05rem}
.prose ul{margin:12px 0 0 1.3em;color:var(--muted)}
.prose li{margin:6px 0}
