/* ===== Design System ===== */
:root {
  /* Colors */
  --bg-primary: #0a0a0f;
  --bg-secondary: #111118;
  --bg-card: #16161f;
  --bg-card-hover: #1c1c28;
  --bg-input: #1a1a25;

  --text-primary: #f0f0f5;
  --text-secondary: #a0a0b0;
  --text-muted: #6a6a7a;

  --gold: #c9a84c;
  --gold-light: #e0c878;
  --gold-dark: #a08030;
  --gold-gradient: linear-gradient(135deg, #c9a84c 0%, #e0c878 50%, #c9a84c 100%);

  --navy: #1a2744;
  --navy-light: #243558;
  --navy-dark: #0f1a2e;

  --accent-a: #4ecdc4;
  --accent-b: #7c6df0;
  --accent-c: #f0a040;

  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-gold: rgba(201, 168, 76, 0.3);

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 4px 30px rgba(201, 168, 76, 0.15);

  /* Typography */
  --font-sans: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Spacing */
  --container-max: 720px;
  --container-padding: 24px;

  /* Transitions */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-out);
  --transition-normal: 0.4s var(--ease-out);
  --transition-slow: 0.6s var(--ease-out);
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* ===== Page transitions ===== */
.page {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
}

.page.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

#page-top:not(.active),
#page-quiz:not(.active),
#page-result:not(.active) {
  display: none;
}

.page.fade-in {
  animation: fadeIn 0.6s var(--ease-out) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== TOP PAGE ===== */
#page-top {
  position: relative;
  min-height: 100vh;
  align-items: center;
  justify-content: center;
  padding: 60px 0;
}

#page-top.active {
  display: flex;
}

.top-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(26, 39, 68, 0.4) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 80%, rgba(201, 168, 76, 0.06) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 20% 90%, rgba(26, 39, 68, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.top-container {
  position: relative;
  text-align: center;
  z-index: 1;
}

.top-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--gold);
  border: 1px solid var(--border-gold);
  padding: 6px 20px;
  border-radius: 100px;
  margin-bottom: 32px;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.top-title {
  font-family: var(--font-sans);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.gold-text {
  background: var(--gold-gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.top-subtitle {
  font-size: clamp(0.9rem, 2.5vw, 1.05rem);
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 40px;
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

.top-description {
  text-align: left;
  max-width: 580px;
  margin: 0 auto 48px;
  padding: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  animation: fadeInUp 0.6s var(--ease-out) 0.4s both;
}

.top-description p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 16px;
}

.top-description p:last-child {
  margin-bottom: 0;
}

.top-description strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Name input */
.name-input-area {
  max-width: 360px;
  margin: 0 auto 36px;
  animation: fadeInUp 0.6s var(--ease-out) 0.5s both;
}

.name-label {
  display: block;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  text-align: left;
}

.name-input {
  width: 100%;
  padding: 14px 18px;
  font-size: 1rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.name-input::placeholder {
  color: var(--text-muted);
}

.name-input:focus {
  border-color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 40px;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-sans);
  color: var(--bg-primary);
  background: var(--gold-gradient);
  background-size: 200% auto;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-gold);
  animation: fadeInUp 0.6s var(--ease-out) 0.6s both;
}

.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 6px 40px rgba(201, 168, 76, 0.25);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-arrow {
  transition: transform var(--transition-fast);
}

.btn-primary:hover .btn-arrow {
  transform: translateX(4px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  color: var(--text-primary);
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.03);
}

.btn-result-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 0.92rem;
  font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-result-action:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.btn-result-action.copied {
  border-color: var(--accent-a);
  color: var(--accent-a);
}

/* Type previews */
.top-types-preview {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-top: 56px;
  animation: fadeInUp 0.6s var(--ease-out) 0.7s both;
}

.type-preview-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  min-width: 110px;
  transition: all var(--transition-fast);
}

.type-preview-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.type-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.type-a-icon {
  background: rgba(78, 205, 196, 0.12);
  color: var(--accent-a);
  border: 1px solid rgba(78, 205, 196, 0.25);
}

.type-b-icon {
  background: rgba(124, 109, 240, 0.12);
  color: var(--accent-b);
  border: 1px solid rgba(124, 109, 240, 0.25);
}

.type-c-icon {
  background: rgba(240, 160, 64, 0.12);
  color: var(--accent-c);
  border: 1px solid rgba(240, 160, 64, 0.25);
}

.type-preview-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
}

