/* KopyCat landing — Claude 配色(cream / clay orange) */

/* 等寬體:鍵盤與終端機的語言,用在小標籤與數字上,替系統字體撐出層次 */
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-400.woff2') format('woff2');
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: 'Space Mono';
  src: url('assets/fonts/space-mono-700.woff2') format('woff2');
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --mono: 'Space Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --tag-edge: rgba(31, 30, 29, 0.16);      /* 標籤的厚度 */
  --tag-edge-accent: #B4573A;
  --accent: #D97757;           /* Claude clay orange */
  --accent-deep: #BE5F3D;
  --accent-soft: #F5E6DE;
  --bg: #FAF9F5;               /* Claude cream */
  --bg-alt: #F0EEE6;
  --surface: #FFFFFF;
  --surface-2: #F7F5EF;
  --text: #1F1E1D;
  --text-2: #6B6862;
  --border: rgba(31, 30, 29, 0.09);
  --shadow: 0 12px 32px -14px rgba(60, 50, 40, 0.28);
  --kb-bg: #DAD7CC;
  --kb-cell: #FFFFFF;
  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --tag-edge: rgba(0, 0, 0, 0.45);
    --tag-edge-accent: #8C4A2E;
    --accent: #E08765;
    --accent-deep: #D97757;
    --accent-soft: #3D2B22;
    --bg: #262624;
    --bg-alt: #2E2E2B;
    --surface: #30302E;
    --surface-2: #383734;
    --text: #F5F4EE;
    --text-2: #A5A29A;
    --border: rgba(245, 244, 238, 0.11);
    --shadow: 0 12px 32px -14px rgba(0, 0, 0, 0.65);
    --kb-bg: #3A3936;
    --kb-cell: #4A4945;
  }
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Helvetica Neue", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { line-height: 1.3; letter-spacing: 0.01em; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.1rem); text-align: center; }

/* ---------- 捲動進場 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none; }
}

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.7rem clamp(1rem, 5vw, 3rem);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; color: var(--text); font-size: 1.15rem; }
.nav-logo-img { display: block; height: 28px; width: auto; }
.nav-links { display: flex; gap: 1.5rem; }
.nav-links a { text-decoration: none; color: var(--text-2); font-size: 0.95rem; }
.nav-links a:hover { color: var(--accent-deep); }
@media (max-width: 640px) { .nav-links { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  border: none; border-radius: 999px; font-weight: 700; font-size: 1rem;
  padding: 0.8rem 1.7rem; transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-deep); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text-2); }
.btn-ghost:hover { color: var(--accent-deep); }
.btn-sm { padding: 0.45rem 1.1rem; font-size: 0.9rem; }

/* ---------- Hero ---------- */
.hero {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 2rem;
  align-items: center; max-width: 1100px;
  margin: 0 auto; padding: clamp(2.5rem, 7vw, 4.5rem) 1.5rem 3.5rem;
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .desktop-br { display: none; }
  .trust-chips, .hero-cta { justify-content: center; }
}
.hero-badge {
  display: inline-block; background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 999px; padding: 0.3rem 1rem; font-size: 0.9rem; font-weight: 600;
  margin-bottom: 1.2rem;
}
@media (prefers-color-scheme: dark) { .hero-badge { color: var(--accent); } }
.hero h1 { font-size: clamp(2.3rem, 6vw, 3.5rem); font-weight: 800; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub { margin: 1.3rem 0 1.8rem; color: var(--text-2); font-size: 1.08rem; }
.hero-sub strong { color: var(--text); }
.hero-cta { display: flex; gap: 0.8rem; align-items: center; flex-wrap: wrap; }
.trust-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.6rem; }
.trust-chips li {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 999px; padding: 0.35rem 0.9rem; font-size: 0.88rem; color: var(--text-2);
}

