/* ============================================================
   UK Deed Poll — Deed Poll Service
   Mobile-first stylesheet — system fonts — no external deps
   Primary: #003078 (UK Government Navy)
   ============================================================ */

/* --- RESET --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #1a1a1a;
  background: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: #003078; text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }
button { font-family: inherit; }

/* --- CSS VARIABLES --- */
:root {
  --primary: #003078;
  --primary-dark: #00205e;
  --primary-light: #e8effd;
  --primary-mid: #1d4ed8;
  --text: #0b0c0c;
  --text-muted: #505a5f;
  --border: #d3d6d9;
  --bg-light: #f3f4f6;
  --white: #fff;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.14);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.2s ease;
}

/* --- CONTAINER --- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) { .container { padding: 0 1.5rem; } }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  background: #003078;
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(0,0,0,0.2);
}
.site-header--form {
  background: #0b0c0c;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}
.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0;
  white-space: nowrap;
  text-decoration: none;
}
.logo-crest {
  display: inline-block;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  background-color: #ffffff;
  -webkit-mask: url('/crown.svg') no-repeat center;
  mask: url('/crown.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}
.footer-brand .logo-crest {
  width: 24px;
  height: 24px;
}
.site-nav { display: none; gap: 1.25rem; align-items: center; }
@media (min-width: 768px) { .site-nav { display: flex; } }
.site-nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.75);
  transition: color var(--transition);
  white-space: nowrap;
}
.site-nav a:hover { color: #fff; text-decoration: none; }
.nav-cta {
  background: #fff !important;
  color: #0b0c0c !important;
  padding: 0.45rem 1rem !important;
  border-radius: var(--radius);
  font-size: 0.82rem !important;
  font-weight: 700 !important;
}
.nav-cta:hover { background: #e8e8e8 !important; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
@media (min-width: 768px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}
.mobile-menu {
  display: none;
  border-top: 1px solid var(--border);
  background: var(--white);
  padding: 0.5rem 0;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  padding: 0.8rem 1rem;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { background: var(--primary-light); color: var(--primary); text-decoration: none; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-primary:hover { background: var(--primary-light); border-color: var(--primary-light); color: var(--primary-dark); text-decoration: none; }
.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.7);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--white); text-decoration: none; }
.btn-teal {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-teal:hover { background: var(--primary-dark); border-color: var(--primary-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover { background: var(--primary-light); text-decoration: none; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* Loading spinner on btn */
.btn-loading {
  position: relative;
  color: transparent !important;
  pointer-events: none;
}
.btn-loading::after {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, #00205e 100%);
  color: var(--white);
  padding: 3.5rem 0 4rem;
  text-align: center;
}
.hero h1 {
  font-size: clamp(1.6rem, 5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}
.hero-sub {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  opacity: 0.92;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 2.5rem;
}
@media (min-width: 480px) { .hero-buttons { flex-direction: row; justify-content: center; } }

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  opacity: 0.9;
}
.trust-item::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(255,255,255,0.25);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  flex-shrink: 0;
}

/* ============================================================
   SECTIONS
   ============================================================ */
section { padding: 3rem 0; }
.section-alt { background: var(--bg-light); }
.section-teal { background: var(--primary); color: var(--white); }
.section-title {
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.5rem;
  letter-spacing: -0.3px;
}
.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 1rem;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.section-teal .section-sub { color: rgba(255,255,255,0.8); }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .steps-grid { grid-template-columns: repeat(4, 1fr); } }
.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 1.3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.step-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.step-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .testimonials-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .testimonials-grid { grid-template-columns: repeat(3, 1fr); } }
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.stars { color: #f59e0b; font-size: 1rem; margin-bottom: 0.75rem; letter-spacing: 2px; }
.testimonial-card p { font-size: 0.9rem; color: var(--text); line-height: 1.7; margin-bottom: 1rem; font-style: italic; }
.testimonial-author { font-size: 0.85rem; font-weight: 700; color: var(--primary); }
.testimonial-location { font-size: 0.8rem; color: var(--text-muted); font-weight: 400; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.6rem;
  overflow: hidden;
}
.faq-question {
  padding: 1rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background var(--transition);
  border: none;
  width: 100%;
  text-align: left;
  color: var(--text);
}
.faq-question:hover { background: var(--primary-light); }
.faq-question.open { background: var(--primary-light); color: var(--primary); }
.faq-icon {
  font-size: 1.3rem;
  transition: transform var(--transition);
  flex-shrink: 0;
  color: var(--primary);
  margin-left: 0.75rem;
  line-height: 1;
}
.faq-question.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  display: none;
  padding: 0.75rem 1.25rem 1.1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  border-top: 1px solid var(--border);
  background: var(--white);
}
.faq-answer.open { display: block; }

