/* Generated by tests/build-css-stage3.py. Do not edit. Original cascade order preserved. */
:root {
  color-scheme: light;
  --navy-950: #081620;
  --navy-900: #10202d;
  --navy-800: #162635;
  --navy: #1f2a37;
  --ink: #12202d;
  --teal-800: #07545f;
  --teal: #0c7a8a;
  --teal-100: #e7f3f5;
  --gold: #c9a227;
  --gold-100: #f6efd8;
  --paper: #ffffff;
  --ivory: #fffdf8;
  --warm: #fbfaf5;
  --stone: #f3f0ea;
  --mist: #f6f7f8;
  --line: #e6e0d7;
  --line-strong: #d4dde5;
  --muted: #687785;
  --muted-2: #7b8996;
  --danger-soft: #f7ebe6;
  --sage: #eff4ef;
  --radius: 10px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 28px;
  --container: 1320px;
  --container-narrow: 1060px;
  --shadow-soft: 0 22px 62px rgba(18, 32, 45, .075);
  --shadow-panel: 0 34px 96px rgba(8, 22, 32, .18);
  --font: "Manrope", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--warm);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(201, 162, 39, .045), transparent 34%),
    linear-gradient(180deg, var(--ivory) 0, rgba(246, 247, 248, .96) 54%, var(--warm) 100%);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
  text-rendering: geometricPrecision;
}

body.drawer-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(201, 162, 39, .34);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: 14px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--navy-950);
  border-radius: var(--radius);
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.container-narrow {
  width: min(var(--container-narrow), calc(100% - 40px));
  margin: 0 auto;
}

.band {
  padding: 108px 0;
}

.band-tight {
  padding: 72px 0;
}

.band-dark {
  padding-top: 124px;
  padding-bottom: 124px;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 76% 36%, rgba(12, 122, 138, .18), transparent 34%),
    radial-gradient(circle at 20% 78%, rgba(201, 162, 39, .075), transparent 28%),
    linear-gradient(150deg, #07131c 0%, var(--navy-900) 55%, #073844 100%);
}

.band-mist {
  background:
    radial-gradient(circle at 92% 12%, rgba(12, 122, 138, .045), transparent 32%),
    var(--mist);
}

.band-warm {
  background: var(--ivory);
}

.band-line {
  border-top: 1px solid rgba(230, 224, 215, .82);
  border-bottom: 1px solid rgba(230, 224, 215, .82);
}

.section-head {
  display: grid;
  gap: 22px;
  margin-bottom: 46px;
}

.section-head.split {
  grid-template-columns: minmax(0, .92fr) minmax(280px, .42fr);
  align-items: end;
  gap: 44px;
}

.section-head.center {
  max-width: 820px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.eyebrow,
.section-label {
  margin: 0;
  color: var(--teal);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: 0;
  line-height: 1.45;
  text-transform: uppercase;
}

.band-dark .eyebrow,
.band-dark .section-label {
  color: #87d8df;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h1 {
  max-width: 850px;
  font-size: 64px;
  font-weight: 690;
}

h2 {
  font-size: 44px;
  font-weight: 680;
}

h3 {
  font-size: 23px;
  font-weight: 700;
  line-height: 1.22;
}

h4 {
  font-size: 18px;
  line-height: 1.28;
}

.band-dark h1,
.band-dark h2,
.band-dark h3,
.band-dark h4 {
  color: var(--paper);
}

p {
  margin: 0;
  color: var(--muted);
  font-weight: 400;
}

.lead {
  max-width: 760px;
  font-size: 19px;
  font-weight: 440;
  line-height: 1.84;
}

.band-dark p,
.band-dark .lead {
  color: rgba(255, 255, 255, .78);
}

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

.fineprint {
  color: var(--muted-2);
  font-size: 13px;
  line-height: 1.6;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 248, .86);
  border-bottom: 1px solid rgba(230, 224, 215, .72);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  min-height: 82px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(18, 32, 45, .11);
}

.brand-copy {
  display: grid;
  line-height: 1;
}

.brand-name {
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  letter-spacing: 0;
}

.brand-note {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: uppercase;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.nav-link,
.mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: #3e4c5a;
  background: transparent;
  border: 0;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 760;
  line-height: 1;
}

.nav-link:hover,
.mega-trigger:hover,
.mega-trigger[aria-expanded="true"] {
  color: var(--teal-800);
  background: rgba(231, 243, 245, .78);
}

.chevron {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 840;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  position: relative;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
  text-align: center;
  isolation: isolate;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease), background-color 220ms var(--ease), border-color 220ms var(--ease), color 220ms var(--ease);
}

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

.btn-primary {
  color: var(--paper);
  background:
    linear-gradient(135deg, var(--teal-800) 0%, var(--teal) 58%, #1593a1 100%);
  box-shadow: 0 18px 34px rgba(12, 122, 138, .19);
}

.btn-primary:hover {
  box-shadow: 0 18px 42px rgba(12, 122, 138, .28);
}

.btn-primary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
}

.btn-secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  border-color: rgba(212, 221, 229, .92);
}

.band-dark .btn-secondary,
.cta-band .btn-secondary,
.hero .btn-secondary {
  color: var(--paper);
  background:
    linear-gradient(#081620, #081620) padding-box,
    linear-gradient(120deg, rgba(135, 216, 223, .58), rgba(201, 162, 39, .72)) border-box;
  border-color: transparent;
}

.btn-secondary:hover {
  border-color: rgba(12, 122, 138, .44);
  box-shadow: 0 12px 28px rgba(18, 32, 45, .08);
}

.btn-gold {
  color: var(--navy-950);
  background: linear-gradient(135deg, #f1d77e 0%, var(--gold) 100%);
  box-shadow: 0 18px 34px rgba(201, 162, 39, .16);
}

.cta-band .btn-gold {
  box-shadow:
    0 18px 44px rgba(201, 162, 39, .28),
    0 0 36px rgba(201, 162, 39, .18);
}

.btn-small {
  min-height: 42px;
  padding: 0 15px;
  font-size: 13px;
}

.icon-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
}

.hamburger {
  position: relative;
}

.hamburger::before,
.hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.hamburger::before {
  top: -6px;
}

.hamburger::after {
  top: 6px;
}

.mega-menu {
  position: absolute;
  left: 50%;
  top: calc(100% - 6px);
  width: min(1110px, calc(100vw - 40px));
  padding: 18px;
  color: rgba(255, 255, 255, .78);
  background:
    radial-gradient(circle at 84% 16%, rgba(12, 122, 138, .2), transparent 34%),
    linear-gradient(145deg, #07131c, #10202d 56%, #062e38 100%);
  border: 1px solid rgba(255, 255, 255, .13);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 90px rgba(8, 22, 32, .38);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 180ms var(--ease), transform 180ms var(--ease), visibility 180ms var(--ease);
  visibility: hidden;
}

.nav-item:focus-within .mega-menu,
.nav-item:hover .mega-menu,
.mega-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) 320px;
  gap: 10px;
}

