:root {
  --canvas: #fbfbf8;
  --surface: #ffffff;
  --ink: #1c2822;
  --body: #455149;
  --muted: #69756e;
  --line: #dbe2db;
  --line-strong: #cbd6cc;
  --soft: #f0f4f0;
  --accent: #275344;
  --accent-deep: #1c3d31;
  --focus: #3d7963;
  --error: #a62d2d;
  --shadow: 0 18px 45px rgba(28, 40, 34, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--canvas);
  color: var(--body);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

button,
input,
select {
  font: inherit;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure,
blockquote {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--ink);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 {
  max-width: 900px;
  font-size: clamp(2.35rem, 6.9vw, 4.7rem);
  font-weight: 620;
  line-height: 0.99;
}

h2 {
  font-size: clamp(1.85rem, 5vw, 3.45rem);
  font-weight: 620;
  line-height: 1.08;
}

h3 {
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.28;
}

.section-shell {
  width: min(100% - 2.5rem, 70rem);
  margin-inline: auto;
}

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

.eyebrow,
.section-kicker {
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.hero {
  padding-block: clamp(4.3rem, 9vw, 7.5rem) clamp(3rem, 5vw, 4.6rem);
}

.hero-copy {
  margin-top: 1rem;
}

.hero-intro {
  max-width: 620px;
  margin-top: 1.5rem;
  color: var(--body);
  font-size: clamp(1.08rem, 2.6vw, 1.4rem);
  line-height: 1.45;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.86rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  cursor: pointer;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.button-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 7px 18px rgba(39, 83, 68, 0.18);
}

.button-primary:hover {
  background: var(--accent-deep);
  box-shadow: 0 10px 22px rgba(39, 83, 68, 0.22);
  transform: translateY(-1px);
}

.button-primary:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(61, 121, 99, 0.24), 0 10px 22px rgba(39, 83, 68, 0.18);
}

.button-primary:disabled {
  cursor: wait;
  background: #71847a;
  box-shadow: none;
  transform: none;
}

.hero-cta {
  width: 100%;
  margin-top: 1.8rem;
}

.request-section {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--soft);
}

.request-layout {
  display: grid;
  gap: 1.55rem;
  padding-block: clamp(2.8rem, 5.6vw, 4.45rem);
}

.request-intro h2 {
  max-width: 400px;
  margin-top: 0.5rem;
  font-size: clamp(1.7rem, 3.1vw, 2.45rem);
  line-height: 1.12;
}

.request-intro > p:last-child {
  max-width: 400px;
  margin-top: 0.75rem;
  color: var(--body);
}

.form-card {
  padding: 1.15rem;
  border: 1px solid #d4ddd5;
  border-radius: 0.78rem;
  background: var(--surface);
  box-shadow: 0 10px 28px rgba(28, 40, 34, 0.055);
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

.field {
  min-width: 0;
}

label {
  display: inline-block;
  color: var(--ink);
  font-size: 0.88rem;
  font-weight: 670;
  line-height: 1.3;
}

.form-card input,
.form-card select {
  width: 100%;
  min-height: 3rem;
  margin-top: 0.5rem;
  border: 0;
  border-bottom: 1px solid #bdc9bf;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  outline: none;
  padding: 0.62rem 0.08rem;
}

input::placeholder {
  color: #87928b;
}

.form-card input:hover,
.form-card select:hover {
  border-color: #aab8ad;
}

.form-card input:focus,
.form-card select:focus {
  border-color: var(--focus);
  box-shadow: 0 2px 0 rgba(61, 121, 99, 0.22);
}

.field.is-invalid input,
.field.is-invalid select {
  border-color: var(--error);
}

.field-error {
  min-height: 0;
  margin-top: 0;
  color: var(--error);
  font-size: 0.8rem;
  line-height: 1.35;
}

.field.is-invalid .field-error {
  margin-top: 0.32rem;
}

.field-help {
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.42;
}

.field-help {
  margin-top: 0.34rem;
  font-size: 0.76rem;
}

.phone-control {
  display: grid;
  grid-template-columns: clamp(9.5rem, 35%, 10.5rem) minmax(0, 1fr);
  margin-top: 0.42rem;
  border-bottom: 1px solid #bdc9bf;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.phone-control select,
.phone-control input {
  min-height: 3rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-control select {
  border-right: 1px solid #e0e7e1;
  border-bottom: 1px solid #e0e7e1;
  color: #35433b;
  font-size: 0.88rem;
  padding-left: 0.08rem;
}

.phone-control input {
  padding-inline: 0.8rem 0.08rem;
}

.phone-control select:hover,
.phone-control input:hover {
  border-color: transparent;
}

.phone-control:focus-within {
  border-color: var(--focus);
  box-shadow: 0 2px 0 rgba(61, 121, 99, 0.22);
}

.phone-control select:focus,
.phone-control input:focus {
  box-shadow: none;
}

.field.is-invalid .phone-control {
  border-color: var(--error);
  box-shadow: 0 2px 0 rgba(166, 45, 45, 0.14);
}

.field.is-invalid .phone-control select,
.field.is-invalid .phone-control input {
  border-color: transparent;
}

.manual-code {
  margin-top: 0.75rem;
}

.form-submit {
  width: 100%;
  min-height: 3.35rem;
  margin-top: 0.95rem;
  border-radius: 0.48rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.form-submission-notice {
  margin-top: 0.75rem;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
}

.form-submission-notice a {
  color: var(--accent);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.form-submission-notice a:hover {
  color: var(--accent-deep);
}

.noscript-message {
  margin-top: 1rem;
  color: var(--error);
  font-size: 0.86rem;
  text-align: center;
}

.success-state {
  padding: 1.35rem 0.45rem 0.5rem;
  text-align: center;
}

.success-mark {
  display: inline-grid;
  width: 2.6rem;
  height: 2.6rem;
  place-items: center;
  border-radius: 50%;
  background: #e3efe8;
  color: var(--accent-deep);
  font-size: 1.4rem;
  font-weight: 800;
}

.success-state h3 {
  margin-top: 1rem;
  font-size: 1.38rem;
}

.success-state p {
  max-width: 390px;
  margin: 0.55rem auto 0;
}

.objections-section {
  padding-block: clamp(2.6rem, 5.5vw, 4.1rem) clamp(2.6rem, 5vw, 3.65rem);
}

.objection-list {
  display: grid;
  gap: 1.35rem;
}

.objection {
  display: grid;
  grid-template-columns: 1.3rem minmax(0, 1fr);
  gap: 0.72rem;
  align-items: start;
}

.objection-mark {
  display: grid;
  width: 1.25rem;
  height: 1.25rem;
  place-items: center;
  margin-top: 0.05rem;
  border: 1px solid #b9cdc0;
  border-radius: 50%;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
}

.objection p {
  max-width: 350px;
  margin-top: 0.45rem;
  font-size: 0.93rem;
}

.testimonials-section {
  padding-block: clamp(3.75rem, 9vw, 6.25rem);
  border-top: 1px solid var(--line);
  background: #f5f7f4;
}

.section-heading {
  max-width: 570px;
}

.section-heading h2 {
  margin-top: 0.65rem;
}

.testimonial-grid {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.68);
}

.testimonial-card blockquote {
  color: #36443c;
  font-size: 0.94rem;
  line-height: 1.58;
}

.testimonial-card figcaption {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 700;
}

.testimonial-disclaimer {
  max-width: 765px;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.5;
}

.site-footer {
  background: #1e2c25;
  color: #dce6de;
}

.footer-content {
  padding-block: 2.2rem 1.55rem;
}

.general-disclaimer {
  max-width: 780px;
  color: #d7e0d8;
  font-size: 0.82rem;
  line-height: 1.5;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.9rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(220, 230, 222, 0.22);
  color: #b8c7bb;
  font-size: 0.78rem;
}

.footer-bottom nav {
  display: flex;
  gap: 1.15rem;
}

.footer-bottom a {
  color: #fff;
  text-underline-offset: 0.2em;
}

.footer-bottom a:hover {
  color: #bfe0cb;
}

html.is-modal-open,
body.is-modal-open {
  overflow: hidden;
}

.legal-modal {
  width: min(calc(100% - 3rem), 46rem);
  max-width: 46rem;
  max-height: min(calc(100dvh - 4rem), 52rem);
  margin: auto;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 0.8rem;
  background: var(--surface);
  color: var(--body);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.legal-modal::backdrop {
  background: rgba(18, 34, 27, 0.46);
}

.legal-modal[open] {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
}

.legal-modal__frame {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 0;
}

.legal-modal__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem 0.8rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.legal-modal__title {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-modal__close {
  display: grid;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.7rem;
  line-height: 1;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.legal-modal__close:hover {
  border-color: var(--accent);
  background: var(--soft);
  color: var(--accent-deep);
}

.legal-modal__close:focus-visible {
  outline: 3px solid rgba(61, 121, 99, 0.3);
  outline-offset: 2px;
}

.legal-modal__content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 1.15rem 1.2rem 1.35rem;
}

.legal-modal__content .legal-content {
  width: auto;
  margin: 0;
  padding: 0;
}

.legal-modal__content .legal-content h1 {
  display: none;
}

.legal-modal__content .legal-panel:first-of-type {
  margin-top: 0;
}

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

.legal-page {
  min-height: 100vh;
  background: var(--canvas);
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-header .section-shell {
  display: flex;
  align-items: center;
  min-height: 4.5rem;
}

.brand-link {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.brand-link:hover {
  color: var(--accent);
}

.legal-content {
  width: min(100% - 2.5rem, 45rem);
  margin-inline: auto;
  padding-block: clamp(3.5rem, 9vw, 6rem);
}

.legal-content h1 {
  font-size: clamp(2.25rem, 7vw, 4rem);
}

.legal-content > p:first-of-type {
  margin-top: 1rem;
  color: var(--muted);
}

.legal-panel {
  margin-top: 2rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: var(--surface);
}

.legal-panel + .legal-panel {
  margin-top: 1rem;
}

.legal-panel h2 {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.legal-panel p,
.legal-panel address {
  margin-top: 0.65rem;
  color: var(--body);
  font-style: normal;
}

.placeholder {
  color: var(--muted);
  font-style: italic;
}

@media (min-width: 38rem) {
  .hero-cta {
    width: auto;
    min-width: 15.5rem;
  }

  .form-card {
    padding: 1.45rem;
  }

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

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

  .phone-control select,
  .phone-control input {
    margin: 0;
  }

  .phone-control select {
    border-bottom: 0;
  }
}

@media (max-width: 37.99rem) {
  .legal-modal {
    width: calc(100% - 1.25rem);
    max-width: none;
    max-height: calc(100dvh - 1.25rem);
    border-radius: 0.72rem;
  }

  .legal-modal__header {
    padding: 0.8rem 0.8rem 0.75rem 1rem;
  }

  .legal-modal__content {
    padding: 1rem 1rem 1.2rem;
  }
}

@media (min-width: 52rem) {
  .section-shell {
    width: min(100% - 5rem, 70rem);
  }

  .request-layout {
    grid-template-columns: minmax(0, 0.6fr) minmax(27rem, 1.2fr);
    align-items: start;
    gap: clamp(2.35rem, 4.2vw, 4rem);
  }

  .request-intro {
    padding-top: 1.15rem;
  }

  .objection-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.65rem;
  }

  .objection {
    min-height: 0;
  }

  .testimonial-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .testimonial-card {
    padding: 1.55rem;
  }
}

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

  .button {
    transition: none;
  }
}