/* ===== QUIZ PAGE ===== */
.quiz-container {
  display: flex;
  flex-direction: column;
  padding-top: 24px;
  padding-bottom: 40px;
}

.quiz-header {
  padding-bottom: 24px;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

#progress-text {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gold);
}

.progress-bar-wrapper {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--gold-gradient);
  background-size: 200% auto;
  border-radius: 10px;
  transition: width 0.5s var(--ease-out);
  animation: shimmer 3s linear infinite;
}

/* Quiz content */
.quiz-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 10px 0;
}

.question-card {
  animation: fadeInUp 0.5s var(--ease-out) forwards;
}

.question-number {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.question-text {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 12px;
}

.question-example {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.02);
  border-left: 2px solid var(--border-gold);
  border-radius: 0 8px 8px 0;
}

.question-example p {
  margin-bottom: 4px;
}

.question-example p:last-child {
  margin-bottom: 0;
}

/* Answer options */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px 20px;
  font-size: 0.95rem;
  font-weight: 400;
  font-family: var(--font-sans);
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.option-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.08), transparent);
  opacity: 0;
  transition: opacity var(--transition-fast);
}

.option-btn:hover {
  border-color: var(--border-gold);
  color: var(--text-primary);
  transform: translateX(4px);
}

.option-btn:hover::before {
  opacity: 1;
}

.option-btn.selected {
  border-color: var(--gold);
  color: var(--text-primary);
  background: rgba(201, 168, 76, 0.06);
}

.option-btn.selected::before {
  opacity: 1;
}

.option-marker {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  position: relative;
  z-index: 1;
}

.option-btn.selected .option-marker {
  border-color: var(--gold);
  background: var(--gold);
}

.option-btn.selected .option-marker::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--bg-primary);
}

.option-label {
  position: relative;
  z-index: 1;
}

/* Quiz navigation */
.quiz-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
}

.quiz-step-dots {
  display: flex;
  gap: 6px;
}

.step-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  transition: all var(--transition-fast);
}

.step-dot.answered {
  background: var(--gold-dark);
}

.step-dot.current {
  background: var(--gold);
  width: 18px;
  border-radius: 3px;
}

/* ===== RESULT PAGE ===== */
.result-container {
  padding-top: 60px;
  padding-bottom: 80px;
}

/* Result header */
.result-header {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.result-label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  color: var(--text-muted);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.result-user-name {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.result-type-title {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 12px;
}

.result-type-title .type-highlight-a {
  color: var(--accent-a);
}

.result-type-title .type-highlight-b {
  color: var(--accent-b);
}

.result-type-title .type-highlight-c {
  color: var(--accent-c);
}

.result-catchcopy {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* Score display */
.score-display {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.score-card {
  flex: 1;
  max-width: 160px;
  padding: 20px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: center;
  transition: all var(--transition-fast);
}

.score-card.winner {
  border-color: var(--border-gold);
  box-shadow: var(--shadow-gold);
}

.score-type-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.score-type-name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.score-value {
  font-size: 1.8rem;
  font-weight: 700;
}

.score-card-a .score-value { color: var(--accent-a); }
.score-card-b .score-value { color: var(--accent-b); }
.score-card-c .score-value { color: var(--accent-c); }

.score-unit {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 400;
}

/* Result sections */
.result-section {
  margin-bottom: 36px;
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
}

.result-section.animated {
  animation: fadeInUp 0.5s var(--ease-out) both;
}

.result-section-title {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 18px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.result-section-title::before {
  content: '';
  width: 3px;
  height: 16px;
  background: var(--gold);
  border-radius: 2px;
}

.result-section p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 12px;
}

.result-section p:last-child {
  margin-bottom: 0;
}

.result-section ul {
  list-style: none;
  padding: 0;
}

.result-section li {
  position: relative;
  padding-left: 22px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 6px;
}

.result-section li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold-dark);
}

/* Common message */
.common-message {
  margin-top: 48px;
  padding: 36px 28px;
  background: linear-gradient(135deg, var(--navy-dark), var(--bg-card));
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  text-align: center;
}

.common-message-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 0.08em;
}

.common-message p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 2;
  margin-bottom: 12px;
}