.mega-col {
  padding: 18px;
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.mega-col:last-of-type {
  border-right: 0;
}

.mega-heading {
  display: block;
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 880;
  text-transform: uppercase;
}

.mega-link {
  display: block;
  padding: 10px 0;
  color: rgba(255, 255, 255, .82);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.mega-link:hover,
.mega-link:focus-visible {
  color: #8be0e7;
}

.mega-cta {
  display: grid;
  gap: 14px;
  padding: 22px;
  color: rgba(255, 255, 255, .78);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04)),
    linear-gradient(150deg, rgba(12, 122, 138, .18), rgba(201, 162, 39, .1));
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md);
}

.mega-cta strong {
  color: var(--paper);
  font-size: 20px;
  line-height: 1.22;
}

.mega-cta p {
  color: rgba(255, 255, 255, .76);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 180;
  background: rgba(8, 22, 32, .56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms var(--ease);
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 190;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(440px, 92vw);
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 84% 12%, rgba(12, 122, 138, .25), transparent 34%),
    linear-gradient(160deg, var(--navy-950), var(--navy-900) 62%, #062f39);
  border-left: 1px solid rgba(255, 255, 255, .12);
  box-shadow: -22px 0 70px rgba(8, 22, 32, .26);
  transform: translateX(105%);
  transition: transform 240ms var(--ease);
}

.mobile-drawer.is-open {
  transform: translateX(0);
}

.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.drawer-head .brand-name {
  color: var(--paper);
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: var(--paper);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius);
  font-size: 24px;
  line-height: 1;
}

.drawer-body {
  overflow-y: auto;
  padding: 18px 20px 24px;
}

.drawer-link,
.drawer-accordion-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px 0;
  color: var(--paper);
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  font-weight: 850;
  text-align: left;
}

.drawer-panel {
  display: none;
  padding: 16px 0 8px;
}

.drawer-panel.is-open {
  display: grid;
  gap: 20px;
}

.drawer-group {
  display: grid;
  gap: 4px;
}

.drawer-group strong {
  color: var(--gold);
  font-size: 13px;
}

.drawer-group a {
  padding: 8px 0;
  color: rgba(255, 255, 255, .76);
  font-size: 14px;
  font-weight: 730;
}

.drawer-foot {
  display: grid;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: rgba(255, 255, 255, .055);
}

.mobile-bottom-bar {
  position: fixed;
  right: 14px;
  bottom: 14px;
  left: 14px;
  z-index: 120;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 44px rgba(8, 22, 32, .18);
  backdrop-filter: blur(14px);
}

.mobile-bottom-bar a {
  display: grid;
  place-items: center;
  min-height: 56px;
  color: var(--ink);
  border-right: 1px solid var(--line);
  font-size: 13px;
  font-weight: 850;
}

.mobile-bottom-bar a:last-child {
  border-right: 0;
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.problem-card,
.result-card,
.article-card,
.topic-card,
.service-card,
.process-card,
.template-card {
  position: relative;
  display: grid;
  gap: 14px;
  padding: 22px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(230, 224, 215, .86);
  border-radius: var(--radius-md);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.problem-card:hover,
.result-card:hover,
.article-card:hover,
.topic-card:hover,
.service-card:hover,
.process-card:hover {
  transform: translateY(-3px);
  border-color: rgba(12, 122, 138, .34);
  box-shadow: 0 20px 46px rgba(18, 32, 45, .07);
}

.problem-card img,
.result-card img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: var(--radius);
}

.problem-card p,
.result-card p,
.service-card p,
.topic-card p,
.article-card p {
  font-size: 14px;
  line-height: 1.68;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 11px;
  color: var(--muted);
  font-weight: 500;
}

.check-list li::before {
  content: "";
  width: 18px;
  height: 18px;
  margin-top: 5px;
  background: radial-gradient(circle at 36% 32%, #d7c274, var(--teal));
  border-radius: 50%;
}

.article-grid,
.topic-grid,
.service-grid,
.template-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag,
.badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 0 10px;
  color: var(--teal-800);
  background: rgba(231, 243, 245, .78);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 830;
}

.badge-gold {
  color: #5f4800;
  background: var(--gold-100);
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding-top: 124px;
  padding-bottom: 124px;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 76% 32%, rgba(201, 162, 39, .12), transparent 36%),
    radial-gradient(circle at 18% 74%, rgba(12, 122, 138, .12), transparent 28%),
    linear-gradient(135deg, #07131c, var(--navy-950) 58%, #063844);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, .02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: linear-gradient(90deg, transparent, #000 20%, #000 80%, transparent);
  pointer-events: none;
}

.cta-panel {
  position: relative;
  z-index: 1;
}

.cta-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) auto;
  gap: 54px;
  align-items: center;
}

.form-panel {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
}

.form-panel > *,
.contact-card > *,
.trust-point > * {
  min-width: 0;
}

.form-panel a,
.contact-card a,
.trust-point a {
  overflow-wrap: anywhere;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.field legend {
  color: var(--ink);
  font-size: 13px;
  font-weight: 820;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 160ms var(--ease), box-shadow 160ms var(--ease), background-color 160ms var(--ease);
}

.field textarea {
  min-height: 124px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(12, 122, 138, .12);
  outline: 0;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.choice {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  padding: 12px;
  color: var(--muted);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 13px;
  line-height: 1.4;
}

.choice input {
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--teal);
}

.form-status {
  display: none;
  padding: 14px;
  color: #0b4d24;
  background: #e8f5ec;
  border: 1px solid #b6dec0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 780;
}

.form-status.is-visible {
  display: block;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--ink);
  font-weight: 850;
}

details p {
  padding: 0 20px 20px;
  font-size: 15px;
}

.footer {
  color: rgba(255, 255, 255, .74);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) repeat(3, minmax(160px, .42fr));
  gap: 38px;
  padding: 70px 0 42px;
}

.footer h2,
.footer h3,
.footer strong {
  color: var(--paper);
}

