:root {
  color-scheme: light;
  --ink: #171b1f;
  --coal: #20262c;
  --muted: #58616a;
  --soft: #77818c;
  --line: #d9e1e7;
  --paper: #ffffff;
  --field: #f7f9fa;
  --band: #f2f5f4;
  --band-strong: #e7edeb;
  --navy: #18384f;
  --navy-dark: #102837;
  --yellow: #e7ae3a;
  --yellow-soft: #fff4d8;
  --green: #2f6b54;
  --shadow: 0 24px 70px rgba(25, 32, 38, 0.14);
  --shadow-soft: 0 12px 34px rgba(25, 32, 38, 0.09);
  --radius: 8px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, "Segoe UI", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(242, 245, 244, 0.9), rgba(255, 255, 255, 0) 420px),
    radial-gradient(circle at 88% 12%, rgba(231, 174, 58, 0.14), transparent 260px);
}

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

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

p {
  margin: 0;
}

h1,
h2,
h3,
p,
li,
span,
strong {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: 0;
}

h1 {
  max-width: 610px;
  font-size: clamp(2.35rem, 3.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1;
}

h2 {
  font-size: clamp(2rem, 3.7vw, 4.15rem);
  font-weight: 800;
}

h3 {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 74px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 225, 231, 0.9);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  color: var(--coal);
  font-weight: 800;
}

.brand-mark {
  display: inline-grid;
  width: 52px;
  height: 38px;
  place-items: center;
  color: var(--navy);
  background: var(--paper);
  border: 2px solid var(--navy);
  border-radius: var(--radius);
  font-size: 0.73rem;
  letter-spacing: 0;
  box-shadow: inset 0 -5px 0 rgba(231, 174, 58, 0.24);
}

