:root {
  --ink: #201f1c;
  --muted: #6e665c;
  --line: #e9e1d7;
  --paper: #fffdf9;
  --soft: #f7f3ed;
  --gold: #b89254;
  --gold-dark: #8f6c36;
  --sage: #77806d;
  --shadow: 0 20px 60px rgba(56, 43, 25, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #f3f0eb;
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

img,
svg {
  display: block;
}

.site-header,
.site-footer,
main {
  width: min(1440px, calc(100% - 32px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 76px;
  padding: 0 44px;
  background: rgba(255, 253, 249, 0.92);
  border: 1px solid rgba(233, 225, 215, 0.7);
  border-bottom: 0;
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 15px;
  letter-spacing: 0;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--gold);
}

.brand-mark svg,
.benefit-grid svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 68px);
  font-size: 14px;
  font-weight: 500;
}

.main-nav a,
.site-footer nav a {
  color: #28241f;
}

.main-nav a:hover,
.site-footer nav a:hover {
  color: var(--gold-dark);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 30px;
  border: 0;
  border-radius: 4px;
  background: linear-gradient(180deg, #caa36a, #a77d43);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.35), 0 12px 28px rgba(143, 108, 54, 0.22);
  color: white;
  cursor: pointer;
  font: 700 14px/1 Inter, sans-serif;
}

.button:hover {
  background: linear-gradient(180deg, #d1ad77, #966c36);
}

.button-small {
  min-height: 44px;
  padding-inline: 22px;
}

.hero {
  position: relative;
  min-height: clamp(500px, 62vh, 620px);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid rgba(233, 225, 215, 0.7);
  box-shadow: var(--shadow);
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 253, 249, 0.98) 0%, rgba(255, 253, 249, 0.88) 35%, rgba(255, 253, 249, 0.1) 72%),
    linear-gradient(0deg, rgba(255, 253, 249, 0.7), rgba(255, 253, 249, 0) 28%);
}

.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% center;
}

.hero-copy {
  position: relative;
  z-index: 1;
  width: min(520px, 88%);
  padding: clamp(62px, 7vw, 98px) 0 clamp(58px, 7vw, 88px) clamp(34px, 8vw, 128px);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1,
h2 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 500px;
  margin-bottom: 22px;
  font-size: clamp(38px, 4.2vw, 58px);
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 3.4vw, 42px);
}

h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 430px;
  margin-bottom: 28px;
  color: #514b43;
  font-size: 16px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 26px;
}

.micro-proof {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 14px;
}

.micro-proof svg {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  fill: none;
  stroke: var(--gold-dark);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 4px;
}

section:not(.hero) {
  background: var(--paper);
}

.benefits,
.trust,
.faq {
  padding: clamp(58px, 8vw, 96px) clamp(28px, 7vw, 120px);
}

.section-heading {
  max-width: 680px;
  margin: 0 auto 48px;
  text-align: center;
}

.benefit-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 74px);
}

.benefit-grid article {
  text-align: center;
}

.benefit-grid svg {
  width: 58px;
  height: 58px;
  margin: 0 auto 22px;
  color: var(--gold);
}

.benefit-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
}

.planner-band {
  padding: clamp(60px, 8vw, 98px) clamp(28px, 8vw, 150px);
  background: linear-gradient(180deg, #faf7f2, #fffdf9);
}

.planner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.8fr);
  gap: clamp(34px, 9vw, 130px);
  align-items: center;
  max-width: 1120px;
  margin-inline: auto;
}

.calculator {
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(233, 225, 215, 0.72);
  box-shadow: 0 18px 56px rgba(92, 74, 52, 0.08);
}

.calculator label {
  display: grid;
  gap: 16px;
  margin-top: 28px;
  color: #2f2b26;
  font-size: 15px;
}

.calculator label span {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.calculator strong {
  white-space: nowrap;
}

input[type="range"] {
  width: 100%;
  accent-color: var(--gold-dark);
}

.full-width {
  width: 100%;
  margin-top: 28px;
}

.result {
  padding: clamp(18px, 3vw, 30px) 0;
}

.result h2 {
  margin-bottom: 8px;
  font-family: Inter, sans-serif;
  font-size: clamp(38px, 5vw, 56px);
  font-weight: 500;
}

.result p {
  color: var(--muted);
}

.result ul {
  display: grid;
  gap: 16px;
  margin: 34px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.result li {
  position: relative;
  padding-left: 34px;
}

.result li::before {
  position: absolute;
  left: 0;
  top: 1px;
  display: block;
  width: 22px;
  height: 22px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold-dark);
  content: "";
}

.result li::after {
  position: absolute;
  left: 8px;
  top: 7px;
  width: 7px;
  height: 4px;
  border-bottom: 1.6px solid var(--gold-dark);
  border-left: 1.6px solid var(--gold-dark);
  content: "";
  transform: rotate(-45deg);
}

.trust {
  border-top: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin-inline: auto;
  text-align: center;
}

.trust-grid div {
  display: grid;
  gap: 8px;
}

.trust-grid strong {
  color: var(--gold-dark);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 30px;
}

.trust-grid span {
  color: var(--muted);
  font-size: 14px;
}

.faq {
  padding-top: 10px;
}

.faq details {
  max-width: 720px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  padding: 22px 4px;
  color: #3b352e;
  font-weight: 500;
  list-style: none;
}

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

.faq summary::after {
  float: right;
  color: var(--gold-dark);
  content: "+";
}

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

.faq details p {
  margin-bottom: 22px;
  color: var(--muted);
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 120px;
  padding: 28px 70px;
  background: var(--paper);
  border: 1px solid rgba(233, 225, 215, 0.7);
  border-top: 0;
  color: var(--muted);
  font-size: 13px;
}

.site-footer nav {
  display: flex;
  gap: 32px;
}

@media (max-width: 960px) {
  .site-header {
    min-height: 76px;
    padding-inline: 24px;
  }

  .main-nav {
    display: none;
  }

  .hero {
    min-height: 610px;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 253, 249, 0.96) 0%, rgba(255, 253, 249, 0.82) 42%, rgba(255, 253, 249, 0.14) 78%),
      linear-gradient(0deg, rgba(255, 253, 249, 0.72), rgba(255, 253, 249, 0) 40%);
  }

  .hero-image {
    object-position: 66% center;
  }

  .hero-copy {
    width: min(620px, 100%);
    padding: 50px 30px 260px;
  }

  .benefit-grid,
  .planner,
  .trust-grid {
    grid-template-columns: 1fr;
  }

  .benefit-grid {
    max-width: 520px;
    margin-inline: auto;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding-inline: 28px;
  }
}

@media (max-width: 560px) {
  .site-header,
  .site-footer,
  main {
    width: 100%;
  }

  .site-header {
    padding-inline: 18px;
  }

  .button-small {
    display: none;
  }

  h1 {
    font-size: 36px;
  }

  .hero {
    min-height: 600px;
    border-inline: 0;
  }

  .hero-copy {
    padding: 44px 22px 238px;
  }

  .benefits,
  .trust,
  .faq,
  .planner-band {
    padding-inline: 22px;
  }

  .calculator label span {
    display: grid;
    gap: 4px;
  }

  .site-footer nav {
    flex-wrap: wrap;
    gap: 18px;
  }
}