/* ============================================================
   FORM ELEMENTS (shared)
   ============================================================ */
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.required { color: #dc2626; margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(15, 110, 86, 0.12);
}
.form-input.error, .form-select.error { border-color: #dc2626; }
.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23555'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1.1rem;
  padding-right: 2.5rem;
  cursor: pointer;
}
.form-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.35rem;
  display: none;
}
.form-error.show { display: block; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.35rem; }
.form-row { display: grid; gap: 1rem; }
@media (min-width: 600px) { .form-row.cols-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 600px) { .form-row.cols-3 { grid-template-columns: repeat(3, 1fr); } }
.form-textarea { min-height: 120px; resize: vertical; }

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  cursor: pointer;
}
.checkbox-wrap input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--primary);
  cursor: pointer;
}
.checkbox-label { font-size: 0.875rem; line-height: 1.55; color: var(--text); }

/* ============================================================
   MULTI-STEP FORM PAGE
   ============================================================ */
.form-page { background: var(--bg-light); min-height: 100vh; }
.form-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  padding: 0.9rem 0 0.75rem;
  text-align: center;
}
.form-header h1 { font-size: 1.1rem; font-weight: 700; color: var(--text); }
.form-header p { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.15rem; }

.progress-bar-wrap {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 64px;
  z-index: 100;
}
.progress-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
}
.progress-track {
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--primary);
  border-radius: 3px;
  transition: width 0.4s ease;
}

.order-bar-outer {
  background: var(--primary-light);
  border-bottom: 1.5px solid #b3c6e8;
  padding: 0.75rem 0;
}
.order-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 0.4rem 1.5rem;
  font-size: 0.82rem;
}
.order-bar-label {
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.5px;
}
.order-bar-line {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--text);
}
.order-bar-total {
  font-size: 1rem;
  font-weight: 800;
  color: var(--primary);
  margin-left: 1rem;
  padding-left: 1rem;
  border-left: 1.5px solid #b3c6e8;
}

.form-body { padding: 1.5rem 0 3rem; }
.form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.75rem;
  max-width: 680px;
  margin: 0 auto;
}
@media (min-width: 720px) { .form-card { padding: 2.25rem; } }

.form-step { display: none; }
.form-step.active { display: block; }
.step-heading {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  color: var(--text);
}
.step-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.65;
}
.step-divider { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* Form navigation */
.form-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.75rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.form-nav-left { display: flex; align-items: center; gap: 0.75rem; }
.btn-back {
  background: none;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all var(--transition);
  font-family: inherit;
}
.btn-back:hover { border-color: var(--primary); color: var(--primary); }
.save-btn {
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  text-decoration: underline;
  background: none;
  border: none;
  font-family: inherit;
  padding: 0;
}
.save-btn:hover { color: var(--primary); }

/* ============================================================
   STEP 5 — Additional Copies
   ============================================================ */
.org-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 1rem;
  margin: 0.75rem 0 1.25rem;
}
@media (min-width: 500px) { .org-grid { grid-template-columns: repeat(3, 1fr); } }
.org-item {
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.org-item::before { content: '•'; color: var(--primary); font-size: 1rem; flex-shrink: 0; }
.witness-notice {
  background: #fffbeb;
  border: 1px solid #f59e0b;
  border-left: 4px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 1.5rem;
}
.witness-notice-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #92400e;
  margin-bottom: 0.6rem;
}
.witness-notice-list {
  margin: 0 0 0.6rem 1.1rem;
  padding: 0;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.8;
}
.witness-notice-note {
  font-size: 0.8rem;
  color: #78350f;
  margin: 0;
  font-style: italic;
}
.copies-note {
  background: var(--primary-light);
  border-left: 3px solid var(--primary);
  padding: 0.875rem 1rem;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 0.85rem;
  color: var(--text);
  line-height: 1.65;
  margin-top: 1rem;
}

/* ============================================================
   STEP 6 — Name Change Kit
   ============================================================ */