.footer a {
  display: block;
  padding: 5px 0;
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

.footer a:hover {
  color: #91dce3;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .56);
  font-size: 13px;
}

.page-hero {
  padding: 78px 0 54px;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-hero.dark {
  color: rgba(255, 255, 255, .8);
  background:
    linear-gradient(145deg, var(--navy-950), var(--navy-900) 62%, #063844);
  border-bottom: 0;
}

.page-hero.dark h1,
.page-hero.dark h2,
.page-hero.dark h3 {
  color: var(--paper);
}

.page-hero.dark p,
.page-hero.dark .lead,
.page-hero.dark .breadcrumb {
  color: rgba(255, 255, 255, .76);
}

.page-hero.dark .breadcrumb a {
  color: #8be0e7;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(360px, .45fr);
  gap: 48px;
  align-items: center;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
  color: var(--muted-2);
  font-size: 13px;
  font-weight: 740;
}

.breadcrumb a {
  color: var(--teal-800);
}

.breadcrumb span::before {
  content: "/";
  margin-right: 8px;
  color: var(--line-strong);
}

.toc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 54px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 10px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.toc strong {
  color: var(--ink);
  font-size: 13px;
  text-transform: uppercase;
}

.toc a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 720;
}

.article-body {
  max-width: 780px;
}

.article-body h2 {
  margin-top: 46px;
  font-size: 34px;
}

.article-body h3 {
  margin-top: 28px;
}

.article-body p,
.article-body li {
  color: #41505d;
  font-size: 17px;
  line-height: 1.85;
}

.article-body p {
  margin-top: 18px;
}

.article-body ul {
  padding-left: 24px;
}

.info-box {
  display: grid;
  gap: 10px;
  margin: 28px 0;
  padding: 22px;
  background: var(--teal-100);
  border: 1px solid rgba(12, 122, 138, .22);
  border-radius: var(--radius);
}

.warning-box {
  background: var(--danger-soft);
  border-color: rgba(138, 75, 60, .24);
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 740;
}

.knowledge-tools {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 24px;
}

.search-input {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-btn {
  min-height: 38px;
  padding: 0 12px;
  color: var(--muted);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 820;
}

.filter-btn.is-active {
  color: var(--paper);
  background: var(--teal-800);
  border-color: var(--teal-800);
}

.analysis-shell {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(360px, .46fr);
  gap: 36px;
  align-items: start;
}

.wizard {
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.wizard-progress {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.progress-track {
  overflow: hidden;
  height: 9px;
  background: var(--mist);
  border-radius: 999px;
}

.progress-track i {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--gold));
  border-radius: inherit;
  transition: width 240ms var(--ease);
}

.wizard-question {
  display: grid;
  gap: 18px;
}

.option-list {
  display: grid;
  gap: 10px;
}

.option-list label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 12px;
  padding: 14px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font-weight: 760;
}

.option-list input {
  margin-top: 5px;
  accent-color: var(--teal);
}

.wizard-nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.result-panel {
  display: none;
  gap: 16px;
  margin-top: 24px;
  padding: 22px;
  background: var(--teal-100);
  border: 1px solid rgba(12, 122, 138, .2);
  border-radius: var(--radius);
}

.result-panel.is-visible {
  display: grid;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 560ms var(--ease), transform 560ms var(--ease);
}

.js .reveal {
  opacity: 0;
  transform: translateY(12px);
}

.js .reveal.is-visible,
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.js .problem-grid .reveal:nth-child(2),
.js .article-grid .reveal:nth-child(2),
.js .trust-panel .trust-point:nth-child(2) {
  transition-delay: 80ms;
}

.js .problem-grid .reveal:nth-child(3),
.js .article-grid .reveal:nth-child(3),
.js .trust-panel .trust-point:nth-child(3) {
  transition-delay: 140ms;
}

@media (max-width: 1180px) {
  h1 {
    font-size: 58px;
  }

  h2 {
    font-size: 40px;
  }

  .desktop-nav {
    display: none;
  }

  .icon-btn {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-actions .phone-link,
  .header-actions .btn {
    display: none;
  }

  .hero-inner,
  .analysis-product,
  .statement-grid,
  .expert-panel,
  .page-hero-grid,
  .analysis-shell {
    grid-template-columns: 1fr;
  }

  .process-shell,
  .toc-layout {
    grid-template-columns: 1fr;
  }

  .process-rail,
  .toc {
    position: static;
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  body {
    padding-bottom: 78px;
  }

  .container,
  .container-narrow {
    width: min(calc(100vw - 28px), var(--container));
  }

  .band {
    padding: 64px 0;
  }

  .band-tight {
    padding: 46px 0;
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-note {
    display: none;
  }

  .brand-name {
    font-size: 13px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  h1 {
    max-width: calc(100vw - 28px);
    font-size: 32px;
    line-height: 1.08;
  }

  h2,
  .big-statement {
    font-size: 32px;
    line-height: 1.13;
  }

  h3 {
    font-size: 21px;
  }

  .lead,
  .hero-lead {
    font-size: 17px;
  }

  .section-head.split,
  .cta-panel {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .button-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-actions .btn,
  .button-row .btn {
    width: 100%;
  }

  .signal-grid {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: auto;
    grid-template-columns: 32px 1fr;
    align-items: center;
  }

  .path-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .proof-grid,
  .problem-grid,
  .trust-panel,
  .article-grid,
  .topic-grid,
  .service-grid,
  .template-grid,
  .form-grid,
  .choice-grid {
    grid-template-columns: 1fr;
  }

  .knowledge-tools {
    grid-template-columns: 1fr;
  }

  .footer-grid,
  .footer-bottom {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mobile-bottom-bar {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 480px) {

  .hero h1,
  .hero-lead,
  .hero-actions,
  .hero-microcopy,
  .decision-cockpit {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;
  }

  .hero-title-line {
    display: block;
    overflow-wrap: anywhere;
  }
}

body.calculator-style-page {
  --reference-bg: #fff;
  --reference-surface: #fff;
  --reference-navy: #07111a;
  --reference-navy-deep: #07111a;
  --reference-teal: #0c7a8a;
  --reference-cyan: #16d4df;
  --reference-teal-button: #8fd8b2;
  --reference-gold: #c9a227;
  --reference-gold-text: #e4bf55;
  --reference-gold-button: #f3c13a;
  --reference-text: #1e1e1e;
  --reference-muted: #596675;
  --reference-lead: #d7e0e7;
  --reference-note: #96a6b2;
  --reference-line: #d9e0e6;
  --reference-hero-border: rgba(255, 255, 255, .1);
  --reference-card-border: rgba(255, 255, 255, .12);
  --reference-radius: 28px;
  --reference-radius-mobile: 20px;
  --reference-shadow: 0 28px 75px rgba(7, 17, 26, .19);
  --reference-button-radius: 999px;
  --reference-container: 1296px;
  --reference-hero-width: 1280px;
  margin: 0;
  overflow-x: hidden;
  color: var(--reference-text);
  background: var(--reference-bg);
  font-family: "Manrope", sans-serif, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.calculator-style-page *,
.calculator-style-page *::before,
.calculator-style-page *::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

.calculator-container {
  width: min(var(--reference-container), calc(100% - 144px));
  margin: 0 auto;
}

.calculator-style-page .site-header {
  position: relative;
  top: auto;
  z-index: 100;
  background: var(--reference-bg);
  border-bottom: 1px solid var(--reference-line);
  box-shadow: none;
  backdrop-filter: none;
}

.calculator-style-page .header-inner {
  height: 84px;
  padding: 0;
}

.calculator-style-page .brand {
  gap: 12px;
}

.calculator-style-page .brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  box-shadow: 0 14px 32px rgba(7, 17, 26, .12);
}

.calculator-style-page .brand-name {
  display: inline-flex;
  align-items: baseline;
  color: var(--reference-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
}

.calculator-style-page .brand-accent {
  color: var(--reference-teal);
}

.calculator-style-page .brand-note {
  color: var(--reference-muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.calculator-style-page .desktop-nav {
  justify-content: center;
  gap: 7px;
}

.calculator-style-page .nav-link,
.calculator-style-page .mega-trigger,
.calculator-style-page .phone-link {
  color: var(--reference-navy);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.calculator-style-page .nav-link,
.calculator-style-page .mega-trigger {
  min-height: 42px;
  padding: 0 13px;
}

.calculator-style-page .header-actions {
  gap: 16px;
}

.calculator-header-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 0 22px;
  color: #fff;
  background:
    linear-gradient(100deg, var(--reference-teal) 0%, #0a6672 56%, #6d8240 100%) padding-box,
    linear-gradient(100deg, var(--reference-cyan), var(--reference-gold-button)) border-box;
  border: 1px solid transparent;
  border-radius: var(--reference-button-radius);
  box-shadow: 0 14px 28px rgba(12, 122, 138, .2);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.calculator-header-cta::after {
  content: "→";
  font-size: 15px;
  line-height: 1;
}

.calculator-style-page .icon-btn {
  border-color: var(--reference-line);
  border-radius: 14px;
  background: var(--reference-bg);
}

.calculator-main {
  width: min(var(--reference-container), calc(100% - 144px));
  margin: 0 auto;
}

.calculator-eyebrow {
  display: inline-block;
  align-items: center;
  margin: 0 0 18px;
  color: var(--reference-gold-text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.65;
  letter-spacing: 0;
  text-transform: uppercase;
}

.calculator-eyebrow::before {
  content: none;
}

.calculator-lead {
  max-width: none;
  min-height: 125px;
  margin: 0 0 32px;
  color: var(--reference-lead);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.65;
}

.calculator-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  border-radius: var(--reference-button-radius);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  white-space: nowrap;
}

.calculator-button:hover {
  transform: translateY(-1px);
}

.calculator-button-primary {
  width: 337px;
  min-width: 337px;
  gap: 8px;
  padding: 16px 18px;
  color: #fff;
  background:
    linear-gradient(var(--reference-navy), var(--reference-navy)) padding-box,
    linear-gradient(100deg, var(--reference-cyan) 0%, var(--reference-teal-button) 45%, var(--reference-gold-button) 100%) border-box;
  border: 3px solid transparent;
  box-shadow:
    0 12px 28px rgba(22, 212, 223, .18),
    0 12px 32px rgba(243, 193, 58, .18);
  font-size: 15px;
}

.calculator-button-primary:hover {
  box-shadow:
    0 14px 32px rgba(22, 212, 223, .22),
    0 14px 36px rgba(243, 193, 58, .2);
}

.calculator-button-secondary {
  width: 232px;
  min-width: 232px;
  gap: 10px;
  padding: 16px 18px;
  color: #fff;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: none;
  font-size: 14px;
}

.calculator-button-secondary:hover {
  border-color: rgba(255, 255, 255, .38);
  box-shadow: 0 12px 26px rgba(7, 17, 26, .16);
}

.calculator-meta {
  margin: 13px 0 0 4px;
  color: var(--reference-note);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.65;
}

.calculator-trust {
  margin: 8px 0 0 4px;
  color: rgba(225, 235, 242, .66);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.55;
}

.premium-contact-section {
  margin: 0 8px 92px;
  padding-top: 28px;
}

.premium-contact-intro {
  max-width: 860px;
  margin: 0 0 32px 79px;
}

.premium-contact-intro .calculator-eyebrow {
  margin-bottom: 17px;
}

.premium-contact-intro h2 {
  max-width: 760px;
  margin: 0 0 18px;
  color: var(--reference-navy);
  font-size: 42px;
  font-weight: 730;
  line-height: 1.14;
  letter-spacing: 0;
}

.premium-contact-intro p {
  max-width: 790px;
  margin: 0;
  color: #4e5c69;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.65;
}

.premium-contact-intro p + p {
  max-width: 860px;
  margin-top: 10px;
  color: #596675;
}

.premium-contact-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(330px, .39fr) minmax(0, .61fr);
  gap: 54px;
  overflow: hidden;
  padding: 54px 56px 56px;
  background:
    radial-gradient(circle at 9% 22%, rgba(12, 122, 138, .16), transparent 34%),
    radial-gradient(circle at 91% 7%, rgba(201, 162, 39, .17), transparent 30%),
    linear-gradient(145deg, #fffdf8 0%, #f7fbfb 46%, #fffaf0 100%);
  border: 1px solid rgba(217, 224, 230, .82);
  border-radius: var(--reference-radius);
  box-shadow: 0 28px 76px rgba(7, 17, 26, .12);
}

.premium-contact-panel::before,
.premium-contact-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.premium-contact-panel::before {
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(100deg, var(--reference-cyan) 0%, var(--reference-teal-button) 45%, var(--reference-gold-button) 100%);
  opacity: .86;
}

.premium-contact-panel::after {
  right: -160px;
  bottom: -230px;
  width: 460px;
  height: 460px;
  border: 1px solid rgba(201, 162, 39, .18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 22px rgba(201, 162, 39, .035);
}

.premium-contact-copy,
.premium-form-shell {
  position: relative;
  z-index: 1;
}

.premium-contact-copy {
  padding: 2px 50px 4px 0;
  border-right: 1px solid rgba(12, 122, 138, .13);
}

.premium-contact-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  color: var(--reference-teal);
  background: rgba(12, 122, 138, .08);
  border: 1px solid rgba(12, 122, 138, .16);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.premium-contact-copy h3 {
  margin: 30px 0 22px;
  color: var(--reference-navy);
  font-size: 42px;
  font-weight: 730;
  line-height: 1.08;
  letter-spacing: 0;
}

.premium-contact-copy h3 span {
  display: block;
}

.premium-contact-copy p {
  margin: 0;
  color: #4e5c69;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

.premium-contact-points {
  display: grid;
  gap: 15px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.premium-contact-points li {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 12px;
  align-items: start;
  color: #253343;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.premium-contact-points li span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin-top: 1px;
  border: 1px solid rgba(12, 122, 138, .32);
  border-radius: 50%;
}

.premium-contact-points li span::after {
  content: "";
  width: 7px;
  height: 4px;
  border: solid var(--reference-teal);
  border-width: 0 0 2px 2px;
  transform: rotate(-45deg) translateY(-1px);
}

.premium-contact-note {
  max-width: 310px;
  padding-top: 28px;
  border-top: 1px solid rgba(201, 162, 39, .28);
  color: var(--reference-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.55;
}

.premium-analysis-form {
  display: block;
}

.premium-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.premium-field {
  min-width: 0;
}

.premium-field-full {
  grid-column: 1 / -1;
}

.premium-field label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 8px;
  color: var(--reference-navy);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.premium-field label span {
  color: #8795a1;
  font-size: 11px;
  font-weight: 500;
}

.premium-field input,
.premium-field select,
.premium-field textarea {
  width: 100%;
  color: var(--reference-navy);
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(187, 199, 209, .88);
  border-radius: 14px;
  box-shadow: none;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.premium-field input,
.premium-field select {
  height: 56px;
  padding: 0 16px;
}

.premium-field textarea {
  min-height: 144px;
  resize: vertical;
  padding: 16px;
}

.premium-field select {
  appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--reference-teal) 50%),
    linear-gradient(135deg, var(--reference-teal) 50%, transparent 50%);
  background-position:
    calc(100% - 22px) 50%,
    calc(100% - 15px) 50%;
  background-size: 7px 7px, 7px 7px;
  background-repeat: no-repeat;
}

.premium-field input::placeholder,
.premium-field textarea::placeholder {
  color: #8b98a4;
  font-weight: 500;
}

.premium-field input:focus,
.premium-field select:focus,
.premium-field textarea:focus {
  background: rgba(255, 255, 255, .95);
  border-color: rgba(12, 122, 138, .76);
  box-shadow: 0 0 0 4px rgba(12, 122, 138, .1);
}

.premium-analysis-form.was-validated input:invalid,
.premium-analysis-form.was-validated select:invalid,
.premium-analysis-form.was-validated textarea:invalid {
  border-color: rgba(176, 72, 72, .76);
  box-shadow: 0 0 0 4px rgba(176, 72, 72, .08);
}

.premium-consent-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 240px);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.premium-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: #4e5c69;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.55;
}

.premium-consent input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--reference-teal);
}

.premium-antispam-slot {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  color: #6a7884;
  background: rgba(240, 245, 250, .66);
  border: 1px dashed rgba(135, 149, 161, .36);
  border-radius: 14px;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
  text-align: center;
}

.premium-consent-row:has(.premium-antispam-slot[aria-hidden="true"]) {
  grid-template-columns: 1fr;
}

.premium-antispam-slot[aria-hidden="true"] {
  display: none;
}

.premium-submit {
  width: 398px;
  min-width: 398px;
  gap: 14px;
  padding-right: 30px;
  padding-left: 30px;
  margin-top: 24px;
  font-size: 15px;
}

.premium-form-microcopy {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 18px 0 0;
  color: #6a7884;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.45;
}

.premium-form-microcopy span {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 8px;
  align-items: start;
}

.premium-form-microcopy i {
  position: relative;
  display: inline-block;
  width: 18px;
  height: 18px;
  color: var(--reference-teal);
}

.icon-lock {
  border: 1.5px solid currentColor;
  border-radius: 4px;
  transform: translateY(1px) scale(.82);
}

.icon-lock::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -7px;
  width: 8px;
  height: 8px;
  border: 1.5px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
}

.icon-clock {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.icon-clock::before,
.icon-clock::after,
.icon-x::before,
.icon-x::after {
  content: "";
  position: absolute;
  background: currentColor;
  border-radius: 999px;
}

.icon-clock::before {
  left: 8px;
  top: 4px;
  width: 1.5px;
  height: 6px;
}

.icon-clock::after {
  left: 8px;
  top: 9px;
  width: 5px;
  height: 1.5px;
  transform: rotate(22deg);
  transform-origin: left center;
}

.icon-x {
  border: 1.5px solid currentColor;
  border-radius: 50%;
}

.icon-x::before,
.icon-x::after {
  left: 4px;
  top: 8px;
  width: 9px;
  height: 1.5px;
}

.icon-x::before {
  transform: rotate(45deg);
}

.icon-x::after {
  transform: rotate(-45deg);
}

.premium-form-status {
  display: none;
  margin-top: 20px;
  padding: 18px 20px 18px 58px;
  color: var(--reference-navy);
  background:
    radial-gradient(circle at 0% 0%, rgba(12, 122, 138, .12), transparent 44%),
    rgba(255, 255, 255, .76);
  border: 1px solid rgba(12, 122, 138, .18);
  border-radius: 18px;
  box-shadow: 0 18px 42px rgba(7, 17, 26, .08);
  outline: none;
}

.premium-form-status.is-visible {
  position: relative;
  display: block;
}

.premium-success-mark {
  position: absolute;
  left: 18px;
  top: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  color: var(--reference-gold-text);
  background: rgba(201, 162, 39, .12);
  border: 1px solid rgba(201, 162, 39, .34);
  border-radius: 50%;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
}

.premium-form-status strong,
.premium-form-status p,
.premium-form-status small {
  display: block;
}

.premium-form-status strong {
  color: var(--reference-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.premium-form-status p {
  margin: 6px 0 0;
  color: #4e5c69;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.premium-form-status small {
  margin-top: 9px;
  color: #6a7884;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}

.process-editorial-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 116px 0 120px;
  color: var(--reference-navy);
  background: #f8f5ef;
  overflow: hidden;
}

.process-editorial-inner {
  width: min(var(--reference-container), calc(100% - 144px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .42fr) minmax(0, .58fr);
  gap: 92px;
  align-items: start;
}

.process-editorial-copy {
  position: sticky;
  top: 110px;
  max-width: 480px;
}

.process-editorial-eyebrow {
  margin: 0 0 18px;
  color: var(--reference-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.process-editorial-section h2 {
  margin: 0 0 24px;
  color: var(--reference-navy);
  font-size: 46px;
  font-weight: 730;
  line-height: 1.12;
}

.process-editorial-copy p:not(.process-editorial-eyebrow) {
  margin: 0;
  color: #536170;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.7;
}

.process-progress {
  position: relative;
  width: min(100%, 360px);
  height: 1px;
  margin-top: 40px;
  background: rgba(7, 17, 26, .14);
  overflow: hidden;
}

.process-progress span {
  display: block;
  width: 20%;
  height: 100%;
  background: linear-gradient(90deg, var(--reference-teal), var(--reference-gold-button));
  transition: width .65s ease;
}

.process-step-list {
  display: grid;
  gap: 0;
  margin: 3px 0 0;
  padding: 0;
  list-style: none;
}

.process-step {
  position: relative;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 30px;
  min-height: 132px;
  padding: 36px 0 35px;
  border-top: 1px solid rgba(7, 17, 26, .12);
}

.process-step:last-child {
  border-bottom: 1px solid rgba(7, 17, 26, .12);
}

.process-step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--reference-teal), var(--reference-gold-button));
  opacity: 0;
  transition: width .55s ease, opacity .35s ease;
}

.process-step.is-active::before {
  width: 100%;
  opacity: .78;
}

.process-step-number {
  color: var(--reference-gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  font-weight: 700;
  line-height: 1;
  transition: color .35s ease;
}

.process-step.is-active .process-step-number {
  color: var(--reference-teal);
}

.process-step-copy h3 {
  margin: 0 0 9px;
  color: var(--reference-navy);
  font-size: 24px;
  font-weight: 740;
  line-height: 1.2;
}

.process-step-copy p {
  max-width: 650px;
  margin: 0;
  color: #536170;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.62;
}

.legal-lead-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 122px 0 130px;
  color: var(--reference-navy);
  background: #fffdf8;
  overflow: hidden;
}

.legal-lead-inner {
  width: min(var(--reference-container), calc(100% - 144px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .58fr) minmax(390px, .42fr);
  gap: 82px;
  align-items: center;
}

.legal-lead-copy {
  max-width: 750px;
}

.legal-lead-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 24px;
  color: var(--reference-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.legal-lead-eyebrow::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--reference-gold);
}

.legal-lead-section h2 {
  max-width: 760px;
  margin: 0 0 34px;
  color: var(--reference-navy);
  font-size: 56px;
  font-weight: 760;
  line-height: 1.05;
}

.legal-lead-section h2 span {
  display: block;
}

.legal-lead-body {
  display: grid;
  gap: 16px;
  max-width: 710px;
}

.legal-lead-body p {
  margin: 0;
  color: #536170;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.72;
}

.legal-lead-quote {
  max-width: 720px;
  margin: 46px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid rgba(7, 17, 26, .13);
}

.legal-lead-quote p {
  margin: 0;
  color: #1b2a35;
  font-size: 22px;
  font-style: italic;
  font-weight: 520;
  line-height: 1.58;
}

.legal-lead-quote footer {
  margin-top: 24px;
}

.legal-lead-quote strong,
.legal-lead-quote span {
  display: block;
}

.legal-lead-quote strong {
  color: var(--reference-navy);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
}

.legal-lead-quote span {
  margin-top: 5px;
  color: var(--reference-muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
}

.legal-lead-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-top: 34px;
  padding: 0 24px;
  color: var(--reference-teal);
  background:
    linear-gradient(#fffdf8, #fffdf8) padding-box,
    linear-gradient(100deg, rgba(12, 122, 138, .8), rgba(243, 193, 58, .82)) border-box;
  border: 1px solid transparent;
  border-radius: var(--reference-button-radius);
  box-shadow: 0 12px 28px rgba(7, 17, 26, .06);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.1;
}

.legal-lead-cta span {
  margin-left: 10px;
  color: var(--reference-gold);
  font-size: 15px;
  line-height: 1;
}

.legal-lead-cta:hover,
.legal-lead-cta:focus-visible {
  color: var(--reference-navy);
  box-shadow: 0 16px 34px rgba(12, 122, 138, .1);
}

.legal-lead-portrait {
  position: relative;
  aspect-ratio: 1.06 / 1;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(7, 17, 26, .12);
  border-radius: 26px;
  background: #f8f5ef;
  box-shadow: 0 28px 70px rgba(7, 17, 26, .08);
}

.legal-lead-portrait picture {
  display: block;
  width: 100%;
  height: 100%;
}

.legal-lead-portrait img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

.tail-container {
  width: min(var(--reference-container), calc(100% - 144px));
  margin: 0 auto;
}

.tail-section-head {
  max-width: 760px;
  margin-bottom: 42px;
}

.tail-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 18px;
  color: var(--reference-teal);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.tail-eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--reference-gold);
}

.tail-section-head h2,
.reviews-proof-head h2,
.mini-contact-copy h2 {
  margin: 0;
  color: var(--reference-navy);
  font-size: 46px;
  font-weight: 760;
  line-height: 1.08;
}

.tail-text-link {
  display: inline-flex;
  align-items: center;
  color: var(--reference-teal);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.tail-text-link:hover,
.tail-text-link:focus-visible {
  color: var(--reference-navy);
}

.tail-text-link {
  margin-top: 34px;
}

.faq-tail-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 108px 0 112px;
  color: #f7fbff;
  background:
    radial-gradient(circle at 18% 10%, rgba(12, 122, 138, .23), transparent 35%),
    linear-gradient(180deg, #07111a 0%, #0a1520 100%);
  overflow: hidden;
}

.faq-tail-inner {
  display: grid;
  grid-template-columns: minmax(280px, .48fr) minmax(0, .52fr);
  gap: 72px;
  align-items: start;
}

.faq-tail-section .tail-eyebrow {
  color: var(--reference-gold-text);
}

.faq-tail-section .tail-section-head {
  margin-bottom: 0;
}

.faq-tail-section h2 {
  color: #fff;
}

.faq-tail-list {
  display: grid;
  gap: 12px;
}

.faq-tail-item {
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  background: rgba(255, 255, 255, .045);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .12);
  overflow: hidden;
}

.faq-tail-item summary {
  position: relative;
  display: block;
  padding: 24px 62px 24px 24px;
  color: #fff;
  font-size: 18px;
  font-weight: 780;
  line-height: 1.32;
  cursor: pointer;
  list-style: none;
}

.faq-tail-item summary::-webkit-details-marker {
  display: none;
}

.faq-tail-item summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  color: var(--reference-gold-text);
  font-size: 23px;
  font-weight: 500;
  line-height: 26px;
  text-align: center;
  border: 1px solid rgba(201, 162, 39, .32);
  border-radius: 50%;
  transform: translateY(-50%);
}

.faq-tail-item[open] summary::after {
  content: "-";
}

.faq-tail-item summary:focus-visible {
  outline: 3px solid rgba(243, 193, 58, .62);
  outline-offset: 4px;
}

.faq-tail-answer {
  padding: 0 24px 24px;
}

.faq-tail-answer p {
  margin: 0;
  color: rgba(247, 251, 255, .75);
  font-size: 16px;
  line-height: 1.68;
}

.faq-tail-answer a {
  color: var(--reference-gold-text);
  font-weight: 800;
  text-decoration-color: rgba(228, 191, 85, .42);
  text-underline-offset: 3px;
}

.faq-tail-answer a:hover,
.faq-tail-answer a:focus-visible {
  color: #ffffff;
}

.mini-contact-section {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  padding: 0 0 116px;
  color: var(--reference-navy);
  background: linear-gradient(180deg, #0a1520 0%, #0a1520 34%, #f8f5ef 34%, #f8f5ef 100%);
  overflow: hidden;
}

.mini-contact-panel {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(360px, .72fr);
  gap: 52px;
  align-items: center;
  padding: 54px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, .98), rgba(255, 255, 255, .9)) padding-box,
    linear-gradient(135deg, rgba(12, 122, 138, .28), rgba(243, 193, 58, .46)) border-box;
  border: 1px solid transparent;
  border-radius: 28px;
  box-shadow: 0 28px 70px rgba(7, 17, 26, .16);
}

.mini-contact-copy {
  max-width: 620px;
}

.mini-contact-form-wrap {
  display: grid;
  gap: 18px;
}

.mini-contact-form {
  display: grid;
  gap: 18px;
}

.mini-form-grid {
  display: grid;
  gap: 14px;
}

.mini-contact-form .premium-field input {
  min-height: 54px;
}

.mini-consent {
  margin-top: 2px;
}

.mini-submit {
  width: 100%;
  margin-top: 2px;
}

.mini-form-note {
  margin: -4px 0 0;
  color: #68717c;
  font-size: 13px;
  line-height: 1.55;
}

.mini-form-status {
  margin: 0;
}

.premium-site-footer {
  width: 100%;
  padding: 68px 0 34px;
  color: rgba(247, 251, 255, .82);
  background:
    linear-gradient(180deg, rgba(9, 25, 38, .98) 0%, #040c14 100%);
}

.premium-footer-shell {
  display: grid;
  gap: 38px;
}

.premium-footer-grid {
  display: grid;
  grid-template-columns: minmax(270px, 1.22fr) minmax(180px, .75fr) minmax(180px, .72fr) minmax(220px, .85fr);
  gap: 44px;
  align-items: start;
}

.premium-footer-col,
.premium-footer-contact-lines {
  display: grid;
  gap: 12px;
}

.premium-footer-logo {
  display: flex;
  align-items: center;
  gap: 13px;
  width: fit-content;
  margin-bottom: 8px;
}

.premium-footer-logo img {
  flex: 0 0 auto;
  border-radius: 11px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .24);
}

.premium-footer-logo h2,
.premium-footer-logo .premium-footer-title {
  display: inline-flex;
  align-items: baseline;
  margin: 0;
  color: rgba(255, 255, 255, .96);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.08;
}

.premium-footer-logo .brand-accent {
  color: var(--reference-gold-text);
}

.premium-footer-brand-col p {
  margin: 0;
  max-width: 360px;
  color: rgba(232, 240, 246, .68);
  font-size: 14px;
  line-height: 1.62;
}

.premium-footer-col h3,
.premium-footer-heading {
  margin: 0 0 6px;
  color: rgba(255, 255, 255, .96);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  text-transform: uppercase;
}

.premium-footer-col a,
.premium-footer-col span,
.premium-footer-cookie {
  color: rgba(232, 240, 246, .72);
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
}

.premium-footer-contact-lines {
  font-style: normal;
}

.premium-footer-col a:hover,
.premium-footer-col a:focus-visible,
.premium-footer-cookie:hover,
.premium-footer-cookie:focus-visible,
.premium-social-link:hover,
.premium-social-link:focus-visible {
  color: var(--reference-gold-text);
}

.premium-footer-cookie {
  appearance: none;
  justify-self: start;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.premium-footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.premium-social-link {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: rgba(255, 255, 255, .76);
  border: 1px solid rgba(232, 240, 246, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.premium-social-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.premium-social-link:hover,
.premium-social-link:focus-visible {
  border-color: rgba(228, 191, 85, .42);
  background: rgba(228, 191, 85, .08);
}

.premium-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid rgba(247, 251, 255, .12);
  color: rgba(232, 240, 246, .58);
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
}

@media (max-width: 1120px) {
  .tail-container {
    width: min(100% - 56px, var(--reference-container));
  }

  .faq-tail-inner,
  .mini-contact-panel {
    grid-template-columns: 1fr;
  }

  .premium-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .faq-tail-inner {
    gap: 42px;
  }

  .mini-contact-panel {
    gap: 36px;
  }
}

@media (max-width: 760px) {
  .tail-container {
    width: calc(100% - 28px);
  }

  .knowledge-lite-section,
  .reviews-proof-section,
  .faq-tail-section {
    padding: 72px 0 78px;
  }

  .tail-section-head {
    margin-bottom: 32px;
  }

  .tail-section-head h2,
  .reviews-proof-head h2,
  .mini-contact-copy h2 {
    font-size: 34px;
    line-height: 1.08;
  }

  .faq-tail-item summary {
    padding: 22px 56px 22px 20px;
    font-size: 17px;
  }

  .faq-tail-answer {
    padding: 0 20px 22px;
  }

  .mini-contact-section {
    padding-bottom: 78px;
    background: linear-gradient(180deg, #0a1520 0%, #0a1520 20%, #f8f5ef 20%, #f8f5ef 100%);
  }

  .mini-contact-panel {
    padding: 30px 22px;
    border-radius: 22px;
  }

  .premium-footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .premium-footer-bottom {
    justify-content: flex-start;
  }

  .premium-site-footer {
    padding: 54px 0 58px;
  }

  .premium-footer-shell {
    gap: 34px;
  }
}

.calculator-style-page .reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s ease;
}

.calculator-style-page .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .calculator-container,
  .calculator-main {
    width: min(100% - 56px, var(--reference-container));
  }

  .premium-contact-section {
    margin-right: 0;
    margin-left: 0;
  }

  .premium-contact-intro {
    margin-left: 0;
  }

  .premium-contact-panel {
    grid-template-columns: 1fr;
    gap: 42px;
    padding: 46px 42px;
  }

  .premium-contact-copy {
    padding: 0 0 38px;
    border-right: 0;
    border-bottom: 1px solid rgba(12, 122, 138, .13);
  }

  .premium-contact-copy h3 {
    max-width: 440px;
  }

  .premium-contact-note {
    max-width: none;
  }

  .process-editorial-inner,
  .legal-lead-inner {
    width: min(100% - 56px, var(--reference-container));
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .process-editorial-copy {
    position: static;
    max-width: 760px;
  }

  .process-editorial-section h2,
  .legal-lead-section h2 {
    max-width: 780px;
    font-size: 42px;
  }

  .process-editorial-copy p:not(.process-editorial-eyebrow),
  .legal-lead-body {
    max-width: 720px;
  }

  .process-step {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .legal-lead-portrait {
    width: min(100%, 720px);
    aspect-ratio: 1.22 / 1;
  }

  .legal-lead-copy {
    max-width: 820px;
  }
}

@media (max-width: 760px) {
  .calculator-container,
  .calculator-main {
    width: calc(100% - 28px);
  }

  .calculator-style-page .header-inner {
    height: 70px;
  }

  .calculator-style-page .brand-mark {
    width: 40px;
    height: 40px;
  }

  .calculator-style-page .brand-name {
    font-size: 14px;
  }

  .calculator-style-page .brand-note,
  .calculator-style-page .phone-link,
  .calculator-style-page .calculator-header-cta {
    display: none;
  }

  .calculator-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
    line-height: 1.65;
  }

  .calculator-lead {
    margin-bottom: 32px;
    font-size: 16px;
    line-height: 1.65;
  }

  .calculator-button {
    width: 100%;
    min-height: 52px;
    padding: 15px 22px;
    font-size: 16px;
    white-space: normal;
    text-align: center;
  }

  .calculator-button-primary,
  .calculator-button-secondary {
    width: 100%;
    min-width: 0;
  }

  .calculator-button-primary {
    border-width: 2px;
  }

  .calculator-meta {
    margin-top: 13px;
    margin-left: 4px;
  }

  .premium-contact-section {
    margin: 0 0 68px;
    padding-top: 8px;
  }

  .premium-contact-intro {
    margin-bottom: 24px;
  }

  .premium-contact-intro .calculator-eyebrow {
    margin-bottom: 14px;
  }

  .premium-contact-intro h2 {
    margin-bottom: 16px;
    font-size: 30px;
    line-height: 1.16;
  }

  .premium-contact-intro p {
    font-size: 15px;
    line-height: 1.62;
  }

  .premium-contact-panel {
    gap: 32px;
    padding: 30px 21px 32px;
    border-radius: var(--reference-radius-mobile);
  }

  .premium-contact-copy {
    padding-bottom: 30px;
  }

  .premium-contact-badge {
    min-height: 30px;
    font-size: 10px;
  }

  .premium-contact-copy h3 {
    margin: 24px 0 18px;
    font-size: 30px;
    line-height: 1.12;
  }

  .premium-contact-copy p {
    font-size: 15px;
  }

  .premium-contact-points {
    gap: 13px;
    margin: 24px 0 28px;
  }

  .premium-contact-points li {
    font-size: 13px;
  }

  .premium-contact-note {
    padding-top: 22px;
    font-size: 14px;
  }

  .premium-form-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .premium-field input,
  .premium-field select {
    height: 54px;
  }

  .premium-field textarea {
    min-height: 138px;
  }

  .premium-consent-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .premium-antispam-slot {
    justify-content: flex-start;
    text-align: left;
  }

  .premium-submit {
    width: 100%;
    min-width: 0;
    gap: 10px;
    padding-right: 20px;
    padding-left: 20px;
    margin-top: 22px;
    font-size: 14px;
    white-space: nowrap;
  }

  .premium-form-microcopy {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 17px;
  }

  .premium-form-status {
    padding: 18px 18px 18px 54px;
  }

  .process-editorial-section {
    padding: 72px 0 78px;
  }

  .process-editorial-inner {
    width: calc(100% - 28px);
    gap: 38px;
  }

  .process-editorial-eyebrow {
    margin-bottom: 16px;
    font-size: 12px;
  }

  .process-editorial-section h2 {
    margin-bottom: 20px;
    font-size: 31px;
    line-height: 1.14;
  }

  .process-editorial-copy p:not(.process-editorial-eyebrow) {
    font-size: 16px;
    line-height: 1.64;
  }

  .process-progress {
    width: 100%;
    margin-top: 30px;
  }

  .process-step {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 18px;
    min-height: 0;
    padding: 25px 0 24px;
  }

  .process-step-number {
    font-size: 22px;
  }

  .process-step-copy h3 {
    margin-bottom: 7px;
    font-size: 20px;
  }

  .process-step-copy p {
    font-size: 15px;
    line-height: 1.58;
  }

  .legal-lead-section {
    padding: 72px 0 84px;
  }

  .legal-lead-inner {
    width: calc(100% - 28px);
    gap: 38px;
  }

  .legal-lead-portrait {
    order: -1;
    width: 100%;
    aspect-ratio: 1.06 / 1;
    border-radius: 19px;
    box-shadow: 0 18px 42px rgba(7, 17, 26, .08);
  }

  .legal-lead-eyebrow {
    margin-bottom: 17px;
    font-size: 12px;
  }

  .legal-lead-eyebrow::before {
    width: 28px;
  }

  .legal-lead-section h2 {
    margin-bottom: 24px;
    font-size: 34px;
    line-height: 1.08;
  }

  .legal-lead-body {
    gap: 14px;
  }

  .legal-lead-body p {
    font-size: 16px;
    line-height: 1.64;
  }

  .legal-lead-quote {
    margin-top: 34px;
    padding-top: 24px;
  }

  .legal-lead-quote p {
    font-size: 18px;
    line-height: 1.58;
  }

  .legal-lead-quote footer {
    margin-top: 20px;
  }

  .legal-lead-cta {
    width: 100%;
    min-height: 52px;
    margin-top: 30px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .calculator-style-page .reveal {
    opacity: 1;
    transform: none;
  }

  .process-progress span,
  .process-step::before,
  .process-step-number {
    transition: none;
  }
}

/* ==================================================
   HOME_MASTER_v1 — MOBILE POLISH
   ================================================== */

@media (max-width: 780px) {
  body.calculator-style-page {
    padding-bottom: 0;
  }
}

@media (max-width: 767px) {
  .premium-contact-section {
    margin-bottom: 34px;
    padding-top: 0;
  }

  .premium-contact-intro {
    margin-bottom: 16px;
  }

  .premium-contact-intro .calculator-eyebrow {
    margin-bottom: 11px;
  }

  .premium-contact-intro h2 {
    margin-bottom: 12px;
  }

  .premium-contact-panel {
    gap: 20px;
    padding: 23px 17px 24px;
  }

  .premium-contact-copy {
    padding-bottom: 18px;
  }

  .premium-contact-copy h3 {
    margin: 16px 0 12px;
  }

  .premium-contact-copy p {
    line-height: 1.58;
  }

  .premium-contact-points {
    gap: 9px;
    margin: 15px 0 16px;
  }

  .premium-contact-note {
    padding-top: 13px;
    line-height: 1.48;
  }

  .premium-form-grid {
    gap: 10px;
  }

  .premium-field label {
    margin-bottom: 4px;
  }

  .premium-field input,
  .premium-field select,
  .premium-field textarea {
    font-size: 16px;
  }

  .premium-field input,
  .premium-field select,
  .mini-contact-form .premium-field input {
    height: 58px;
    min-height: 58px;
  }

  .premium-field textarea {
    min-height: 156px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .premium-consent-row {
    gap: 10px;
    margin-top: 10px;
  }

  .premium-consent {
    min-height: 44px;
    align-items: center;
    line-height: 1.48;
  }

  .premium-consent input {
    width: 20px;
    height: 20px;
    margin-top: 0;
  }

  .premium-antispam-slot {
    min-height: 42px;
    padding: 8px 12px;
  }

  .premium-submit,
  .mini-submit {
    min-height: 58px;
    margin-top: 10px;
  }

  .premium-form-microcopy {
    gap: 7px;
    margin-top: 8px;
  }

  .process-editorial-section {
    padding: 66px 0 54px;
  }

  .process-editorial-inner {
    gap: 34px;
  }

  .process-progress {
    margin-top: 24px;
  }

  .process-step {
    padding: 22px 0 21px;
  }

  .legal-lead-section {
    padding: 70px 0 76px;
  }

  .legal-lead-inner {
    gap: 34px;
  }

  .legal-lead-section h2 {
    margin-bottom: 22px;
    font-size: 36px;
    line-height: 1.06;
  }

  .legal-lead-quote {
    margin-top: 30px;
    padding-top: 21px;
  }

  .tail-section-head {
    margin-bottom: 20px;
  }

  .tail-text-link {
    margin-top: 16px;
  }

  .faq-tail-section {
    padding: 56px 0 58px;
  }

  .faq-tail-list {
    gap: 10px;
  }

  .mini-contact-section {
    padding-bottom: 42px;
    background: linear-gradient(180deg, #0a1520 0%, #0a1520 14%, #f8f5ef 14%, #f8f5ef 100%);
  }

  .mini-contact-panel {
    gap: 16px;
    padding: 26px 19px;
  }

  .mini-contact-copy h2 {
    font-size: 36px;
    line-height: 1.06;
  }

  .mini-contact-form-wrap,
  .mini-contact-form {
    gap: 10px;
  }

  .mini-form-grid {
    gap: 8px;
  }

  .mini-consent {
    margin-top: 0;
  }

  .mini-form-note {
    margin-top: -5px;
    line-height: 1.45;
  }

  .mini-submit {
    margin-top: 8px;
    padding-inline: 14px;
    font-size: 15px;
    white-space: nowrap;
  }

  .premium-site-footer {
    padding: 40px 0 38px;
  }

  .premium-footer-shell {
    gap: 22px;
  }

  .premium-footer-grid {
    gap: 20px;
  }

  .premium-footer-col,
  .premium-footer-contact-lines {
    gap: 7px;
  }

  .premium-footer-logo {
    margin-bottom: 4px;
  }

  .premium-footer-brand-col p {
    line-height: 1.54;
  }

  .premium-footer-col a,
  .premium-footer-cookie {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
  }

  .premium-footer-social .premium-social-link {
    display: inline-grid;
    place-items: center;
    min-height: 44px;
  }

  .premium-footer-social {
    gap: 8px;
    margin-top: 6px;
  }

  .premium-footer-bottom {
    gap: 8px 18px;
    padding-top: 19px;
  }
}

@media (max-width: 430px) {
  .premium-contact-panel {
    padding: 22px 16px 23px;
  }

  .premium-contact-copy h3 {
    margin-top: 14px;
  }

  .legal-lead-section h2 {
    font-size: 35px;
    line-height: 1.06;
  }

  .mini-contact-copy h2 {
    font-size: 36px;
    line-height: 1.06;
  }

  .mini-contact-panel {
    padding: 26px 19px;
  }

  .premium-site-footer {
    padding-top: 38px;
  }
}

@media (max-width: 374px) {
  .legal-lead-section h2 {
    font-size: 34px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .premium-field input,
  .premium-field select,
  .premium-field textarea {
    font-size: 16px;
  }
}
