:root {
  --ink: #17211f;
  --muted: #5d6864;
  --line: #d9ddd8;
  --paper: #fbfaf7;
  --surface: #ffffff;
  --sage: #5f756a;
  --sage-dark: #1f5a47;
  --clay: #a7654c;
  --gold: #d9c9aa;
  --shadow: 0 18px 55px rgba(23, 33, 31, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

a {
  color: inherit;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 56px);
  color: #ffffff;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 760;
  text-decoration: none;
}

.brand-logo {
  display: block;
  flex: 0 0 auto;
  width: 102px;
  height: 102px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
  font-weight: 650;
}

.nav-links a {
  text-decoration: none;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 112px clamp(18px, 5vw, 72px) 54px;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-image: url("./assets/divini-hero.png");
  background-position: center;
  background-size: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.82) 0%, rgba(24, 33, 31, 0.66) 39%, rgba(24, 33, 31, 0.18) 70%, rgba(24, 33, 31, 0.08) 100%),
    linear-gradient(0deg, rgba(24, 33, 31, 0.36), rgba(24, 33, 31, 0.06));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  color: #ffffff;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 {
  max-width: 700px;
  font-size: clamp(3rem, 7vw, 5.9rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3.4rem);
}

.hero-copy {
  max-width: 610px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 760;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--sage-dark);
  color: #ffffff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.button.full {
  width: 100%;
}

.proof-strip {
  display: grid;
  max-width: 600px;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(12px);
}

.proof-strip div {
  padding: 16px;
  background: rgba(24, 33, 31, 0.16);
}

.proof-strip dt {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.78rem;
  font-weight: 740;
  text-transform: uppercase;
}

.proof-strip dd {
  margin: 4px 0 0;
  font-size: 1.02rem;
  font-weight: 780;
}

.section {
  padding: clamp(64px, 9vw, 108px) clamp(18px, 5vw, 72px);
}

.section-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.two-column,
.form-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(320px, 1.12fr);
  gap: clamp(32px, 6vw, 72px);
  align-items: start;
}

.section p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
}

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

.check-item {
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 35px rgba(24, 33, 31, 0.06);
}

.check-item span {
  display: block;
  width: 24px;
  height: 24px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, var(--gold) 0 38%, rgba(196, 155, 99, 0.26) 39% 100%);
}

.check-item p {
  margin: 0;
  color: var(--ink);
  font-weight: 620;
}

.contrast {
  background: var(--sage-dark);
  color: #ffffff;
}

.paid-audit {
  background: #ffffff;
}

.offer-box {
  padding: clamp(22px, 4vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
  box-shadow: 0 10px 35px rgba(24, 33, 31, 0.08);
}

.offer-price {
  margin: 0 0 18px;
  color: var(--ink);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  font-weight: 820;
}

.offer-box .button {
  margin-top: 24px;
}

.contrast .section-kicker,
.contrast p {
  color: rgba(255, 255, 255, 0.72);
}

.fit-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.fit-list span {
  min-height: 62px;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.08);
  font-weight: 720;
}

.form-section {
  background: #f0eee9;
}

.plain-list {
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.plain-list li {
  margin-top: 10px;
  color: var(--ink);
  font-weight: 650;
}

.lead-form {
  display: grid;
  gap: 14px;
  padding: clamp(20px, 4vw, 32px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 740;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #ccd2cc;
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 3px solid rgba(196, 155, 99, 0.34);
  border-color: var(--gold);
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px);
  color: rgba(255, 255, 255, 0.72);
  background: var(--ink);
}

.site-footer span:first-of-type {
  color: #ffffff;
  font-weight: 780;
}

.footer-logo {
  display: block;
  width: 34px;
  height: 34px;
  object-fit: contain;
  margin-right: 6px;
}

.thank-you-page {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(24, 33, 31, 0.84), rgba(64, 83, 71, 0.76)),
    url("./assets/divini-hero.png") center / cover;
}

.thank-you-wrap {
  min-height: 100vh;
  display: grid;
  align-content: center;
  gap: 24px;
  padding: clamp(24px, 6vw, 72px);
  color: #ffffff;
}

.thank-you-panel {
  width: min(720px, 100%);
}

.thank-you-panel h1 {
  font-size: clamp(2.6rem, 6vw, 5rem);
}

.thank-you-panel p,
.thank-you-panel li {
  color: rgba(255, 255, 255, 0.84);
  font-size: 1.05rem;
}

.next-steps {
  margin: 28px 0;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 820px) {
  .site-header {
    position: absolute;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 880px;
    align-items: end;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(24, 33, 31, 0.88) 0%, rgba(24, 33, 31, 0.7) 52%, rgba(24, 33, 31, 0.08) 100%),
      linear-gradient(90deg, rgba(24, 33, 31, 0.5), rgba(24, 33, 31, 0.1));
  }

  .proof-strip,
  .check-grid,
  .fit-list,
  .two-column,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .proof-strip {
    max-width: 100%;
  }
}

@media (max-width: 520px) {
  h1 {
    font-size: 2.82rem;
  }

  .hero {
    min-height: 780px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .proof-strip {
    grid-template-columns: 1fr;
  }
}

.audit-header {
  position: sticky;
  color: var(--ink);
  background: rgba(251, 250, 247, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.audit-header .nav-links a,
.audit-header .brand {
  color: var(--ink);
}

.audit-hero,
.results-hero {
  padding-top: clamp(56px, 8vw, 96px);
  background:
    radial-gradient(circle at top right, rgba(217, 201, 170, 0.3), transparent 36%),
    linear-gradient(180deg, #fbfaf7, #f2eee6);
}

.audit-hero h1,
.results-hero h1 {
  color: var(--ink);
  font-size: clamp(2.6rem, 6vw, 5rem);
}

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

.audit-form {
  width: min(980px, 100%);
  margin: 0 auto;
}

.checkbox-label {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 620;
}

.checkbox-label input {
  width: auto;
  margin-top: 4px;
}

.results-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: stretch;
}

.score-card {
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow);
}

.score-ring {
  --score: 0%;
  display: grid;
  width: 156px;
  height: 156px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #ffffff 0 57%, transparent 58%),
    conic-gradient(var(--sage-dark) var(--score), rgba(31, 90, 71, 0.12) 0);
}

.score-ring span {
  color: var(--sage-dark);
  font-size: 3rem;
  font-weight: 850;
}

.results-offer h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.diagnosis-list {
  display: grid;
  gap: 14px;
}

.big-estimate {
  color: var(--sage-dark) !important;
  font-size: clamp(2.4rem, 5vw, 4.3rem) !important;
  font-weight: 850;
  line-height: 1;
}

@media (max-width: 760px) {
  .form-grid,
  .results-layout {
    grid-template-columns: 1fr;
  }

  .audit-header {
    position: relative;
  }
}
