/*
 * Kiqua ランディングページ（独立した静的サイト）
 * カラートークンは Next.js アプリの frontend/app/colors.css と同一。
 * 配色を変えるときはこのファイルの :root / dark 定義だけ編集すればよい。
 */

:root {
  color-scheme: light;
  --background: #f4f6f8;
  --foreground: #3a4451;
  --surface: #ffffff;
  --surface-contrast: #1f2937;
  --muted: #e7ebf0;
  --muted-foreground: #646f7e;
  --border: #e5e7eb;
  --accent: #ff6f3d;
  --accent-foreground: #ffffff;
  --success: #166534;
  --info: #1d4ed8;
  --danger: #dc2626;

  --sky: #0284c7;
  --violet: #7c3aed;
  --teal: #0d9488;

  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1.25rem;
  --container: 72rem;

  --shadow-card:
    0 0 0 1px rgba(0, 0, 0, 0.06),
    0 1px 2px -1px rgba(0, 0, 0, 0.08),
    0 12px 28px -24px rgba(15, 23, 42, 0.38);
  --shadow-card-hover:
    0 0 0 1px rgba(0, 0, 0, 0.08),
    0 2px 5px -3px rgba(0, 0, 0, 0.16),
    0 18px 36px -26px rgba(15, 23, 42, 0.45);
  --shadow-control:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 1px 1px rgba(0, 0, 0, 0.02);
}

/* システム設定がダークのとき（テーマ未指定時） */
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] {
    color-scheme: dark;
    --background: #101214;
    --foreground: #edf0f2;
    --surface: #171a1d;
    --surface-contrast: #f8fafc;
    --muted: #262b30;
    --muted-foreground: #a3abb5;
    --border: #2b3036;
    --accent: #ff8a5c;
    --accent-foreground: #171a1d;
    --success: #4ade80;
    --info: #60a5fa;
    --danger: #f87171;
    --sky: #38bdf8;
    --violet: #a78bfa;
    --teal: #2dd4bf;
    --shadow-card:
      0 0 0 1px rgba(255, 255, 255, 0.08),
      0 14px 36px -28px rgba(0, 0, 0, 0.7);
    --shadow-card-hover:
      0 0 0 1px rgba(255, 255, 255, 0.13),
      0 18px 44px -30px rgba(0, 0, 0, 0.8);
    --shadow-control: 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
}

/* 明示的にダークを選んだとき */
:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #101214;
  --foreground: #edf0f2;
  --surface: #171a1d;
  --surface-contrast: #f8fafc;
  --muted: #262b30;
  --muted-foreground: #a3abb5;
  --border: #2b3036;
  --accent: #ff8a5c;
  --accent-foreground: #171a1d;
  --success: #4ade80;
  --info: #60a5fa;
  --danger: #f87171;
  --sky: #38bdf8;
  --violet: #a78bfa;
  --teal: #2dd4bf;
  --shadow-card:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 14px 36px -28px rgba(0, 0, 0, 0.7);
  --shadow-card-hover:
    0 0 0 1px rgba(255, 255, 255, 0.13),
    0 18px 44px -30px rgba(0, 0, 0, 0.8);
  --shadow-control: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

::selection {
  background: color-mix(in srgb, var(--accent) 22%, transparent);
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 2.5rem;
  padding-inline: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  transition:
    background-color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    transform 0.15s ease-out,
    color 0.15s ease-out;
}
.btn-lg {
  height: 3rem;
  padding-inline: 1.5rem;
  font-size: 1rem;
}
.btn-solid {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent) 22%, transparent),
    0 10px 20px -14px color-mix(in srgb, var(--accent) 62%, transparent);
}
.btn-solid:hover {
  background: color-mix(in srgb, var(--accent) 90%, black);
  transform: translateY(-1px);
}
.btn-secondary {
  background: var(--surface);
  color: var(--foreground);
  box-shadow: var(--shadow-control);
}
.btn-secondary:hover {
  background: color-mix(in srgb, var(--muted) 60%, transparent);
}
.btn-ghost {
  background: transparent;
  color: var(--foreground);
}
.btn-ghost:hover {
  background: color-mix(in srgb, var(--muted) 45%, transparent);
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 2.25rem;
  min-width: 2.25rem;
  padding-inline: 0.5rem;
  border-radius: var(--radius-md);
  background: transparent;
  color: var(--muted-foreground);
  border: none;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 600;
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.icon-btn:hover {
  background: color-mix(in srgb, var(--muted) 45%, transparent);
  color: var(--foreground);
}
.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}
:root[data-theme="dark"] .icon-sun {
  display: block;
}
:root[data-theme="dark"] .icon-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root[data-theme="auto"] .icon-sun {
    display: block;
  }
  :root[data-theme="auto"] .icon-moon {
    display: none;
  }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}
