/* ===== tokens ===== */
:root {
  --cream: #F2EEE6;
  --cream-2: #EBE6DC;
  --ink: #0A0F4A;
  --ink-soft: #1a1f5a;
  --blue: #1E2AFF;
  --blue-2: #2836ff;
  --blue-deep: #0e1ad1;
  --lime: #D4F03C;
  --lime-2: #B6D023;
  --coral: #E84A3A;
  --pink: #D45B8E;
  --lilac: #B8A7F0;
  --purple: #2D1970;
  --sky: #9CC6E8;
  --butter: #F2E7C4;
  --olive: #6B7A2E;

  /* Adobe Fonts Gotham (kit cuj1vdt) をメイン / 読込失敗時はシステム UI sans */
  --display: 'gotham', ui-sans-serif, system-ui, -apple-system, 'Helvetica Neue', sans-serif;
  --jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  /* cream にしておく: iOS Safari が下方セクションの描画を遅延したときに、
     未描画領域に body 青が露出してしまう (FAQ / CTA 付近で発生) のを回避。
     Hero は自身の radial gradient + isolation: isolate を持つので body bg 無関係。 */
  background: var(--cream);
  color: var(--cream);
  font-family: var(--jp);
  font-feature-settings: 'palt';
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  min-height: 100vh;
}
a { color: inherit; }
img { max-width: 100%; display: block; }

/* ===== nav (transparent) ===== */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: grid; grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 28px;
  background: transparent;
}
.nav__brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
.nav__mark {
  width: 56px; height: 56px;
  background: transparent;
  padding: 0;
  object-fit: contain;
}
.nav__wordmark { font-family: var(--display); font-weight: 900; font-size: 22px; letter-spacing: -0.01em; color: #fff; mix-blend-mode: difference; }
.nav__wordmark em { font-style: normal; font-weight: 600; padding-left: 2px; }
.nav__links {
  display: inline-flex; gap: 2px;
  justify-self: end; /* DOWNLOAD 左に寄せる */
  width: fit-content;
  padding: 4px;
  border-radius: 999px;
  background: color-mix(in oklab, #000 35%, transparent);
  border: 1px solid color-mix(in oklab, #fff 18%, transparent);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: inset 0 1px 0 color-mix(in oklab, #fff 12%, transparent), 0 10px 30px -12px rgba(0,0,0,.45);
}
.nav__links a {
  display: inline-flex; align-items: center;
  text-decoration: none; font-size: 13px; font-weight: 700;
  color: #fff;
  white-space: nowrap;
  min-height: 34px;
  padding: 0 16px; border-radius: 999px;
  line-height: 1;
  transition: background .18s, color .18s;
}
.nav__links a:hover { background: color-mix(in oklab, #fff 15%, transparent); color: var(--lime); }
.nav__cta {
  display: inline-flex; align-items: center; gap: 8px;
  justify-self: end;
  width: fit-content;
  min-height: 44px;
  background: var(--lime); color: var(--ink);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 22px; border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: 0 4px 0 var(--lime-2);
}
.nav__cta span { white-space: nowrap; }
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 6px 0 var(--lime-2); }

@media (max-width: 720px) {
  .nav { padding: 14px 18px; gap: 16px; } /* 左右マージンを狭めに */
  .nav__links a { font-size: 11px; padding: 0 12px; min-height: 32px; }
  .nav__links { gap: 1px; padding: 3px; }
  .nav__cta { min-height: 40px; padding: 0 18px; font-size: 12px; }
}
@media (max-width: 460px) {
  .nav__links { display: none; }
  /* links が消えた時、空のトラック + gap で右端に寄らないので 2 カラム化 */
  .nav { grid-template-columns: auto 1fr; gap: 12px; }
  .nav__cta { justify-self: end; }
}

/* ===== marquee (over blue → lime/navy) ===== */
.marquee {
  background: var(--ink); color: var(--cream);
  overflow: hidden;
  border-top: 2px solid var(--lime);
  border-bottom: 2px solid var(--lime);
}
.marquee__track {
  display: inline-flex; gap: 24px; align-items: center;
  white-space: nowrap;
  padding: 10px 0;
  font-family: var(--display); font-weight: 700; font-size: 13px;
  letter-spacing: 0.1em;
  animation: marq 32s linear infinite;
}
.marquee__track .dot { color: var(--lime); font-size: 10px; }
@keyframes marq { to { transform: translateX(-50%); } }

/* ===== hero (blue KV) ===== */
.hero {
  position: relative;
  min-height: min(100vh, 960px);
  max-height: 100vh;
  padding: 100px clamp(24px, 5vw, 72px) 40px;
  margin-top: 0;
  display: block;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 50% 30%, #2a37ff 0%, var(--blue) 55%, #141ed6 100%);
  color: var(--cream);
}
#physics {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  touch-action: pan-y;
}
#physics.has-hit { pointer-events: auto; }
/* Copy anchored to bottom-left; phone floats to the right.
   Both sit above the physics canvas; copy can overlap the phone freely. */
.hero__copy {
  position: absolute; z-index: 3;
  left: clamp(24px, 5vw, 72px);
  bottom: clamp(40px, 6vh, 80px);
  pointer-events: none;
  max-width: min(60vw, 720px);
}
.hero__copy > * { pointer-events: auto; }
.hero__copy--right { display: none; }
/* Phone pinned to horizontal + vertical center of the hero.
   Width: keep the device visually "phone-sized" across breakpoints.
   On iPhone (~390px viewport) we want ~220–250px wide so the device stays
   commanding but doesn't dominate; clamp caps growth on desktop. */
.hero .phone-wrap {
  position: absolute; z-index: 2;
  left: 50%;
  top: 50%;
  width: clamp(220px, 46vw, 360px);
  margin: 0;
  transform: translate(-50%, -50%);
  animation: heroPhoneBob 6s ease-in-out infinite;
}
.hero .phone-wrap.no-bob { animation: none; transform: translate(-50%, -50%); }
@keyframes heroPhoneBob {
  0%, 100% { transform: translate(-50%, calc(-50% - 6px)) rotate(-1.2deg); }
  50%      { transform: translate(-50%, calc(-50% + 14px)) rotate(1.6deg); }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 22px;
  font-family: var(--mono); font-size: 11px; font-weight: 600;
  color: color-mix(in oklab, var(--cream) 85%, transparent);
  letter-spacing: 0.08em;
}
.eyebrow__label { text-transform: uppercase; }
.pill {
  background: var(--lime); color: var(--ink);
  padding: 4px 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; font-weight: 800;
  letter-spacing: 0.1em;
}

.display {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(52px, 8.4vw, 132px);
  line-height: 0.88;
  letter-spacing: -0.035em;
  margin: 0 0 24px;
  color: var(--cream);
  text-shadow: 0 2px 24px rgba(10,15,74,.35);
}
.display__row { display: block; }
.display__accent {
  font-style: italic;
  position: relative;
  background: linear-gradient(
    90deg,
    #ff3a6e 0%,
    #ff9a3a 16%,
    #f0e23a 32%,
    #4dd97a 48%,
    #3ad6ff 64%,
    #7a4dff 80%,
    #ff3a6e 100%
  );
  background-size: 300% 100%;
  background-position: 0% 50%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
          color: transparent;
  animation: displayAccentHue 9s ease-in-out infinite;
  will-change: background-position, filter;
}
@keyframes displayAccentHue {
  0%   { background-position:   0% 50%; filter: saturate(1) hue-rotate(0deg); }
  25%  { background-position:  40% 50%; filter: saturate(1.15) hue-rotate(15deg); }
  50%  { background-position:  75% 50%; filter: saturate(1) hue-rotate(30deg); }
  75%  { background-position: 110% 50%; filter: saturate(1.2) hue-rotate(15deg); }
  100% { background-position: 160% 50%; filter: saturate(1) hue-rotate(0deg); }
}
@media (prefers-reduced-motion: reduce) {
  .display__accent { animation: none; }
}
.display__accent::after {
  content: ''; position: absolute; left: -2%; right: -6%; bottom: 6%;
  height: 18%;
  background: var(--lime);
  z-index: -1;
  transform: skewX(-8deg);
}

.lede {
  font-family: var(--jp); font-weight: 900;
  font-size: clamp(32px, 3.4vw, 52px);
  line-height: 1.3;
  margin: 0 0 32px;
  max-width: 16ch;
  letter-spacing: -0.02em;
  color: var(--cream);
  -webkit-text-stroke: 0.5px color-mix(in oklab, var(--cream) 55%, transparent);
}

.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  text-decoration: none;
  font-weight: 800;
  font-size: 15px;
  padding: 16px 24px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .2s, background .2s, border-color .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  font-family: var(--jp);
  line-height: 1;
}
.btn--primary { background: var(--lime); color: var(--ink); box-shadow: 0 6px 0 var(--lime-2); }
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--lime-2); }
.btn--ghost {
  background: color-mix(in oklab, var(--cream) 12%, transparent);
  color: var(--cream);
  border-color: color-mix(in oklab, var(--cream) 35%, transparent);
  backdrop-filter: blur(16px) saturate(1.5);
  -webkit-backdrop-filter: blur(16px) saturate(1.5);
  box-shadow: inset 0 1px 0 color-mix(in oklab, var(--cream) 30%, transparent);
}
.btn--ghost:hover { background: color-mix(in oklab, var(--cream) 22%, transparent); color: var(--cream); transform: translateY(-2px); }
.btn--xl { padding: 24px 40px; font-size: 22px; border-radius: 999px; }

