:root {
  --ink: #18231f;
  --forest: #245442;
  --leaf: #5f8a69;
  --cream: #fffaf4;
  --paper: #fff3e4;
  --peach: #f7b98c;
  --gold: #d7a84f;
  --mint: #d9ead8;
  --line: rgba(24, 35, 31, 0.14);
  --shadow: 0 24px 70px rgba(68, 49, 31, 0.16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: linear-gradient(180deg, #fff8ee 0%, #f9ead7 44%, #fffaf4 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  overflow: hidden;
  color: var(--cream);
  background: #17221d;
}
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) brightness(1.04);
}
.hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(21, 28, 24, 0.88) 0%, rgba(42, 45, 30, 0.62) 48%, rgba(55, 35, 24, 0.22) 100%), linear-gradient(180deg, rgba(215, 168, 79, 0.28) 0%, rgba(0, 0, 0, 0) 44%);
}
.nav {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  text-decoration: none;
}
.brand-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 250, 244, 0.86);
  box-shadow: 0 0 0 7px rgba(247, 185, 140, 0.22);
  background: var(--cream);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border: 1px solid rgba(255, 250, 244, 0.28);
  border-radius: 999px;
  background: rgba(255, 250, 244, 0.16);
  backdrop-filter: blur(16px);
}
.nav-links a {
  padding: 10px 14px;
  border-radius: 999px;
  color: rgba(255, 250, 244, 0.94);
  font-size: 0.92rem;
  font-weight: 820;
  text-decoration: none;
  white-space: nowrap;
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(34px, 7vw, 82px) 0 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
}
.eyebrow, .section-kicker, .field-kicker {
  margin: 0;
  color: #ffe19f;
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-kicker, .field-kicker { color: var(--forest); }
h1 {
  max-width: 820px;
  margin: 14px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.25rem, 9vw, 7.5rem);
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0;
}
.hero-lede {
  max-width: 650px;
  margin-bottom: 24px;
  color: rgba(255, 250, 244, 0.9);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.72;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 28px; }
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 0 20px;
  color: var(--ink);
  background: linear-gradient(135deg, #fffaf4 0%, #ffe0b7 100%);
  font: inherit;
  font-weight: 950;
  text-decoration: none;
  cursor: pointer;
}
.button.secondary { border: 1px solid rgba(255, 250, 244, 0.38); color: var(--cream); background: rgba(255, 250, 244, 0.12); }
.trust-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; max-width: 780px; }
.trust-row span {
  min-height: 72px;
  display: grid;
  align-content: center;
  padding: 14px;
  border: 1px solid rgba(255, 250, 244, 0.24);
  border-radius: 8px;
  color: rgba(255, 250, 244, 0.9);
  background: rgba(255, 250, 244, 0.12);
  backdrop-filter: blur(12px);
  line-height: 1.35;
}
.matcher-card {
  padding: clamp(20px, 4vw, 30px);
  border: 1px solid rgba(24, 35, 31, 0.12);
  border-radius: 8px;
  color: var(--ink);
  background: rgba(255, 250, 244, 0.96);
  box-shadow: var(--shadow);
}
.matcher-card h2 {
  margin: 7px 0 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  font-weight: 500;
  letter-spacing: 0;
}
.match-form { display: grid; gap: 13px; }
label { display: grid; gap: 7px; color: rgba(24, 35, 31, 0.75); font-size: 0.84rem; font-weight: 860; }
input, select, textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(24, 35, 31, 0.16);
  border-radius: 8px;
  padding: 12px 13px;
  color: var(--ink);
  background: #ffffff;
  font: inherit;
  outline: none;
}
textarea { min-height: 88px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--leaf); box-shadow: 0 0 0 4px rgba(95, 138, 105, 0.16); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.checkbox-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.checkbox-pill {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(24, 35, 31, 0.14);
  border-radius: 999px;
  color: rgba(24, 35, 31, 0.78);
  background: #ffffff;
  font-size: 0.86rem;
  font-weight: 820;
}
.checkbox-pill input { width: 16px; min-height: 16px; accent-color: var(--forest); }
.form-note { margin: 0; color: rgba(24, 35, 31, 0.62); font-size: 0.9rem; line-height: 1.5; }
.section { width: min(1180px, calc(100% - 32px)); margin: 0 auto; padding: clamp(42px, 7vw, 78px) 0; }
.section-heading { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.56fr); gap: 24px; align-items: end; margin-bottom: 20px; }
.section-heading h2 { margin: 8px 0 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.15rem, 5vw, 4rem); font-weight: 500; line-height: 1; letter-spacing: 0; }
.section-heading p { color: rgba(24, 35, 31, 0.7); line-height: 1.7; }
.results-panel { border: 1px solid var(--line); border-radius: 8px; background: var(--cream); box-shadow: var(--shadow); overflow: hidden; }
.results-top { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); background: linear-gradient(135deg, #fffaf4 0%, #ffe9cc 48%, #dff0e2 100%); }
.results-top h2 { margin: 4px 0 6px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; letter-spacing: 0; }
.results-top p { margin: 0; color: rgba(24, 35, 31, 0.68); line-height: 1.55; }
.score-chip { min-width: 118px; display: grid; place-items: center; padding: 14px; border-radius: 8px; color: var(--cream); background: linear-gradient(135deg, var(--forest), #7b9c62); text-align: center; }
.score-chip strong { display: block; font-size: 2rem; line-height: 1; }
.score-chip span { font-size: 0.72rem; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }
.match-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.match-card { display: grid; min-height: 100%; background: var(--cream); }
.match-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.match-body { display: grid; gap: 12px; padding: 20px; }
.match-rank { display: inline-flex; width: max-content; border-radius: 999px; padding: 7px 10px; color: var(--forest); background: #e7f2df; font-size: 0.76rem; font-weight: 950; letter-spacing: 0.08em; text-transform: uppercase; }
.match-card h3 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: 1.65rem; font-weight: 500; letter-spacing: 0; }
.match-card p { margin: 0; color: rgba(24, 35, 31, 0.72); line-height: 1.58; }
.detail-list { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.detail-list li { display: grid; grid-template-columns: 96px 1fr; gap: 10px; color: rgba(24, 35, 31, 0.72); font-size: 0.92rem; line-height: 1.45; }
.detail-list strong { color: var(--ink); }
.also-grid { display: flex; flex-wrap: wrap; gap: 8px; padding: 18px 22px 22px; border-top: 1px solid var(--line); background: #fffdf8; }
.also-grid span { border: 1px solid rgba(24, 35, 31, 0.12); border-radius: 999px; padding: 9px 12px; background: #ffffff; color: rgba(24, 35, 31, 0.74); font-size: 0.88rem; font-weight: 800; }
.report-grid, .tools-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.info-card, .tool-card { border: 1px solid var(--line); border-radius: 8px; background: var(--cream); padding: 20px; box-shadow: 0 16px 46px rgba(68, 49, 31, 0.08); }
.info-card:nth-child(2n) { background: #f3f8ef; }
.info-card:nth-child(3n) { background: #fff0e0; }
.info-card h3, .tool-card h3 { margin: 0 0 8px; font-size: 1.08rem; letter-spacing: 0; }
.info-card p, .tool-card p { margin: 0; color: rgba(24, 35, 31, 0.7); line-height: 1.62; }
.tool-card { display: grid; gap: 14px; min-height: 210px; }
.tool-icon { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; color: var(--cream); background: linear-gradient(135deg, var(--forest), var(--peach)); font-weight: 950; }
.tool-card a { width: max-content; align-self: end; border-radius: 999px; color: var(--ink); background: #ffe0b7; padding: 10px 14px; font-weight: 950; text-decoration: none; }
.cta-band { width: min(1180px, calc(100% - 32px)); margin: 0 auto 44px; border-radius: 8px; color: var(--cream); background: linear-gradient(135deg, #245442 0%, #7b9c62 52%, #d7a84f 100%); padding: clamp(28px, 5vw, 48px); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; box-shadow: var(--shadow); }
.cta-band h2 { margin: 0 0 8px; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 500; letter-spacing: 0; }
.cta-band p { margin: 0; color: rgba(255, 250, 244, 0.86); line-height: 1.65; }
.site-footer { border-top: 1px solid var(--line); background: #fffaf4; }
.site-footer-inner { width: min(1180px, calc(100% - 32px)); margin: 0 auto; min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: rgba(24, 35, 31, 0.72); }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px; }
.footer-links a { text-decoration: none; font-weight: 850; }
@media (max-width: 980px) {
  .hero-inner, .section-heading, .cta-band { grid-template-columns: 1fr; }
  .match-grid, .report-grid, .tools-grid { grid-template-columns: 1fr; }
  .trust-row { grid-template-columns: 1fr; }
  .hero { min-height: auto; }
  .cta-band .button { width: max-content; }
}
@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1180px);
    align-items: flex-start;
    flex-direction: column;
  }
  .nav-links {
    width: 100%;
    flex-wrap: wrap;
    justify-content: flex-start;
    border-radius: 8px;
  }
  .nav-links a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }
  .hero-inner, .section, .cta-band, .site-footer-inner { width: min(100% - 24px, 1180px); }
  .field-row, .checkbox-grid, .results-top { grid-template-columns: 1fr; }
  h1 { font-size: clamp(3rem, 17vw, 5.2rem); }
  .matcher-card { padding: 18px; }
  .site-footer-inner { align-items: flex-start; flex-direction: column; padding: 24px 0; }
}