.site-header.scrolled {
  background: color-mix(in srgb, var(--background) 85%, transparent);
  box-shadow: 0 1px 0 0 var(--border);
  backdrop-filter: blur(8px);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 4rem;
}
.brand-logo {
  height: 1.75rem;
  width: auto;
}
.nav {
  display: none;
  gap: 0.25rem;
}
.nav a {
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: background-color 0.15s ease-out, color 0.15s ease-out;
}
.nav a:hover {
  background: color-mix(in srgb, var(--muted) 40%, transparent);
  color: var(--foreground);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.header-actions > .btn-solid {
  padding-inline: 0.75rem;
}
.header-actions .btn-ghost {
  display: none;
}
@media (min-width: 768px) {
  .nav {
    display: flex;
  }
  .header-actions .btn-ghost {
    display: inline-flex;
  }
  .header-actions > .btn-solid {
    padding-inline: 1rem;
  }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-block: 3rem 5rem;
}
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1fr 1fr;
    padding-block: 5rem 7rem;
  }
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
}
.hero-title {
  margin-top: 1.25rem;
  font-size: clamp(2.25rem, 6vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.nowrap {
  white-space: nowrap;
}
.accent {
  position: relative;
  display: inline-block;
  color: var(--accent);
}
.accent-underline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.25rem;
  height: 0.75rem;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  border-radius: 3px;
  transform: rotate(-1deg);
  z-index: -1;
}
.hero-desc {
  margin-top: 1.25rem;
  max-width: 34rem;
  font-size: 1.0625rem;
  color: var(--muted-foreground);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}
.hero-note {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* 背景グロー */
.glow {
  position: absolute;
  border-radius: 9999px;
  filter: blur(64px);
  pointer-events: none;
}
.hero-visual {
  position: relative;
}
.hero-visual .glow-a {
  top: -3.5rem;
  right: -2.5rem;
  width: 14rem;
  height: 14rem;
  background: color-mix(in srgb, var(--accent) 20%, transparent);
  animation: lp-float 9s ease-in-out infinite;
}
.hero-visual .glow-b {
  bottom: -3rem;
  left: -3rem;
  width: 12rem;
  height: 12rem;
  background: color-mix(in srgb, var(--info) 15%, transparent);
  animation: lp-float 12s ease-in-out 1.5s infinite;
}

/* ---------- 製品モックアップ ---------- */
.mock {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}
.mock-dots {
  display: flex;
  gap: 0.4rem;
}
.mock-dots span {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--muted-foreground) 30%, transparent);
}
.mock-title {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.mock-rec {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.rec-dot {
  position: relative;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  background: var(--danger);
}
.rec-dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background: var(--danger);
  opacity: 0.6;
  animation: lp-ping 1.4s cubic-bezier(0, 0, 0.2, 1) infinite;
}
.rec-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.eq {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  height: 1rem;
}
.eq i {
  width: 3px;
  height: 100%;
  border-radius: 9999px;
  background: var(--accent);
  transform-origin: center;
  animation: lp-eq 1.1s ease-in-out infinite;
}
.eq i:nth-child(2) { animation-delay: 0.15s; }
.eq i:nth-child(3) { animation-delay: 0.3s; }
.eq i:nth-child(4) { animation-delay: 0.45s; }
.eq i:nth-child(5) { animation-delay: 0.6s; }

.mock-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem;
  min-height: 20rem;
}
.mock-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.avatar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
}
.av-sky { background: color-mix(in srgb, var(--sky) 12%, transparent); color: var(--sky); }
.av-violet { background: color-mix(in srgb, var(--violet) 12%, transparent); color: var(--violet); }
.av-teal { background: color-mix(in srgb, var(--teal) 12%, transparent); color: var(--teal); }
.who {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted-foreground);
}
.said {
  font-size: 0.875rem;
  color: var(--foreground);
}
.mock-agent {
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  padding: 0.75rem;
}
.agent-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.agent-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
}
.agent-name {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--foreground);
}
.agent-tag {
  padding: 0.1rem 0.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 500;
}
.agent-msg {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--foreground);
}
.mock-toast {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-md);
  border: 1px solid color-mix(in srgb, var(--success) 30%, transparent);
  background: color-mix(in srgb, var(--success) 10%, transparent);
  padding: 0.5rem 0.75rem;
  color: var(--success);
}
.mock-toast span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--foreground);
}