/* ===== App Store official badge ===== */
.appstore-badge {
  display: inline-block;
  line-height: 0;
  text-decoration: none;
  transition: transform .2s, filter .2s;
  /* 公式バッジは角丸 PNG なので、ホバー時の外観は transform + drop-shadow で */
  filter: drop-shadow(0 6px 0 rgba(0, 0, 0, 0.25));
}
.appstore-badge:hover { transform: translateY(-2px); filter: drop-shadow(0 8px 0 rgba(0, 0, 0, 0.3)); }
.appstore-badge img { width: 180px; height: auto; display: block; }
.appstore-badge--xl img { width: 240px; }
@media (max-width: 720px) {
  .appstore-badge img { width: 170px; }
  .appstore-badge--xl img { width: 210px; }
}

.hero__meta { display: flex; align-items: center; gap: 16px; }
.rating { display: flex; align-items: center; gap: 12px; }
.stars { color: var(--lime); letter-spacing: 2px; font-size: 18px; }
.rating__num { font-family: var(--display); font-weight: 800; font-size: 22px; color: var(--cream); }
.rating__label { font-family: var(--mono); font-size: 11px; color: color-mix(in oklab, var(--cream) 70%, transparent); letter-spacing: 0.08em; }

/* === right column === */
.hero__copy--right { justify-self: end; text-align: right; align-self: end; padding-bottom: 8px; }
.hero__hint {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(10,15,74,.4);
  border: 1px solid color-mix(in oklab, var(--cream) 30%, transparent);
  color: color-mix(in oklab, var(--cream) 85%, transparent);
  padding: 8px 14px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em;
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.pills {
  display: flex; flex-direction: column; gap: 10px;
  margin-bottom: 28px;
}
.pill-card {
  display: inline-grid; grid-template-columns: auto 1fr; gap: 12px;
  align-items: center;
  background: rgba(10,15,74,.35);
  border: 1.5px solid color-mix(in oklab, var(--cream) 35%, transparent);
  border-radius: 14px;
  padding: 10px 16px;
  text-align: left;
  justify-self: end;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: var(--cream);
}
.pill-card__i {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  display: grid; place-items: center;
}
.pill-card__k { font-family: var(--display); font-weight: 800; font-size: 11px; letter-spacing: 0.1em; color: var(--lime); }
.pill-card__v { font-family: var(--display); font-weight: 900; font-size: 14px; letter-spacing: 0.04em; color: var(--cream); }

.callout {
  background: var(--ink); color: var(--cream);
  border-radius: 18px; padding: 14px 18px;
  display: inline-flex; flex-direction: column; gap: 4px;
  text-align: left;
  justify-self: end;
  border: 1.5px solid var(--lime);
}
.callout__label { font-family: var(--display); font-weight: 800; font-size: 14px; color: var(--lime); }
.callout__hint { font-family: var(--mono); font-size: 11px; color: color-mix(in oklab, var(--cream) 80%, var(--ink)); }
.kbd {
  display: inline-block;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--lime); color: var(--ink);
  font-family: var(--mono); font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em;
}

