:root {
  --paper: #f6f3eb;
  --paper-deep: #efe8d8;
  --card: #fffcf6;
  --ink: #0A1D52;
  --navy: #14337F;
  --navy-deep: #0A1D52;
  --navy-mid: #2551B4;
  --gold: #E9B84F;
  --gold-bright: #F0C45F;
  --gold-light: #FFEBB0;
  --cream: #FFF3D2;
  --line: #d4cbb8;
  --status: #eef2fb;
  --serif: "Noto Serif", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, "Liberation Serif", serif;
  --sans: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, "Liberation Sans", sans-serif;
  --wrap: 1180px;
  --header: 5.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin: 0.55rem 0 1rem;
  font-size: clamp(2.35rem, 6vw, 4.05rem);
}

h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.75rem, 3vw, 2.45rem);
}

h3 {
  margin: 0 0 0.4rem;
  font-family: var(--sans);
  font-size: 1.08rem;
  letter-spacing: 0;
  line-height: 1.3;
}

p {
  margin: 0 0 0.9rem;
  text-wrap: pretty;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--navy-deep);
}

abbr {
  text-decoration: none;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

::selection {
  background: var(--gold-light);
  color: var(--ink);
}

.skip {
  position: absolute;
  left: 0.75rem;
  top: -4rem;
  z-index: 40;
  background: var(--card);
  color: var(--ink);
  padding: 0.55rem 0.75rem;
}

.skip:focus {
  top: 0.55rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 3.5rem 0;
  scroll-margin-top: 5.75rem;
}

.band {
  border-top: 1px solid var(--line);
}

.section-lede {
  max-width: 38rem;
  margin-bottom: 1.5rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--paper);
  border-bottom: 2px solid var(--gold);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.brand-seal {
  display: block;
  width: 3.5rem;
  height: 3.5rem;
  flex: none;
}

.brand-name {
  min-width: 0;
}

.brand:hover .brand-name {
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 4.5rem;
  min-height: 44px;
  padding: 0.4rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  color: var(--ink);
  font: 600 1rem/1 var(--sans);
  cursor: pointer;
}

#site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  flex-direction: column;
  align-items: stretch;
  gap: 0.35rem;
  padding: 0.35rem 1.25rem 1rem;
  background: var(--card);
  border-bottom: 1px solid var(--line);
}

#site-nav.is-open {
  display: flex;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.nav-list a {
  display: block;
  padding: 0.8rem 0;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.nav-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 1.05rem;
  border: 2px solid var(--navy);
  border-radius: 4px;
  background: var(--navy);
  color: var(--cream);
  font: 600 1rem/1.25 var(--sans);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

a.button,
a.button:visited,
a.button:hover,
button.button {
  color: var(--cream);
  text-decoration: none;
}

.button:hover {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
}

.button:active {
  background: #061433;
  border-color: #061433;
}

#site-nav .button {
  margin-top: 0.85rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
}

.lede {
  font-size: 1.2rem;
  line-height: 1.45;
  max-width: 38rem;
}

.for-line {
  color: var(--ink);
  font-weight: 600;
}

.hero .button {
  margin-top: 0.4rem;
}

.hero-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.1rem 1.15rem 0.35rem;
}

.panel-kicker {
  margin: 0 0 0.15rem;
  color: var(--navy);
  font-weight: 600;
}

.hero-panel ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-panel li {
  display: grid;
  grid-template-columns: 1.4rem 1fr;
  gap: 0.65rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}

.idx,
.step-num {
  color: var(--navy);
  font-family: var(--serif);
  font-weight: 600;
}

.split {
  display: grid;
  gap: 1.25rem;
}

.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.problem-list li {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: 1.45rem;
  line-height: 1.25;
}

.cards {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.cards li {
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  padding: 1.15rem 1.1rem 1.25rem;
}

.cards p {
  margin: 0;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.1rem 1rem 1.2rem;
}

.step-num {
  display: block;
  margin-bottom: 0.55rem;
  font-size: 1.65rem;
  line-height: 1;
}

.steps p {
  margin: 0;
}

.helper {
  background: var(--navy-deep);
  color: var(--cream);
}

.helper h2 {
  color: var(--cream);
}

.helper-copy {
  max-width: 42rem;
}

.helper-copy p {
  font-size: 1.2rem;
  line-height: 1.5;
}

.helper-limit {
  margin-top: 0.4rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 243, 210, 0.35);
  font-weight: 600;
}

