:root {
  color-scheme: light;
  --ink: #172922;
  --deep: #13241d;
  --deepest: #0f1d17;
  --white: #fcfbf5;
  --paper: #f6f5ee;
  --line: #dedfd4;
  --muted: #4b5a51;
  --accent: #d6ef9a;
  --font: "DM Sans", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.55 var(--font); }
body:has(dialog[open]) { overflow: hidden; }
a { color: inherit; }
button, input { font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #638849; outline-offset: 4px; }
.shell { width: min(1216px, calc(100% - 104px)); margin-inline: auto; }
.skip { position: absolute; z-index: 4; top: .5rem; left: .5rem; padding: .7rem 1rem; background: var(--accent); transform: translateY(-180%); }
.skip:focus { transform: none; }
.site-header { background: var(--deep); color: var(--white); border-bottom: 1px solid #35443b; }
.header-inner { min-height: 79px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; width: fit-content; text-decoration: none; font-size: 25px; line-height: 1; font-weight: 700; letter-spacing: -.075em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: var(--accent); color: var(--deep); font: 700 23px/1 var(--font); }
.brand-mark span { transform: translateY(-1px); }
.brand-domain { color: var(--accent); }
nav { display: flex; align-items: center; gap: clamp(18px, 3.4vw, 44px); }
nav > a { text-decoration: none; font-size: 14px; font-weight: 600; }
nav > a:not(.button):hover, .powered a:hover { color: var(--accent); }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 22px; min-height: 53px; padding: 11px 19px; border: 1px solid transparent; border-radius: 8px; text-decoration: none; font-weight: 700; line-height: 1.25; cursor: pointer; transition: background-color 160ms, color 160ms, border-color 160ms; }
.button span { font-size: 17px; }
.button-small { min-height: 42px; padding: 8px 13px; gap: 12px; }
.button-outline { border-color: #607266; }
.button-outline:hover { background: #2e4436; border-color: #a8b7a8; }
.button-accent { background: var(--accent); color: var(--deep); }
.button-accent:hover { background: #e5f8bd; }
.button-dark { background: var(--deep); color: var(--white); }
.button-dark:hover { background: #314a3a; }
.button-secondary { color: var(--ink); background: transparent; border-color: #adbaa9; }
.button-secondary:hover { background: #e8eee1; }
.button:disabled { cursor: wait; opacity: .65; }
.button-full { width: 100%; justify-content: space-between; }

.hero { position: relative; isolation: isolate; background: var(--deep); color: var(--white); }
.hero-inner { position: relative; display: flex; align-items: center; min-height: clamp(515px, 47vw, 670px); padding-block: 76px 86px; }
.hero-copy { max-width: 680px; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 9px; font-size: 11px; line-height: 1.4; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow > span { width: 8px; height: 8px; border-radius: 50%; background: #71914f; flex: 0 0 auto; }
.hero-eyebrow { color: #e1ebda; }
.hero-eyebrow > span { background: var(--accent); }
.hero h1 { margin: 22px 0 24px; font: 400 clamp(68px, 8.1vw, 122px)/.86 var(--serif); letter-spacing: -.042em; }
.hero h1 em { color: var(--accent); font-weight: 400; }
.hero-summary { max-width: 470px; margin: 0 0 25px; color: #f3f7ee; font-size: clamp(17px, 2vw, 21px); line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-actions .button-outline { border-color: #a9b6a5; background: #15271dd9; }
.hero-actions .button-outline:hover { background: #344c3c; }
.powered { margin: 18px 0 0; color: #e1ebda; font-size: 13px; }
.powered a { color: var(--white); font-weight: 700; text-underline-offset: .16em; }
.hero-image { position: absolute; z-index: -1; inset: 0; margin: 0; background: #385445; }
.hero-image img, .hero-image::before { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image img { object-fit: cover; object-position: 58% 51%; }
.hero-image::before { z-index: 1; content: ""; background: linear-gradient(90deg, #0d2018f7 0%, #12261ddc 34%, #12261d8f 56%, #10251a16 100%), linear-gradient(0deg, #10251ab0, transparent 32%); }
.hero-image figcaption { position: absolute; z-index: 2; right: clamp(18px, 4vw, 58px); bottom: 16px; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-shadow: 0 1px 8px #0d1710; }

.services { padding-block: 72px 82px; }
.section-top { display: flex; justify-content: space-between; align-items: end; gap: 26px; margin-bottom: 29px; }
h2 { margin: 10px 0 0; font: 400 clamp(46px, 5.6vw, 78px)/.98 var(--serif); letter-spacing: -.02em; }
.section-top > p { max-width: 365px; margin: 0 0 4px; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.card { display: flex; flex-direction: column; min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); transition: border-color 160ms, box-shadow 160ms; }
.card:hover, .card:focus-within { border-color: #809274; box-shadow: 0 8px 20px #22351b0b; }
.service-icon { position: relative; display: grid; place-items: center; width: 43px; height: 43px; margin-bottom: 16px; border-radius: 10px; color: #36543e; background: #e8eedf; }
.service-icon::before, .service-icon::after { content: ""; display: block; position: absolute; }
.icon-file::before, .icon-stack::before { width: 15px; height: 19px; border: 1.5px solid currentColor; border-radius: 2px; }
.icon-file::after { width: 7px; height: 5px; border-block: 1.5px solid currentColor; }
.icon-stack::before { transform: translate(-2px, -2px); background: #e8eedf; z-index: 1; }
.icon-stack::after { width: 15px; height: 19px; border: 1.5px solid currentColor; border-radius: 2px; transform: translate(2px, 2px); }
.icon-shield::before { width: 16px; height: 18px; border: 1.5px solid currentColor; border-radius: 3px 3px 8px 8px; }
.icon-shield::after { width: 7px; height: 4px; border-left: 1.5px solid; border-bottom: 1.5px solid; transform: translateY(-1px) rotate(-45deg); }
.icon-pardon::before { width: 13px; height: 13px; border: 1.5px solid currentColor; border-radius: 50%; transform: translateY(-3px); }
.icon-pardon::after { width: 10px; height: 8px; border-inline: 1.5px solid; transform: translateY(6px); }
.card h3 { margin: 0; max-width: 12em; font-size: clamp(17px, 1.75vw, 23px); font-weight: 700; line-height: 1.13; letter-spacing: -.045em; }
.card > p { margin: 11px 0 25px; color: var(--muted); font-size: 14px; line-height: 1.45; }
.card-bottom { margin-top: auto; }
.price { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: baseline; font-size: 35px; font-weight: 700; line-height: 1; letter-spacing: -.07em; }
.price small { color: var(--muted); font-size: 12px; font-weight: 600; letter-spacing: 0; }
.card-action { display: flex; justify-content: space-between; align-items: center; margin-top: 17px; border-top: 1px solid var(--line); padding: 12px 0 0; color: #254c36; font-size: 14px; font-weight: 700; text-decoration: none; }
.card-action:hover, .text-link:hover { text-decoration: underline; text-underline-offset: .2em; }
.card-action span { font-size: 17px; }

.questions { border-block: 1px solid #dae1d3; background: #ebefe4; padding-block: 69px 74px; }
.questions-inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 38px; }
.section-note { max-width: 290px; margin-bottom: 0; color: var(--muted); }
.faq-list { border-top: 1px solid #bfc9ba; }
details { border-bottom: 1px solid #bfc9ba; }
summary { display: flex; justify-content: space-between; align-items: center; min-height: 64px; gap: 12px; cursor: pointer; list-style: none; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: #395b43; font-size: 22px; font-weight: 500; }
details[open] summary::after { content: "−"; }
details p { margin: 0 0 18px; color: #3c5143; }
details a { text-underline-offset: .18em; white-space: normal; }

.contact { padding-block: 67px; }
.contact-panel { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: clamp(25px, 5vw, 57px); border-radius: 15px; background: var(--accent); }
.contact-panel h2 { font-size: clamp(43px, 5.2vw, 69px); }
.contact-panel p:not(.eyebrow) { margin: 11px 0 0; }
.contact-actions { flex: 0 0 auto; display: grid; gap: 12px; }
.text-link { text-align: center; font-size: 14px; font-weight: 700; text-decoration: none; }
.site-footer { padding-block: 38px 21px; background: var(--deepest); color: var(--white); }
.footer-main { display: flex; align-items: start; justify-content: space-between; gap: 23px; }
.footer-main p, .footer-legal { color: #b6c6b8; font-size: 13px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 13px; }
.footer-links a { text-underline-offset: .2em; }
.footer-legal { margin: 15px 0 0; padding-top: 15px; border-top: 1px solid #3c4a40; }

dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #bac3b5; border-radius: 14px; background: var(--white); color: var(--ink); box-shadow: 0 22px 85px #0f1d1758; }
dialog::backdrop { background: #0c1c13ba; }
.dialog-inner { position: relative; padding: clamp(20px, 5vw, 34px); }
.dialog-inner .eyebrow { padding-right: 30px; }
.dialog-inner h2 { font-size: clamp(39px, 7vw, 53px); }
.dialog-close { position: absolute; top: 13px; right: 13px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: #e9ede3; color: var(--ink); cursor: pointer; font-size: 27px; line-height: 1; }
.dialog-close:hover { background: #dce6d4; }
.dialog-description { margin: 15px 0 19px; color: var(--muted); }
.order-summary { border-block: 1px solid var(--line); margin-bottom: 17px; }
#quantity-label { display: grid; align-items: center; grid-template-columns: 1fr auto; padding: 11px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
#quantity-label input { grid-row: span 2; width: 68px; padding: 6px 8px; border: 1px solid #acb5a7; border-radius: 6px; background: #fff; }
#quantity-label span { color: var(--muted); font-size: 13px; font-weight: 400; }
.order-total { display: flex; justify-content: space-between; align-items: baseline; padding: 8px 0; font-weight: 700; }
.order-total output { font-size: 23px; }
.form-note { color: var(--muted); font-size: 13px; line-height: 1.5; }
#checkout-status:not([hidden]) { margin-block: 11px; }
.intake-fields, .wizard fieldset { min-width: 0; margin: 0; padding: 0; border: 0; }
.intake-fields { margin-bottom: 19px; }
.intake-fields legend, .wizard legend { color: var(--ink); font-weight: 700; }
.intake-fields p { color: var(--muted); font-size: 14px; margin: 3px 0 10px; }
.intake-fields label { display: grid; gap: 5px; margin-bottom: 9px; font-size: 14px; font-weight: 600; }
.intake-fields input, #quantity-label input { border: 1px solid #9daf9e; border-radius: 7px; padding: 8px 10px; background: #fff; }
.subpage { max-width: 780px; padding-block: clamp(36px, 8vw, 80px); }
.subpage h1 { margin: 10px 0 14px; font: 400 clamp(51px, 9vw, 82px)/.95 var(--serif); letter-spacing: -.03em; }
.page-intro { max-width: 620px; color: var(--muted); font-size: 18px; margin: 0 0 23px; }
.wizard { margin-top: 22px; padding: clamp(18px, 5vw, 34px); border: 1px solid #cad4c4; border-radius: 16px; background: var(--white); }
.wizard legend { font-size: clamp(18px, 3.4vw, 25px); line-height: 1.22; }
.question-help { margin: 8px 0 10px; color: var(--muted); font-size: 14px; }
.wizard-options { display: grid; gap: 8px; margin-block: 15px; }
.wizard-options label { display: flex; align-items: flex-start; gap: 10px; padding: 11px 13px; border: 1px solid #cfd7c8; border-radius: 8px; cursor: pointer; }
.wizard-options label:hover, .wizard-options label:has(:checked) { background: #edf3e6; border-color: #638849; }
.wizard-options input { flex: none; margin: 4px 0 0; accent-color: #335744; }
.wizard summary { min-height: 42px; font-size: 14px; }
.wizard-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 17px; }
.wizard h2 { font-size: clamp(43px, 7vw, 64px); }
.result-icon { display: grid; place-items: center; width: 78px; height: 78px; border: 2px solid #9dc15d; border-radius: 50%; color: #234235; background: var(--accent); font-size: 51px; line-height: 1; animation: success 570ms cubic-bezier(.21, .74, .27, 1.2) both; }
@keyframes success { from { opacity: 0; transform: scale(.45) rotate(-18deg); } to { opacity: 1; transform: scale(1); } }
.exceptions-copy h2 { margin-top: 23px; font-size: clamp(31px, 5vw, 42px); }
.exceptions-copy p { color: var(--muted); }
.exceptions-copy + .button { margin-top: 10px; }
@media (max-width: 1040px) {
  .shell { width: calc(100% - 64px); }
  .card { padding: 18px; }
}
@media (max-width: 790px) {
  .hero h1 { font-size: clamp(56px, 9vw, 82px); }
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card h3 { font-size: 22px; }
}
@media (max-width: 600px) {
  .shell { width: calc(100% - 36px); }
  .header-inner { min-height: 65px; gap: 10px; }
  .brand { gap: 7px; font-size: 21px; }
  .brand-mark { width: 29px; height: 29px; font-size: 20px; }
  nav { gap: 13px; }
  nav > a { font-size: 13px; }
  nav .button { display: none; }
  .hero-inner { min-height: 550px; padding-block: 62px 61px; }
  .hero h1 { font-size: clamp(56px, 13vw, 80px); }
  .hero-image img { object-position: 62% center; }
  .hero-image::before { background: linear-gradient(90deg, #0e2219ed, #12261da8 75%, #10251a66), linear-gradient(0deg, #10251aab, transparent 36%); }
  .hero-image figcaption { right: 18px; bottom: 11px; font-size: 9px; }
  .hero-actions .button { min-height: 48px; gap: 10px; }
  .site-header nav > a[href="#services"] { display: none; }
  .services, .questions, .contact { padding-block: 45px; }
  .section-top, .footer-main, .contact-panel { flex-direction: column; align-items: start; }
  .section-top { gap: 11px; margin-bottom: 20px; }
  .service-grid { gap: 9px; }
  .card { padding: 13px; }
  .card h3 { font-size: 18px; }
  .card > p { font-size: 13px; margin-bottom: 17px; }
  .price { font-size: 29px; }
  .price small { font-size: 11px; }
  .questions-inner { grid-template-columns: 1fr; gap: 23px; }
  .contact-actions { width: 100%; }
  .footer-main { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

@media (max-width: 360px) {
  .shell { width: calc(100% - 28px); }
  .brand { font-size: 19px; }
  .card-action { gap: 5px; }
}

.eligibility-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}
.eligibility-heading .button { flex: none; }
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px 12px;
}
.form-grid input { width: 100%; }
.cart-items { list-style: none; margin: 16px 0; padding: 0; }
.cart-items li { border-top: 1px solid var(--line); padding: 12px 0; }
.cart-items li p { color: var(--muted); margin: 3px 0; }
.cart-items li p:empty { display: none; }
.cart-items li button { margin: 7px 7px 0 0; }
.cart-total { font-size: 19px; font-weight: 700; }
.retainer-terms { border-top: 1px solid var(--line); margin-top: 18px; padding-top: 10px; }
.retainer-terms h3 { margin: 8px 0; }
.retainer-terms p { margin: 8px 0; }
.retainer-consent { display: flex; align-items: start; gap: 9px; font-weight: 600; margin-top: 17px; }
.retainer-consent input { margin: 5px 0 0; accent-color: #335744; }
.payment-options { display: grid; }
#retainer-pdf { text-underline-offset: .16em; }
@media (max-width: 540px) {
  .form-grid { grid-template-columns: 1fr; }
}
