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

:root {
  --royal-blue: #1d4ed8;
  --royal-blue-hover: #1e40af;
  --royal-blue-light: #eff6ff;
  --royal-blue-glow: rgba(29, 78, 216, 0.22);
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition-smooth: all 0.25s ease;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: #f8fafc;
  color: #334155;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 2rem 1.25rem;
  line-height: 1.5;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

button,
input,
textarea,
a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

body::before {
  content: "";
  position: absolute;
  top: -15%;
  left: 50%;
  transform: translateX(-50%);
  width: min(650px, 100vw);
  max-width: 100%;
  height: 450px;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.landing-card {
  width: 100%;
  max-width: 530px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 3rem 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 4px 12px rgba(15, 23, 42, 0.02);
  position: relative;
  z-index: 2;
  margin: auto;
}

.unsubscribe-card {
  margin: auto;
}

@media (max-width: 480px) {
  .landing-card {
    padding: 2.25rem 1.5rem;
    border-radius: 16px;
  }
}

@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  textarea {
    font-size: 16px !important;
  }
}

.brand-header {
  margin-bottom: 1.75rem;
}

.wordmark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: -0.035em;
  line-height: 1.1;
  display: inline-flex;
  align-items: center;
}

.wordmark .accent {
  color: var(--royal-blue);
}

.tagline {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: #1e293b;
  margin-top: 0.45rem;
  letter-spacing: -0.01em;
}

.core-message {
  color: #64748b;
  font-size: 1.03rem;
  line-height: 1.65;
  margin-bottom: 2rem;
}

.role-section {
  margin-bottom: 1.35rem;
}

.role-label {
  display: block;
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

.role-options {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .role-options {
    grid-template-columns: repeat(2, 1fr);
  }
}

.role-btn {
  padding: 0.6rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  border-radius: 10px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition-smooth);
  border: 1.5px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
}

.role-btn:hover {
  background: #e2e8f0;
  color: #1e293b;
}

.role-btn.active {
  background: var(--royal-blue);
  color: #ffffff;
  border-color: var(--royal-blue);
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.28);
}

.other-role-container {
  margin-top: 0.65rem;
  animation: slideDownFade 0.25s ease-out forwards;
}

.other-role-input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-body);
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  color: #0f172a;
  outline: none;
  transition: var(--transition-smooth);
}

.other-role-input::placeholder {
  color: #94a3b8;
  font-size: 0.84rem;
}

.other-role-input:focus {
  background: #ffffff;
  border-style: solid;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px var(--royal-blue-glow);
}

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

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.input-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

@media (min-width: 520px) {
  .input-row {
    flex-direction: row;
  }
}

.email-input {
  flex: 1;
  padding: 0.95rem 1.15rem;
  font-size: 1rem;
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  border-radius: 12px;
  color: #0f172a;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.email-input:focus {
  background: #ffffff;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px var(--royal-blue-glow);
}

.submit-btn {
  padding: 0.95rem 1.6rem;
  font-size: 1rem;
  font-weight: 600;
  font-family: var(--font-display);
  background: var(--royal-blue);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  transition: var(--transition-smooth);
}

.submit-btn:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
}

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

.hp-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
}

.email-feedback {
  font-size: 0.85rem;
  line-height: 1.4;
  margin-top: -0.35rem;
  padding: 0.25rem 0.35rem;
  animation: fadeIn 0.2s ease;
}

.email-feedback.error {
  color: #dc2626;
  font-weight: 600;
}

.email-feedback.suggestion {
  color: #1e40af;
  background: var(--royal-blue-light);
  border: 1px solid #bfdbfe;
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
}

.email-feedback.suggestion .typo-fix-btn {
  background: none;
  border: none;
  color: var(--royal-blue);
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
}

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
  font-size: 0.9rem;
  color: #475569;
  user-select: none;
}

.checkbox-label input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 19px;
  height: 19px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  position: relative;
  flex-shrink: 0;
  margin-top: 2px;
  transition: var(--transition-smooth);
}

.checkbox-label input[type="checkbox"]:checked {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
}

