/* =========================================================
   paybest — design system
   コンセプト: 家電量販店の売り場サイネージ（Best Buy 的な直球リテール）
   白背景 + アプリ本体と同じネイビー #0E1B3D の面 + #FFE000 のプライスタグ
   （色はアプリ内の appNavy / appAccent と同値。変えるときは両方そろえる）
   ========================================================= */

:root {
  /* --- brand --- */
  --blue-900: #070f24;   /* フッター */
  --blue:     #0e1b3d;   /* ブランドネイビー（アプリの appNavy と同値） */
  --blue-600: #1f3b7a;   /* フォーカスリング */
  --blue-100: #d9dfee;
  --blue-50:  #eef1f8;

  --yellow:      #ffe000;  /* アクセント（アプリの appAccent と同値） */
  --yellow-600:  #d9be00;  /* イエロー上の罫・影 */

  /* --- ink（白背景用） --- */
  --ink:    #0b1020;
  --ink-2:  #4b5468;
  --ink-3:  #666e8a;   /* 白 5.05:1 / tint 4.62:1 */

  /* --- surface --- */
  --paper: #ffffff;
  --tint:  #f2f5fc;
  --line:  #e0e6f2;
  --line-2:#c9d3e8;

  /* --- shape: 売り場の値札に寄せて角は浅く --- */
  --r-xs: 3px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;

  /* --- depth --- */
  --sh-1: 0 1px 2px rgba(11, 16, 32, 0.06), 0 2px 8px -4px rgba(11, 16, 32, 0.12);
  --sh-2: 0 2px 4px rgba(11, 16, 32, 0.06), 0 16px 32px -18px rgba(11, 16, 32, 0.28);
  --sh-3: 0 4px 8px rgba(11, 16, 32, 0.08), 0 32px 60px -28px rgba(11, 16, 32, 0.4);

  --section-y: clamp(64px, 8vw, 116px);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: "LINE Seed JP", -apple-system, BlinkMacSystemFont, "Helvetica Neue",
               "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP",
               "Yu Gothic Medium", sans-serif;
  font-feature-settings: "palt" 1;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.8;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--yellow); color: var(--ink); }

:focus-visible { outline: 3px solid var(--blue-600); outline-offset: 2px; }
/* 青ベタ・濃紺の上では青のリングが沈むのでイエローに切り替える */
.band-blue :focus-visible,
footer.site :focus-visible { outline-color: var(--yellow); }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--ink); font-weight: 800;
  padding: 10px 18px; border-radius: var(--r-sm); text-decoration: none;
  transition: top 0.2s var(--ease);
}
.skip:focus { top: 16px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  margin: -1px; padding: 0; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* =========================================================
   layout / bands
   ========================================================= */

.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 24px; }

section { padding: var(--section-y) 0; }

.band-tint { background: var(--tint); }