/* ================= 手機 demo(三幕) ================= */
.phone-wrap { display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.phone {
  position: relative; width: 290px; height: 582px;
  background: var(--surface); border-radius: 40px;
  border: 6px solid #322F2B;
  box-shadow: 0 28px 60px -22px rgba(60, 45, 35, 0.5);
  overflow: hidden;
}
.phone-notch {
  position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 88px; height: 20px; background: #322F2B; border-radius: 12px; z-index: 20;
}
.scene { position: absolute; inset: 0; opacity: 0; }

/* 點擊漣漪:只有描邊 + 極淡填色,不遮住底下文字 */
.tap {
  position: absolute; width: 36px; height: 36px; margin: -18px 0 0 -18px;
  border-radius: 50%; border: 2px solid var(--accent);
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  opacity: 0; z-index: 15; pointer-events: none;
}

/* ---- 幕一:建立快捷詞 ---- */
.s1 { padding: 40px 16px 16px; animation: sc1 18s infinite; }
@keyframes sc1 {
  0%, 31% { opacity: 1; }
  33%, 98% { opacity: 0; }
  100% { opacity: 1; }
}
.app-top { font-size: 0.85rem; font-weight: 700; color: var(--text); margin-bottom: 14px; }
.fld { margin-bottom: 12px; }
.fld-label { font-size: 0.68rem; color: var(--text-2); display: block; margin-bottom: 4px; }
.fld-box {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 10px;
  padding: 8px 10px; font-size: 0.76rem; min-height: 34px; overflow: hidden;
}
.fld-box.tall { min-height: 62px; }
.typed { display: block; clip-path: inset(0 100% 0 0); }
.t-title { animation: type-title 18s infinite; }
@keyframes type-title {
  0%, 2.2% { clip-path: inset(0 100% 0 0); }
  10.5%, 100% { clip-path: inset(0 0 0 0); }
}
.t-body { animation: type-body 18s infinite; }
@keyframes type-body {
  0%, 12.2% { clip-path: inset(0 100% 0 0); }
  22.5%, 100% { clip-path: inset(0 0 0 0); }
}
.cat-chip {
  display: inline-block; background: var(--accent-soft); color: var(--accent-deep);
  border-radius: 999px; padding: 2px 10px; font-size: 0.72rem;
}
@media (prefers-color-scheme: dark) { .cat-chip { color: var(--accent); } }
.save-btn {
  margin-top: 16px; background: var(--accent); color: #fff; text-align: center;
  border-radius: 999px; padding: 10px; font-size: 0.85rem; font-weight: 700;
  animation: save-press 18s infinite;
}
@keyframes save-press {
  0%, 23.8% { transform: scale(1); filter: none; }
  24.8% { transform: scale(0.95); filter: brightness(0.9); }
  26%, 100% { transform: scale(1); filter: none; }
}
.tap-save { top: 348px; left: 139px; animation: tap-save 18s infinite; }
@keyframes tap-save {
  0%, 23.6% { transform: scale(0.4); opacity: 0; }
  24.6% { transform: scale(1); opacity: 1; }
  26.8%, 100% { transform: scale(1.6); opacity: 0; }
}
.toast {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 40px; background: var(--text); color: var(--bg);
  border-radius: 999px; padding: 7px 18px; font-size: 0.78rem; font-weight: 700; opacity: 0;
}
.s1-toast { animation: toast1 18s infinite; }
@keyframes toast1 {
  0%, 26.8% { opacity: 0; transform: translate(-50%, 8px); }
  28.5%, 30.5% { opacity: 1; transform: translate(-50%, 0); }
  32%, 100% { opacity: 0; }
}

/* ---- 幕二:切換鍵盤 ---- */
.s2 { animation: sc2 18s infinite; }
@keyframes sc2 {
  0%, 32% { opacity: 0; }
  33.5%, 58% { opacity: 1; }
  59.5%, 100% { opacity: 0; }
}
.chat-area {
  position: absolute; top: 0; left: 0; right: 0; bottom: 232px;
  padding: 44px 12px 8px; display: flex; flex-direction: column; gap: 8px;
  background: var(--bg-alt);
}
.chat-area.short { bottom: 252px; }
.chat-bubble {
  max-width: 86%; padding: 8px 12px; border-radius: 16px; font-size: 0.78rem; line-height: 1.5;
}
.chat-bubble.in { background: var(--surface); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-bubble.out {
  background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px;
}
.chat-input {
  margin-top: auto; background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; min-height: 32px; padding: 5px 8px 5px 12px;
  display: flex; align-items: center; gap: 6px;
}
.caret { width: 2px; height: 15px; background: var(--accent); animation: blink 1s step-end infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* 系統鍵盤 */
.sys-kb {
  position: absolute; left: 0; right: 0; bottom: 0; height: 252px;
  background: var(--kb-bg); padding: 10px 6px 8px;
  display: flex; flex-direction: column; gap: 8px;
}
.sys-row { display: flex; gap: 5px; justify-content: center; }
.sys-row i {
  flex: 1; max-width: 30px; height: 38px; background: var(--kb-cell);
  border-radius: 6px; box-shadow: 0 1px 1px rgba(0,0,0,0.14);
}
.sys-bottom { display: flex; gap: 5px; margin-top: auto; align-items: stretch; }
.sys-bottom span {
  background: var(--kb-cell); border-radius: 6px; padding: 9px 12px; font-size: 0.8rem;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 1px 1px rgba(0,0,0,0.14);
}
.sys-space { flex: 1; }
.globe-key { animation: globe-hl 18s infinite; }
@keyframes globe-hl {
  0%, 38% { background: var(--kb-cell); }
  39.5%, 41% { background: var(--accent); }
  42.5%, 100% { background: var(--kb-cell); }
}
.tap-globe { top: 542px; left: 25px; animation: tap-globe 18s infinite; }
@keyframes tap-globe {
  0%, 38% { transform: scale(0.4); opacity: 0; }
  39.4% { transform: scale(1); opacity: 1; }
  41.6%, 100% { transform: scale(1.6); opacity: 0; }
}
/* 鍵盤切換清單 */
.switcher {
  position: absolute; left: 10px; bottom: 66px; width: 176px;
  background: var(--surface); border-radius: 12px; overflow: hidden;
  box-shadow: 0 10px 26px -8px rgba(0,0,0,0.35); border: 1px solid var(--border);
  opacity: 0; transform-origin: bottom left; animation: sw-in 18s infinite;
}
@keyframes sw-in {
  0%, 41.5% { opacity: 0; transform: scale(0.9) translateY(6px); }
  43.5%, 52.5% { opacity: 1; transform: scale(1) translateY(0); }
  54%, 100% { opacity: 0; transform: scale(0.95); }
}
.sw-item {
  padding: 9px 14px; font-size: 0.78rem; color: var(--text);
  border-bottom: 1px solid var(--border);
}
.sw-item:last-child { border-bottom: none; }
.sw-pick { font-weight: 700; animation: sw-pick 18s infinite; }
@keyframes sw-pick {
  0%, 48% { background: transparent; color: var(--text); }
  49.5%, 52% { background: var(--accent); color: #fff; }
  53.5%, 100% { background: transparent; color: var(--text); }
}
.tap-pick { top: 447px; left: 94px; animation: tap-pick 18s infinite; }
@keyframes tap-pick {
  0%, 48% { transform: scale(0.4); opacity: 0; }
  49.4% { transform: scale(1); opacity: 1; }
  51.6%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---- 幕三:一鍵插入 + 送出 ---- */
.s3 { animation: sc3 18s infinite; }
@keyframes sc3 {
  0%, 58.5% { opacity: 0; }
  60%, 97% { opacity: 1; }
  99%, 100% { opacity: 0; }
}
.input-text {
  font-size: 0.74rem; line-height: 1.4; flex: 1; color: var(--text);
  overflow: hidden; opacity: 0;
}
.s3-filled { animation: fill-in 18s infinite; }
@keyframes fill-in {
  0%, 67.5% { opacity: 0; clip-path: inset(0 100% 0 0); }
  68.5% { opacity: 1; clip-path: inset(0 100% 0 0); }
  71.5% { opacity: 1; clip-path: inset(0 0 0 0); }
  77.5% { opacity: 1; clip-path: inset(0 0 0 0); }
  78.5%, 100% { opacity: 0; clip-path: inset(0 0 0 0); }
}
.send-btn {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 0.8rem;
  flex-shrink: 0; animation: send-press 18s infinite;
}
@keyframes send-press {
  0%, 74.2% { transform: scale(1); }
  75.2% { transform: scale(0.85); }
  76.4%, 100% { transform: scale(1); }
}
.s3-sent { opacity: 0; animation: sent 18s infinite; }
@keyframes sent {
  0%, 77.5% { opacity: 0; transform: translateY(10px) scale(0.96); }
  79.5%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  98%, 100% { opacity: 0; }
}
.tap-cell { top: 398px; left: 71px; animation: tap-cell 18s infinite; }
@keyframes tap-cell {
  0%, 64.5% { transform: scale(0.4); opacity: 0; }
  65.8% { transform: scale(1); opacity: 1; }
  68%, 100% { transform: scale(1.6); opacity: 0; }
}
.tap-send { top: 307px; left: 244px; animation: tap-send 18s infinite; }
@keyframes tap-send {
  0%, 74% { transform: scale(0.4); opacity: 0; }
  75.2% { transform: scale(1); opacity: 1; }
  77.4%, 100% { transform: scale(1.6); opacity: 0; }
}
/* KopyCat 鍵盤 */
.kb {
  position: absolute; left: 0; right: 0; bottom: 0; height: 232px;
  background: var(--kb-bg); padding: 8px 7px;
  display: flex; flex-direction: column;
}
.kb-header {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.72rem; color: var(--text-2); padding: 0 4px 8px;
}
.kb-title { font-weight: 700; color: var(--text); }
.kb-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.kb-cell {
  background: var(--kb-cell); border-radius: 10px; height: 48px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 600; color: var(--text);
  box-shadow: 0 1px 2px rgba(0,0,0,0.13);
}
.kb-cell.pick { animation: cell-pick 18s infinite; }
@keyframes cell-pick {
  0%, 64.8% { background: var(--kb-cell); color: var(--text); transform: scale(1); }
  66%, 67.4% { background: var(--accent); color: #fff; transform: scale(0.97); }
  68.6%, 100% { background: var(--kb-cell); color: var(--text); transform: scale(1); }
}
.kb-bottom { display: flex; gap: 6px; margin-top: auto; font-size: 0.72rem; color: var(--text-2); }
.kb-bottom span {
  background: var(--kb-cell); border-radius: 8px; padding: 7px 11px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.13);
}
.kb-space { flex: 1; text-align: center; }

/* 步驟字幕 */
.steps-caption { position: relative; height: 1.6em; width: 100%; }
.cap {
  position: absolute; inset: 0; text-align: center;
  font-size: 0.88rem; color: var(--text-2); font-weight: 600; opacity: 0;
}
.c1 { animation: cap1 18s infinite; }
.c2 { animation: cap2 18s infinite; }
.c3 { animation: cap3 18s infinite; }
@keyframes cap1 { 0%, 30% { opacity: 1; } 32%, 98% { opacity: 0; } 100% { opacity: 1; } }
@keyframes cap2 { 0%, 32% { opacity: 0; } 34%, 57% { opacity: 1; } 59%, 100% { opacity: 0; } }
@keyframes cap3 { 0%, 58% { opacity: 0; } 60%, 96% { opacity: 1; } 98%, 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) {
  .scene, .tap, .typed, .save-btn, .toast, .switcher, .sw-pick, .globe-key,
  .input-text, .send-btn, .s3-sent, .kb-cell.pick, .cap, .caret {
    animation: none !important;
  }
  .s3 { opacity: 1; }
  .s1, .s2 { opacity: 0; }
  .typed, .input-text, .s3-sent { clip-path: none !important; opacity: 1 !important; }
  .c3 { opacity: 1; }
  .tap { display: none; }
}

/* ---------- Sections ---------- */
.section { max-width: 1100px; margin: 0 auto; padding: clamp(3rem, 8vw, 5rem) 1.5rem; }
.section-alt { max-width: none; background: var(--bg-alt); }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-sub { text-align: center; color: var(--text-2); margin-top: 0.6rem; }

/* 區塊小標:等寬體 + 字母間距,替置中的大標撐出層次 */
.eyebrow {
  text-align: center;
  font-family: var(--mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}
@media (prefers-color-scheme: dark) { .eyebrow { color: var(--accent); } }

.steps {
  list-style: none; display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem; margin-top: 2.5rem;
}
@media (max-width: 700px) { .steps { grid-template-columns: 1fr; } }
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 1.5rem;
}
.step-num {
  font-family: var(--mono);
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--accent); color: #fff; font-weight: 800; margin-bottom: 0.8rem;
}
.step-card h3 { font-size: 1.05rem; margin-bottom: 0.4rem; }
.step-card p { font-size: 0.92rem; color: var(--text-2); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 2.5rem; }
@media (max-width: 860px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .feature-grid { grid-template-columns: 1fr; } }
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 18px; padding: 1.5rem;
}
.feature-card:hover { border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.feature-icon { font-size: 1.6rem; }
.feature-card h3 { font-size: 1.02rem; margin: 0.6rem 0 0.35rem; }
.feature-card p { font-size: 0.9rem; color: var(--text-2); }

.usecase-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 1.2rem; margin-top: 2.5rem;
}
.usecase-card {
  display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 20px; padding: 1.7rem;
  transition: border-color 0.25s var(--ease);
}
.usecase-card:hover { border-color: color-mix(in srgb, var(--accent) 45%, transparent); }
@media (max-width: 640px) {
  .usecase-grid { grid-template-columns: 1fr; }
}
.usecase-head { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.4rem; }
.usecase-icon { font-size: 1.9rem; line-height: 1; flex-shrink: 0; }
.usecase-card h3 { font-size: 1.08rem; margin-bottom: 0.3rem; }
.usecase-card p { color: var(--text-2); font-size: 0.92rem; }
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: auto; }
.tag {
  display: inline-flex; align-items: center;
  font: inherit; font-size: 0.85rem; font-weight: 600;
  padding: 0.4rem 0.95rem; border-radius: 999px;
  color: var(--text-2); background: var(--surface-2); border: 1px solid var(--border);
  cursor: pointer; appearance: none; -webkit-appearance: none;
  transition: transform 0.12s var(--ease), box-shadow 0.12s var(--ease), border-color 0.18s var(--ease), background 0.18s var(--ease);
}
/* 標籤是按鍵,不是貼紙:平時有 2px 厚度,按下去整顆沉進去、厚度消失 */
.tag { box-shadow: 0 2px 0 var(--tag-edge); }
.tag:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 0 var(--tag-edge);
  border-color: color-mix(in srgb, var(--accent) 35%, var(--border));
}
.tag:active,
.tag.is-pressed {
  transform: translateY(2px);
  box-shadow: 0 0 0 var(--tag-edge);
  transition-duration: 0.06s;
}
.tag:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.tag--accent {
  background: var(--accent-soft); color: var(--accent-deep); border-color: transparent;
  box-shadow: 0 2px 0 var(--tag-edge-accent);
}
.tag--accent:hover { box-shadow: 0 3px 0 var(--tag-edge-accent); }
.tag--accent:active,
.tag--accent.is-pressed { box-shadow: 0 0 0 var(--tag-edge-accent); }
@media (prefers-color-scheme: dark) { .tag--accent { color: var(--accent); } }

/* ---------- Tag toast(點擊快捷詞的複製回饋) ---------- */
.tag-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60;
  display: flex; align-items: center; gap: 0.7rem; flex-wrap: wrap;
  max-width: min(90vw, 460px);
  background: var(--text); color: var(--bg);
  border-radius: 16px; padding: 0.85rem 1.1rem;
  box-shadow: var(--shadow);
  opacity: 0; transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.tag-toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.toast-text { font-size: 0.92rem; line-height: 1.5; }
.toast-badge {
  flex-shrink: 0; background: var(--accent); color: #fff;
  font-size: 0.78rem; font-weight: 700; white-space: nowrap;
  padding: 0.25rem 0.7rem; border-radius: 999px;
}
@media (prefers-reduced-motion: reduce) { .tag-toast { transition: none; } }

.faq-list { max-width: 720px; margin: 2.5rem auto 0; display: flex; flex-direction: column; gap: 0.8rem; }
.faq-list details {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 1rem 1.3rem;
}
.faq-list summary {
  cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 1.5rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; right: 0; top: 0; color: var(--accent);
  font-size: 1.2rem; transition: transform 0.2s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { margin-top: 0.7rem; color: var(--text-2); font-size: 0.95rem; }

/* ---------- CTA ---------- */
.cta-section { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(3rem, 8vw, 5rem) 1.5rem; }
.cta-mascot { display: block; width: 60px; height: auto; margin: 0 auto 1rem; }
.cta-section p { color: var(--text-2); margin-top: 0.8rem; }
.waitlist-form { display: flex; gap: 0.6rem; margin-top: 1.8rem; flex-wrap: wrap; justify-content: center; }
.waitlist-form input[type="email"] {
  flex: 1; min-width: 240px; padding: 0.8rem 1.2rem;
  border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--surface); color: var(--text);
  font-size: 1rem; font-family: inherit; outline: none;
}
.waitlist-form input[type="email"]:focus { border-color: var(--accent); }
#hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-msg { min-height: 1.5em; margin-top: 0.9rem; font-weight: 600; }
.form-msg.ok { color: #2E7D32; }
.form-msg.err { color: #C62828; }
@media (prefers-color-scheme: dark) {
  .form-msg.ok { color: #8BC98F; }
  .form-msg.err { color: #E79A9A; }
}

.footer {
  border-top: 1px solid var(--border); text-align: center;
  padding: 2.5rem 1.5rem; color: var(--text-2); font-size: 0.95rem;
}
.footer-logo { height: 20px; width: auto; vertical-align: middle; }
.footer-fine { margin-top: 0.4rem; font-size: 0.82rem; opacity: 0.8; }