.brand-name {
  letter-spacing: 0;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(14px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.93rem;
  font-weight: 700;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 6px;
}

.site-nav a:hover {
  color: var(--ink);
}

.header-cta {
  min-width: max-content;
  padding: 11px 15px;
  color: var(--paper);
  background: var(--navy);
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  font-size: 0.92rem;
  font-weight: 800;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.header-cta:hover {
  background: var(--navy-dark);
  border-color: var(--navy-dark);
}

.cta-short {
  display: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(360px, 1.04fr);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(20px, 3vw, 34px) 0 clamp(20px, 3vw, 34px);
}

.hero-copy {
  max-width: 650px;
}

.eyebrow {
  margin: 0 0 10px;
  color: #885e16;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-lede {
  max-width: 585px;
  margin-top: 14px;
  color: var(--coal);
  font-size: clamp(1.02rem, 1.22vw, 1.14rem);
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  text-align: center;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.button.large {
  min-height: 50px;
  padding: 13px 18px;
}

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

.button.primary {
  color: var(--paper);
  background: var(--navy);
  border-color: var(--navy);
  box-shadow: 0 10px 22px rgba(24, 56, 79, 0.18);
}

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

.button.secondary {
  color: var(--coal);
  background: var(--paper);
  border-color: var(--line);
}

.button.secondary:hover {
  background: var(--yellow-soft);
  border-color: var(--yellow);
}

.full-width {
  width: 100%;
}

.hero-fit {
  max-width: 600px;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-proof span {
  padding: 8px 10px;
  color: var(--coal);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(25, 32, 38, 0.05);
}

.hero-proof span:nth-child(2) {
  border-color: rgba(231, 174, 58, 0.7);
  background: var(--yellow-soft);
}

.hero-panel {
  position: relative;
  align-self: center;
  padding: 10px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
}

.hero-panel img {
  width: 100%;
  min-height: 0;
  height: clamp(310px, 40vw, 430px);
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border-radius: var(--radius);
}

.response-card {
  position: absolute;
  right: 22px;
  bottom: 22px;
  display: flex;
  align-items: stretch;
  gap: 8px;
  width: min(480px, calc(100% - 44px));
  padding: 10px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(217, 225, 231, 0.95);
  border-radius: var(--radius);
  box-shadow: 0 16px 36px rgba(25, 32, 38, 0.18);
}

.flow-step {
  flex: 1;
  min-width: 0;
  padding: 10px;
  background: rgba(242, 245, 244, 0.92);
  border-radius: 6px;
}

.flow-step strong {
  display: block;
  color: var(--coal);
  font-size: 0.88rem;
}

.flow-step span {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.flow-arrow {
  flex: 0 0 16px;
  align-self: center;
  height: 2px;
  background: var(--yellow);
  position: relative;
}

.flow-arrow::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--yellow);
  border-right: 2px solid var(--yellow);
  transform: translateY(-50%) rotate(45deg);
}

.section-pad,
.section-band {
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 72px);
}

.section-band {
  background: var(--band);
}

.section-inner,
.section-heading {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.section-heading {
  max-width: 850px;
  text-align: center;
}

.section-heading.narrow {
  max-width: 900px;
}

.section-heading p,
.copy-stack p,
.calculator-copy p,
.audit-layout > div > p,
.pricing-layout > div > p,
.contact-layout > div > p,
.fit-list p {
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading p {
  margin-top: 18px;
}

.split,
.calculator-layout,
.audit-layout,
.pricing-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(330px, 1.05fr);
  gap: clamp(30px, 5vw, 74px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 18px;
}

.card-grid {
  display: grid;
  gap: 18px;
  width: min(var(--max), 100%);
  margin: 38px auto 0;
}

.card-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.info-card,
.audit-card,
.pricing-panel,
.calculator-panel,
.contact-form,
.fit-list > div,
.next-steps {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.info-card {
  min-height: 238px;
  padding: 25px;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 34px;
  margin-bottom: 38px;
  color: var(--navy);
  background: #e8f1f4;
  border-radius: var(--radius);
  font-size: 0.82rem;
  font-weight: 800;
}

.info-card p,
.audit-card p {
  margin-top: 12px;
  color: var(--muted);
}

.calculator {
  background: var(--coal);
}

.calculator h2,
.calculator .eyebrow {
  color: var(--paper);
}

.calculator-copy p {
  margin-top: 18px;
  color: #d5dde1;
}

.calculator-note {
  display: grid;
  gap: 5px;
  margin-top: 28px;
  padding: 18px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
}

.calculator-note span {
  color: #d5dde1;
}

.calculator-panel,
.contact-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 3vw, 32px);
}

.calculator-panel {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.24);
}

.panel-title {
  display: grid;
  gap: 4px;
  padding-bottom: 4px;
}

.panel-title span {
  color: var(--soft);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.panel-title strong {
  color: var(--coal);
  font-size: 1.32rem;
}

label {
  display: grid;
  gap: 8px;
  color: var(--coal);
  font-size: 0.94rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font: inherit;
  font-weight: 650;
}

.bot-field {
  display: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(24, 56, 79, 0.18);
  border-color: var(--navy);
}

.calculator-result {
  display: grid;
  gap: 8px;
  padding: 24px;
  color: var(--paper);
  background: var(--navy);
  border-radius: var(--radius);
}

.calculator-result span {
  color: #d9e7ee;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.calculator-result strong {
  color: var(--paper);
  font-size: clamp(2.55rem, 5vw, 4.45rem);
  line-height: 1;
}

.small-note,
.form-note,
.field-help {
  color: var(--soft);
  font-size: 0.9rem;
}

.field-help {
  margin-top: -6px;
}

.fit-list {
  display: grid;
  gap: 14px;
}

.fit-list > div {
  padding: 22px;
}

.fit-list p {
  margin-top: 8px;
}

.audit-layout {
  align-items: center;
}

.audit-layout > div > p,
.pricing-layout > div > p,
.contact-layout > div > p {
  margin-top: 18px;
}

.audit-layout .button {
  margin-top: 28px;
}

.audit-card,
.pricing-panel,
.next-steps {
  padding: clamp(22px, 3vw, 32px);
}

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

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--coal);
  font-weight: 700;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.32em;
  left: 0;
  width: 15px;
  height: 15px;
  background: var(--yellow);
  border-radius: 4px;
  box-shadow: inset 0 0 0 4px rgba(255, 255, 255, 0.42);
}

.response-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  width: min(900px, 100%);
  margin: 36px auto 0;
}

.response-row div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: var(--band);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.response-row strong {
  color: var(--navy);
  font-size: 1.08rem;
}

.response-row span {
  color: var(--muted);
}

.pricing-layout {
  align-items: center;
}

.price-line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.price-line span {
  color: var(--muted);
  font-weight: 800;
}

.price-line strong {
  color: var(--ink);
  font-size: clamp(2.65rem, 5.5vw, 4.8rem);
  line-height: 1;
}

.pricing-panel .button {
  margin-top: 22px;
}

.contact-layout {
  align-items: start;
}