.sale-badge {
  display: inline-flex;
  align-items: center;
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  margin-bottom: 0.75rem;
}
.kit-price-display {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.kit-price-now { font-size: 2rem; font-weight: 800; color: var(--primary); }
.kit-price-was { font-size: 1.1rem; color: var(--text-muted); text-decoration: line-through; }
.kit-bullet-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.3rem;
  margin: 0.75rem 0;
}
@media (min-width: 500px) { .kit-bullet-list { grid-template-columns: repeat(2, 1fr); } }
.kit-bullet {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--text);
  padding: 0.2rem 0;
}
.kit-bullet::before { content: '✓'; color: var(--primary); font-weight: 800; flex-shrink: 0; margin-top: 1px; }
.kit-features-list { margin: 1rem 0; border-top: 1px solid var(--border); padding-top: 1rem; }
.kit-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
}
.kit-feature-icon { color: var(--primary); font-weight: 800; flex-shrink: 0; }

/* ============================================================
   STEP 7 — Premium Services
   ============================================================ */
.service-box {
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
  transition: border-color var(--transition);
}
.service-box:has(select[value="yes"]) { border-color: var(--primary); }
.service-box-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.5rem; }
.service-box-title { font-weight: 700; font-size: 0.95rem; }
.service-box-price { font-weight: 700; color: var(--primary); font-size: 0.95rem; white-space: nowrap; }
.service-box-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; margin-bottom: 0.75rem; }

/* ============================================================
   STEP 8 — Review & Pay
   ============================================================ */
.review-block {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.75rem;
}
.review-block-head {
  background: var(--bg-light);
  padding: 0.55rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}
.review-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}
.review-line:last-child { border-bottom: none; }
.review-line-name { flex: 1; }
.review-line-price { font-weight: 600; white-space: nowrap; margin-left: 1rem; }
.review-delivery { color: var(--text-muted); }
.review-total-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
  border-radius: var(--radius);
  margin: 1rem 0 1.25rem;
}
.review-total-label { font-size: 1rem; font-weight: 700; color: var(--text); }
.review-total-amount { font-size: 1.4rem; font-weight: 800; color: var(--primary); }
.terms-box {
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  margin-bottom: 1.25rem;
}

/* ============================================================
   CONFIRMATION PAGE
   ============================================================ */
.confirm-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #00205e 100%);
  color: var(--white);
  padding: 2.75rem 0;
  text-align: center;
}
.confirm-tick { font-size: 3.5rem; line-height: 1; margin-bottom: 0.75rem; }
.confirm-banner h1 { font-size: clamp(1.4rem, 4vw, 1.9rem); font-weight: 800; margin-bottom: 0.5rem; }
.confirm-banner p { opacity: 0.9; font-size: 0.95rem; }
.confirm-ref {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.35rem 1rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 0.75rem;
  letter-spacing: 0.5px;
}
.confirm-body { padding: 2rem 0 3rem; }
.detail-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.detail-card h2 { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text); }
.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
}
.detail-row:last-child { border-bottom: none; }
.detail-key { color: var(--text-muted); font-weight: 500; flex-shrink: 0; }
.detail-val { font-weight: 600; text-align: right; }