/* モックのループアニメーション（12s） */
.row-1 { animation: lp-pop-1 12s ease-out infinite; }
.row-2 { animation: lp-pop-2 12s ease-out infinite; }
.row-3 { animation: lp-pop-3 12s ease-out infinite; }
.mock-agent { animation: lp-agent-in 12s ease-out infinite; }
.mock-toast { animation: lp-toast-in 12s ease-out infinite; }

/* ---------- セクション ---------- */
.section {
  padding-block: 5rem;
}
.section-head {
  max-width: 40rem;
  margin: 0 auto;
  text-align: center;
}
.eyebrow {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
.section-head h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.section-desc {
  margin-top: 0.75rem;
  font-size: 1rem;
  color: var(--muted-foreground);
}

/* ---------- 提供状況 ---------- */
.availability-section {
  padding-top: 1rem;
}
.availability-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2.5rem;
}
@media (min-width: 768px) {
  .availability-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.availability-card {
  height: 100%;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--surface) 92%, var(--accent));
  box-shadow: var(--shadow-card);
}
.availability-label {
  display: inline-flex;
  padding: 0.2rem 0.625rem;
  border-radius: 9999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 700;
}
.availability-label.is-live {
  background: color-mix(in srgb, var(--success) 14%, transparent);
  color: var(--success);
}
.availability-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
}
.availability-card p {
  margin-top: 0.5rem;
  color: var(--muted-foreground);
  font-size: 0.875rem;
}

.grid {
  display: grid;
  gap: 1rem;
  margin-top: 3rem;
}
.grid-3 {
  grid-template-columns: 1fr;
}
.grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 768px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

.feature-card {
  height: 100%;
  border-radius: var(--radius-lg);
  background: var(--surface);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s ease-out, transform 0.15s ease-out;
}
.feature-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
}
.feature-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.feature-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.step-card {
  height: 100%;
  border-radius: var(--radius-lg);
  background: color-mix(in srgb, var(--background) 78%, var(--surface));
  box-shadow: 0 0 0 1px var(--border);
  padding: 1.5rem;
}
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 0.875rem;
  font-weight: 700;
}
.step-card h3 {
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
}
.step-card p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* ---------- エージェント ---------- */
.agents-wrap {
  max-width: 48rem;
  margin: 2.5rem auto 0;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.chip {
  padding: 0.375rem 0.875rem;
  border-radius: 9999px;
  background: var(--surface);
  box-shadow: var(--shadow-control);
  color: var(--muted-foreground);
  font-size: 0.875rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition:
    background-color 0.15s ease-out,
    color 0.15s ease-out,
    box-shadow 0.15s ease-out,
    transform 0.1s ease-out;
}
.chip:hover {
  color: var(--foreground);
}
.chip:active {
  transform: scale(0.95);
}
.chip[aria-pressed="true"] {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}
.agent-detail {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-card);
  padding: 1.5rem;
}
.agent-detail-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.agent-detail-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 600;
}
.agent-detail-name {
  font-size: 1rem;
  font-weight: 600;
}
.agent-detail-sub {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.agent-detail-role {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}
.chips-hint {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.detail-anim {
  animation: lp-detail 0.25s ease-out;
}

/* ---------- CTA ---------- */
.cta {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-contrast);
  padding: 3.5rem 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .cta { padding: 3.5rem 3rem; }
}
.cta .glow-a {
  top: -5rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  background: color-mix(in srgb, var(--accent) 25%, transparent);
  animation: lp-float 9s ease-in-out infinite;
}
.cta .glow-b {
  bottom: -6rem;
  left: -4rem;
  width: 16rem;
  height: 16rem;
  background: color-mix(in srgb, var(--accent) 15%, transparent);
  animation: lp-float 12s ease-in-out 1.5s infinite;
}
.cta h2 {
  position: relative;
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--background);
}
.cta p {
  position: relative;
  margin-top: 0.75rem;
  font-size: 1rem;
  color: color-mix(in srgb, var(--background) 80%, transparent);
}
.cta .btn {
  position: relative;
  margin-top: 2rem;
}

