/* ============================================================
 * namaeduke Landing Page
 * Playful, warm, animated. Mobile-first.
 * ============================================================ */

:root {
  --lp-primary:      #F8C8D4;
  --lp-primary-deep: #E89CB3;
  --lp-secondary:    #C8E8D4;
  --lp-accent:       #F8C57E;
  --lp-bg:           #FFFAF4;
  --lp-bg-alt:       #FFF4E6;
  --lp-text:         #5A3A40;
  --lp-text-soft:    #8C5F6F;
  --lp-text-muted:   #B598A0;
  --lp-line:         rgba(140, 95, 111, 0.12);
  --lp-card:         #ffffff;
  --lp-shadow-s:     0 2px 8px rgba(140, 95, 111, 0.08);
  --lp-shadow-m:     0 6px 20px rgba(140, 95, 111, 0.12);
  --lp-shadow-l:     0 12px 40px rgba(140, 95, 111, 0.16);
  --ease-spring:     cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-out:        cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--lp-bg);
  color: var(--lp-text);
  font-family: 'Zen Maru Gothic', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  font-weight: 400;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--lp-primary-deep); text-decoration: none; }
a:hover { text-decoration: underline; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

.br-sm { display: none; }
@media (max-width: 640px) { .br-sm { display: inline; } }

/* ------------------------------------------------------------
 * Floating stamp sky (decorative bg)
 * ------------------------------------------------------------ */
.stamp-sky {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  opacity: 0.35;
}
.stamp-sky::before,
.stamp-sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 10% 20%, var(--lp-primary) 0.4%, transparent 0.5%),
    radial-gradient(circle at 80% 15%, var(--lp-accent) 0.3%, transparent 0.4%),
    radial-gradient(circle at 40% 80%, var(--lp-secondary) 0.3%, transparent 0.4%),
    radial-gradient(circle at 70% 60%, var(--lp-primary) 0.3%, transparent 0.4%),
    radial-gradient(circle at 25% 55%, var(--lp-accent) 0.2%, transparent 0.3%);
  background-size: 240px 240px;
  animation: sky-drift 60s linear infinite;
}
.stamp-sky::after {
  animation-duration: 90s;
  animation-direction: reverse;
  opacity: 0.6;
  background-size: 320px 320px;
}
@keyframes sky-drift {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-240px, -240px, 0); }
}

/* ------------------------------------------------------------
 * Top nav
 * ------------------------------------------------------------ */
.lp-nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 20px;
  background: color-mix(in srgb, var(--lp-bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--lp-line);
}
.lp-nav-logo img {
  height: 26px;
  width: auto;
}
.lp-nav-cta {
  background: var(--lp-primary);
  color: var(--lp-text) !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(232, 156, 179, 0.35);
  transition: transform 180ms var(--ease-spring), box-shadow 180ms var(--ease-out);
  text-decoration: none !important;
}
.lp-nav-cta:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(232, 156, 179, 0.5);
}

/* ------------------------------------------------------------
 * CTA primary (reused)
 * ------------------------------------------------------------ */
.cta-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-deep) 100%);
  color: #fff !important;
  font-weight: 700;
  font-size: 16px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(232, 156, 179, 0.45), 0 2px 6px rgba(0,0,0,0.06);
  transition: transform 220ms var(--ease-spring), box-shadow 220ms var(--ease-out);
  position: relative;
  overflow: hidden;
}
.cta-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.cta-primary:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 36px rgba(232, 156, 179, 0.6), 0 4px 10px rgba(0,0,0,0.08);
}
.cta-primary:active { transform: translateY(-1px) scale(0.99); }
.cta-arrow { transition: transform 220ms var(--ease-spring); }
.cta-primary:hover .cta-arrow { transform: translateX(4px); }