.next-steps {
  margin-top: 28px;
  background: var(--band);
  box-shadow: none;
}

.next-steps ol {
  display: grid;
  gap: 11px;
  margin: 16px 0 0;
  padding-left: 21px;
  color: var(--muted);
  font-weight: 700;
}

.contact-form {
  box-shadow: var(--shadow);
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--navy);
  font-size: 0.94rem;
  font-weight: 800;
}

.site-footer {
  padding: 42px clamp(18px, 5vw, 72px);
  color: #dce5ec;
  background: var(--coal);
  font-size: 0.95rem;
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.2fr) minmax(150px, 0.7fr) minmax(210px, 0.8fr);
  gap: 28px;
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.footer-logo {
  color: var(--paper);
}

.footer-logo .brand-mark {
  color: var(--paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 -5px 0 rgba(231, 174, 58, 0.26);
}

.footer-brand p {
  max-width: 360px;
  margin-top: 14px;
  color: #b9c5cc;
}

.footer-nav,
.footer-legal {
  display: grid;
  gap: 10px;
  align-content: start;
}

.footer-nav a,
.footer-legal a {
  display: flex;
  align-items: center;
  min-height: 40px;
  color: #dce5ec;
  font-weight: 700;
}

.footer-nav a:hover,
.footer-legal a:hover {
  color: var(--yellow);
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9eabb3;
}

.policy-main {
  background: var(--paper);
}

.policy-hero {
  padding: 56px clamp(18px, 5vw, 72px) 28px;
}

.policy-content {
  width: min(880px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 76px;
}

.policy-content h1 {
  max-width: 820px;
  font-size: clamp(2.45rem, 4vw, 4rem);
}

.policy-content h2 {
  margin-top: 34px;
  font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.policy-content p,
.policy-content li {
  color: var(--muted);
  font-size: 1.04rem;
}

.policy-content p {
  margin-top: 14px;
}

.policy-content a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.policy-content ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0;
  padding-left: 22px;
}

.policy-meta {
  margin-top: 18px;
  color: var(--soft);
  font-weight: 700;
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero,
  .split,
  .calculator-layout,
  .audit-layout,
  .pricing-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-panel {
    order: -1;
  }

  .hero-panel img {
    height: clamp(300px, 46vw, 430px);
  }

  .card-grid.three,
  .response-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .site-header {
    gap: 11px;
    padding: 12px 16px;
  }

  .brand span:last-child {
    max-width: 138px;
    line-height: 1.05;
  }

  .header-cta {
    padding: 10px 12px;
  }

  .cta-full {
    display: none;
  }

  .cta-short {
    display: inline;
  }

  .hero {
    width: min(100% - 28px, var(--max));
    gap: 14px;
    padding-top: 14px;
    padding-bottom: 18px;
  }

  h1 {
    font-size: clamp(2rem, 10vw, 2.35rem);
    line-height: 1.02;
  }

  h2 {
    font-size: clamp(1.72rem, 8vw, 2.15rem);
  }

  .eyebrow {
    margin-bottom: 8px;
  }

  .hero-lede {
    margin-top: 10px;
    font-size: 1rem;
  }

  .hero-actions {
    gap: 10px;
    margin-top: 14px;
  }

  .button.large {
    min-height: 48px;
  }

  .hero-fit {
    margin-top: 10px;
    font-size: 0.9rem;
  }

  .hero-proof {
    display: none;
  }

  .hero-panel {
    padding: 8px;
    order: 0;
  }

  .hero-panel img {
    height: auto;
    min-height: 230px;
    aspect-ratio: 4 / 3;
  }

  .response-card {
    right: 14px;
    bottom: 14px;
    width: calc(100% - 28px);
    gap: 4px;
    padding: 6px;
    box-shadow: 0 12px 28px rgba(25, 32, 38, 0.16);
  }

  .flow-step {
    padding: 7px 6px;
  }

  .flow-step strong {
    font-size: 0.72rem;
  }

  .flow-step span {
    font-size: 0.64rem;
  }

  .flow-arrow {
    flex-basis: 8px;
  }

  .flow-arrow::after {
    right: -1px;
    left: auto;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(45deg);
  }

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

  .section-heading {
    text-align: left;
  }

  .section-pad,
  .section-band {
    padding: 56px 16px;
  }

  .info-card {
    min-height: auto;
  }

  .step-number {
    margin-bottom: 26px;
  }

  .calculator-result {
    padding: 20px;
  }
}

@media (max-width: 820px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}
