:root {
  --green-dark: #1b4332;
  --green-accent: #52b788;
  --green-light: #cfe9dd;
  --charcoal: #252c2e;
  --gold: #a8916a;
  --gold-light: #c9aa82;
  --surface: #f5f5f4;
  --white: #ffffff;
  --muted: #4a5560;
  --border: #dde3e0;
  --serif: 'Manrope', system-ui, sans-serif;
  --sans: 'Red Hat Display', system-ui, sans-serif;
  --heading: 'Manrope', system-ui, sans-serif;
  --subtext: 'Red Hat Display', system-ui, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--surface);
  color: var(--charcoal);
  font-family: var(--sans);
  font-feature-settings: "tnum" 1, "lnum" 1, "cv05" 1, "cv08" 1, "ss01" 1;
  font-optical-sizing: auto;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 28px;
}

header {
  background: var(--green-dark);
  border-bottom: 1px solid rgba(255,255,255,0.07);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
}

.brand {
  align-items: center;
  display: flex;
  gap: 12px;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: auto;
}

.brand-name {
  color: var(--white);
  display: block;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.005em;
  line-height: 1;
}

.brand-name span {
  color: var(--green-accent);
}

.gold-rule {
  background: var(--gold);
  border-radius: 1px;
  height: 2px;
  margin-top: 4px;
}

nav {
  align-items: center;
  display: flex;
  gap: 4px;
}

nav a {
  border-radius: 4px;
  color: var(--green-light);
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.035em;
  padding: 6px 11px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .2s ease;
}

nav a:hover,
nav a.active {
  background: transparent;
  color: var(--white);
}

nav a.nav-cta {
  border: 1px solid rgba(168,145,106,0.45);
  color: var(--gold-light);
}

nav a.nav-cta:hover,
nav a.nav-cta.active {
  background: transparent;
  border-color: var(--gold-light);
  color: var(--white);
}