/* ------------------------------------------------------------
 * HERO
 * ------------------------------------------------------------ */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  padding: 100px 24px 60px;
  text-align: center;
}
.hero-inner {
  max-width: 680px;
  width: 100%;
  animation: hero-rise 900ms var(--ease-out) both;
}
@keyframes hero-rise {
  0% { opacity: 0; transform: translateY(32px); }
  100% { opacity: 1; transform: translateY(0); }
}
.hero-logo {
  display: block;
  width: 100%;
  max-width: 460px;
  height: auto;
  margin: 0 auto 28px;
  filter: drop-shadow(0 4px 12px rgba(140, 95, 111, 0.1));
  animation: hero-logo-bob 4s ease-in-out infinite;
}
@keyframes hero-logo-bob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}
.hero-lead {
  font-family: 'Klee One', 'Zen Maru Gothic', cursive;
  font-size: clamp(20px, 5.2vw, 28px);
  font-weight: 600;
  color: var(--lp-text);
  margin: 0 0 16px;
  line-height: 1.6;
  animation: hero-fade-delayed 700ms 350ms var(--ease-out) both;
}
.hero-sub {
  font-size: clamp(14px, 3.6vw, 16px);
  color: var(--lp-text-soft);
  margin: 0 0 36px;
  line-height: 1.8;
  animation: hero-fade-delayed 700ms 550ms var(--ease-out) both;
}
@keyframes hero-fade-delayed {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}
.cta-hero {
  animation: hero-fade-delayed 700ms 750ms var(--ease-out) both,
             cta-pulse 2.8s 1500ms ease-in-out infinite;
  font-size: 18px;
  padding: 18px 40px;
}
@keyframes cta-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(232, 156, 179, 0.45), 0 2px 6px rgba(0,0,0,0.06); }
  50%      { box-shadow: 0 14px 32px rgba(232, 156, 179, 0.65), 0 2px 6px rgba(0,0,0,0.06); }
}
.hero-fineprint {
  margin-top: 14px;
  font-size: 12px;
  color: var(--lp-text-muted);
  animation: hero-fade-delayed 700ms 900ms var(--ease-out) both;
}
.hero-scroll-hint {
  position: absolute;
  bottom: 24px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  font-size: 11px;
  color: var(--lp-text-muted);
  animation: hero-fade-delayed 700ms 1200ms var(--ease-out) both;
}
.hero-scroll-arrow {
  animation: scroll-bounce 1.8s ease-in-out infinite;
}
@keyframes scroll-bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(6px); }
}

/* ------------------------------------------------------------
 * Section base
 * ------------------------------------------------------------ */
.section {
  position: relative;
  z-index: 1;
  padding: 90px 24px;
}
.section-head {
  max-width: 680px;
  margin: 0 auto 44px;
  text-align: center;
}
.section-eyebrow {
  font-family: 'Klee One', cursive;
  font-size: 13px;
  color: var(--lp-primary-deep);
  letter-spacing: 0.16em;
  margin-bottom: 10px;
}
.section-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(22px, 5.6vw, 32px);
  font-weight: 700;
  line-height: 1.5;
  color: var(--lp-text);
  margin: 0 0 16px;
  letter-spacing: 0.02em;
}
.section-lead {
  font-family: 'Klee One', cursive;
  font-size: clamp(14px, 3.8vw, 16px);
  color: var(--lp-text-soft);
  line-height: 1.9;
  margin: 0;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------
 * STAMP PLAY
 * ------------------------------------------------------------ */
.play-section { background: linear-gradient(180deg, transparent 0%, var(--lp-bg-alt) 40%, var(--lp-bg-alt) 100%); }
.play-board {
  max-width: 760px;
  margin: 0 auto;
}
.play-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(64px, 1fr));
  gap: 6px;
  padding: 14px;
  background: var(--lp-card);
  border-radius: 22px;
  box-shadow: var(--lp-shadow-m);
  border: 1px solid var(--lp-line);
  margin-bottom: 20px;
}
.play-stamp {
  aspect-ratio: 1;
  border: none;
  background: transparent;
  border-radius: 14px;
  padding: 4px;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 220ms var(--ease-spring), background 180ms;
  animation: stamp-enter 500ms var(--ease-spring) both;
  animation-delay: calc(var(--i, 0) * 40ms);
}
.play-stamp img {
  max-width: 92%;
  max-height: 92%;
  object-fit: contain;
  transition: transform 220ms var(--ease-spring);
}
.play-stamp:hover img {
  transform: translateY(-4px) scale(1.14) rotate(-3deg);
}
.play-stamp:hover {
  background: color-mix(in srgb, var(--lp-primary) 16%, transparent);
}
.play-stamp:active img { transform: scale(0.9); }
@keyframes stamp-enter {
  0%   { opacity: 0; transform: scale(0.4) rotate(-10deg); }
  60%  { opacity: 1; transform: scale(1.1) rotate(3deg); }
  100% { opacity: 1; transform: scale(1) rotate(0); }
}