.prices {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.price-row {
  display: grid;
  gap: 0.35rem;
  padding: 1.2rem 0;
  border-bottom: 1px solid var(--line);
}

.price-row h3 {
  margin: 0;
  font-size: 1.15rem;
}

.figure {
  margin: 0;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.figure .line {
  display: block;
}

.figure .line + .line {
  margin-top: 0.25rem;
}

.unit {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0;
}

.price-detail p {
  margin: 0 0 0.85rem;
}

.price-detail p:last-child {
  margin-bottom: 0;
}

.faq details {
  border-bottom: 1px solid var(--line);
}

.faq details:first-of-type {
  border-top: 1px solid var(--line);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 52px;
  padding: 0.9rem 0;
  cursor: pointer;
  list-style: none;
}

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

.faq summary h3 {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
}

.faq-icon {
  flex: none;
  font-family: var(--serif);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--navy);
}

.faq-icon::before {
  content: "+";
}

.faq details[open] .faq-icon::before {
  content: "\2212";
}

.faq details p {
  max-width: 42rem;
  margin: 0 0 1.1rem;
}

.contact {
  background: var(--paper-deep);
}

.contact-grid {
  display: grid;
  gap: 1.75rem;
}

.location {
  margin-top: 1.25rem;
  font-weight: 600;
}

.email-line {
  margin: 0;
}

.email-label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.email-value {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
}

a.email-value:hover {
  text-decoration: underline;
}

.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1.15rem 1.1rem 1.2rem;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  background: var(--status);
  border: 1px solid var(--navy);
  border-radius: 4px;
}

.form-status[hidden] {
  display: none;
}

.field {
  margin: 0 0 1rem;
}

label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 0.7rem 0.75rem;
  border: 1px solid #8d877c;
  border-radius: 4px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  line-height: 1.4;
}

textarea {
  min-height: 8.5rem;
  resize: vertical;
}

input:user-invalid,
textarea:user-invalid {
  border-color: #7a2e2e;
}

input:-webkit-autofill,
textarea:-webkit-autofill {
  -webkit-text-fill-color: var(--ink);
  box-shadow: 0 0 0 1000px var(--card) inset;
}

.form-card .button {
  width: 100%;
}

.fine-print {
  margin: 0.75rem 0 0;
  font-size: 0.98rem;
}

.site-footer {
  background: var(--ink);
  color: var(--cream);
  padding: 2rem 0 2.25rem;
}

.site-footer p {
  margin: 0.15rem 0;
}

.site-footer a,
.site-footer a:visited {
  color: var(--cream);
}

.site-footer a:hover {
  text-decoration-thickness: 2px;
}

@media (min-width: 700px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 800px) {
  .section {
    padding: 5.25rem 0;
  }

  .hero.section {
    padding-top: 4.25rem;
  }

  .split,
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 3rem;
    align-items: start;
  }

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

  .price-row {
    grid-template-columns: minmax(12rem, 0.9fr) minmax(12rem, 0.85fr) minmax(16rem, 1.5fr);
    gap: 1.25rem 1.75rem;
    align-items: start;
  }

  .hero .button,
  .price-detail .button {
    width: auto;
  }
}

@media (min-width: 961px) {
  .nav-toggle {
    display: none;
  }

  #site-nav,
  #site-nav.is-open {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 0.35rem 1rem;
    padding: 0;
    background: transparent;
    border: 0;
  }

  .nav-list {
    flex-direction: row;
    align-items: center;
    gap: 0.1rem 0.7rem;
  }

  .nav-list a {
    padding: 0.35rem 0;
    border-bottom: 0;
    font-size: 0.9rem;
    white-space: nowrap;
  }

  #site-nav .button,
  .button-nav {
    width: auto;
    margin-top: 0;
    min-height: 44px;
    padding: 0.45rem 0.7rem;
    font-size: 0.85rem;
    flex: none;
  }
}

@media (min-width: 1000px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
    gap: 3.5rem;
    align-items: end;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media print {
  .site-header {
    position: static;
  }

  .nav-toggle,
  .button-nav {
    display: none;
  }

  .helper,
  .site-footer {
    background: #fff;
    color: #000;
  }

  .helper h2,
  .site-footer a,
  .site-footer a:visited {
    color: #000;
  }
}

.audit-steps {
  margin-top: 1.5rem;
}

.footer-bar {
  display: grid;
  gap: 0.35rem;
}

.footer-brand {
  color: var(--cream);
  text-decoration: none;
  font-weight: 600;
}

.footer-brand:hover,
.footer-brand:visited {
  color: var(--cream);
}

.footer-email {
  color: var(--cream);
  text-decoration: none;
}

.footer-email:hover,
.footer-email:visited {
  color: var(--cream);
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--navy);
  font-weight: 600;
}


@media (min-width: 1000px) {
  .hero-grid {
    align-items: center;
  }
}

@media (max-width: 700px) {
  .figure {
    white-space: normal;
  }
}

@media (min-width: 700px) {
  .audit-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1000px) {
  .audit-steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.thanks-copy {
  max-width: 38rem;
}

.thanks-copy .button {
  width: auto;
  margin-top: 1.25rem;
}

@media (max-width: 699px) {
  .thanks-copy .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 0.45rem;
  }

  .brand-name {
    font-size: 0.95rem;
  }

  .nav-toggle {
    min-width: 4.15rem;
    padding: 0.35rem 0.55rem;
  }
}

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