/* =========================================================
   AI関所 LP — SPファースト
   ~1023px : SP（1カラム・全幅）
   1024px~ : PC（中央390pxにSP版、左サイドにナビ、両サイド青海波）
   ========================================================= */

:root {
  --paper: #F6F5F1;
  --ink: #111111;
  --blue: #2667FF;
  --blue-hover: #1A52E0;
  --blue-on-ink: #4D84FF;   /* 墨背景の上で使う青 */
  --text-sub: #45443F;
  --text-mute: #5A5852;
  --text-on-ink: #CFCDC6;
  --line: rgba(17, 17, 17, 0.16);
  --line-soft: rgba(17, 17, 17, 0.14);
  --ticket: #EFE8D8;

  --f-mincho: "Shippori Mincho B1", serif;
  --f-sans: "Noto Sans JP", sans-serif;
  --f-en: "Manrope", sans-serif;

  --gutter: 24px;
  --sp-width: 390px;         /* PC時の中央カラム幅 */
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --ease-ink: cubic-bezier(.65, .05, .25, 1);
  --ease-draw: cubic-bezier(.7, 0, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--f-sans);
  -webkit-font-smoothing: antialiased;
  background: var(--paper) url(../assets/seigaiha-soft.svg) 0 0 / 56px 28px repeat;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); }
a:hover { color: var(--blue); }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-feature-settings: "palt"; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }

/* ---------- 共通パーツ ---------- */
.page {
  width: 100%;
  max-width: 560px;           /* タブレットで横に広がりすぎない */
  margin: 0 auto;
  background: var(--paper) url(../assets/seigaiha-soft.svg) 0 0 / 56px 28px repeat;
  overflow-x: hidden;
}
.sec { padding: 64px var(--gutter) 88px; }
.label { font-family: var(--f-en); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.en { font-family: var(--f-en); }
.h2 { font-family: var(--f-mincho); font-weight: 800; font-size: min(32px, 8.2vw); line-height: 1.42; margin-top: 18px; }
.h2--sm { font-size: min(30px, 7vw); }
.lead { font-size: 15px; line-height: 1.95; color: var(--text-sub); margin-top: 24px; }
.dot { width: 7px; height: 7px; background: var(--blue); display: block; flex-shrink: 0; }
.chip { font-size: 12px; font-weight: 500; padding: 6px 10px; border: 1px solid var(--ink); }

.btn {
  display: flex; align-items: center; justify-content: space-between;
  height: 60px; padding: 0 22px;
  background: var(--blue); color: #fff;
  font-size: 16px; font-weight: 700; letter-spacing: .04em;
  text-decoration: none; border-radius: 2px;
  transition: background-color .25s ease;
}
.btn:hover { background: var(--blue-hover); color: #fff; }
.btn:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.btn svg { transition: transform .25s ease; }
.btn:hover svg { transform: translateX(4px); }

.brush { height: 12px; background: url(../assets/brush-line.png) left center / 100% 100% no-repeat; }
.brush--paper { filter: invert(.96); }

/* ---------- 01 FV ---------- */
.header { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 34px; height: 33px; }
.brand__en { font-family: var(--f-en); font-size: 12px; font-weight: 800; letter-spacing: .2em; }
.header__price { font-family: var(--f-en); font-weight: 700; font-size: 14px; }
.header__price small { font-size: 11px; font-weight: 500; color: var(--text-mute); }

.fv { padding: 0 var(--gutter) 40px; }
.fv__logo { position: relative; width: 330px; margin: 12px -8px 0 auto; }
.fv__scan {
  position: absolute; left: 0; right: 16px; top: 6%; height: 0;
  border-top: 1px solid var(--blue); display: flex; justify-content: flex-end;
}
.fv__scan span {
  font-family: var(--f-en); font-size: 9px; font-weight: 700; letter-spacing: .18em;
  color: #fff; background: var(--blue); padding: 3px 6px; transform: translateY(-50%);
}
.fv__eyebrow { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 500; }
.fv__title { margin-top: 18px; font-family: var(--f-mincho); font-weight: 800; font-size: min(44px, 11vw); line-height: 1.3; }
.fv__sub { margin-top: 20px; font-family: var(--f-mincho); font-weight: 600; font-size: 20px; line-height: 1.5; }
.fv__body { margin-top: 12px; font-size: 15px; line-height: 1.9; color: var(--text-sub); }
.fv__price { margin-top: 24px; display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; }
.fv__price .price-inline strong { font-size: clamp(30px, 10.4vw, 44px); }
.fv__price .chip { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 359px) {
  .fv__price { gap: 6px; }
  .fv__price .price-inline { gap: 8px 4px; }
  .fv__price .price-inline__tax { font-size: 12px; }
  .fv__price .chip { font-size: 11px; padding: 5px 7px; }
}
.price-inline { display: grid; grid-template-columns: auto auto; justify-content: start; align-items: baseline; gap: 8px; }
.price-inline span:first-child { grid-column: 1 / -1; font-size: 14px; font-weight: 500; line-height: 1; }
.price-inline strong { font-family: var(--f-en); font-size: 44px; font-weight: 700; line-height: 1; letter-spacing: -.02em; }
.price-inline__tax { font-size: 14px; font-weight: 500; white-space: nowrap; }
.fv .btn { margin-top: 24px; }

/* ---------- 02 こんな状態 ---------- */
.cases { margin-top: 20px; border-bottom: 1px solid var(--ink); }
.case { border-top: 1px solid var(--ink); padding: 20px 0 22px; display: flex; flex-direction: column; gap: 10px; }
.case__no { font-family: var(--f-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.case__q {
  font-family: var(--f-mincho); font-size: min(19px, 4.5vw); font-weight: 700; line-height: 1.55;
  white-space: nowrap; font-feature-settings: "palt"; letter-spacing: .02em;
}
.sub-h { font-size: 16px; font-weight: 700; margin-top: 56px; }

/* ---------- 03 AI関所とは / フロー ---------- */
.flow-head { margin-top: 48px; padding-bottom: 14px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.flow-head .en { font-size: 11px; font-weight: 600; letter-spacing: .16em; color: var(--text-mute); }
.flow { margin-top: 28px; }
.step { border-top: 2px solid var(--ink); padding-top: 14px; display: flex; align-items: baseline; gap: 16px; }
.step__no { font-family: var(--f-en); font-size: 11px; font-weight: 700; letter-spacing: .14em; color: var(--blue); }
.step__t { font-size: 16px; font-weight: 700; }
.flow__line { width: 1px; height: 32px; background: var(--ink); margin-left: 24px; }
.flow__line--token { height: 60px; position: relative; }
.token {
  position: absolute; left: 14px; top: 8px; white-space: nowrap;
  font-size: 11px; font-weight: 700; padding: 3px 8px; background: #fff; border: 1px solid var(--ink);
}
.gate {
  position: relative; height: 300px; padding: 24px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #fff; border: 1px solid var(--line);
}
.gate__corner { position: absolute; width: 18px; height: 18px; border-color: var(--ink); border-style: solid; border-width: 0; }
.gate__corner--tl { left: -1px; top: -1px; border-left-width: 2px; border-top-width: 2px; }
.gate__corner--tr { right: -1px; top: -1px; border-right-width: 2px; border-top-width: 2px; }
.gate__corner--bl { left: -1px; bottom: -1px; border-left-width: 2px; border-bottom-width: 2px; }
.gate__corner--br { right: -1px; bottom: -1px; border-right-width: 2px; border-bottom-width: 2px; }
.gate__scan { position: absolute; left: 0; right: 0; top: 14%; height: 1px; background: var(--blue); opacity: .55; }
.gate__head { display: flex; justify-content: space-between; }
.gate__head .en { font-size: 11px; font-weight: 800; letter-spacing: .2em; }
.gate__head span:last-child { font-size: 11px; color: var(--text-mute); }
.gate__steps { display: flex; flex-direction: column; gap: 14px; }
.gate__steps hr { border: 0; height: 1px; background: var(--line); margin: 0; }
.status { position: relative; height: 44px; background: var(--ink); color: var(--paper); }
.status > span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: space-between; padding: 0 16px; font-size: 14px; font-weight: 700; }
.status .st-check { font-family: var(--f-en); font-size: 13px; letter-spacing: .18em; justify-content: flex-start; }
.status .st-yes { background: var(--blue); color: #fff; }
.status small { font-family: var(--f-en); font-size: 10px; letter-spacing: .18em; }
.branch { display: block; width: 100%; height: 40px; }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.outcome { height: 118px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; background: #fff; box-shadow: inset 0 0 0 1px rgba(17,17,17,.18); }
.outcome .en { font-size: 10px; font-weight: 700; letter-spacing: .16em; }
.outcome--yes .en { color: var(--blue); }
.outcome--no .en { color: var(--text-mute); }
.outcome b { font-family: var(--f-mincho); font-size: 20px; font-weight: 800; display: block; }
.outcome small { font-size: 12px; color: var(--text-sub); }
.flow__note { margin-top: 24px; font-size: 13px; line-height: 1.8; color: var(--text-mute); }

/* ---------- 04 スタンス ---------- */
.stance { background: var(--ink); color: var(--paper); padding: 88px var(--gutter); }
.stance__title { margin-top: 28px; font-family: var(--f-mincho); font-weight: 800; font-size: min(42px, 10.4vw); line-height: 1.34; }
.stance__title em { font-style: normal; color: var(--blue-on-ink); }
.stance .brush { margin-top: 36px; width: 240px; }
.stance p { margin-top: 32px; font-size: 15px; line-height: 2; color: var(--text-on-ink); }

/* ---------- 05 サービス内容 ---------- */
.services { margin-top: 40px; }
.service { padding: 28px 0; border-top: 1px solid rgba(17,17,17,.2); display: flex; flex-direction: column; gap: 12px; }
.service:last-child { padding-bottom: 0; }
.service__no { font-family: var(--f-en); font-size: 40px; font-weight: 500; line-height: 1; letter-spacing: -.03em; }
.service h3 { margin-top: 4px; font-family: var(--f-mincho); font-size: min(23px, 5.6vw); font-weight: 800; }
.service p { font-size: 14px; line-height: 1.95; color: var(--text-sub); }
.dot-list { margin-top: 4px; font-size: 14px; font-weight: 500; border-bottom: 1px solid var(--line-soft); }
.dot-list li { padding: 10px 0; border-top: 1px solid var(--line-soft); display: flex; gap: 12px; align-items: center; }
.dot-list li::before { content: ""; width: 6px; height: 6px; background: var(--blue); flex-shrink: 0; }

/* ---------- 06 安心 + 料金（レトロチケット） ---------- */
.assure { border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); padding: 20px 0; display: flex; flex-direction: column; gap: 12px; }
.assure span { display: flex; align-items: center; gap: 12px; font-family: var(--f-mincho); font-size: 22px; font-weight: 800; }
.price-sec { padding-top: 24px; }
.price-sec .label { display: block; margin-top: 48px; }
.price-sec .h2 { font-size: min(30px, 7.6vw); margin-top: 14px; }

.ticket {
  margin-top: 24px; position: relative; overflow: hidden;
  background-color: var(--ticket);
  background-image: radial-gradient(rgba(17,17,17,.035) 1px, transparent 1.2px);
  background-size: 5px 5px;
  border: 1.5px solid var(--ink); padding: 6px;
}
.ticket__inner { border: 1px solid var(--ink); }
.ticket__bar { height: 34px; background: var(--ink); color: var(--paper); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; font-family: var(--f-en); font-size: 10px; font-weight: 800; letter-spacing: .26em; }
.ticket__bar span:last-child { font-weight: 700; letter-spacing: .16em; }
.ticket__main { position: relative; padding: 20px 20px 18px; display: flex; flex-direction: column; align-items: center; }
.ticket__brand { display: flex; align-items: center; gap: 10px; font-family: var(--f-en); font-size: 10px; font-weight: 800; letter-spacing: .3em; }
.ticket__brand i { width: 7px; height: 7px; background: var(--blue); transform: rotate(45deg); display: block; }
.ticket__title { margin-top: 10px; font-family: var(--f-mincho); font-size: 34px; font-weight: 800; letter-spacing: .36em; padding-left: .36em; line-height: 1.3; }
.ticket__rule { margin-top: 10px; width: 100%; height: 4px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.ticket__kind { margin-top: 16px; font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.ticket__price { margin-top: 6px; display: flex; align-items: baseline; gap: 4px; font-family: var(--f-en); font-weight: 700; line-height: 1; }
.ticket__price .yen { font-size: 38px; }
.ticket__price .num { font-size: 80px; letter-spacing: -.04em; }
.ticket__price .per { font-family: var(--f-sans); font-size: 15px; margin-left: 4px; }
.ticket__tax { margin-top: 6px; font-size: 11px; color: var(--text-mute); }
.ticket__fields { margin-top: 18px; width: 100%; display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 500; }
.ticket__fields div { display: flex; align-items: baseline; gap: 8px; }
.ticket__fields i { flex-grow: 1; border-bottom: 1px dotted var(--ink); transform: translateY(-3px); }
.ticket__fields b { font-weight: 700; }
.stamp {
  position: absolute; right: 14px; top: 104px; width: 70px; height: 68px;
  transform: rotate(-14deg); opacity: .82;
  background-color: var(--blue);
  -webkit-mask: url(../assets/logo-ink.png) center / contain no-repeat;
  mask: url(../assets/logo-ink.png) center / contain no-repeat;
}
.ticket__perf {
  position: relative; height: 22px; margin: 0 14px;
  background-image: radial-gradient(circle, rgba(17,17,17,.55) 0 2px, transparent 2.6px);
  background-size: 11px 22px; background-repeat: repeat-x; background-position: center;
}
/* 切り取り線の両端の切り欠き（ticket__perf の中心に合わせる） */
.ticket__perf::before, .ticket__perf::after {
  content: ""; position: absolute; top: 50%; width: 26px; height: 26px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--ink); transform: translateY(-50%);
}
.ticket__perf::before { left: -35px; }
.ticket__perf::after { right: -35px; }
.ticket__stub { padding: 10px 20px 16px; }
.ticket__stub-head { display: flex; justify-content: space-between; align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.ticket__stub-head .en { font-size: 10px; font-weight: 800; letter-spacing: .24em; }
.ticket__stub-head span:last-child { font-size: 11px; color: var(--text-sub); }
.ticket__list { font-size: 14px; font-weight: 500; }
.ticket__list li { padding: 10px 0; border-bottom: 1px dotted rgba(17,17,17,.5); display: flex; gap: 12px; align-items: baseline; }
.ticket__list li:last-child { border-bottom: 0; }
.ticket__list .en { font-size: 11px; font-weight: 800; color: var(--blue); }
.ticket__foot { margin-top: 8px; display: flex; justify-content: space-between; font-family: var(--f-en); font-size: 9px; font-weight: 700; letter-spacing: .2em; color: var(--text-mute); }

/* ---------- 07 FAQ ---------- */
.faq { margin-top: 28px; border-bottom: 1px solid rgba(17,17,17,.2); }
.faq details { border-top: 1px solid rgba(17,17,17,.2); }
.faq summary {
  list-style: none; cursor: pointer; min-height: 72px; padding: 18px 0;
  display: flex; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline: 2px solid var(--blue); outline-offset: 4px; }
.faq .q, .faq .a { font-family: var(--f-en); font-size: 13px; font-weight: 800; width: 16px; flex-shrink: 0; }
.faq .q { color: var(--blue); }
.faq .qt { flex-grow: 1; font-family: var(--f-mincho); font-size: 16px; font-weight: 700; line-height: 1.55; font-feature-settings: "palt"; }
.faq .sign { font-family: var(--f-en); font-size: 22px; width: 20px; text-align: center; flex-shrink: 0; }
.faq .sign::before { content: "+"; }
.faq details[open] .sign::before { content: "\2212"; }
.faq .ans { display: flex; gap: 14px; padding: 0 0 22px; }
.faq .ans p { font-size: 14px; line-height: 1.9; color: var(--text-sub); }

/* ---------- 08 申込 ---------- */
.apply { border-top: 1px solid var(--ink); }
.apply__logo { width: 300px; margin: 20px auto 0; }
.apply h2 { margin-top: 28px; font-family: var(--f-mincho); font-weight: 800; font-size: min(30px, 7.4vw); line-height: 1.45; }
.apply .brush { margin-top: 22px; width: 220px; height: 11px; }
.apply .price-inline { margin-top: 24px; }
.apply .price-inline strong { font-size: 38px; }
.apply__meta { display: block; margin-top: 8px; font-size: 13px; color: var(--text-sub); }
.apply .btn { margin-top: 22px; height: 64px; }
.apply__note { display: block; margin-top: 12px; font-size: 12px; color: var(--text-mute); }

/* ---------- フッター ---------- */
.footer { background: var(--ink); color: var(--paper); padding: 40px var(--gutter) 48px; display: flex; flex-direction: column; gap: 24px; }
.footer .brand img { width: 44px; height: 43px; }
.footer small { display: block; font-size: 12px; color: #BDBBB4; }
.footer a.terms { color: var(--paper); font-size: 13px; padding: 12px 0; border-top: 1px solid rgba(246,245,241,.18); border-bottom: 1px solid rgba(246,245,241,.18); }
.footer .copy { font-family: var(--f-en); font-size: 11px; letter-spacing: .08em; color: #BDBBB4; }

/* ---------- PCの左サイド（SPでは非表示） ---------- */
.side { display: none; }

@media (min-width: 1024px) {
  /* PCの中央カラムは390px固定なので vw ではなくデザイン値に固定 */
  .h2 { font-size: 32px; } .fv__title { font-size: 44px; } .case__q { font-size: 17.5px; }
  .stance__title { font-size: 42px; } .service h3 { font-size: 23px; } .apply h2 { font-size: 30px; } .price-sec .h2 { font-size: 30px; }
  .h2--sm { font-size: 30px; }
  body { background: var(--paper) url(../assets/seigaiha-paper.svg) 0 0 / 72px 36px repeat; }
  .page {
    width: var(--sp-width); max-width: none; position: relative; z-index: 1;
    box-shadow: 0 0 0 1px rgba(17,17,17,.14), 0 30px 80px rgba(17,17,17,.18);
  }
  .side {
    display: flex; flex-direction: column; justify-content: space-between;
    position: fixed; left: 0; top: 0; bottom: 0;
    width: calc((100vw - var(--sp-width)) / 2);
    padding: 64px clamp(32px, 5vw, 72px) 56px clamp(40px, 6vw, 88px);
  }
  .side__top { display: flex; flex-direction: column; gap: 48px; }
  .side__brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
  .side__brand .en { font-size: 12px; font-weight: 800; letter-spacing: .22em; }
  .side__brand i { width: 24px; height: 1px; background: var(--ink); display: block; }
  .side__brand small { font-size: 12px; color: var(--text-sub); }
  .side__nav { display: flex; flex-direction: column; gap: 22px; font-size: 15px; font-weight: 500; letter-spacing: .06em; }
  .side__nav a { text-decoration: none; color: var(--text-sub); padding-left: 21px; position: relative; transition: color .2s; }
  .side__nav a.is-current { color: var(--ink); }
  .side__nav a.is-current::before { content: ""; position: absolute; left: 0; top: 50%; width: 7px; height: 7px; margin-top: -3.5px; background: var(--blue); }
  .side__nav a:hover { color: var(--blue); }
  .side .btn { width: 100%; max-width: 340px; height: 64px; padding: 0 26px; }
  .side__foot { display: flex; align-items: flex-end; gap: 24px; }
  .side__foot img { width: 132px; }
  .side__foot small { display: block; font-size: 12px; font-weight: 500; color: var(--text-sub); margin-bottom: 8px; }
  .side__foot p { font-family: var(--f-mincho); font-size: 26px; font-weight: 800; line-height: 1.4; }
}
/* 左サイドの高さが足りない画面では下部ブランドを隠す */
@media (min-width: 1024px) and (max-height: 760px) { .side__foot { display: none; } }

/* =========================================================
   アニメーション
   - FV：読み込み時に1回
   - [data-reveal]：画面に入ったら1回（js/main.js が .is-in を付与）
   - フロー：常時ループ
   ========================================================= */
.fade { opacity: 0; animation: fadeUp 1s var(--ease-out) forwards; }
.d1 { animation-delay: .9s; } .d2 { animation-delay: 1.05s; } .d3 { animation-delay: 1.2s; }
.d4 { animation-delay: 1.35s; } .d5 { animation-delay: 1.5s; } .d6 { animation-delay: 1.65s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

.ink-reveal {
  -webkit-mask-image: linear-gradient(115deg, #000 44%, transparent 56%);
          mask-image: linear-gradient(115deg, #000 44%, transparent 56%);
  -webkit-mask-size: 340% 100%; mask-size: 340% 100%;
  -webkit-mask-position: 100% 0; mask-position: 100% 0;
  animation: inkReveal 2.4s var(--ease-ink) .15s forwards, inkSettle 2.4s ease-out .15s both;
}
@keyframes inkReveal { to { -webkit-mask-position: 0 0; mask-position: 0 0; } }
@keyframes inkSettle { from { filter: blur(4px); } to { filter: blur(0); } }

.fv__scan { opacity: 0; animation: scan 6s cubic-bezier(.45,0,.55,1) 2.6s infinite; }
@keyframes scan { 0% { top: 6%; opacity: 0; } 8% { opacity: 1; } 88% { opacity: 1; } 100% { top: 94%; opacity: 0; } }

[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }
.brush[data-draw] { clip-path: inset(0 100% 0 0); transition: clip-path 1.6s var(--ease-draw); }
.brush[data-draw].is-in { clip-path: inset(0 0 0 0); }
.apply__logo[data-ink] { -webkit-mask-image: linear-gradient(115deg, #000 44%, transparent 56%); mask-image: linear-gradient(115deg, #000 44%, transparent 56%); -webkit-mask-size: 340% 100%; mask-size: 340% 100%; -webkit-mask-position: 100% 0; mask-position: 100% 0; transition: -webkit-mask-position 2.4s var(--ease-ink), mask-position 2.4s var(--ease-ink); }
.apply__logo[data-ink].is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }

.dots { display: inline-block; overflow: hidden; white-space: nowrap; width: 0; vertical-align: bottom; animation: dots 1.4s steps(4, end) infinite; }
@keyframes dots { to { width: 1.3em; } }
.st-check { animation: stCheck 10s infinite; }
.st-yes { opacity: 0; animation: stYes 10s infinite; }
.st-no { opacity: 0; animation: stNo 10s infinite; }
@keyframes stCheck { 0%,29% { opacity: 1; } 31%,50% { opacity: 0; } 52%,79% { opacity: 1; } 81%,100% { opacity: 0; } }
@keyframes stYes { 0%,30% { opacity: 0; } 32%,49% { opacity: 1; } 51%,100% { opacity: 0; } }
@keyframes stNo { 0%,80% { opacity: 0; } 82%,98% { opacity: 1; } 100% { opacity: 0; } }
.outcome--yes { animation: hlYes 10s infinite; }
.outcome--no { animation: hlNo 10s infinite; }
@keyframes hlYes { 0%,30% { box-shadow: inset 0 0 0 1px rgba(17,17,17,.18); } 32%,49% { box-shadow: inset 0 0 0 2px #2667FF; } 51%,100% { box-shadow: inset 0 0 0 1px rgba(17,17,17,.18); } }
@keyframes hlNo { 0%,80% { box-shadow: inset 0 0 0 1px rgba(17,17,17,.18); } 82%,98% { box-shadow: inset 0 0 0 2px #111; } 100% { box-shadow: inset 0 0 0 1px rgba(17,17,17,.18); } }
.token { opacity: 0; animation: tokenY 10s cubic-bezier(.5,0,.3,1) infinite; }
@keyframes tokenY { 0% { transform: translateY(-10px); opacity: 0; } 4% { opacity: 1; } 24% { transform: translateY(34px); opacity: 1; } 29%,50% { transform: translateY(48px); opacity: 0; } 51% { transform: translateY(-10px); opacity: 0; } 55% { opacity: 1; } 74% { transform: translateY(34px); opacity: 1; } 79%,100% { transform: translateY(48px); opacity: 0; } }
.gate__scan { animation: gateScan 2.2s cubic-bezier(.45,0,.55,1) infinite alternate; }
@keyframes gateScan { from { top: 14%; } to { top: 86%; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fade, [data-reveal] { opacity: 1; transform: none; animation: none; transition: none; }
  .ink-reveal, .apply__logo[data-ink] { -webkit-mask-image: none; mask-image: none; animation: none; }
  .brush[data-draw] { clip-path: none; transition: none; }
  .fv__scan, .token { display: none; }
  .dots, .st-check, .st-yes, .st-no, .outcome--yes, .outcome--no, .gate__scan { animation: none; }
  .st-yes, .st-no { opacity: 0; }
}