/* Wrap that sticks the notebook + controls to the bottom of the screen on
   mobile so the user sees the paste feedback without scrolling. */
.play-paper-wrap {
  position: sticky;
  bottom: 12px;
  z-index: 5;
  margin-top: -4px; /* tuck up against grid */
}

/* "notebook" where stamps land */
.play-paper {
  background:
    linear-gradient(180deg, #FFFDF7 0%, #FFF8EC 100%);
  border-radius: 20px;
  min-height: 110px;
  padding: 16px;
  box-shadow: var(--lp-shadow-m), inset 0 0 0 1px rgba(140, 95, 111, 0.08);
  display: flex; flex-wrap: wrap; gap: 10px 12px;
  align-items: center; justify-content: center;
  position: relative;
  overflow: hidden;
}
.play-paper::before {
  content: '';
  position: absolute; inset: 0;
  background: repeating-linear-gradient(
    transparent 0px,
    transparent 28px,
    rgba(140, 95, 111, 0.06) 28px,
    rgba(140, 95, 111, 0.06) 29px
  );
  pointer-events: none;
}
.play-paper-hint {
  font-family: 'Klee One', cursive;
  color: var(--lp-text-muted);
  text-align: center;
  font-size: 13px;
  padding: 40px 20px;
  position: relative;
  z-index: 1;
}
.play-paper.has-stamps .play-paper-hint { display: none; }

.pasted {
  width: 56px; height: 56px;
  position: relative;
  animation: stamp-land 500ms var(--ease-spring) both;
  cursor: pointer;
  transition: transform 200ms var(--ease-spring);
  z-index: 2;
}
.pasted img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.15)); }
.pasted:nth-child(5n+1) { transform: rotate(-5deg); }
.pasted:nth-child(5n+2) { transform: rotate(4deg); }
.pasted:nth-child(5n+3) { transform: rotate(-2deg); }
.pasted:nth-child(5n+4) { transform: rotate(6deg); }
.pasted:nth-child(5n+5) { transform: rotate(-4deg); }
.pasted:hover { transform: scale(1.15) rotate(0) !important; z-index: 3; }
@keyframes stamp-land {
  0%   { transform: scale(2) rotate(-10deg) translateY(-40px); opacity: 0; }
  50%  { transform: scale(0.85) rotate(3deg) translateY(8px); opacity: 1; }
  100% { /* inherits nth-child rotation */ }
}
.play-controls {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 4px 0;
}

