/* ============================================================
   Gov-navy skin, scoped to body.theme-gov so the rest of the
   site keeps the sage/cream look. Palette is the pre-rebrand
   (d784611^) navy #003078 with system sans and 6px corners.
   Layout is a two-column "form + trust panel" funnel: white
   header with nav, grey left panel, form directly on the page.
   ============================================================ */
body.theme-gov {
  --font-display: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --primary: #003078;
  --primary-dark: #00205e;
  --primary-light: #e8effd;
  --primary-mid: #1d4ed8;
  --text: #0b0c0c;
  --text-muted: #505a5f;
  --border: #d3d6d9;
  --page-bg: #fff;
  --bg-header: #003078;
  --bg-light: #f3f4f6;
  --bg-deep: #e5e7eb;
  --shadow: 0 2px 12px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 24px rgba(0,0,0,0.14);
  --radius-pill: 6px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #0b0c0c;
  background: #fff;
}
body.theme-gov.form-page { background: #fff; }
:where(body.theme-gov) a { color: #003078; }
body.theme-gov :where(h1, h2, h3, h4, h5, h6, .btn, .site-logo, .step-heading) {
  font-family: inherit;
}

/* Crown mark */
body.theme-gov .logo-crest {
  width: 32px;
  height: 32px;
  background-color: #003078;
  -webkit-mask: url('/crown.svg') no-repeat center;
  mask: url('/crown.svg') no-repeat center;
  -webkit-mask-size: contain;
  mask-size: contain;
}

/* ── White header with nav and Apply now ── */
body.theme-gov .lp-header {
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  position: sticky;
  top: 0;
  z-index: 200;
}
body.theme-gov .lp-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
body.theme-gov .lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: #003078;
  text-decoration: none;
  margin-right: auto;
}
body.theme-gov .lp-nav { display: none; gap: 1.6rem; }
body.theme-gov .lp-nav a { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.04em; color: #003078; text-decoration: none; }
body.theme-gov .lp-nav a:hover { text-decoration: underline; }
body.theme-gov .lp-apply {
  background: #003078;
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 0.75rem 1.4rem;
  border-radius: 3px;
  text-decoration: none;
}
body.theme-gov .lp-apply:hover { background: #00205e; text-decoration: none; }
@media (min-width: 900px) { body.theme-gov .lp-nav { display: flex; } }

/* ── Two-column shell: grey panel left, form right ── */
body.theme-gov .lp-shell { padding: 2rem 1rem 3.5rem; min-height: 0; }
body.theme-gov .lp-form-grid { display: block; }
body.theme-gov .lp-side { display: none; }
body.theme-gov .lp-h1 { font-size: 1.5rem; font-weight: 800; color: #0b0c0c; margin: 0 0 0.25rem; }
body.theme-gov .lp-secure { font-size: 0.95rem; color: #505a5f; margin: 0 0 1rem; }
@media (min-width: 1000px) {
  body.theme-gov .lp-form-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 2.5rem; align-items: start; }
  body.theme-gov .lp-side { display: block; background: #eeeeee; padding: 1.75rem 1.5rem 2rem; }
  body.theme-gov .lp-side h3 { font-size: 1.05rem; font-weight: 800; letter-spacing: 0.02em; color: #0b0c0c; margin: 0 0 1rem; }
  body.theme-gov .lp-cards { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem 0.9rem; margin: 0 0 2rem; }
  body.theme-gov .lp-testimonials h3 { margin-top: 0.5rem; }
  body.theme-gov .lp-quote { display: flex; gap: 0.9rem; align-items: flex-start; margin-bottom: 1.5rem; }
  body.theme-gov .lp-avatar { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 50%; color: #fff; font-weight: 700; font-size: 1.3rem; display: inline-flex; align-items: center; justify-content: center; }
  body.theme-gov .lp-quote p { font-size: 0.85rem; line-height: 1.5; color: #222; margin: 0 0 0.35rem; }
  body.theme-gov .lp-quote span { font-size: 0.9rem; color: #444; }
}

/* ── Form sits directly on the page, no card ── */
body.theme-gov .lp-main .form-card { background: transparent; border: 0; box-shadow: none; padding: 0; max-width: none; margin: 0; border-radius: 0; }
body.theme-gov .lp-main .progress-bar-wrap { position: static; background: none; border: 0; padding: 0; margin: 0 0 1.25rem; }
body.theme-gov .lp-main .progress-info { margin-bottom: 0.4rem; font-weight: 700; font-size: 0.95rem; color: #505a5f; }
body.theme-gov .lp-main .progress-track { height: 12px; border-radius: 6px; background: #e5e7eb; }
body.theme-gov .lp-main .progress-fill { background: #003078; border-radius: 6px; }

body.theme-gov .lp-strip {
  background: #f3f4f6;
  border-left: 4px solid #003078;
  padding: 0.9rem 1.1rem;
  margin: 0 0 1.75rem;
  font-size: 0.95rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
}
body.theme-gov .lp-strip b { color: #003078; margin-right: 0.3rem; }

body.theme-gov .lp-main .step-heading { font-size: 1.9rem; font-weight: 800; color: #0b0c0c; }
body.theme-gov .lp-main .form-label { font-weight: 400; font-size: 1rem; color: #0b0c0c; }
body.theme-gov .lp-main .form-input,
body.theme-gov .lp-main .form-select {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid #6b6b6b;
  border-radius: 4px;
  background: #fff;
}

/* ── Stacked full-width buttons: Next, Previous, Save ── */
body.theme-gov .lp-main .form-nav { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; margin-top: 1.75rem; border-top: 1px solid #d3d6d9; padding-top: 1.5rem; }
body.theme-gov .lp-main .form-nav > .btn {
  order: -1;
  width: 100%;
  padding: 1.15rem 1rem;
  font-size: 1.15rem;
  font-weight: 700;
  border-radius: 10px;
  background: #003078;
  color: #fff;
  border-color: #003078;
}
body.theme-gov .lp-main .form-nav > .btn:hover { background: #00205e; }
body.theme-gov .lp-main .form-nav-left { display: flex; flex-direction: column; align-items: stretch; gap: 0.75rem; width: 100%; }
body.theme-gov .lp-main .btn-back,
body.theme-gov .lp-main .save-btn {
  width: 100%;
  padding: 0.95rem 1rem;
  background: #fff;
  border: 1px solid #d3d6d9;
  border-radius: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b0c0c;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
body.theme-gov .lp-main .btn-back:hover,
body.theme-gov .lp-main .save-btn:hover { border-color: #003078; color: #003078; }

/* ── Below-form content ── */
body.theme-gov .lp-below { background: #fff; border-top: 3px solid #003078; }
body.theme-gov .lp-below .btn-primary { background: #003078; color: #fff; border-color: #003078; }
body.theme-gov .lp-below .btn-primary:hover { background: #00205e; border-color: #00205e; }
body.theme-gov .trust-bar-section { background: #f3f4f6; }
body.theme-gov .site-footer { background: #111; }
body.theme-gov .site-footer a { color: #bbb; }
body.theme-gov .site-footer a:hover { color: #fff; }
body.theme-gov .footer-brand .logo-crest { width: 28px; height: 28px; background-color: #fff; }

/* Total bar and cookie banner */
body.theme-gov .total-bar { background: #003078; }
body.theme-gov .total-bar-body { border-top-color: rgba(255,255,255,0.2); }
body.theme-gov #dp-cookie-banner { background: #003078 !important; }
body.theme-gov #dp-cookie-banner a { color: #cdd9f0 !important; }
body.theme-gov #dp-cookie-accept { color: #003078 !important; }
body.theme-gov .notice-info { border-color: #b8c8e8; }
body.theme-gov .lp-main .btn-back,
body.theme-gov .lp-main .save-btn { display: flex; align-items: center; justify-content: center; gap: 0.5rem; }
body.theme-gov .lp-header-inner { justify-content: center; }
body.theme-gov .lp-brand { margin-right: 0; }
@media (max-width: 767px) {
  body.theme-gov .lp-shell { padding-top: 1.1rem; }
  body.theme-gov .lp-h1 { font-size: 1.2rem; }
  body.theme-gov .lp-secure { font-size: 0.85rem; margin-bottom: 0.75rem; }
  body.theme-gov .lp-strip { font-size: 0.85rem; padding: 0.7rem 0.9rem; margin-bottom: 1.25rem; }
  body.theme-gov .lp-strip div:nth-child(3) { display: none; }
  body.theme-gov .lp-main .step-heading { font-size: 1.5rem; }
  body.theme-gov .lp-main .form-input,
  body.theme-gov .lp-main .form-select { padding: 0.7rem 0.9rem; }
}
body.theme-gov .lp-avatar { position: relative; overflow: hidden; }
body.theme-gov .lp-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
body.theme-gov.in-form .lp-below,
body.theme-gov.in-form .lp-cta { display: none; }

/* ── Landing hero: original gov navy gradient, white text, no decorative marks ── */
body.theme-gov .hero { background: linear-gradient(135deg, #003078 0%, #00205e 100%); color: #fff; }
body.theme-gov .hero::before,
body.theme-gov .hero::after { display: none; }
body.theme-gov .hero h1,
body.theme-gov .hero p,
body.theme-gov .hero .hero-sub,
body.theme-gov .hero .hero-welcome { color: #fff; }
body.theme-gov .hero .btn-primary { background: #fff; color: #003078; border-color: #fff; }
body.theme-gov .hero .btn-primary:hover { background: #e8effd; border-color: #e8effd; }
body.theme-gov .hero .btn-secondary { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
body.theme-gov .hero .btn-secondary:hover { background: rgba(255,255,255,0.12); }
body.theme-gov .sticky-cta { background: #fff; border-top: 1px solid #d3d6d9; }
body.theme-gov .sticky-cta .btn { background: #003078; color: #fff; }
@media (max-width: 767px) {
  body.theme-gov .sticky-cta { display: block; }
}

/* ── Name Change Kit step: bordered card, image left, label/title/price/bullets ── */
body.theme-gov .kit-card { display: flex; flex-direction: column; border: 1px solid #b1b4b6; background: #fff; margin: 0 0 1rem; }
body.theme-gov .kit-card-media { background: #f3f4f6; display: flex; align-items: center; justify-content: center; padding: 1rem; }
body.theme-gov .kit-card-media img { width: 100%; max-width: 260px; height: auto; display: block; }
body.theme-gov .kit-card-body { padding: 1.25rem 1.4rem 1.4rem; }
body.theme-gov .kit-card-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; color: #505a5f; margin-bottom: 0.35rem; }
body.theme-gov .kit-card-title { font-size: 1.45rem; font-weight: 800; color: #0b0c0c; margin: 0 0 0.6rem; line-height: 1.2; }
body.theme-gov .kit-card-price { color: #003078; margin-left: 0.35rem; white-space: nowrap; }
body.theme-gov .kit-card-desc { font-size: 1rem; line-height: 1.55; color: #0b0c0c; margin: 0 0 0.85rem; }
body.theme-gov .kit-card-list { margin: 0; padding-left: 1.2rem; list-style: disc; }
body.theme-gov .kit-card-list li { font-size: 0.95rem; line-height: 1.5; color: #0b0c0c; margin-bottom: 0.3rem; }
body.theme-gov .kit-covers { font-size: 0.85rem; color: #505a5f; line-height: 1.55; margin: 0 0 1.25rem; }
@media (min-width: 640px) {
  body.theme-gov .kit-card { flex-direction: row; }
  body.theme-gov .kit-card-media { flex: 0 0 240px; padding: 1.25rem; }
}
body.theme-gov .kit-select-wrap { margin: 0 0 1rem; }
body.theme-gov .kit-select-wrap .form-label { display: block; margin-bottom: 0.4rem; }

/* ── Clean checkout: no running total bar, no itemised breakdown ── */
body.theme-gov .total-bar { display: none !important; }
body.theme-gov .form-simple.lp-shell { padding-bottom: 3.5rem !important; }
body.theme-gov .lp-deliver { font-size: 1rem; color: #0b0c0c; margin: 1.25rem 0 1rem; line-height: 1.5; }
body.theme-gov .lp-total { margin: 0 0 1.25rem; padding: 1.1rem 1.25rem; background: #f3f4f6; border: 1px solid #b1b4b6; border-radius: 4px; }
body.theme-gov .lp-total .review-total-amount { color: #003078; }

/* ── Nav-style header on content pages: white bar, navy wordmark and links ── */
body.theme-gov .site-header { background: #fff; border-bottom: 1px solid #e5e7eb; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
body.theme-gov .site-header .site-logo { color: #003078; font-weight: 800; font-size: 1.1rem; letter-spacing: 0.04em; text-transform: uppercase; }
body.theme-gov .site-nav a { color: #003078; font-weight: 700; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; }
body.theme-gov .site-nav a:hover { color: #00205e; }
body.theme-gov .nav-toggle span { background: #003078; }
body.theme-gov .mobile-menu { background: #fff; }
body.theme-gov .mobile-menu a { color: #003078; }
body.theme-gov .mobile-menu a:hover { background: #e8effd; color: #003078; }

/* ── Kit illustration pieces that hardcode the old green ── */
body.theme-gov .kit-deed-field-line,
body.theme-gov .kit-copy-hdr,
body.theme-gov .kit-copies-badge { background: #00205e; }
body.theme-gov .kit-deed-hdr { background: #00205e; }
body.theme-gov .hero .trust-item { color: rgba(255,255,255,0.9); }