/* ===== phone ===== */
.phone-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
  aspect-ratio: 9/19;
  max-width: 360px;
  margin: 0 auto;
  animation: bob 6s ease-in-out infinite;
  transform-origin: 50% 50%;
  pointer-events: none;
}
.phone-wrap.no-bob { animation: none; }
@keyframes bob {
  0%, 100% { transform: translateY(-6px) rotate(-1.2deg); }
  50%      { transform: translateY(14px) rotate(1.6deg); }
}
.phone-wrap__shadow {
  position: absolute;
  left: 50%; bottom: -7%;
  transform: translateX(-50%);
  width: 82%; height: 38px;
  background: radial-gradient(ellipse at center, rgba(0,0,0,.55), transparent 65%);
  filter: blur(8px);
  z-index: -1;
  animation: shadow 6s ease-in-out infinite;
}
@keyframes shadow {
  0%, 100% { transform: translateX(-50%) scale(0.9, 0.7); opacity: .7; }
  50%      { transform: translateX(-50%) scale(1.05, 1); opacity: 1; }
}

.phone {
  position: absolute; inset: 0;
  background: #111318;
  border-radius: 46px;
  padding: 10px;
  box-shadow:
    0 2px 0 #23262f inset,
    0 -2px 0 #23262f inset,
    0 0 0 2px #2a2d36,
    0 40px 80px -30px rgba(0,0,0,.65),
    0 18px 24px -14px rgba(0,0,0,.45);
}
.phone__frame { position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden; background: #000; }
.phone__notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 32%; height: 26px; background: #000; border-radius: 20px;
  z-index: 3;
}
.phone__screen { position: absolute; inset: 0; background: #0a0a0c; color: #fff; font-family: var(--jp); display: flex; flex-direction: column; }
.uiStage, .uiSlide, .ui { display: none !important; }

/* Phone screen = placeholder image slideshow */
.phone__ss {
  position: absolute; inset: 0;
  overflow: hidden;
  background: #111318;
}
.phone__ss-slide {
  position: absolute; inset: 0;
  background-position: center; background-size: cover;
  opacity: 0;
  transition: opacity 900ms ease;
}
.phone__ss-slide.is-on { opacity: 1; }
.phone__ss-label {
  position: absolute; left: 12px; bottom: 14px;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(6px);
  color: #fff;
  font-family: var(--mono); font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  border: 1px solid rgba(255,255,255,.22);
}
.ctaBlock__legal {
  margin: 24px auto 0;
  max-width: 880px;
  font-family: var(--mono); font-size: 10px; line-height: 1.7;
  letter-spacing: 0.02em;
  color: color-mix(in oklab, var(--ink) 55%, transparent);
  text-align: center;
}
.phone__reflection {
  position: absolute; inset: 0;
  border-radius: 46px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 30%, transparent 70%, rgba(255,255,255,0.06) 100%);
  pointer-events: none;
}

