:root {
  --bg: #ece8df;
  --bg-soft: #f4f1ea;
  --bg-deep: #22352e;
  --panel: rgba(247, 244, 238, 0.86);
  --panel-strong: #f7f4ee;
  --text: #22352e;
  --muted: #5d6d66;
  --accent: #9b7b55;
  --accent-dark: #7c6243;
  --line: rgba(34, 53, 46, 0.12);
  --success: #4f6a5e;
  --shadow: 0 24px 60px rgba(33, 44, 39, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(155, 123, 85, 0.16), transparent 28%),
    linear-gradient(180deg, #f1ede5 0%, var(--bg) 54%, #e5e0d6 100%);
}

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

.page-shell {
  min-height: 100vh;
}

.hero {
  padding: 24px clamp(20px, 4vw, 56px) 48px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 40px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--muted);
  font-weight: 600;
}

.brand {
  font-family: "Fraunces", serif;
  font-size: 1.4rem;
  font-weight: 700;
}

.nav-cta {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(247, 244, 238, 0.78);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.benefit-card,
.spotlight-panel,
.process article,
.cta-band {
  backdrop-filter: blur(14px);
}

.hero-copy {
  padding: clamp(28px, 4vw, 52px);
  border-radius: 32px;
  background: linear-gradient(145deg, rgba(247, 244, 238, 0.95), rgba(238, 233, 224, 0.92));
  color: var(--text);
  box-shadow: var(--shadow);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.hero-copy h1,
.section-heading h2,
.spotlight-copy h2,
.cta-band h2,
.hero-card h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.02;
}

.hero-copy h1 {
  font-size: clamp(2.7rem, 6vw, 5.6rem);
  max-width: 11ch;
}

.hero-text {
  max-width: 60ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border-radius: 16px;
  border: 1px solid transparent;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  background: var(--bg-deep);
  color: var(--panel-strong);
}

.button-primary:hover {
  background: #182722;
}

.button-secondary {
  border-color: rgba(34, 53, 46, 0.14);
  background: rgba(247, 244, 238, 0.72);
  color: var(--text);
}

.button-full {
  width: 100%;
}

.hero-points {
  display: grid;
  gap: 12px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.hero-points li {
  padding-left: 30px;
  position: relative;
  color: var(--text);
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(180deg, #ccb089, var(--accent));
}

.hero-card {
  padding: 28px;
  border-radius: 28px;
  background: var(--panel);
  border: 1px solid rgba(255, 255, 255, 0.55);
  box-shadow: var(--shadow);
}

.card-kicker {
  margin: 0 0 10px;
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-card h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
}

.estimate-form {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.estimate-form label {
  display: grid;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.estimate-form select {
  width: 100%;
  min-height: 50px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
  font: inherit;
  color: var(--text);
}

.estimate-form input,
.estimate-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fffdf9;
  font: inherit;
  color: var(--text);
}

.estimate-form textarea {
  min-height: 112px;
  resize: vertical;
}

.consent-field {
  grid-template-columns: 20px 1fr;
  align-items: start;
}

.consent-field input {
  width: 18px;
  min-height: 18px;
  margin-top: 3px;
  padding: 0;
}

.income-helper {
  padding: 16px;
  border-radius: 16px;
  background: rgba(244, 241, 234, 0.9);
  border: 1px solid var(--line);
}

.income-helper-title {
  margin: 0;
  font-weight: 800;
}

.income-helper-text {
  margin: 8px 0 0;
  color: var(--muted);
  line-height: 1.6;
}

.income-helper-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--bg-deep);
  font-weight: 800;
}

.income-helper-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.income-mini-table {
  margin-top: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255, 253, 249, 0.8);
}

.income-mini-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}

.income-mini-row:last-child {
  border-bottom: none;
}

.income-mini-head {
  background: rgba(34, 53, 46, 0.05);
  font-weight: 800;
}

