:root {
  --ink: #17211c;
  --muted: #66746d;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #d9dfd9;
  --green: #1f6f4a;
  --green-dark: #12452f;
  --clay: #b85f34;
  --gold: #d9a441;
  --shadow: 0 24px 70px rgba(23, 33, 28, 0.14);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(110deg, rgba(251, 250, 246, 0.98), rgba(251, 250, 246, 0.82)),
    url("data:image/svg+xml,%3Csvg width='1400' height='900' viewBox='0 0 1400 900' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1400' height='900' fill='%23d9dfd9'/%3E%3Cg fill='none' stroke='%23fff' stroke-width='22' stroke-linecap='round'%3E%3Cpath d='M-50 180 C240 130 420 260 710 210 S1150 115 1470 170'/%3E%3Cpath d='M-80 530 C260 490 430 640 720 575 S1140 455 1480 520'/%3E%3Cpath d='M320 -80 C290 150 380 345 350 560 S315 770 390 980'/%3E%3Cpath d='M910 -70 C850 145 920 350 880 560 S840 765 900 980'/%3E%3C/g%3E%3Cg fill='%23fff' stroke='%23c8d0c9' stroke-width='4'%3E%3Crect x='430' y='255' width='155' height='96' rx='8'/%3E%3Crect x='615' y='270' width='150' height='92' rx='8'/%3E%3Crect x='790' y='245' width='165' height='104' rx='8'/%3E%3Crect x='470' y='590' width='160' height='98' rx='8'/%3E%3Crect x='660' y='610' width='148' height='90' rx='8'/%3E%3Crect x='835' y='585' width='168' height='102' rx='8'/%3E%3C/g%3E%3Cg fill='%231f6f4a'%3E%3Ccircle cx='712' cy='412' r='18'/%3E%3Cpath d='M712 385c-38 0-69 31-69 69 0 52 69 123 69 123s69-71 69-123c0-38-31-69-69-69zm0 97a28 28 0 1 1 0-56 28 28 0 0 1 0 56z' opacity='.88'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  display: grid;
  min-height: 100vh;
  padding: 28px 40px;
}

.brand-row,
.brand,
.search-row,
.fee-grid,
.signup-panel,
footer {
  display: flex;
  align-items: center;
}

.brand-row {
  justify-content: space-between;
  gap: 20px;
}

.brand,
.email-link {
  text-decoration: none;
}

.brand {
  gap: 10px;
  font-weight: 780;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
}

.email-link {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 750;
}

.hero {
  align-self: center;
  width: min(100%, 980px);
  margin: 58px auto 42px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 860px;
  margin: 0 auto 20px;
  font-size: clamp(44px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.lede {
  max-width: 710px;
  margin: 0 auto 34px;
  color: #34423b;
  font-size: 20px;
  line-height: 1.5;
}

.search-card,
.result-card {
  width: min(100%, 820px);
  margin: 0 auto;
  padding: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(217, 223, 217, 0.88);
  border-radius: 8px;
  box-shadow: var(--shadow);
  text-align: left;
}

.address-label {
  display: block;
  margin: 0 0 9px 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 780;
}

.search-wrap {
  position: relative;
}

.search-row {
  gap: 10px;
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

input,
select {
  height: 58px;
  padding: 0 18px;
  font-size: 18px;
}

textarea {
  padding: 14px 18px;
  resize: vertical;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.primary {
  background: var(--green);
  color: #fff;
}

.hint {
  margin: 12px 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.suggestions {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  left: 0;
  z-index: 5;
  margin: 0;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  list-style: none;
}

.suggestions li {
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--ink);
  cursor: pointer;
}

.suggestions li + li {
  margin-top: 2px;
}

.suggestions li:hover,
.suggestions li[aria-selected="true"] {
  background: #eef5f0;
}

.result-card {
  margin-top: 18px;
}

.result-topline {
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.result-card h2 {
  margin: 8px 0 16px;
  font-size: clamp(24px, 4vw, 34px);
}

.range-box {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: #eef5f0;
  border: 1px solid #d3e1d7;
  border-radius: 8px;
  color: var(--green-dark);
  text-align: center;
}

.range-box span:not(.range-divider) {
  font-size: clamp(48px, 10vw, 86px);
  font-weight: 880;
  line-height: 1;
}

.range-divider {
  color: var(--muted);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.range-copy,
.signup-panel p,
footer {
  color: var(--muted);
  line-height: 1.5;
}

.range-copy {
  margin: 14px 0 18px;
}

.signup-panel {
  justify-content: space-between;
  gap: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.signup-panel strong {
  display: block;
  margin-bottom: 4px;
}

.signup-panel p {
  margin: 0;
}

.signup-form {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfdfb;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.signup-form label {
  display: grid;
  gap: 7px;
  color: #2d3a34;
  font-size: 13px;
  font-weight: 780;
}

.signup-form input,
.signup-form select {
  height: 46px;
  font-size: 15px;
}

.agreement-stack {
  display: grid;
  gap: 10px;
}

.agreement-stack details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.agreement-stack summary {
  padding: 13px 14px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 850;
  cursor: pointer;
}

.terms-copy {
  display: grid;
  gap: 10px;
  max-height: 210px;
  overflow: auto;
  padding: 0 14px 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.terms-copy p {
  margin: 0;
}

.checkbox-label {
  grid-template-columns: auto 1fr;
  align-items: start;
}

.checkbox-label input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
}

.signup-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.fee-panel {
  margin: 0 auto;
  width: min(100%, 920px);
  padding: 22px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.fee-kicker {
  margin: 0 0 14px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fee-grid {
  justify-content: center;
  gap: 1px;
}

.fee-grid div {
  display: grid;
  gap: 4px;
  flex: 1;
  min-height: 88px;
  padding: 18px;
  background: #f7faf8;
  border: 1px solid var(--line);
}

.fee-grid div:first-child {
  border-radius: 8px 0 0 8px;
}

.fee-grid div:last-child {
  border-radius: 0 8px 8px 0;
}

.fee-grid strong {
  color: var(--green-dark);
  font-size: 26px;
}

.fee-grid span {
  color: var(--muted);
}

footer {
  justify-content: space-between;
  gap: 24px;
  margin-top: auto;
  padding-top: 42px;
  font-size: 13px;
}

[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .page-shell {
    padding: 22px 18px;
  }

  .brand-row,
  .search-row,
  .signup-panel,
  .form-row,
  footer {
    align-items: stretch;
    display: grid;
  }

  .email-link {
    display: none;
  }

  .hero {
    margin-top: 44px;
  }

  h1 {
    font-size: 44px;
  }

  .lede {
    font-size: 18px;
  }

  .fee-grid {
    display: grid;
  }

  .fee-grid div:first-child {
    border-radius: 8px 8px 0 0;
  }

  .fee-grid div:last-child {
    border-radius: 0 0 8px 8px;
  }

  .range-box {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}