/* ===== phone UI (unchanged) ===== */
.ui { display: flex; flex-direction: column; height: 100%; font-size: 11px; }
.ui__status { display: flex; justify-content: space-between; padding: 10px 24px 0; font-weight: 600; font-size: 12px; }
.ui__status-right { display: inline-flex; gap: 4px; align-items: center; }
.ui__header { display: flex; justify-content: center; align-items: center; gap: 6px; padding: 16px 0 10px; font-weight: 600; font-size: 13px; }
.ui__photo {
  margin: 0 10px 8px; border-radius: 10px; overflow: hidden;
  aspect-ratio: 4/5; position: relative;
  background: #111;
}
.ui__photo-stage { position: absolute; inset: 0; }
.ui__photo-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.9s ease;
}
.ui__photo-slide.is-on { opacity: 1; }
.ui__photo-grad {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,.12), transparent 55%),
    linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.35) 100%);
}
.ui__photo-label { position: absolute; top: 8px; left: 8px; font-family: var(--mono); font-size: 9px; color: #fff; background: rgba(0,0,0,.5); padding: 3px 7px; border-radius: 4px; letter-spacing: 0.08em; z-index: 2; }

.ui__thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 0 10px 8px; }
.ui__thumb { aspect-ratio: 1; background: linear-gradient(135deg, #3b4552, #20242c); border-radius: 6px; position: relative; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 3px; }
.ui__thumb .n { font-family: var(--mono); font-size: 8px; color: rgba(255,255,255,.8); letter-spacing: 0.05em; }
.ui__thumb--on { outline: 1.5px solid var(--lime); outline-offset: 1px; }

.ui__hueRow { display: flex; justify-content: space-between; padding: 4px 14px 8px; }
.hue { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.hue--r { background: #E84A3A; } .hue--o { background: #F08A2A; } .hue--y { background: #E9C63A; }
.hue--l { background: #D4F03C; } .hue--g { background: #3FB37A; } .hue--c { background: #3BC6D9; }
.hue--b { background: #1E2AFF; } .hue--p { background: #7A4DFF; }
.hue--on { outline: 1.5px solid #fff; outline-offset: 2px; }

.ui__sliders { display: flex; flex-direction: column; gap: 10px; padding: 6px 14px; }
.slider { display: grid; grid-template-columns: 36px 1fr 28px; gap: 8px; align-items: center; font-size: 10px; }
.slider__label { color: rgba(255,255,255,.85); }
.slider__track { position: relative; height: 2px; background: rgba(255,255,255,.22); border-radius: 1px; }
.slider__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--p, 50%); background: rgba(255,255,255,.6); }
.slider__knob { position: absolute; top: 50%; left: var(--p, 50%); width: 10px; height: 10px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.slider__val { text-align: right; color: rgba(255,255,255,.7); font-family: var(--mono); font-size: 9px; }

.ui__tabs { margin-top: auto; display: grid; grid-template-columns: repeat(6, 1fr); gap: 2px; padding: 10px 8px 18px; border-top: 1px solid rgba(255,255,255,.08); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 9px; color: rgba(255,255,255,.55); }
.tab__i { font-size: 14px; }
.tab--on { color: var(--lime); }

/* ===== sections ===== */
.section {
  padding: clamp(72px, 9vw, 140px) clamp(18px, 5vw, 72px);
  position: relative;
}
.section--features { background: var(--cream); color: var(--ink); }
.section--how {
  background: var(--blue);
  color: var(--cream);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.section--how::before,
.section--how::after {
  content: "";
  position: absolute;
  inset: -20%;
  z-index: -1;
  pointer-events: none;
}
/* layer 1 — giant lime + deep blue blobs drifting */
.section--how::before {
  background:
    radial-gradient(32% 32% at 22% 28%, var(--lime) 0%, transparent 62%),
    radial-gradient(38% 38% at 78% 72%, var(--lime) 0%, transparent 62%),
    radial-gradient(55% 55% at 55% 50%, color-mix(in oklab, #001cff 80%, transparent) 0%, transparent 70%);
  filter: blur(60px) saturate(1.5);
  animation: howBlobs 18s ease-in-out infinite alternate;
  mix-blend-mode: screen;
  opacity: 1;
}
/* layer 2 — sweeping lime arc + counter-rotating blue wedge */
.section--how::after {
  background:
    conic-gradient(from 0deg at 70% 35%, transparent 0deg, var(--lime) 55deg, transparent 150deg),
    conic-gradient(from 200deg at 30% 70%, transparent 0deg, color-mix(in oklab, var(--blue) 100%, #fff 10%) 80deg, transparent 190deg),
    radial-gradient(42% 42% at 85% 15%, var(--lime) 0%, transparent 60%);
  filter: blur(80px) saturate(1.35);
  animation: howBlobs2 26s linear infinite;
  mix-blend-mode: screen;
  opacity: 0.9;
}
@keyframes howBlobs {
  0%   { transform: translate(0%, 0%)   rotate(0deg)   scale(1);    }
  25%  { transform: translate(8%, -6%)  rotate(25deg)  scale(1.2);  }
  50%  { transform: translate(-6%, 8%)  rotate(-20deg) scale(1.35); }
  75%  { transform: translate(7%, 4%)   rotate(18deg)  scale(1.2);  }
  100% { transform: translate(-4%, -3%) rotate(-12deg) scale(1.3);  }
}
@keyframes howBlobs2 {
  0%   { transform: rotate(0deg)   scale(1.15); }
  50%  { transform: rotate(180deg) scale(1.4);  }
  100% { transform: rotate(360deg) scale(1.15); }
}
@media (prefers-reduced-motion: reduce) {
  .section--how::before,
  .section--how::after { animation: none; }
}
/* モバイルでは blur(60-80px) の無限アニメを止める
   (iOS Safari で GPU 負荷が高く、スクロール描画に影響するため) */
@media (max-width: 720px) {
  .section--how::before,
  .section--how::after { animation: none; }
}
.section--how > * { position: relative; z-index: 1; }
.section--faq { background: var(--cream); color: var(--ink); }
.section--cta { background: var(--lime); color: var(--ink); padding-bottom: clamp(40px, 5vw, 72px); }

.section__kicker { display: none; }

/* ===== dynamic section heading ===== */
.sectionHead {
  margin: 0 0 clamp(40px, 6vw, 80px);
  line-height: 0.85;
}
.sectionHead__title {
  font-family: var(--display); font-weight: 900;
  /* min を 72px → 52px に下げて 380px 級の端末で overflow 回避 */
  font-size: clamp(52px, 13vw, 220px);
  letter-spacing: -0.04em;
  line-height: 0.85;
  margin: 0;
  color: currentColor;
}
.sectionHead--light .sectionHead__title { color: var(--lime); }

/* ===== big features (simplified) ===== */
.bigFeat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "text media";
  column-gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding: clamp(48px, 6vw, 96px) 0;
}
.bigFeat__text {
  grid-area: text;
  display: flex;
  flex-direction: column;
  /* num と body をタイトに詰める。間延び防止 */
  gap: clamp(14px, 1.4vw, 22px);
}
.bigFeat__media { grid-area: media; align-self: center; }
.bigFeat--flip {
  grid-template-areas: "media text";
}

.bigFeat__num {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(72px, 9vw, 140px);
  margin-bottom: 0;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--blue);
}
.bigFeat__tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--ink) 65%, transparent);
  margin-bottom: 16px;
}
.bigFeat__h {
  font-family: var(--display); font-weight: 900;
  font-size: clamp(40px, 5.6vw, 84px);
  line-height: 0.94;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
  color: var(--ink);
}
.bigFeat__h em {
  font-style: normal; font-weight: 900;
  color: var(--blue);
  display: inline-block; position: relative;
}
.bigFeat__h em::after {
  content: ''; position: absolute;
  left: -2%; right: -3%; bottom: 6%;
  height: 20%;
  background: var(--lime);
  z-index: -1;
  transform: skewX(-6deg);
}
.bigFeat__p {
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.8;
  color: var(--ink-soft);
  margin: 0;
  max-width: 40ch;
}

.bigFeat__media { width: 100%; }
.ph {
  position: relative;
  width: 100%;
  border-radius: 24px;
  background:
    repeating-linear-gradient(
      135deg,
      color-mix(in oklab, var(--blue) 8%, var(--cream)) 0 10px,
      color-mix(in oklab, var(--blue) 14%, var(--cream)) 10px 20px
    );
  border: 1.5px solid var(--ink);
  display: grid; place-items: center;
}
.ph--wide { aspect-ratio: 4/3; }
.ph--tall { aspect-ratio: 3/4; }

/* 各 FEATURES セクションに実画像を載せる時の枠 */
.feat-img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  display: block;
}
.ph__tag {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em;
  background: var(--ink); color: var(--cream);
  padding: 6px 12px; border-radius: 999px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .bigFeat,
  .bigFeat--flip {
    grid-template-columns: 1fr;
    grid-template-areas:
      "text"
      "media";
    gap: 24px;
  }
}

/* ===== how ===== */
.how {
  display: grid;
  grid-template-columns: 1fr 40px 1fr 40px 1fr 40px 1fr;
  gap: 16px;
  /* カードは一番背の高いものに揃える。矢印だけ中央配置 */
  align-items: stretch;
}
.how__step {
  padding: 28px;
  border: 1px solid color-mix(in oklab, var(--cream) 22%, transparent);
  border-radius: 18px;
  background: color-mix(in oklab, #000 40%, transparent);
  backdrop-filter: blur(22px) saturate(1.3);
  -webkit-backdrop-filter: blur(22px) saturate(1.3);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, var(--cream) 14%, transparent),
    0 16px 40px -20px rgba(0,0,0,0.5);
}
.how__num {
  font-family: var(--mono); font-size: 13px; color: var(--lime); margin-bottom: 14px; letter-spacing: 0.1em;
}
.how__step h3 { font-family: var(--display); font-weight: 800; font-size: 22px; margin: 0 0 10px; letter-spacing: -0.02em; }
.how__step p { font-size: 14px; line-height: 1.7; color: color-mix(in oklab, var(--cream) 75%, transparent); margin: 0; }
.how__arrow { color: var(--lime); display: flex; justify-content: center; align-self: center; }
@media (max-width: 980px) {
  .how { grid-template-columns: 1fr; }
  .how__arrow { transform: rotate(90deg); }
}

/* ===== faq chat ===== */
.faqTitle { display: none; }
.chat {
  max-width: 720px;
  margin: 0 auto;
  display: flex; flex-direction: column; gap: 16px;
  padding: 32px;
  /* 不透明クリーム (以前は 55% 透過 + backdrop-filter だったが、
     iOS Safari が overflow:clip + backdrop-filter でセクション背景を貫通し
     body の青地が透けるバグがあったので不透明に変更) */
  background: var(--cream);
  border: 1.5px solid color-mix(in oklab, var(--ink) 18%, transparent);
  border-radius: 28px;
  position: relative;
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, #fff 45%, transparent),
    0 24px 60px -24px color-mix(in oklab, var(--ink) 40%, transparent);
}
.chat__row { display: flex; gap: 10px; align-items: flex-end; }
.chat__row--me { flex-direction: row-reverse; }
.chat__row--them + .chat__row--me { margin-top: 24px; }
.chat__avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--ink); color: var(--cream);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 800; font-size: 14px;
  flex-shrink: 0;
  overflow: hidden;
}
.chat__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.chat__avatar--me { background: var(--lime); padding: 4px; }
.chat__avatar--me img { object-fit: contain; }

.bubble {
  max-width: 75%;
  padding: 14px 18px;
  border-radius: 20px;
  font-size: 15px;
  line-height: 1.6;
  position: relative;
}
.bubble__name {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.1em;
  margin-bottom: 4px; opacity: .6;
}
.bubble p { margin: 0; }

.bubble--them {
  background: var(--lime);
  color: var(--ink);
  border-bottom-left-radius: 6px;
}
.bubble--me {
  background: var(--blue);
  color: var(--cream);
  border-bottom-right-radius: 6px;
}
.chat__avatar--me { background: var(--blue); color: var(--cream); }

.chat__typing {
  align-self: flex-start;
  display: inline-flex; gap: 5px;
  padding: 14px 18px;
  background: var(--cream);
  border: 1.5px solid var(--ink);
  border-radius: 20px;
  border-bottom-left-radius: 6px;
  margin-top: 4px;
}
.chat__typing span {
  width: 8px; height: 8px; border-radius: 50%;
  background: color-mix(in oklab, var(--ink) 45%, transparent);
  animation: typing 1.4s infinite ease-in-out both;
}
.chat__typing span:nth-child(2) { animation-delay: 0.18s; }
.chat__typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes typing {
  0%, 80%, 100% { transform: translateY(0); opacity: .4; }
  40% { transform: translateY(-4px); opacity: 1; }
}

/* ===== cta ===== */
.ctaBlock { text-align: center; }
.ctaBlock__eye {
  font-family: var(--display); font-weight: 900; font-style: italic;
  font-size: clamp(72px, 11vw, 180px);
  letter-spacing: -0.04em; line-height: 0.85;
  margin: 0 0 20px;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
  text-stroke: 2.5px var(--ink);
  position: relative;
  display: inline-block;
  animation: ctaGlitchFlicker 3.6s steps(1, end) infinite;
  will-change: opacity, transform, filter;
}
/* sliced bands that jitter sideways — monochrome ink only */
.ctaBlock__eye::before,
.ctaBlock__eye::after {
  content: attr(data-text);
  position: absolute;
  inset: 0;
  pointer-events: none;
  font: inherit; letter-spacing: inherit; line-height: inherit;
  color: transparent;
  -webkit-text-stroke: 2.5px var(--ink);
  text-stroke: 2.5px var(--ink);
}
.ctaBlock__eye::before {
  animation: ctaGlitchSliceA 3.6s steps(1, end) infinite;
}
.ctaBlock__eye::after {
  animation: ctaGlitchSliceB 3.6s steps(1, end) infinite;
}
/* scanline veil */
.ctaBlock__eye > .scan {
  display: none;
  animation: ctaScanShift 2.2s linear infinite;
}

@keyframes ctaGlitchFlicker {
  0%, 100% { opacity: 1; filter: none; }
  6% { opacity: 0.45; }
  7% { opacity: 1; }
  19% { opacity: 1; }
  20% { opacity: 0.2; filter: blur(0.4px); }
  21% { opacity: 1; filter: none; }
  52% { opacity: 1; }
  53% { opacity: 0.6; transform: translateX(1px); }
  54% { opacity: 1; transform: translateX(0); }
  78% { opacity: 1; }
  79% { opacity: 0.35; transform: translateX(-1px); filter: blur(0.3px); }
  80% { opacity: 1; transform: translateX(0); filter: none; }
}
@keyframes ctaGlitchSliceA {
  0%, 100% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  10% { transform: translate(-4px, 0); clip-path: inset(12% 0 72% 0); }
  15% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  42% { transform: translate(3px, 0); clip-path: inset(55% 0 28% 0); }
  47% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  70% { transform: translate(-2px, 0); clip-path: inset(28% 0 58% 0); }
  75% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
}
@keyframes ctaGlitchSliceB {
  0%, 100% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  25% { transform: translate(3px, 0); clip-path: inset(72% 0 8% 0); }
  30% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  57% { transform: translate(-3px, 0); clip-path: inset(38% 0 45% 0); }
  62% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
  88% { transform: translate(2px, 0); clip-path: inset(8% 0 78% 0); }
  93% { transform: translate(0,0); clip-path: inset(100% 0 0 0); }
}
@keyframes ctaScanShift {
  0%   { background-position: 0 0; opacity: 0.45; }
  50%  { opacity: 0.6; }
  100% { background-position: 0 8px; opacity: 0.45; }
}
@media (prefers-reduced-motion: reduce) {
  .ctaBlock__eye,
  .ctaBlock__eye::before,
  .ctaBlock__eye::after,
  .ctaBlock__eye > .scan { animation: none; }
}
.ctaBlock__mark {
  display: block;
  width: clamp(84px, 10vw, 128px);
  height: auto;
  margin: 0 auto 28px;
  border-radius: 24px;
  filter: drop-shadow(0 18px 28px rgba(10, 15, 74, .18))
          drop-shadow(0 6px 10px rgba(10, 15, 74, .12));
  animation: ctaMarkBob 5s ease-in-out infinite;
}
@keyframes ctaMarkBob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-8px) rotate(3deg); }
}
.ctaBlock__h {
  font-family: var(--display); font-weight: 900;
  font-style: italic;
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.9; letter-spacing: -0.035em;
  margin: 0 0 40px;
}
.ctaBlock__h em { font-style: italic; font-weight: 900; }
.br-sp { display: none; }
@media (max-width: 720px) {
  .br-sp { display: inline; }
}
.section--cta .btn--primary {
  position: relative;
  background: var(--ink);
  color: transparent;
  background-image: linear-gradient(
    90deg,
    #ff3a6e 0%,
    #ff9a3a 16%,
    #f0e23a 32%,
    #4dd97a 48%,
    #3ad6ff 64%,
    #7a4dff 80%,
    #ff3a6e 100%
  ), linear-gradient(var(--ink), var(--ink));
  background-size: 300% 100%, 100% 100%;
  background-position: 0% 50%, 0 0;
  background-origin: border-box, border-box;
  background-clip: text, padding-box;
  -webkit-background-clip: text, padding-box;
  -webkit-text-fill-color: transparent;
  box-shadow: 0 6px 0 #000830;
  animation: displayAccentHue 9s ease-in-out infinite;
}
.section--cta .btn--primary svg {
  color: #f0e23a;
}
.section--cta .btn--primary:hover { box-shadow: 0 8px 0 #000830; transform: translateY(-1px); }
@media (prefers-reduced-motion: reduce) {
  .section--cta .btn--primary { animation: none; }
}
.ctaBlock__meta { font-family: var(--mono); font-size: 12px; margin-top: 18px; color: var(--ink-soft); letter-spacing: 0.08em; }

/* ===== footer ===== */
/* ===== footer ===== */
.foot {
  background: var(--ink);
  color: var(--cream);
  padding: 120px clamp(24px, 5vw, 72px) 32px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
/* giant wordmark acts as the hero of the footer */
.foot__hero {
  position: relative;
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1.5px dashed color-mix(in oklab, var(--cream) 25%, transparent);
}
.foot__hero-mark {
  position: absolute;
  top: -40px; right: 2%;
  width: clamp(80px, 10vw, 140px); height: clamp(80px, 10vw, 140px);
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--lime);
  box-shadow: 0 12px 40px -10px color-mix(in oklab, var(--lime) 60%, transparent);
  animation: footMarkSpin 24s linear infinite;
}
.foot__hero-mark img { width: 60%; height: 60%; object-fit: contain; }
@keyframes footMarkSpin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
.foot__hero-type {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(120px, 20vw, 340px);
  line-height: 0.82;
  letter-spacing: -0.05em;
  color: transparent;
  -webkit-text-stroke: 2px var(--cream);
  display: flex; flex-direction: column;
}
.foot__hero-line--italic {
  color: var(--lime);
  -webkit-text-stroke: 0;
  font-style: italic;
  align-self: flex-end;
  transform: translateY(-0.12em);
}
.foot__hero-line em { font-style: italic; font-weight: 900; }
.foot__tag {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: color-mix(in oklab, var(--cream) 80%, transparent);
}

.foot__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  margin-bottom: 60px;
}
.foot__col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot__col--wide {
  gap: 16px;
}
.foot__k {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: color-mix(in oklab, var(--cream) 55%, transparent);
  margin-bottom: 4px;
  text-transform: uppercase;
}
.foot__col > a {
  text-decoration: none;
  font-size: 15px;
  color: var(--cream);
  transition: color .18s, transform .18s;
  width: fit-content;
}
.foot__col > a:hover {
  color: var(--lime);
  transform: translateX(4px);
}
.foot__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--lime);
  color: var(--ink) !important;
  padding: 14px 20px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  width: fit-content;
  box-shadow: 0 6px 0 color-mix(in oklab, var(--lime) 60%, var(--ink));
  transition: transform .18s, box-shadow .18s;
}
.foot__cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 0 color-mix(in oklab, var(--lime) 60%, var(--ink));
  color: var(--ink) !important;
}

