* {
  box-sizing: border-box;
}

:root {
  --bg: #eef3f6;
  --card: #ffffff;
  --card-soft: #f8fbfc;
  --text: #1f2937;
  --muted: #5b6675;
  --line: #e5e7eb;
  --primary: #11aeb3;
  --primary-dark: #0d969b;
  --primary-soft: #e9f8f8;
  --warning-soft: #fffdf4;
  --error-bg: #fff4f4;
  --error-border: #fecaca;
  --error-text: #b91c1c;
  --shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #f4f8fa 0%, var(--bg) 100%);
  color: var(--text);
  line-height: 1.6;
}

.page {
  max-width: 980px;
  margin: 32px auto 48px;
  padding: 0 16px;
}

.card {
  background: var(--card);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.hero {
  background: linear-gradient(135deg, #ffffff 0%, #f5fcfc 100%);
}

.hero h1 {
  margin: 0 0 10px;
  font-size: 32px;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.hero p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
  font-size: 17px;
}

.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

h2 {
  margin: 0;
  font-size: 25px;
  letter-spacing: -0.01em;
}

.mode-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f7fbfc;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px 12px;
}

.mode-label {
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}

.toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.toggle input {
  display: none;
}

.toggle-slider {
  position: relative;
  width: 46px;
  height: 26px;
  border-radius: 999px;
  background: #cfd8e3;
  transition: background 0.2s ease;
}

.toggle-slider::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease;
}

.toggle input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle input:checked + .toggle-slider::after {
  transform: translateX(20px);
}

.toggle-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

.section-intro,
.mode-helper,
.trial-text,
.trial-contact,
.trial-price {
  color: var(--muted);
  font-size: 15px;
  margin-top: 10px;
}

.question {
  padding: 18px 0 20px;
  border-bottom: 1px solid var(--line);
}

.question:last-of-type {
  border-bottom: none;
  padding-bottom: 4px;
}

.question h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
}

.question label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: 18px;
  margin-bottom: 10px;
  font-size: 17px;
  color: var(--text);
  cursor: pointer;
}

.question input[type="radio"] {
  transform: scale(1.08);
  accent-color: var(--primary);
}

.question select {
  width: 100%;
  max-width: 100%;
  padding: 14px 14px;
  border: 1px solid #d4dce6;
  border-radius: 12px;
  font-size: 16px;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.question select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(17, 174, 179, 0.12);
}

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.btn {
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  min-width: 170px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.2s ease, opacity 0.2s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: #6b7280;
  color: #fff;
}

.btn-secondary:hover {
  background: #5d6471;
}

.form-error {
  background: var(--error-bg);
  color: var(--error-text);
  border: 1px solid var(--error-border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
  font-size: 15px;
}

.result-block {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px;
  margin-bottom: 16px;
  background: #fafcfd;
}

.main-block {
  background: linear-gradient(135deg, #f4fdfd 0%, var(--primary-soft) 100%);
  border-color: #cdeeee;
}

.staff-block {
  background: #f6f8ff;
  border-color: #dbe2ff;
}

.staff-section + .staff-section {
  margin-top: 16px;
}

.staff-section h4 {
  margin: 0 0 8px;
  font-size: 16px;
  color: #334155;
}

.disclaimer-block {
  background: var(--warning-soft);
}

.eyebrow {
  display: inline-block;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 12px;
}

.result-block h3 {
  margin: 0 0 8px;
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.result-block p {
  margin: 0;
  color: #384252;
  font-size: 16px;
}

.result-block ul {
  margin: 0;
  padding-left: 22px;
}

.result-block li {
  margin-bottom: 8px;
  color: #384252;
  font-size: 16px;
}

.result-block li:last-child {
  margin-bottom: 0;
}

.subtitle {
  color: var(--muted);
}

.video-link {
  display: inline-block;
  margin-top: 12px;
  font-weight: 700;
  color: var(--primary-dark);
  text-decoration: none;
}

.video-link:hover {
  text-decoration: underline;
}

.trial-list {
  margin: 14px 0;
  padding-left: 22px;
}

.trial-list li {
  margin-bottom: 8px;
  color: #384252;
  font-size: 16px;
}

.trial-card,
.cta-card {
  background: linear-gradient(135deg, #ffffff 0%, #f7fbfc 100%);
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .page {
    margin-top: 20px;
  }

  .card {
    padding: 22px 18px;
    border-radius: 18px;
  }

  .hero h1 {
    font-size: 27px;
  }

  h2 {
    font-size: 22px;
  }

  .question h3 {
    font-size: 18px;
  }

  .question label,
  .question select,
  .btn,
  .result-block p,
  .result-block li,
  .section-intro,
  .mode-helper,
  .trial-text,
  .trial-contact,
  .trial-price {
    font-size: 15px;
  }

  .result-block h3 {
    font-size: 20px;
  }
}

@media (max-width: 560px) {
  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    min-width: 0;
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero p {
    font-size: 15px;
  }

  .question label {
    display: flex;
    margin-right: 0;
  }

  .mode-bar {
    width: 100%;
    justify-content: space-between;
  }
}
/* Desktop follow-up question block */
.desktop-followup-banner {
  background: var(--primary-soft);
  border: 1px solid #cdeeee;
  border-radius: 12px;
  padding: 10px 14px;
  margin: 20px 0 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-dark);
}