/* 売り場の看板のように、青ベタの面で区切る */
.band-blue {
  background: var(--blue);
  background-image:
    radial-gradient(70rem 30rem at 15% -10rem, rgba(255, 255, 255, 0.12), transparent 60%);
  color: #fff;
}
.band-blue h2, .band-blue h3 { color: #fff; }
.band-blue p { color: rgba(255, 255, 255, 0.78); }
.band-blue .eyebrow { color: #fff; }
.band-blue .tag-ic { --tag-hole: var(--blue); }
.band-tint .tag-ic { --tag-hole: var(--tint); }

/* =========================================================
   price tag（値札モチーフ）
   実物の値札は横に長く伸びないので、面として使うのは還元率の .price-tag 1 か所だけ。
   それ以外（セクションのラベル・比較表の「本アプリ」）は小さな値札アイコン .tag-ic で添える
   ========================================================= */

.tag-ic { width: 1.05rem; height: 1.05rem; flex: none; --tag-hole: var(--paper); }

/* 角丸は clip-path に削られないので、面取り以外の 3 隅が丸く残る */
.price-tag {
  --cut: 1.1rem;
  position: relative; flex: none; box-sizing: border-box;
  display: grid; justify-items: center; align-content: center; gap: 4px;
  width: 7.4rem; height: 6.8rem;
  padding: 0.7rem 0.5rem 0.5rem;
  background: var(--yellow); color: var(--ink);
  border-radius: 0.45rem;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% 100%, 0 100%, 0 var(--cut));
}
/* ひも穴はハトメ（金具の輪）として描き、中は置かれる面（白いカード）の色で抜く */
.price-tag::before {
  content: ""; position: absolute; box-sizing: border-box;
  left: calc(var(--cut) * 0.56); top: calc(var(--cut) * 0.56);
  width: calc(var(--cut) * 0.42); height: calc(var(--cut) * 0.42);
  border-radius: 50%;
  border: calc(var(--cut) * 0.11) solid var(--ink);
  background: var(--paper);
}
.price-tag .val { display: inline-flex; align-items: baseline; font-size: 2.35rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.price-tag .unit { font-size: 0.46em; margin-left: 0.06em; }
.price-tag .lbl { font-size: 0.74rem; font-weight: 800; letter-spacing: 0.14em; line-height: 1; }

/* =========================================================
   typography
   ========================================================= */

h1, h2, h3 { letter-spacing: -0.025em; font-weight: 800; text-wrap: balance; color: var(--ink); }

h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); line-height: 1.26; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 800; color: var(--blue);
  margin-bottom: 18px; vertical-align: top;
}

.section-head { max-width: 700px; margin-bottom: clamp(36px, 4.5vw, 56px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .sub { margin-top: 14px; color: var(--ink-2); font-size: 1.02rem; }

/* =========================================================
   buttons
   ========================================================= */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  font-size: 0.95rem; font-weight: 800; line-height: 1;
  padding: 1.05em 1.8em; border-radius: var(--r-sm);
  text-decoration: none; white-space: nowrap;
  border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease),
              background-color 0.2s var(--ease), border-color 0.2s var(--ease),
              color 0.2s var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--yellow); color: var(--ink);
  box-shadow: 0 3px 0 var(--yellow-600), 0 10px 22px -10px rgba(11, 16, 32, 0.45);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--yellow-600), 0 16px 28px -12px rgba(11, 16, 32, 0.5); }
.btn-primary:active { transform: translateY(1px); box-shadow: 0 1px 0 var(--yellow-600); }

.btn-outline { background: transparent; color: var(--blue); border-color: var(--line-2); }
.btn-outline:hover { border-color: var(--blue); background: var(--blue-50); }

/* 青ベタの上に置くアウトラインボタン */
.band-blue .btn-outline { color: #fff; border-color: rgba(255, 255, 255, 0.45); }
.band-blue .btn-outline:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

/* =========================================================
   header
   ========================================================= */

header.site {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; gap: 20px; height: 66px; }

/* ロゴ = 「%」入りの値札マーク + 小文字 1 語のワードマーク。
   ファビコン・アプリアイコンと同じ形にそろえる */
.logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; color: var(--ink); white-space: nowrap; }
/* マークはアプリアイコンと同じカード（黄のカード + ネイビーの磁気ストライプ）。
   assets/brand/mark.svg と同じ幾何をインラインで持ち、色はトークンから取る */
.logo .mark { width: 2.5rem; height: 1.75rem; flex: none; display: block; }
.logo .mark .face { fill: var(--yellow); }
.logo .mark .ink { fill: var(--blue); }
.logo .word { font-size: 1.32rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
footer.site .logo { color: #fff; }
/* 濃紺の上ではストライプを地の色で抜く（ファビコンと同じ見え方になる） */
footer.site .logo .mark .ink { fill: var(--blue-900); }

header.site nav { margin-left: auto; display: flex; align-items: center; gap: 2px; }
header.site nav a.nav-link {
  color: var(--ink-2); text-decoration: none; font-size: 0.88rem; font-weight: 700;
  white-space: nowrap;
  padding: 9px 14px; border-radius: var(--r-sm);
  transition: color 0.2s var(--ease), background-color 0.2s var(--ease);
}
header.site nav a.nav-link:hover { color: var(--blue); background: var(--blue-50); }
header.site .btn { padding: 0.72em 1.25em; font-size: 0.84rem; margin-left: 10px; }

@media (max-width: 760px) {
  header.site nav a.nav-link { padding: 9px 8px; font-size: 0.82rem; }
  header.site .nav-cta { display: none; }
}

/* =========================================================
   hero
   ========================================================= */

.hero { padding-top: clamp(48px, 6vw, 84px); padding-bottom: clamp(48px, 6vw, 88px); }
.hero-grid { display: grid; gap: clamp(40px, 5vw, 64px); grid-template-columns: minmax(0, 1fr); align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); } }