/* marquee strip */
.foot__marquee {
  position: relative;
  overflow: hidden;
  margin: 0 calc(clamp(24px, 5vw, 72px) * -1) 32px;
  padding: 18px 0;
  border-top: 1.5px solid color-mix(in oklab, var(--cream) 18%, transparent);
  border-bottom: 1.5px solid color-mix(in oklab, var(--cream) 18%, transparent);
  background: color-mix(in oklab, var(--blue) 30%, var(--ink));
}
.foot__marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 40px;
  white-space: nowrap;
  font-family: var(--display);
  font-weight: 900;
  font-style: italic;
  font-size: clamp(24px, 3vw, 40px);
  letter-spacing: -0.01em;
  color: var(--cream);
  animation: footMarquee 22s linear infinite;
  padding-left: 0;
}
.foot__marquee-track > span:nth-child(even) {
  color: var(--lime);
  font-size: 0.7em;
}
@keyframes footMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.foot__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: color-mix(in oklab, var(--cream) 55%, transparent);
}

@media (max-width: 820px) {
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .foot__col--wide { grid-column: 1 / -1; }
  .foot__hero-mark { top: -20px; width: 72px; height: 72px; }
  .foot__bottom { flex-direction: column; gap: 6px; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .foot__hero-mark,
  .foot__marquee-track { animation: none; }
}

/* ===== tweaks ===== */
.tweaks {
  position: fixed; right: 16px; bottom: 16px;
  z-index: 100;
  width: 300px;
  background: var(--ink); color: var(--cream);
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,.55);
  overflow: hidden;
  font-family: var(--mono); font-size: 12px;
}
.tweaks[hidden] { display: none; }
.tweaks__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--lime); color: var(--ink);
  font-weight: 800; letter-spacing: 0.08em;
}
.tweaks__head button { background: none; border: none; color: inherit; cursor: pointer; font-size: 14px; }
.tweaks__body { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.t-row { display: grid; grid-template-columns: 90px 1fr auto; gap: 10px; align-items: center; }
.t-row input[type=range] { width: 100%; accent-color: var(--lime); }
.t-row em { font-style: normal; color: var(--lime); }
.t-btn { background: var(--lime); color: var(--ink); border: none; padding: 10px; border-radius: 8px; font: inherit; font-weight: 800; cursor: pointer; letter-spacing: 0.08em; }
.t-btn:hover { background: var(--cream); }

/* ===== smaller screens ===== */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto auto; text-align: left; gap: 32px; padding-top: 100px; }
  .hero__copy--right { justify-self: start; text-align: left; }
  .pill-card, .callout { justify-self: start; }
  .phone-wrap { order: -1; max-width: 420px; }
}