/* Membership upsell section */
.upsell-section {
  max-width: 720px;
  margin: 2rem auto;
  background: var(--primary-light);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
}
.upsell-heading {
  font-size: clamp(1.2rem, 3vw, 1.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 0.35rem;
}
.upsell-sub {
  text-align: center;
  color: var(--primary);
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}
.upsell-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}
@media (min-width: 600px) { .upsell-cards { grid-template-columns: repeat(3, 1fr); } }
.upsell-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem;
  border: 1px solid var(--border);
}
.upsell-card h3 { font-size: 0.9rem; font-weight: 700; margin-bottom: 0.4rem; color: var(--primary); }
.upsell-card p { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.upsell-price-line { text-align: center; font-size: 1.3rem; font-weight: 800; color: var(--primary); margin-bottom: 0.25rem; }
.upsell-cancel { text-align: center; font-size: 0.8rem; color: var(--text-muted); margin-bottom: 1.25rem; }
.skip-link {
  display: block;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 1rem;
  cursor: pointer;
  background: none;
  border: none;
  font-family: inherit;
  text-decoration: underline;
}
.skip-link:hover { color: var(--text); }

/* ============================================================
   STATIC PAGES (shared)
   ============================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #00205e 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.page-hero h1 { font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 800; margin-bottom: 0.5rem; }
.page-hero p { opacity: 0.9; max-width: 600px; margin: 0 auto; font-size: 1rem; }

.content-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 2.5rem 1rem;
}
.content-body h2 { font-size: 1.25rem; font-weight: 700; margin: 2rem 0 0.75rem; color: var(--text); }
.content-body h3 { font-size: 1.05rem; font-weight: 600; margin: 1.5rem 0 0.5rem; }
.content-body p { margin-bottom: 1rem; line-height: 1.8; color: var(--text-muted); }
.content-body ul, .content-body ol { margin: 0.75rem 0 1rem 1.25rem; list-style: disc; }
.content-body ol { list-style: decimal; }
.content-body li { margin-bottom: 0.4rem; font-size: 0.95rem; color: var(--text-muted); line-height: 1.7; }
.content-body strong { color: var(--text); }

/* ============================================================
   BENEFIT CARDS
   ============================================================ */
.benefit-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 600px) { .benefit-grid { grid-template-columns: repeat(3, 1fr); } }
.benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  text-align: center;
}
.benefit-icon { font-size: 2.25rem; margin-bottom: 0.75rem; }
.benefit-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.5rem; }
.benefit-card p { font-size: 0.875rem; color: var(--text-muted); line-height: 1.65; }

/* ============================================================
   NOTICES & ALERTS
   ============================================================ */