.hamburger {
  background: none;
  border: none;
  cursor: pointer;
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.hamburger span {
  background: var(--green-light);
  border-radius: 2px;
  display: block;
  height: 2px;
  width: 24px;
}

.mobile-menu {
  background: var(--green-dark);
  border-top: 1px solid rgba(255,255,255,0.07);
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 12px 28px 20px;
}

.mobile-menu a {
  border-bottom: 1px solid rgba(255,255,255,0.06);
  color: var(--green-light);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 0;
  text-decoration: none;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu.open {
  display: flex;
}

.hero {
  background: var(--green-dark);
  overflow: hidden;
  position: relative;
}


.hero-inner {
  align-items: center;
  display: grid;
  gap: 64px;
  grid-template-columns: 1.08fr .92fr;
  min-height: 590px;
  padding: 92px 0 86px;
  position: relative;
}

.hero-eyebrow,
.section-label,
.panel-label {
  align-items: center;
  color: var(--gold-light);
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  gap: 10px;
  letter-spacing: .16em;
  margin-bottom: 18px;
  text-transform: uppercase;
}

.hero-eyebrow::before,
.section-label::before {
  background: var(--gold);
  content: '';
  display: block;
  height: 1.5px;
  width: 24px;
}

h1 {
  color: var(--white);
  font-family: var(--heading);
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.018em;
  line-height: 1.05;
  max-width: 640px;
}

.hero-sub {
  color: var(--green-light);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  margin: 22px 0 36px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn,
.btn-submit {
  border-radius: 4px;
  cursor: pointer;
  display: inline-block;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 12px 24px;
  text-decoration: none;
  transition: all .2s ease;
}

.btn-gold {
  background: var(--gold);
  border: 1.5px solid var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: var(--white);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.6);
  transform: translateY(-1px);
}

.hero-preview {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  overflow: hidden;
}

.preview-topline,
.preview-row,
.preview-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding: 20px 24px;
}

.preview-topline {
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.preview-topline span {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.preview-topline strong {
  color: var(--white);
  font-size: 13px;
}

.preview-row {
  border-bottom: 1px solid rgba(255,255,255,0.07);
  gap: 20px;
}

.preview-row span {
  color: rgba(207,233,221,0.72);
  font-size: 13px;
}

.preview-row strong {
  color: var(--white);
  font-size: 14px;
  text-align: right;
}

.preview-footer {
  color: var(--green-light);
  font-size: 13px;
  font-weight: 400;
  justify-content: flex-start;
}

.intro-band,
.request-section {
  background: var(--white);
  padding: 72px 0;
}

.intro-grid,
.request-grid {
  align-items: start;
  display: grid;
  gap: 70px;
  grid-template-columns: 1fr 1fr;
}

.section-label {
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  color: var(--charcoal);
  font-family: var(--heading);
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 18px;
}

.section-body {
  color: var(--muted);
  font-size: 15.5px;
  font-weight: 400;
  line-height: 1.75;
  max-width: 590px;
}

.value-list {
  display: flex;
  flex-direction: column;
}

.value-item {
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
  padding: 22px 0;
}

.value-item:first-child {
  padding-top: 4px;
}

.value-item:last-child {
  border-bottom: none;
}

.value-num {
  color: var(--gold);
  flex-shrink: 0;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
  opacity: .75;
  width: 34px;
}

.value-item h3 {
  color: var(--charcoal);
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
}

.value-item p {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

.builder-section {
  background: var(--surface);
  padding: 72px 0;
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 48px;
  grid-template-columns: 1fr .8fr;
  margin-bottom: 40px;
}

.section-heading p {
  color: var(--muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.7;
}

.builder-form-wrap {
  max-width: 580px;
  margin: 0 auto;
}

.snapshot-form,
.request-form-wrap {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 34px 30px;
}

.form-row {
  margin-bottom: 18px;
}

.form-two {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}

label {
  color: var(--charcoal);
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  margin-bottom: 7px;
  text-transform: uppercase;
}

label span {
  color: var(--muted);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

input,
select,
textarea {
  appearance: none;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  color: var(--charcoal);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
  padding: 12px 14px;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-accent);
  box-shadow: 0 0 0 3px rgba(82,183,136,0.12);
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234a5560' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-position: right 14px center;
  background-repeat: no-repeat;
  cursor: pointer;
  padding-right: 38px;
}

textarea {
  min-height: 108px;
  resize: vertical;
}

.btn-submit {
  background: var(--green-dark);
  border: none;
  color: var(--white);
  margin-top: 6px;
  width: 100%;
}

.btn-submit:hover {
  background: #245c42;
  transform: translateY(-1px);
}

.hidden-field {
  display: none;
}

.field-error {
  color: #c0392b;
  display: none;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  margin-top: 5px;
}

.field-error.visible {
  display: block;
}

.form-divider {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 8px 0 18px;
  padding-top: 18px;
  text-transform: uppercase;
}

.form-row-inline {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 18px;
}

.form-row-inline .form-row {
  margin-bottom: 0;
}

.required-mark {
  color: #c0392b;
  margin-left: 2px;
}

.optional-mark {
  color: var(--muted);
  font-weight: 400;
  margin-left: 3px;
}

input.invalid,
select.invalid,
textarea.invalid {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,0.1);
}

.modal-overlay {
  align-items: center;
  background: rgba(10,20,15,0.72);
  backdrop-filter: blur(4px);
  display: flex;
  inset: 0;
  justify-content: center;
  opacity: 0;
  padding: 24px;
  pointer-events: none;
  position: fixed;
  transition: opacity .22s ease;
  z-index: 200;
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  background: var(--green-dark);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  max-height: 88vh;
  max-width: 620px;
  overflow: hidden;
  transform: translateY(12px) scale(0.98);
  transition: transform .22s ease;
  width: 100%;
}

.modal-overlay.open .modal {
  transform: translateY(0) scale(1);
}

.modal-header {
  align-items: flex-start;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-shrink: 0;
  gap: 16px;
  justify-content: space-between;
  padding: 28px 30px 22px;
}

.modal-header-right {
  align-items: center;
  display: flex;
  flex-shrink: 0;
  gap: 12px;
}

.modal-title {
  color: var(--white);
  font-family: var(--heading);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.1;
}

.modal-close {
  align-items: center;
  background: transparent;
  border: none;
  color: var(--green-light);
  cursor: pointer;
  display: flex;
  height: 34px;
  justify-content: center;
  transition: color .15s ease;
  width: 34px;
}

.modal-close:hover {
  color: var(--white);
}

.modal-close svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 2;
  width: 16px;
}

.modal-context {
  color: rgba(207,233,221,0.55);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.5;
  margin-top: 6px;
  max-width: 340px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  padding: 16px 24px 20px;
}

.panel-label {
  margin-bottom: 8px;
}

.score-pill {
  background: rgba(82,183,136,0.12);
  border: 1px solid rgba(82,183,136,0.32);
  border-radius: 999px;
  color: var(--green-accent);
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
}

.result-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 8px;
  padding: 14px 16px;
}

.result-block-header {
  align-items: center;
  display: flex;
  gap: 7px;
  margin-bottom: 10px;
}

.result-block-icon {
  color: var(--gold-light);
  fill: none;
  flex-shrink: 0;
  height: 13px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 13px;
}

.result-block h4 {
  color: var(--gold-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  margin-bottom: 0;
  text-transform: uppercase;
}

.recommended-block {
  background: rgba(168,145,106,0.1);
  border: 1px solid rgba(168,145,106,0.28);
  border-radius: 8px;
  padding: 14px 16px;
}

.recommended-label {
  align-items: center;
  color: var(--gold-light);
  display: flex;
  font-size: 10px;
  font-weight: 700;
  gap: 7px;
  letter-spacing: .14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.recommended-label .result-block-icon {
  fill: var(--gold-light);
  stroke: none;
}

.recommended-name {
  color: var(--white);
  font-family: var(--heading);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 5px;
}

.recommended-desc {
  color: rgba(207,233,221,0.7);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 10px;
}

.recommended-link {
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  text-decoration: none;
  transition: color .15s;
}

.recommended-link:hover {
  color: var(--white);
}

.modal-cta {
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-shrink: 0;
  padding: 20px 24px 24px;
}

.modal-cta-text {
  color: rgba(207,233,221,0.6);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 14px;
}

.btn-modal-gold {
  background: var(--gold);
  border-radius: 4px;
  color: var(--white);
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 20px;
  text-decoration: none;
  transition: background .2s, transform .2s;
}

.btn-modal-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.result-block ul {
  display: grid;
  gap: 8px;
  list-style: none;
}

.result-block li {
  color: var(--green-light);
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}

.result-block li::before {
  background: var(--green-accent);
  border-radius: 50%;
  content: '';
  height: 6px;
  left: 0;
  position: absolute;
  top: 8px;
  width: 6px;
}

footer {
  background: #141f1a;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 28px 0;
}

.footer-inner {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.footer-brand {
  color: var(--white);
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.footer-brand span {
  color: var(--green-accent);
}

.footer-copy {
  color: #3a6b52;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #3a6b52;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.035em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color .2s;
}

.footer-links a:hover {
  color: var(--green-accent);
}

@media (max-width: 980px) {
  nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-inner,
  .intro-grid,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 42px;
    min-height: 0;
    padding: 72px 0 60px;
  }

  h1 {
    font-size: 40px;
  }

  .section-title {
    font-size: 33px;
  }

  .intro-band,
  .builder-section {
    padding: 70px 0;
  }

  .section-heading {
    gap: 10px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}

@media (max-width: 620px) {
  .container {
    padding: 0 22px;
  }

  .brand img {
    height: 48px;
  }

  .brand-name {
    font-size: 20px;
  }

  h1 {
    font-size: 34px;
  }

  .hero-sub {
    font-size: 15px;
  }

  .hero-actions,
  .preview-topline,
  .preview-row,
  .modal-header {
    align-items: stretch;
    flex-direction: column;
  }

  .preview-row strong {
    text-align: left;
  }

  .btn,
  .btn-submit {
    text-align: center;
    width: 100%;
  }

  .snapshot-form {
    border-radius: 8px;
    padding: 28px 22px;
  }

  .form-row-inline {
    grid-template-columns: 1fr;
  }

  .modal {
    border-radius: 8px;
  }

  .modal-header,
  .modal-body,
  .modal-cta {
    padding-left: 18px;
    padding-right: 18px;
  }
}