/* ===== multi-phone stack ===== */
.phone--front {
  z-index: 3;
  box-shadow:
    0 2px 0 #23262f inset, 0 -2px 0 #23262f inset,
    0 2px 0 #23262f, 0 -2px 0 #23262f,
    0 60px 80px -30px rgba(0,0,0,.7),
    0 28px 40px -20px rgba(0,0,0,.55);
}
.phone--back {
  z-index: 1;
  width: 58%;
  aspect-ratio: 9/19;
  border-radius: 40px;
  padding: 8px;
  opacity: 0.92;
  filter: saturate(0.95);
}
.phone--back .phone__frame { border-radius: 32px; }
.phone--left {
  transform: translate(-110%, -48%) rotate(-12deg);
}
.phone--right {
  transform: translate(10%, -52%) rotate(11deg);
}

/* mini UI for back phones */
.ui-mini {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  color: #fff; font-family: var(--jp);
  display: flex; flex-direction: column;
}
.ui-mini::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, transparent 30%, transparent 65%, rgba(0,0,0,.55) 100%);
  pointer-events: none;
}
.ui-mini__status {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between;
  padding: 14px 18px 0;
  font-family: var(--mono); font-size: 11px; font-weight: 700;
  color: #fff;
}
.ui-mini__label {
  position: absolute; top: 44px; left: 12px;
  font-family: var(--mono); font-size: 9px;
  background: rgba(0,0,0,.55); color: #fff;
  padding: 4px 7px; border-radius: 4px; letter-spacing: .08em;
  z-index: 2;
}
.ui-mini__hues {
  position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 2;
  background: rgba(10,10,12,.65);
  padding: 6px 10px; border-radius: 999px;
  backdrop-filter: blur(8px);
}
.ui-mini__hues .hue { width: 10px; height: 10px; }