/* ---------- β申込み ---------- */
.waitlist-cta {
  display: grid;
  gap: 2rem;
  text-align: left;
}
@media (min-width: 768px) {
  .waitlist-cta {
    grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
    align-items: center;
    gap: 3rem;
  }
}
.waitlist-copy,
.waitlist-form {
  position: relative;
  z-index: 1;
}
.waitlist-copy .eyebrow {
  margin-top: 0;
  color: color-mix(in srgb, var(--accent) 85%, white);
}
.waitlist-copy h2 {
  margin-top: 0.5rem;
}
.waitlist-copy > p:last-child {
  max-width: 36rem;
}
.waitlist-form {
  display: flex;
  flex-direction: column;
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 20px 50px -30px rgba(0, 0, 0, 0.65);
  color: var(--foreground);
}
.waitlist-form > label:first-child {
  font-size: 0.875rem;
  font-weight: 650;
}
.waitlist-form input[type="email"] {
  width: 100%;
  height: 3rem;
  margin-top: 0.5rem;
  padding-inline: 0.875rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--background);
  color: var(--foreground);
  font: inherit;
  box-shadow: var(--shadow-control);
}
.waitlist-form input[type="email"]::placeholder {
  color: var(--muted-foreground);
}
.waitlist-form input[type="email"]:focus {
  border-color: var(--accent);
  outline: 2px solid color-mix(in srgb, var(--accent) 25%, transparent);
  outline-offset: 1px;
}
.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.8125rem;
  line-height: 1.55;
}
.privacy-check input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin-top: 0.125rem;
  accent-color: var(--accent);
}
.privacy-check a {
  color: var(--foreground);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.waitlist-form .btn {
  width: 100%;
  margin-top: 1.25rem;
}
.waitlist-form .btn:disabled {
  cursor: wait;
  opacity: 0.65;
}
.waitlist-form .form-note,
.waitlist-form .form-status {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
  font-size: 0.75rem;
  line-height: 1.55;
}
.waitlist-form .form-status {
  min-height: 1.2em;
  margin-top: 0.5rem;
  font-weight: 650;
}
.waitlist-form .form-status.is-success {
  color: var(--success);
}
.waitlist-form .form-status.is-error {
  color: var(--danger);
}
.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2.5rem;
}
@media (min-width: 640px) {
  .footer-inner { flex-direction: row; }
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
@media (min-width: 640px) {
  .footer-brand { align-items: flex-start; }
}
.footer-logo {
  height: 1.5rem;
  width: auto;
}
.footer-brand p {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
}
.footer-meta a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted-foreground);
  transition: color 0.15s ease-out;
}
.footer-meta a:hover {
  color: var(--foreground);
}
.footer-meta span {
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

/* ---------- スクロール出現 ---------- */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- キーフレーム ---------- */
@keyframes lp-pop-1 {
  0%, 4% { opacity: 0; transform: translateY(6px); }
  9%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes lp-pop-2 {
  0%, 16% { opacity: 0; transform: translateY(6px); }
  21%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes lp-pop-3 {
  0%, 30% { opacity: 0; transform: translateY(6px); }
  35%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes lp-agent-in {
  0%, 44% { opacity: 0; transform: translateY(10px) scale(0.97); }
  52%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes lp-toast-in {
  0%, 72% { opacity: 0; transform: translateY(6px); }
  78%, 92% { opacity: 1; transform: none; }
  98%, 100% { opacity: 0; transform: none; }
}
@keyframes lp-eq {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}
@keyframes lp-ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}
@keyframes lp-float {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -14px, 0); }
}
@keyframes lp-detail {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}

/* モーション削減設定を尊重 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- 404 ---------- */
.error-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 2rem;
  text-align: center;
}
.error-page img {
  width: 10rem;
}
.error-page p {
  color: var(--muted-foreground);
}