.notice {
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  line-height: 1.65;
  margin-bottom: 1rem;
}
.notice-warning { background: #fef3c7; border: 1px solid #f59e0b; color: #92400e; }
.notice-danger { background: #fee2e2; border: 1px solid #dc2626; color: #991b1b; }
.notice-info { background: var(--primary-light); border: 1px solid #b3c6e8; color: #003078; }
.notice strong { font-weight: 700; }

/* Consent declaration box */
.consent-box {
  background: #fff8e1;
  border: 1.5px solid #f59e0b;
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1rem 0;
}
.consent-box h4 { font-size: 0.9rem; font-weight: 700; color: #92400e; margin-bottom: 0.6rem; }
.consent-box p { font-size: 0.875rem; color: #78350f; line-height: 1.65; margin-bottom: 0.75rem; }
.consent-box p:last-child { margin-bottom: 0; }

/* ============================================================
   MEMBERSHIP PAGE
   ============================================================ */
.membership-hero {
  background: linear-gradient(135deg, var(--primary) 0%, #00205e 100%);
  color: var(--white);
  padding: 3.5rem 0;
  text-align: center;
}
.membership-hero h1 { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 0.75rem; }
.membership-price { font-size: 2.75rem; font-weight: 800; margin: 0.75rem 0 0.35rem; }
.membership-price-period { font-size: 1rem; font-weight: 400; opacity: 0.8; }
.membership-cancel { opacity: 0.85; font-size: 0.9rem; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (min-width: 768px) { .contact-grid { grid-template-columns: 1fr 1.3fr; } }
.contact-info h2 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.75rem; }
.contact-info p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 1rem; }
.contact-method {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.875rem;
  background: var(--bg-light);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
}
.contact-method-icon { font-size: 1.25rem; flex-shrink: 0; }
.contact-method-label { font-size: 0.75rem; font-weight: 600; color: var(--text-muted); display: block; margin-bottom: 0.1rem; }
.contact-method-val { font-size: 0.9rem; font-weight: 600; color: var(--primary); }

/* ============================================================
   MEMBERSHIP CONFIRMATION
   ============================================================ */
.memconfirm-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #00205e 100%);
  color: var(--white);
  padding: 3rem 0;
  text-align: center;
}
.memconfirm-banner h1 { font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 800; margin-bottom: 0.5rem; }
.memconfirm-banner p { opacity: 0.9; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: #111;
  color: #bbb;
  padding: 2.5rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
.footer-brand .site-logo { color: #fff; font-size: 1.1rem; margin-bottom: 0.6rem; display: inline-flex; align-items: center; gap: 8px; }
.footer-desc { font-size: 0.82rem; color: #888; line-height: 1.7; }
.footer-col h4 { font-size: 0.85rem; font-weight: 700; color: #fff; margin-bottom: 0.75rem; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { font-size: 0.85rem; color: #888; transition: color var(--transition); }
.footer-col ul li a:hover { color: #fff; text-decoration: none; }
.footer-bottom {
  border-top: 1px solid #222;
  padding-top: 1.25rem;
  margin-top: 2rem;
}
.legal-disclaimer {
  font-size: 0.78rem;
  color: #666;
  font-style: italic;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}
.footer-copy { font-size: 0.78rem; color: #555; }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-primary { color: var(--primary); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.8rem; }
.font-bold { font-weight: 700; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.hidden { display: none !important; }
.strike { text-decoration: line-through; color: var(--text-muted); }
.separator { border: none; border-top: 1px solid var(--border); margin: 1.5rem 0; }

/* ============================================================
   CHOICE CARDS & TOGGLE CARDS
   ============================================================ */

/* Base choice card */
.choice-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 0.875rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  user-select: none;
  text-align: center;
}
.choice-card:hover { border-color: #aaa; }
.choice-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.choice-card.selected::after {
  content: '✓';
  position: absolute;
  top: 0.4rem;
  right: 0.6rem;
  color: var(--primary);
  font-weight: 800;
  font-size: 0.9rem;
}
.choice-card-badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

/* Copies grid */
.copies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin: 1rem 0;
}
@media (min-width: 480px) { .copies-grid { grid-template-columns: repeat(3, 1fr); } }
.copies-card-count { font-size: 1.6rem; font-weight: 800; color: var(--text); line-height: 1.1; }
.copies-card-label { font-size: 0.75rem; color: var(--text-muted); margin-top: 0.1rem; }
.copies-card-price { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-top: 0.3rem; }
.copies-card-none { font-size: 1.1rem; }
.copies-card-warn { color: #dc2626 !important; font-size: 0.65rem; }
.copies-card-free { color: var(--text-muted) !important; }

/* Yes/No grid */
.yes-no-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}
.choice-card-icon { font-size: 1.4rem; margin-bottom: 0.25rem; }
.choice-card-title { font-weight: 700; font-size: 0.9rem; }
.choice-card-price { font-size: 0.85rem; font-weight: 700; color: var(--primary); margin-top: 0.25rem; }
.choice-card-desc { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.2rem; line-height: 1.4; }

/* Toggle cards */
.toggle-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}
.toggle-card:hover { border-color: #aaa; }
.toggle-card.selected {
  border-color: var(--primary);
  background: var(--primary-light);
}
.toggle-card--membership.selected {
  border-color: #f59e0b;
  background: #fffbeb;
}
.toggle-card-left {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  flex: 1;
  min-width: 0;
}
.toggle-card-icon { font-size: 1.4rem; flex-shrink: 0; }
.toggle-card-title { font-weight: 700; font-size: 0.9rem; }
.toggle-card-desc { font-size: 0.78rem; color: var(--text-muted); line-height: 1.45; margin-top: 0.15rem; }
.toggle-card-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.4rem;
  flex-shrink: 0;
}
.toggle-card-price { font-weight: 700; color: var(--primary); font-size: 0.88rem; white-space: nowrap; }
.toggle-card-check {
  width: 20px; height: 20px;
  border: 2px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.7rem;
  color: transparent;
  transition: all 0.2s;
  font-weight: 800;
}
.toggle-card.selected .toggle-card-check {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
  content: '✓';
}
/* Force checkmark to show */
.toggle-card.selected .toggle-card-check::after { content: '✓'; }

/* Floating total badge */
.total-badge {
  position: fixed;
  top: 76px;
  right: 1rem;
  background: var(--primary);
  color: #fff;
  padding: 0.45rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 150;
  box-shadow: var(--shadow-md);
  pointer-events: none;
  white-space: nowrap;
}

/* Name change visual */
.name-change-visual {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding: 1.25rem 1rem;
  background: var(--bg-light);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.name-card { text-align: center; }
.name-card-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}
.name-card-value { font-size: 0.95rem; font-weight: 700; word-break: break-word; }
.name-card--old .name-card-value { color: var(--text); }
.name-card--new .name-card-value { color: var(--primary); }
.name-change-arrow { font-size: 1.25rem; color: var(--primary); font-weight: 700; }

/* Review sections */
.rev-section {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.65rem;
  overflow: hidden;
}
.rev-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1rem;
  background: var(--bg-light);
}
.rev-section-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
}
.rev-edit-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-decoration: underline;
}
.rev-edit-btn:hover { opacity: 0.75; }