.checkbox-label input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2.2px 2.2px 0;
  transform: rotate(45deg);
}

.privacy-notice {
  font-size: 0.8rem;
  color: #94a3b8;
  line-height: 1.5;
  margin-top: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.privacy-icon {
  flex-shrink: 0;
  width: 14px;
  height: 14px;
}

.confirmation-box {
  display: none;
  text-align: center;
  padding: 1.5rem 0.5rem;
  animation: fadeIn 0.3s ease;
}

.confirmation-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--royal-blue);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.confirmation-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.4rem;
}

.confirmation-desc {
  font-size: 0.95rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.confirmation-survey-card {
  margin: 0 auto 1.5rem auto;
  padding: 1.15rem 1.25rem;
  background: var(--royal-blue-light);
  border: 1.5px solid #bfdbfe;
  border-radius: 14px;
  text-align: left;
  max-width: 440px;
}

.confirmation-survey-card h3 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.25rem;
}

.confirmation-survey-card p {
  font-size: 0.84rem;
  color: #2563eb;
  line-height: 1.45;
  margin-bottom: 0.85rem;
}

.confirmation-survey-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-display);
  background: var(--royal-blue);
  color: #ffffff;
  border-radius: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.22);
}

.confirmation-survey-btn:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
}

.reset-btn {
  background: none;
  border: none;
  color: var(--royal-blue);
  text-decoration: underline;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
}

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

.unsubscribe-card {
  text-align: center;
}

.unsubscribe-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.unsub-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #475569;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  border: 1.5px solid #e2e8f0;
}

.unsub-title {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.unsub-desc {
  font-size: 1rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0.85rem;
  max-width: 440px;
}

.unsub-desc strong {
  color: #0f172a;
  word-break: break-all;
}

.reassurance-note {
  font-size: 0.925rem;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 420px;
}

.unsub-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding-top: 1.25rem;
  border-top: 1px solid #f1f5f9;
}

.undo-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  transition: var(--transition-smooth);
}

.undo-btn:hover {
  color: #1e293b;
}

.undo-link {
  color: var(--royal-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  margin-left: 0.25rem;
}

.undo-link:hover {
  color: var(--royal-blue-hover);
}

.back-home-link {
  font-size: 0.875rem;
  color: #94a3b8;
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: var(--transition-smooth);
}

.back-home-link:hover {
  color: var(--royal-blue);
  transform: translateX(-2px);
}

.resubscribe-feedback {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  padding: 0.85rem 1.25rem;
  border-radius: 12px;
  font-size: 0.925rem;
  font-weight: 500;
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
  margin-top: 0.25rem;
}

.survey-card {
  width: 100%;
  max-width: 640px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 4px 12px rgba(15, 23, 42, 0.02);
  position: relative;
  z-index: 2;
  margin: 1.5rem auto;
}

@media (max-width: 480px) {
  .survey-card {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
}

.survey-top-bar {
  margin-bottom: 2rem;
  border-bottom: 1px solid #f1f5f9;
  padding-bottom: 1.5rem;
}

.survey-nav-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #64748b;
  text-decoration: none;
  margin-bottom: 1.25rem;
  transition: var(--transition-smooth);
}

.survey-nav-back:hover {
  color: var(--royal-blue);
  transform: translateX(-2px);
}

.survey-intro {
  margin-top: 0.5rem;
}

.survey-intro-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #0f172a;
  letter-spacing: -0.02em;
}

.survey-intro-desc {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 0.35rem;
  line-height: 1.55;
}

.survey-progress-bar-wrapper {
  margin-top: 1.25rem;
}

.survey-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.5rem;
}

.survey-progress-track {
  width: 100%;
  height: 6px;
  background: #f1f5f9;
  border-radius: 999px;
  overflow: hidden;
}