/* Visual flash when a stamp is added to the paper */
.play-paper.just-pasted {
  animation: paper-pulse 520ms var(--ease-spring);
}
@keyframes paper-pulse {
  0%   { transform: scale(1); box-shadow: var(--lp-shadow-m), inset 0 0 0 1px rgba(140, 95, 111, 0.08); }
  40%  { transform: scale(1.015); box-shadow: 0 12px 32px rgba(232, 156, 179, 0.35), inset 0 0 0 2px var(--lp-primary); }
  100% { transform: scale(1); box-shadow: var(--lp-shadow-m), inset 0 0 0 1px rgba(140, 95, 111, 0.08); }
}
.btn-ghost-sm {
  background: transparent;
  border: 1px solid var(--lp-line);
  color: var(--lp-text-soft);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  transition: background 150ms, color 150ms;
}
.btn-ghost-sm:hover { background: color-mix(in srgb, var(--lp-primary) 15%, transparent); color: var(--lp-text); }
.play-counter { font-family: 'Klee One', cursive; font-size: 13px; color: var(--lp-text-soft); }

/* ------------------------------------------------------------
 * THEME CAROUSEL
 * ------------------------------------------------------------ */
.theme-section { background: linear-gradient(180deg, var(--lp-bg-alt) 0%, var(--lp-bg) 60%); }
.theme-stage {
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}
.theme-track {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 20px;
  padding: 10px 20px 24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.theme-track::-webkit-scrollbar { display: none; }
.theme-card {
  flex: 0 0 80%;
  max-width: 300px;
  scroll-snap-align: start;
  background: var(--lp-card);
  border-radius: 24px;
  padding: 20px 20px 24px;
  box-shadow: var(--lp-shadow-m);
  text-align: center;
  transition: transform 320ms var(--ease-spring), box-shadow 320ms var(--ease-out);
  border: 1px solid var(--lp-line);
}
.theme-card:hover { transform: translateY(-6px) rotate(-1deg); box-shadow: var(--lp-shadow-l); }
@media (min-width: 720px) {
  .theme-card { flex: 0 0 30%; }
}
.theme-portrait {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-secondary) 100%);
  margin: 0 auto 16px;
  max-width: 220px;
}
.theme-portrait img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease-out);
}
.theme-card:hover .theme-portrait img { transform: scale(1.08); }
.theme-name {
  font-family: 'Klee One', cursive;
  font-size: 22px;
  font-weight: 600;
  color: var(--lp-text);
  margin-bottom: 4px;
}
.theme-sub {
  font-size: 13px;
  color: var(--lp-text-muted);
}
.theme-dots {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 8px;
}
.theme-dots .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--lp-line);
  transition: background 200ms, transform 200ms;
}
.theme-dots .dot.active { background: var(--lp-primary-deep); transform: scale(1.3); }

/* ------------------------------------------------------------
 * STEPS
 * ------------------------------------------------------------ */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  max-width: 720px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}
.step {
  display: flex; align-items: flex-start; gap: 20px;
  background: var(--lp-card);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--lp-shadow-s);
  border: 1px solid var(--lp-line);
  position: relative;
  transition: transform 300ms var(--ease-spring), box-shadow 300ms var(--ease-out);
}
.step:hover { transform: translateX(4px) translateY(-2px); box-shadow: var(--lp-shadow-m); }
.step-num {
  flex: 0 0 auto;
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--lp-primary) 0%, var(--lp-primary-deep) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(232, 156, 179, 0.4);
}
.step-body h3 {
  margin: 4px 0 6px;
  font-size: 17px;
  color: var(--lp-text);
}
.step-body p {
  margin: 0;
  font-size: 14px;
  color: var(--lp-text-soft);
  line-height: 1.8;
}

/* ------------------------------------------------------------
 * ANALYSIS PREVIEW
 * ------------------------------------------------------------ */