.hero h1 { font-size: clamp(2.35rem, 6.2vw, 4.1rem); line-height: 1.14; letter-spacing: -0.04em; }
/* 見出しのキーフレーズはブルーの地に白抜き＝売り場の値札ポップ */
.hero h1 em {
  font-style: normal; display: inline-block;
  background: var(--blue); color: #fff;
  padding: 0.02em 0.22em 0.08em;
  border-radius: var(--r-xs);
}

.hero .lead { margin-top: 24px; max-width: 34em; color: var(--ink-2); font-size: clamp(1rem, 1.5vw, 1.08rem); }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }

.hero-trust {
  display: flex; flex-wrap: wrap; gap: 10px 24px;
  margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--ink-2); font-weight: 700;
}
.hero-trust li { list-style: none; display: flex; align-items: center; gap: 8px; }
.hero-trust svg { width: 16px; height: 16px; color: var(--blue); flex: none; }

/* --- device mockups --- */
/* 端末は売り場の陳列台に見立てた青の面の上に置く */
.shots {
  position: relative;
  display: flex; justify-content: center; align-items: flex-start;
  gap: clamp(14px, 2.4vw, 26px);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 40px) clamp(16px, 3vw, 28px) clamp(24px, 3.5vw, 32px);
}
/* 面の上辺にイエローの帯を入れて、値札の色を一度ここで効かせる */
.shots::before {
  content: ""; position: absolute; left: 0; top: 0;
  width: 100%; height: 5px; background: var(--yellow);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.shots figure { position: relative; z-index: 1; width: min(214px, 46%); min-width: 0; margin: 0; }
.shots figure:first-child { transform: translateY(14px); }

.device {
  position: relative; border-radius: 38px; padding: 7px;
  background: linear-gradient(160deg, #2c3550, #0a1020 60%, #202840);
  box-shadow: var(--sh-3);
  transition: transform 0.4s var(--ease);
}
.shots figure:hover .device { transform: translateY(-8px); }
.device img { width: 100%; border-radius: 32px; }

.shots figcaption {
  margin-top: 14px; font-size: 0.78rem; line-height: 1.6;
  color: var(--ink-2); text-align: center; font-weight: 700;
  text-wrap: balance;
}

@media (max-width: 939px) {
  .hero-grid { text-align: center; }
  .hero .lead { margin-left: auto; margin-right: auto; }
  .hero-actions, .hero-trust { justify-content: center; }
}

/* =========================================================
   steps（使い方）
   ========================================================= */

.steps-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); counter-reset: step; }
.step {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 26px 30px;
  box-shadow: var(--sh-1);
}
.step .no {
  counter-increment: step;
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: var(--r-sm);
  background: var(--blue); color: #fff;
  font-size: 0.95rem; font-weight: 800; margin-bottom: 16px;
}
.step .no::before { content: counter(step); }
.step h3 { font-size: 1.06rem; margin-bottom: 8px; }
.step p { font-size: 0.9rem; color: var(--ink-2); }

/* =========================================================
   demo（結果イメージ）— 青ベタの上に白カード
   ========================================================= */