/* On small screens collapse to single phone */
@media (max-width: 720px) {
  .phone--back { display: none; }
  .phone--front { width: 100%; }
}

/* ============ scroll reveals ============ */
/* CTA heading: character-by-character */
.ctaBlock__h.is-reveal-pending .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.4em) rotate(-4deg);
  filter: blur(6px);
  transition:
    opacity .55s cubic-bezier(.2,.7,.2,1),
    transform .7s cubic-bezier(.2,.7,.2,1),
    filter .55s cubic-bezier(.2,.7,.2,1);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform, filter;
  /* give italic glyphs breathing room so slanted right edges aren't clipped */
  padding-right: 0.08em;
  margin-right: -0.08em;
  overflow: visible;
}
.ctaBlock__h.is-revealed .char {
  opacity: 1;
  transform: translateY(0) rotate(0);
  filter: blur(0);
}

/* FAQ chat bubbles: pop-in one by one */
.chat__row.chat__row--pending,
.chat__typing.chat__row--pending {
  opacity: 0;
  transform: translateY(14px) scale(0.92);
  transition:
    opacity .5s cubic-bezier(.2,.7,.2,1),
    transform .55s cubic-bezier(.2,1.4,.3,1); /* slight overshoot */
  transition-delay: var(--d, 0ms);
  transform-origin: 20% 80%;
  will-change: opacity, transform;
}
.chat__row--me.chat__row--pending { transform-origin: 80% 80%; }
.chat__row.is-revealed,
.chat__typing.is-revealed {
  opacity: 1;
  transform: translateY(0) scale(1);
}
@media (prefers-reduced-motion: reduce) {
  .ctaBlock__h .char,
  .chat__row,
  .chat__typing { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
}

/* ===== FAQ chat: モバイルは演出を軽量化 =====
   base の pending / is-revealed 定義の後ろに置くこと (カスケード順勝ち)
   - box-shadow の巨大 blur を小さく (60px → 20px)
   - bubble reveal の transform を外して opacity だけ (合成レイヤ増を抑制) */
@media (max-width: 720px) {
  .chat {
    box-shadow:
      inset 0 1px 0 color-mix(in oklab, #fff 45%, transparent),
      0 8px 20px -10px color-mix(in oklab, var(--ink) 30%, transparent);
  }
  .chat__row.chat__row--pending,
  .chat__typing.chat__row--pending {
    transform: none;
    transition: opacity .35s cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--d, 0ms);
    will-change: opacity;
  }
  .chat__row.is-revealed,
  .chat__typing.is-revealed {
    transform: none;
  }
}

/* ===== CTA block footer (merged) ===== */
.ctaBlock__foot {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid color-mix(in oklab, var(--ink) 18%, transparent);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
}
.ctaBlock__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 24px;
}
.ctaBlock__links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 13px;
  color: color-mix(in oklab, var(--ink) 70%, transparent);
  text-decoration: none;
  transition: color .2s ease;
}
.ctaBlock__links a:hover { color: var(--ink); }
.ctaBlock__copy {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 20px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: color-mix(in oklab, var(--ink) 50%, transparent);
}
@media (max-width: 600px) {
  .ctaBlock__foot { margin-top: 48px; gap: 40px; }
}

/* ===== FOOTER (minimal) ===== */
.foot--mini {
  position: relative;
  z-index: 2;
  background: var(--ink, #0A0F4A);
  color: var(--cream, #F2EEE6);
  padding: 64px 40px 32px;
  font-family: var(--display), 'Noto Sans JP', system-ui, sans-serif;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  text-align: center;
}
.foot__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.foot__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: block;
}
.foot__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  color: var(--cream, #F2EEE6);
}
.foot__name em { font-style: italic; font-weight: 800; }

.foot__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 28px;
}
.foot__links a {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: rgba(242, 238, 230, 0.72);
  text-decoration: none;
  transition: color .2s ease;
}
.foot__links a:hover { color: var(--cream, #F2EEE6); }

.foot__bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 238, 230, 0.12);
  width: 100%;
  max-width: 960px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: rgba(242, 238, 230, 0.42);
  letter-spacing: 0.04em;
}

@media (max-width: 600px) {
  .foot--mini { padding: 48px 24px 28px; gap: 36px; }
  .foot__links { gap: 4px 20px; }
  .foot__bottom { flex-direction: column; gap: 6px; }
}