.microcopy {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

.estimate-result {
  display: none;
  margin-top: 18px;
  padding: 16px;
  border-radius: 18px;
  background: var(--bg-soft);
  color: var(--text);
}

.estimate-result.is-visible {
  display: block;
}

.trust-strip {
  padding: 0 clamp(20px, 4vw, 56px);
}

.trust-strip p {
  margin: 0;
  padding: 18px 24px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
}

.section {
  padding: 76px clamp(20px, 4vw, 56px);
}

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

.section-heading h2,
.spotlight-copy h2,
.cta-band h2 {
  font-size: clamp(2rem, 4vw, 3.6rem);
}

.benefit-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.funding-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 20px;
  margin-top: 28px;
}

.funding-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(247, 244, 238, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.funding-card-primary {
  background: linear-gradient(135deg, #22352e, #3c5149);
  color: #f7f4ee;
  box-shadow: var(--shadow);
}

.funding-kicker {
  margin: 0 0 10px;
  color: #d8c19a;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.funding-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  line-height: 1.1;
}

.availability-meter {
  height: 18px;
  margin-top: 22px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.availability-meter-fill {
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #d8c19a, #f2e1bf);
}

.availability-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.availability-stats strong,
.availability-stats span {
  display: block;
}

.availability-stats strong {
  font-size: 1.6rem;
}

.availability-stats span {
  margin-top: 6px;
  color: rgba(247, 244, 238, 0.78);
}

.availability-table {
  width: 100%;
  border-collapse: collapse;
}

.availability-table caption {
  margin-bottom: 12px;
  text-align: left;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.availability-table th,
.availability-table td {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.availability-table th {
  width: 42%;
  color: var(--text);
  font-size: 0.92rem;
}

.availability-table td {
  color: var(--muted);
}

.income-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 20px;
  margin-top: 28px;
}

.income-card {
  padding: 24px;
  border-radius: 24px;
  background: rgba(247, 244, 238, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.table-wrap + .table-wrap {
  margin-top: 18px;
}

.income-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.income-table caption {
  margin-bottom: 12px;
  text-align: left;
  font-family: "Fraunces", serif;
  font-size: 1.1rem;
  font-weight: 700;
}

.income-table th,
.income-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.income-table th {
  color: var(--text);
  font-size: 0.84rem;
}

.income-table td {
  color: var(--muted);
}

.benefit-card,
.process article,
.testimonial-card,
.faq-item {
  padding: 24px;
  border-radius: 24px;
  background: rgba(247, 244, 238, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.6);
}

.benefit-card h3,
.process h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.benefit-card p,
.process p,
.spotlight-copy p {
  margin: 0;
  line-height: 1.7;
  color: var(--muted);
}

.spotlight {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 22px;
  align-items: center;
}

.spotlight-panel {
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: 30px;
  background: linear-gradient(180deg, #f7f4ee, #ebe5db);
  box-shadow: var(--shadow);
}

.metric {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(34, 53, 46, 0.08);
}

.metric strong,
.process article span {
  display: block;
}

.metric strong {
  font-size: 1.15rem;
}

.metric span {
  margin-top: 6px;
  color: var(--muted);
}

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

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

.quote {
  margin: 0;
  line-height: 1.8;
  color: var(--text);
  font-size: 1.02rem;
}

.author {
  margin: 18px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.faq-item {
  background: rgba(247, 244, 238, 0.72);
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 800;
  padding-right: 28px;
  position: relative;
}

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

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 0;
  color: var(--accent);
  font-size: 1.4rem;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 14px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.process article span {
  margin-bottom: 16px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--accent);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-radius: 32px;
  background: linear-gradient(135deg, #22352e, #3c5149);
  color: #f7f4ee;
  box-shadow: var(--shadow);
}

.cta-band .eyebrow {
  color: #d8c19a;
}

.dossier-section {
  padding-top: 32px;
}

.audit-showcase {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 20px;
  margin-top: 28px;
  margin-bottom: 22px;
}

.audit-visual-card,
.audit-steps-card {
  padding: 24px;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.audit-visual-card {
  background: linear-gradient(135deg, #fff6df, #f7dfb1 52%, #f1c781);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.audit-steps-card {
  background: linear-gradient(135deg, #e8f3ec, #d5eadb 55%, #c0ddcb);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.audit-kicker {
  margin: 0 0 10px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #8d6a2f;
}

.audit-visual-card h3,
.audit-steps-card h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  line-height: 1.12;
}

.audit-meter {
  margin-top: 24px;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 251, 245, 0.65);
}

.audit-meter-labels,
.audit-bars,
.audit-tags {
  display: flex;
  align-items: center;
}

.audit-meter-labels {
  justify-content: space-between;
  color: #7a6b57;
  font-size: 0.95rem;
  font-weight: 700;
}

.audit-bars {
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.audit-bar {
  flex: 1;
  min-height: 132px;
  padding: 18px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  text-align: center;
}

.audit-bar-before {
  background: linear-gradient(180deg, #f6b26b, #e9784b);
  color: #fff8f1;
}

.audit-bar-after {
  background: linear-gradient(180deg, #8bcf9f, #3f9466);
  color: #f5fff8;
}

.audit-grade {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 3.2rem;
  line-height: 1;
}

.audit-bar small {
  margin-top: 8px;
  font-size: 0.95rem;
  font-weight: 700;
}

.audit-arrow {
  font-size: 2rem;
  font-weight: 800;
  color: #8d6a2f;
}

.audit-tags {
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.audit-tags span {
  padding: 9px 12px;
  border-radius: 999px;
  background: rgba(255, 251, 245, 0.72);
  color: #745f3d;
  font-size: 0.92rem;
  font-weight: 700;
}

.audit-step + .audit-step {
  margin-top: 18px;
}

.audit-step strong {
  display: block;
  font-size: 1.02rem;
}

.audit-step p {
  margin: 8px 0 0;
  color: #44564e;
  line-height: 1.7;
}

.chat-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  margin-top: 28px;
}

.chat-card,
.chat-sidecard {
  padding: 24px;
  border-radius: 24px;
  background: rgba(247, 244, 238, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.chat-messages {
  display: grid;
  gap: 12px;
  min-height: 240px;
}

.chat-bubble {
  max-width: 90%;
  padding: 16px 18px;
  border-radius: 18px;
  line-height: 1.7;
}

.chat-bubble-user {
  margin-left: auto;
  background: #22352e;
  color: #f7f4ee;
}

.chat-bubble-assistant {
  background: rgba(34, 53, 46, 0.06);
  color: var(--text);
}

.chat-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.chat-form textarea {
  width: 100%;
  min-height: 120px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf9;
  font: inherit;
  color: var(--text);
  resize: vertical;
}

.chat-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.chat-sidecard h3 {
  margin-top: 0;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
}

.dossier-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 20px;
  margin-top: 28px;
}

.dossier-panel,
.dossier-form {
  padding: 24px;
  border-radius: 24px;
  background: rgba(247, 244, 238, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow);
}

.dossier-panel h3 {
  margin-top: 0;
  margin-bottom: 14px;
  font-family: "Fraunces", serif;
  font-size: 1.6rem;
}

.dossier-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.8;
}

.dossier-form {
  display: grid;
  gap: 18px;
}

.dossier-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.dossier-span-2 {
  grid-column: span 2;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 24px clamp(20px, 4vw, 56px) 48px;
  color: var(--muted);
}

.site-footer a {
  font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid,
  .spotlight,
  .funding-grid,
  .audit-showcase,
  .benefit-grid,
  .income-grid,
  .chat-layout,
  .dossier-layout,
  .process-grid,
  .testimonial-grid,
  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band {
    display: grid;
  }

  .site-footer {
    display: grid;
  }

  .nav-links {
    display: none;
  }
}

@media (max-width: 720px) {
  .hero {
    padding-top: 18px;
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy,
  .hero-card,
  .benefit-card,
  .process article,
  .spotlight-panel,
  .cta-band {
    border-radius: 24px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button,
  .nav-cta {
    width: 100%;
  }

  .dossier-grid {
    grid-template-columns: 1fr;
  }

  .dossier-span-2 {
    grid-column: auto;
  }

  .chat-actions {
    flex-direction: column;
  }
}