.survey-progress-fill {
  height: 100%;
  width: 20%;
  background: linear-gradient(90deg, #2563eb, #1d4ed8);
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.survey-flow {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.survey-question-block {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--transition-smooth);
  animation: expandSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.survey-question-block.active-focus {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px -3px rgba(15, 23, 42, 0.05);
}

.survey-question-block.completed {
  border-color: #e2e8f0;
  background: #fafbfc;
}

.question-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  border-radius: 999px;
  margin-bottom: 0.6rem;
}

.question-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.question-helper {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.survey-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.6rem;
}

@media (min-width: 520px) {
  .survey-options.grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.survey-option-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.9rem 1.1rem;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  width: 100%;
}

.survey-option-card:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  transform: translateY(-1px);
}

.survey-option-card.selected {
  background: var(--royal-blue-light);
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 2px var(--royal-blue-glow);
}

.option-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
  line-height: 1;
}

.option-text-group {
  flex: 1;
}

.option-label {
  display: block;
  font-size: 0.925rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.survey-option-card.selected .option-label {
  color: var(--royal-blue);
}

.option-desc {
  display: block;
  font-size: 0.775rem;
  color: #64748b;
  margin-top: 0.15rem;
  line-height: 1.35;
}

.option-check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid #cbd5e1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  flex-shrink: 0;
  transition: var(--transition-smooth);
}

.survey-option-card.selected .option-check {
  background: var(--royal-blue);
  border-color: var(--royal-blue);
  color: #ffffff;
}

.survey-option-card.is-multi .option-check {
  border-radius: 6px;
}

.multi-tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  margin-left: 0.5rem;
  display: inline-block;
  vertical-align: middle;
}

.multi-continue-container {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1rem;
  animation: fadeIn 0.25s ease;
}

.multi-continue-btn {
  padding: 0.75rem 1.4rem;
  font-family: var(--font-display);
  font-size: 0.925rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--royal-blue);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-smooth);
  box-shadow: 0 2px 8px rgba(29, 78, 216, 0.22);
}

.multi-continue-btn:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.3);
}

.multi-continue-btn:disabled {
  background: #e2e8f0;
  color: #94a3b8;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.multi-selection-count {
  font-size: 0.8rem;
  color: #64748b;
  font-weight: 600;
}

.survey-submit-block {
  animation: expandSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.survey-textarea {
  width: 100%;
  min-height: 85px;
  padding: 0.85rem 1rem;
  font-size: 0.9rem;
  font-family: var(--font-body);
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  resize: vertical;
  transition: var(--transition-smooth);
}

.survey-textarea:focus {
  background: #ffffff;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px var(--royal-blue-glow);
}

.survey-email-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.survey-email-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: #475569;
}

.survey-email-input {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 0.925rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  background: #f8fafc;
  color: #0f172a;
  outline: none;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.survey-email-input:focus {
  background: #ffffff;
  border-color: var(--royal-blue);
  box-shadow: 0 0 0 3px var(--royal-blue-glow);
}

.survey-final-btn {
  width: 100%;
  padding: 1rem 1.75rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--royal-blue);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(29, 78, 216, 0.28);
  transition: var(--transition-smooth);
}

.survey-final-btn:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(29, 78, 216, 0.35);
}

.survey-success-card {
  text-align: center;
  padding: 2.5rem 1rem;
  animation: fadeIn 0.4s ease;
}

.success-badge-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #ecfdf5;
  color: #10b981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
  border: 2px solid #a7f3d0;
}

.success-title {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.success-desc {
  font-size: 1rem;
  color: #64748b;
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 1.75rem auto;
}

.success-summary-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  max-width: 460px;
  margin: 0 auto 1.75rem auto;
  text-align: left;
}