.common-message p:last-child {
  margin-bottom: 0;
}

.common-message strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* Result actions */
.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 48px;
}

.result-actions .btn-primary {
  animation: none;
}

/* Copy feedback */
.copy-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  padding: 14px 28px;
  background: var(--bg-card);
  border: 1px solid var(--accent-a);
  border-radius: 12px;
  color: var(--accent-a);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s var(--ease-out);
  z-index: 1000;
}

.copy-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  :root {
    --container-padding: 18px;
  }

  .top-types-preview {
    flex-direction: row;
    gap: 10px;
  }

  .type-preview-card {
    min-width: 0;
    flex: 1;
    padding: 16px 12px;
  }

  .type-preview-name {
    font-size: 0.72rem;
  }

  .top-description {
    padding: 24px 20px;
  }

  .score-display {
    gap: 8px;
  }

  .score-card {
    padding: 16px 10px;
  }

  .score-value {
    font-size: 1.5rem;
  }

  .result-section {
    padding: 22px 18px;
  }

  .result-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-result-action,
  .result-actions .btn-primary {
    width: 100%;
    justify-content: center;
  }

  .quiz-content {
    padding: 10px 0;
  }

  .option-btn {
    padding: 14px 16px;
    font-size: 0.9rem;
  }

  .sp-only {
    display: inline;
  }
}

@media (min-width: 641px) {
  .sp-only {
    display: none;
  }
}

/* ===== Utility ===== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Selection color */
::selection {
  background: rgba(201, 168, 76, 0.3);
  color: var(--text-primary);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* ===== Required mark & validation ===== */
.required-mark {
  color: #e05555;
  font-weight: 600;
}

.input-error {
  display: block;
  font-size: 0.8rem;
  color: #e05555;
  margin-top: 6px;
  min-height: 1.2em;
}

.name-input.error {
  border-color: #e05555;
  box-shadow: 0 0 0 3px rgba(224, 85, 85, 0.12);
}

/* ===== CTA Section ===== */
.cta-section {
  margin-top: 48px;
  padding: 36px 28px;
  background: linear-gradient(135deg, rgba(201, 168, 76, 0.06), rgba(26, 39, 68, 0.3));
  border: 1px solid var(--border-gold);
  border-radius: 16px;
  text-align: center;
}

.cta-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.cta-section-sub {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 28px;
}

.cta-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cta-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  text-align: left;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: all var(--transition-fast);
}

.cta-card:hover {
  border-color: var(--border-gold);
  transform: translateX(4px);
  background: var(--bg-card-hover);
}

.cta-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
}

.cta-icon-discord {
  background: rgba(88, 101, 242, 0.12);
  border: 1px solid rgba(88, 101, 242, 0.25);
}

.cta-icon-consult {
  background: rgba(201, 168, 76, 0.12);
  border: 1px solid rgba(201, 168, 76, 0.25);
}

.cta-icon-line {
  background: rgba(6, 199, 85, 0.12);
  border: 1px solid rgba(6, 199, 85, 0.25);
}

.cta-card-content {
  flex: 1;
}

.cta-card-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.cta-card-desc {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.cta-card-arrow {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: all var(--transition-fast);
}

.cta-card:hover .cta-card-arrow {
  color: var(--gold);
  transform: translateX(3px);
}

/* CTA separator */
.cta-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.cta-divider::before,
.cta-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border-subtle);
}

/* ===== Webhook status ===== */
.webhook-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 12px;
}

.webhook-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-a);
  animation: pulse 2s ease infinite;
}

.webhook-dot.error {
  background: #e05555;
  animation: none;
}

@media (max-width: 640px) {
  .cta-section {
    padding: 28px 18px;
  }

  .cta-card {
    padding: 16px 16px;
  }
}