.demo-layout { display: grid; gap: clamp(32px, 4vw, 56px); align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 940px) { .demo-layout { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }

.demo {
  background: var(--paper); color: var(--ink);
  border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--sh-3);
}
.demo .merchant {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 700; color: var(--ink-2);
  background: var(--tint); border: 1px solid var(--line);
  border-radius: 999px; padding: 5px 13px;
}
.demo .answer-label {
  display: block; margin: 20px 0 8px;
  font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 800;
}
.demo .answer { font-size: clamp(1.1rem, 2.1vw, 1.26rem); font-weight: 700; line-height: 1.55; color: var(--ink); }
.demo .answer b {
  color: var(--ink); font-weight: 800;
  background: var(--yellow); padding: 0.02em 0.18em; border-radius: 0.14em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
}

/* 還元率は「この店の値札」そのもの。実物に近い縦横比で 1 枚だけ置く */
.demo .rate { display: flex; align-items: center; gap: 18px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); }
.demo .rate .note { flex: 1; min-width: 0; font-size: 0.82rem; line-height: 1.55; color: var(--ink-2); font-weight: 700; }

.demo .steps { margin-top: 22px; display: grid; gap: 8px; }
.demo .steps li {
  list-style: none; display: flex; align-items: center; gap: 12px;
  font-size: 0.89rem; color: var(--ink-2); font-weight: 700;
  background: var(--tint); border-radius: var(--r-sm); padding: 12px 14px;
}
.demo .steps li .idx {
  width: 22px; height: 22px; border-radius: var(--r-xs); flex: none;
  display: grid; place-items: center;
  font-size: 0.72rem; font-weight: 800; background: var(--blue); color: #fff;
}
.demo .steps li .plus { margin-left: auto; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.demo .fine { margin-top: 16px; font-size: 0.76rem; line-height: 1.6; color: var(--ink-2); }

.demo-notes { display: grid; gap: 20px; margin-top: 28px; }
.demo-notes .note-item { display: flex; gap: 14px; }
.demo-notes .note-item svg {
  width: 21px; height: 21px; flex: none; margin-top: 4px; color: var(--yellow);
  fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
}
.demo-notes h3 { font-size: 1rem; margin-bottom: 2px; }
.demo-notes p { font-size: 0.9rem; }
.demo-caption { margin-top: 26px; font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); }

/* =========================================================
   features
   ========================================================= */

.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.feature {
  position: relative;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 28px 26px 30px;
  box-shadow: var(--sh-1);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s var(--ease);
}
.feature:hover { transform: translateY(-4px); box-shadow: var(--sh-2); border-color: var(--line-2); }
.feature .ic {
  width: 46px; height: 46px; border-radius: var(--r-sm);
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--blue); color: var(--yellow);
}
.feature .ic svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.feature h3 { font-size: 1.06rem; margin-bottom: 9px; }
.feature p { font-size: 0.9rem; color: var(--ink-2); }

/* =========================================================
   comparison
   ========================================================= */

.compare-wrap {
  position: relative;
  overflow-x: auto; background: var(--paper);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: var(--sh-1); -webkit-overflow-scrolling: touch;
}
table.compare { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-size: 0.9rem; }
table.compare th, table.compare td { padding: 15px 18px; text-align: center; vertical-align: middle; border-bottom: 1px solid var(--line); }
table.compare tbody tr:last-child th, table.compare tbody tr:last-child td { border-bottom: 0; }

table.compare thead th { font-size: 0.82rem; font-weight: 700; color: var(--ink-2); background: var(--tint); }
table.compare th:first-child {
  text-align: left; width: 32%; min-width: 235px;
  color: var(--ink); font-weight: 700;
}
table.compare thead th.col-best { width: 180px; }