.analysis-section { background: linear-gradient(180deg, transparent 0%, var(--lp-bg-alt) 100%); }
.analysis-preview {
  max-width: 520px;
  margin: 0 auto;
  background: var(--lp-card);
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: var(--lp-shadow-l);
  border: 1px solid var(--lp-line);
}
.analysis-preview-hero { text-align: center; margin-bottom: 28px; }
.analysis-preview-hero .analysis-eyebrow {
  font-size: 12px;
  color: var(--lp-text-muted);
  letter-spacing: 0.08em;
}
.analysis-phrase {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(26px, 6.6vw, 34px);
  font-weight: 700;
  color: var(--lp-primary-deep);
  margin-top: 4px;
  min-height: 1.6em;
  position: relative;
}
.analysis-phrase::after {
  content: '';
  display: inline-block;
  width: 2px; height: 1em;
  background: var(--lp-primary-deep);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: cursor-blink 0.9s step-end infinite;
}
.analysis-phrase.done::after { display: none; }
@keyframes cursor-blink {
  0%,50% { opacity: 1; }
  50.01%,100% { opacity: 0; }
}
.analysis-insights {
  display: grid;
  gap: 10px;
}
.insight-card {
  display: flex; align-items: flex-start; gap: 12px;
  padding: 12px 14px;
  background: color-mix(in srgb, var(--lp-primary) 6%, #fff);
  border-radius: 12px;
  border-left: 3px solid var(--lp-primary);
  opacity: 0;
  transform: translateX(-16px);
}
.insight-card.ai {
  background: color-mix(in srgb, var(--lp-accent) 10%, #fff);
  border-left-color: var(--lp-accent);
}
.insight-card.revealed {
  animation: insight-reveal 520ms var(--ease-spring) forwards;
}
@keyframes insight-reveal {
  0%   { opacity: 0; transform: translateX(-16px) scale(0.95); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
.insight-emoji { font-size: 22px; line-height: 1; flex: 0 0 auto; }
.insight-text {
  font-family: 'Klee One', cursive;
  font-size: 14px;
  line-height: 1.7;
  color: var(--lp-text);
}

/* ------------------------------------------------------------
 * NAMING SHOWCASE
 * ------------------------------------------------------------ */
.naming-section { background: var(--lp-bg); }
.naming-showcase {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 24px;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--lp-primary) 20%, transparent) 0%, transparent 60%),
    radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--lp-accent) 15%, transparent) 0%, transparent 60%),
    var(--lp-card);
  border-radius: 28px;
  box-shadow: var(--lp-shadow-l);
  border: 1.5px dashed color-mix(in srgb, var(--lp-primary-deep) 40%, transparent);
}
.naming-showcase-eyebrow {
  font-size: 12px;
  color: var(--lp-text-muted);
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.naming-showcase-name {
  font-family: 'Klee One', 'Zen Kurenaido', cursive;
  font-size: clamp(28px, 7.2vw, 40px);
  font-weight: 600;
  color: var(--lp-primary-deep);
  margin: 0 0 18px;
  line-height: 1.4;
  min-height: 1.6em;
  transition: opacity 300ms ease, transform 300ms ease;
}
.naming-showcase-name.flip {
  opacity: 0;
  transform: translateY(-10px);
}
.naming-showcase-examples {
  font-family: 'Klee One', cursive;
  color: var(--lp-text-muted);
  font-size: 13px;
  line-height: 1.8;
}

/* ------------------------------------------------------------
 * TRUST
 * ------------------------------------------------------------ */
.trust-section { background: linear-gradient(180deg, var(--lp-bg) 0%, var(--lp-bg-alt) 100%); }
.trust-grid {
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px) { .trust-grid { grid-template-columns: repeat(3, 1fr); } }
.trust-item {
  background: var(--lp-card);
  border-radius: 20px;
  padding: 24px 20px;
  box-shadow: var(--lp-shadow-s);
  text-align: center;
  border: 1px solid var(--lp-line);
  transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease-out);
}
.trust-item:hover { transform: translateY(-4px); box-shadow: var(--lp-shadow-m); }
.trust-icon { font-size: 36px; margin-bottom: 8px; }
.trust-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--lp-text);
  margin-bottom: 8px;
}
.trust-body { font-size: 13px; color: var(--lp-text-soft); line-height: 1.7; }