.summary-heading {
  font-size: 0.775rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.summary-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.summary-list li {
  font-size: 0.875rem;
  color: #334155;
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
}

.summary-list li .summary-q {
  font-weight: 600;
  color: #475569;
}

.summary-list li .summary-a {
  font-weight: 600;
  color: var(--royal-blue);
  text-align: right;
}

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

.site-footer {
  width: 100%;
  max-width: 680px;
  margin-top: 2rem;
  padding: 1.5rem 1rem 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  position: relative;
  z-index: 10;
}

.footer-copy {
  margin-bottom: 0.5rem;
  color: #94a3b8;
  font-size: 0.825rem;
}

.footer-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-link {
  color: #64748b;
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.footer-link:hover {
  color: var(--royal-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-dot {
  color: #cbd5e1;
  user-select: none;
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 2.5rem);
  max-width: 620px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 0.95rem 1.25rem;
  box-shadow: 0 20px 35px -10px rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 9999;
  animation: slideUpFade 0.35s ease forwards;
}

.cookie-banner-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cookie-banner-icon {
  font-size: 1.35rem;
  line-height: 1;
}

.cookie-banner-text {
  font-size: 0.85rem;
  color: #e2e8f0;
  line-height: 1.45;
}

.cookie-banner-link {
  color: #93c5fd;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: 600;
  white-space: nowrap;
}

.cookie-banner-link:hover {
  color: #bfdbfe;
}

.cookie-ack-btn {
  background: var(--royal-blue);
  color: #ffffff;
  border: none;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-smooth);
}

.cookie-ack-btn:hover {
  background: var(--royal-blue-hover);
  transform: translateY(-1px);
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translate(-50%, 20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    bottom: 1rem;
    padding: 1rem;
    gap: 0.85rem;
  }

  .cookie-ack-btn {
    width: 100%;
    text-align: center;
    padding: 0.65rem;
  }
}

.legal-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 2.75rem 2.5rem;
  box-shadow: 0 20px 40px -15px rgba(15, 23, 42, 0.07), 0 4px 12px rgba(15, 23, 42, 0.02);
  position: relative;
  z-index: 2;
  margin: auto;
}

@media (max-width: 640px) {
  .legal-card {
    padding: 2rem 1.25rem;
    border-radius: 16px;
  }
}

.legal-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.legal-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.35rem;
}

.legal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  border-radius: 9999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.785rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.legal-highlight-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--royal-blue);
  border-radius: 10px;
  padding: 1.25rem;
  margin: 1.5rem 0 2rem;
}

.legal-highlight-box h3 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.5rem;
}

.legal-highlight-box p {
  font-size: 0.925rem;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 0.75rem;
}

.legal-section p,
.legal-section li {
  font-size: 0.935rem;
  color: #475569;
  line-height: 1.65;
}

.legal-section ul {
  padding-left: 1.25rem;
  margin: 0.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-table-wrapper {
  overflow-x: auto;
  margin: 1rem 0;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.875rem;
  text-align: left;
}

.legal-table th {
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #cbd5e1;
}

.legal-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  color: #475569;
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
  margin: 1.75rem 0;
}

.contact-card-item {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.75rem;
  transition: var(--transition-smooth);
}

.contact-card-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}

.contact-item-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: #0f172a;
}

.contact-item-desc {
  font-size: 0.875rem;
  color: #64748b;
  line-height: 1.5;
}

.contact-mailto-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--royal-blue-light);
  color: var(--royal-blue);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(29, 78, 216, 0.15);
  transition: var(--transition-smooth);
}

.contact-mailto-btn:hover {
  background: var(--royal-blue);
  color: #ffffff;
}

.quick-links-panel {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: 12px;
  padding: 1.25rem;
  margin: 2rem 0 1rem;
}

.quick-links-panel h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 0.5rem;
}

.quick-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.quick-links-list a {
  color: var(--royal-blue);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.quick-links-list a:hover {
  text-decoration: underline;
}

.survey-teaser-card {
  margin-top: 1.75rem;
  padding: 1.15rem 1.25rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  transition: var(--transition-smooth);
}

.survey-teaser-card:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}

.survey-teaser-content {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.survey-teaser-title {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: #0f172a;
}

.survey-teaser-desc {
  font-size: 0.825rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0;
}

.survey-teaser-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  background: #ffffff;
  color: var(--royal-blue);
  border: 1.5px solid #bfdbfe;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.55rem 0.95rem;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.survey-teaser-btn:hover {
  background: var(--royal-blue);
  color: #ffffff;
  border-color: var(--royal-blue);
  transform: translateY(-1px);
}

@media (max-width: 480px) {
  .survey-teaser-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }

  .survey-teaser-btn {
    width: 100%;
  }
}