/* paybest 列は売り場の POP のように青ベタで立てる */
table.compare .col-best { background: var(--blue); color: #fff; border-bottom-color: rgba(255, 255, 255, 0.16); }
table.compare thead .col-best .brand { display: block; font-size: 1.05rem; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
table.compare thead .col-best .sub {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 6px;
  font-size: 0.74rem; font-weight: 800; letter-spacing: 0.08em; color: var(--yellow);
}
table.compare thead .col-best .sub .tag-ic { width: 0.85rem; height: 0.85rem; --tag-hole: var(--blue); }

table.compare td .mk { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
td.yes .mk { background: var(--yellow); color: var(--ink); }
td.yes .mk svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
td.part { color: var(--ink-2); font-size: 0.82rem; }
td.no { color: var(--ink-3); }
td.txt { color: var(--ink-2); font-size: 0.85rem; font-weight: 700; }
td.col-best.txt { color: var(--yellow); font-weight: 800; font-size: 0.9rem; }

.compare-note { margin-top: 14px; font-size: 0.78rem; color: var(--ink-3); }

/* 表が画面に収まらない幅でだけ、横スクロールできることを伝える */
.scroll-hint { display: none; }
@media (max-width: 800px) {
  .scroll-hint {
    display: block; margin-bottom: 10px;
    font-size: 0.76rem; font-weight: 700; color: var(--ink-3); text-align: right;
  }
}

/* =========================================================
   final CTA
   ========================================================= */

.cta-inner { text-align: center; max-width: 760px; margin: 0 auto; }
.cta-inner h2 { margin-bottom: 16px; }
.cta-inner .hero-actions { justify-content: center; margin-top: 32px; }
.cta-inner .fineprint { margin-top: 20px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.55); }

/* =========================================================
   footer
   ========================================================= */

footer.site { background: var(--blue-900); color: rgba(255, 255, 255, 0.62); padding: clamp(44px, 5vw, 64px) 0 48px; font-size: 0.88rem; }
footer.site .foot-grid { display: flex; flex-wrap: wrap; gap: 32px; justify-content: space-between; align-items: flex-start; }
footer.site .foot-brand { max-width: 24em; }
footer.site .foot-brand .logo { margin-bottom: 14px; }
footer.site .foot-brand p { font-size: 0.86rem; color: rgba(255, 255, 255, 0.62); }
footer.site .links { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
footer.site a { color: rgba(255, 255, 255, 0.72); text-decoration: none; transition: color 0.2s var(--ease); }
footer.site a:hover { color: #fff; }
@media (max-width: 680px) {
  footer.site .foot-grid { flex-direction: column; gap: 28px; }
  footer.site .links { align-items: flex-start; }
}
footer.site .copy {
  margin-top: 36px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.8rem; color: rgba(255, 255, 255, 0.55);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* =========================================================
   legal pages
   ========================================================= */

.legal { max-width: 740px; margin: 0 auto; padding: 48px 24px 88px; }
.legal .back {
  display: inline-flex; align-items: center; gap: 7px; margin-bottom: 28px;
  color: var(--blue); text-decoration: none; font-size: 0.86rem; font-weight: 700;
}
.legal .back:hover { text-decoration: underline; }
.legal h1 { font-size: clamp(1.7rem, 4vw, 2.2rem); margin-bottom: 8px; }
.legal .updated { font-size: 0.8rem; color: var(--ink-3); margin-bottom: 36px; }
.legal h2 {
  font-size: 1.05rem; font-weight: 800; margin: 38px 0 12px;
  padding-left: 14px; border-left: 4px solid var(--yellow);
}
.legal p, .legal li { font-size: 0.93rem; color: var(--ink-2); }
.legal ul { padding-left: 1.3em; display: grid; gap: 6px; margin-top: 6px; }
.legal li::marker { color: var(--blue); }
.legal a { color: var(--blue); text-decoration: underline; text-underline-offset: 0.15em; }

/* =========================================================
   scroll reveal
   ========================================================= */

/* JS 無効時に中身が消えないよう、既定は可視。表示直前にスクリプトが .reveal-on を付ける */
.reveal-on .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); transition-delay: var(--d, 0ms); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .reveal-on .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   responsive
   ========================================================= */

/* 狭い画面では CTA を全幅にして、長いラベルの見切れを防ぐ */
@media (max-width: 420px) {
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; white-space: normal; padding-inline: 1.1em; }
}

@media (max-width: 640px) {
  .device { border-radius: 30px; padding: 5px; }
  .device img { border-radius: 26px; }
  .demo { padding: 24px 20px; }
  .feature, .step { padding: 24px 22px 26px; }
}