/* ------------------------------------------------------------
 * FINAL CTA
 * ------------------------------------------------------------ */
.cta-final {
  text-align: center;
  padding: 100px 24px;
  background:
    radial-gradient(ellipse at center, color-mix(in srgb, var(--lp-primary) 18%, transparent) 0%, transparent 60%),
    var(--lp-bg-alt);
}
.cta-final-title {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: clamp(22px, 6vw, 30px);
  font-weight: 700;
  color: var(--lp-text);
  margin: 0 0 32px;
  line-height: 1.6;
}
.cta-final-btn {
  font-size: 18px;
  padding: 20px 44px;
  animation: cta-pulse 2.8s ease-in-out infinite;
}
.cta-final-sub {
  margin-top: 16px;
  font-size: 13px;
  color: var(--lp-text-muted);
}

/* ------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------ */
.lp-footer {
  background: #F4E8DC;
  border-top: 1px solid var(--lp-line);
  padding: 40px 24px;
}
.lp-footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}
.lp-footer-logo img {
  height: 22px;
  width: auto;
  opacity: 0.7;
  margin: 0 auto 18px;
}
.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 24px;
  margin-bottom: 16px;
}
.lp-footer-links a {
  color: var(--lp-text-soft);
  font-size: 13px;
  text-decoration: none;
}
.lp-footer-links a:hover { color: var(--lp-primary-deep); text-decoration: underline; }
.lp-footer-company { font-size: 12px; color: var(--lp-text-muted); margin-bottom: 6px; }
.lp-footer-contact { font-size: 12px; color: var(--lp-text-muted); margin-bottom: 6px; }
.lp-footer-contact a { color: inherit; text-decoration: underline; }
.lp-footer-copyright { font-size: 11px; color: var(--lp-text-muted); opacity: 0.7; }

/* ------------------------------------------------------------
 * Legal pages (privacy / terms / commerce) shared styles
 * ------------------------------------------------------------ */
.legal-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}
.legal-page h1 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 26px;
  margin: 0 0 8px;
  color: var(--lp-text);
}
.legal-page .legal-updated {
  color: var(--lp-text-muted);
  font-size: 12px;
  margin-bottom: 40px;
}
.legal-page h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-size: 18px;
  margin: 32px 0 10px;
  padding-top: 16px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-text);
}
.legal-page h3 {
  font-size: 15px;
  margin: 18px 0 8px;
  color: var(--lp-text);
}
.legal-page p, .legal-page li {
  font-size: 14px;
  line-height: 1.9;
  color: var(--lp-text);
}
.legal-page ul, .legal-page ol { padding-left: 24px; }
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 14px;
}
.legal-page th, .legal-page td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--lp-line);
  text-align: left;
  vertical-align: top;
}
.legal-page th {
  background: var(--lp-bg-alt);
  font-weight: 600;
  color: var(--lp-text);
  width: 32%;
}
.legal-back {
  display: inline-block;
  margin-top: 32px;
  padding: 10px 20px;
  background: var(--lp-card);
  border: 1px solid var(--lp-line);
  color: var(--lp-text-soft);
  border-radius: 999px;
  font-size: 13px;
  text-decoration: none;
}
.legal-back:hover { background: var(--lp-bg-alt); text-decoration: none; }

/* ------------------------------------------------------------
 * Reduced motion
 * ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .stamp-sky::before, .stamp-sky::after { animation: none; }
}

/* ---- Footnote (※ near the CBT mention) ---- */
.footnote-mark {
  font-size: 0.75em;
  vertical-align: super;
  color: var(--lp-text-muted, #999);
  margin-left: 1px;
}
.section-footnote {
  max-width: 560px;
  margin: 18px auto 0;
  padding: 0 16px;
  font-size: 12px;
  line-height: 1.8;
  color: var(--lp-text-muted, #888);
  text-align: left;
}
