:root {
  color-scheme: light;
  --ink: #16201d;
  --muted: #5d6862;
  --paper: #f6f3ee;
  --paper-2: #ece7de;
  --white: #fffdf8;
  --line: rgba(22, 32, 29, 0.16);
  --teal: #0f766e;
  --teal-dark: #075b55;
  --clay: #b85c38;
  --gold: #cf9b45;
  --shadow: 0 22px 70px rgba(22, 32, 29, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  letter-spacing: 0;
}

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

img {
  display: block;
  max-width: 100%;
}

.site-header {
  align-items: center;
  background: rgba(246, 243, 238, 0.88);
  border-bottom: 1px solid rgba(22, 32, 29, 0.08);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 0;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  transition: box-shadow 180ms ease, background 180ms ease;
  z-index: 20;
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.95);
  box-shadow: 0 12px 40px rgba(22, 32, 29, 0.1);
}

.brand {
  align-items: center;
  display: inline-flex;
  font-weight: 760;
  gap: 10px;
  min-width: max-content;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 8px;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 34px;
  justify-content: center;
  letter-spacing: 0;
  width: 34px;
}

.nav-links {
  align-items: center;
  display: flex;
  gap: clamp(16px, 3vw, 34px);
  justify-content: center;
}

.nav-links a {
  color: rgba(22, 32, 29, 0.72);
  font-size: 14px;
  font-weight: 650;
}

.nav-links a:hover {
  color: var(--ink);
}

.header-cta,
.button {
  align-items: center;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 760;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  border: 0;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
}

.header-cta {
  background: var(--ink);
  color: var(--white);
  font-size: 14px;
}

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

.button.primary {
  background: var(--teal);
  box-shadow: 0 14px 32px rgba(15, 118, 110, 0.24);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 253, 248, 0.16);
  border: 1px solid rgba(255, 253, 248, 0.4);
  color: var(--white);
}

.button.dark {
  background: var(--ink);
  color: var(--white);
}

.button.wide {
  width: 100%;
}

.hero {
  display: grid;
  min-height: 92vh;
  overflow: hidden;
  padding: 120px clamp(20px, 6vw, 74px) 58px;
  place-items: end start;
  position: relative;
}

.hero-image,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(17, 24, 22, 0.92) 0%, rgba(17, 24, 22, 0.74) 43%, rgba(17, 24, 22, 0.16) 100%),
    linear-gradient(0deg, rgba(17, 24, 22, 0.46) 0%, rgba(17, 24, 22, 0) 44%);
  z-index: 1;
}

.hero-content {
  color: var(--white);
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow,
.section-kicker,
.plan-label {
  color: var(--clay);
  font-size: 13px;
  font-weight: 820;
  letter-spacing: 0;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f2b169;
}

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

h1 {
  font-size: clamp(46px, 7vw, 84px);
  line-height: 0.98;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
  margin-bottom: 0;
}

h3 {
  font-size: 21px;
  line-height: 1.16;
  margin-bottom: 12px;
}

p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.hero-copy {
  color: rgba(255, 253, 248, 0.86);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.5;
  max-width: 680px;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.hero-proof span {
  background: rgba(255, 253, 248, 0.12);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.88);
  font-size: 13px;
  font-weight: 700;
  padding: 8px 12px;
}

.signal-strip {
  background: var(--ink);
  color: var(--white);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1px;
}

.signal {
  background: #1d2925;
  min-height: 136px;
  padding: 28px clamp(20px, 3vw, 42px);
}

.signal strong {
  display: block;
  font-size: 20px;
  margin-bottom: 9px;
}

.signal span {
  color: rgba(255, 253, 248, 0.68);
  line-height: 1.55;
}

.section {
  padding: clamp(70px, 9vw, 126px) clamp(20px, 6vw, 74px);
}

.intro {
  background: var(--paper);
}

.intro-grid,
.proof-section,
.pricing-section {
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
}

.intro-copy {
  border-left: 1px solid var(--line);
  padding-left: clamp(22px, 4vw, 48px);
}

.section-heading {
  align-items: end;
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.75fr);
  margin-bottom: clamp(34px, 5vw, 62px);
}

.section-heading p {
  margin-bottom: 0;
}

.agents-section {
  background: var(--white);
}

.lead-magnet-section {
  background: var(--white);
}

.lead-magnet-panel {
  align-items: stretch;
  background: #17322f;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  color: var(--white);
  display: grid;
  gap: clamp(28px, 5vw, 70px);
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.58fr);
  padding: clamp(28px, 6vw, 64px);
}

.lead-magnet-panel h2,
.lead-magnet-panel p {
  color: var(--white);
}

.lead-magnet-panel p {
  max-width: 720px;
}

.map-card {
  background: rgba(255, 253, 248, 0.09);
  border: 1px solid rgba(255, 253, 248, 0.16);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.map-card .plan-label {
  color: #f2b169;
}

.map-card ul {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.map-card li {
  color: rgba(255, 253, 248, 0.78);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.map-card li::before {
  background: #f2b169;
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 8px;
}

.map-card .button {
  margin-top: auto;
}

.included-section {
  background: #edf3ef;
}

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

.included-item {
  align-items: center;
  background: rgba(255, 253, 248, 0.78);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  grid-template-columns: 42px minmax(0, 1fr);
  min-height: 104px;
  padding: 20px;
}

.included-item span {
  align-items: center;
  background: #d9ebe4;
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--teal-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 860;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.included-item strong {
  font-size: 18px;
  line-height: 1.22;
}

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

.agent-card {
  background: #f4eee4;
  border: 1px solid rgba(22, 32, 29, 0.09);
  border-radius: var(--radius);
  min-height: 292px;
  padding: 24px;
}

.agent-card:nth-child(2) {
  background: #edf4ee;
}

.agent-card:nth-child(3) {
  background: #f2eee9;
}

.agent-card:nth-child(4) {
  background: #eef3f2;
}

.agent-card:nth-child(5) {
  background: #f5eee2;
}

.agent-card:nth-child(6) {
  background: #eaf2f4;
}

.icon-dot {
  align-items: center;
  background: var(--ink);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 12px;
  font-weight: 800;
  height: 38px;
  justify-content: center;
  margin-bottom: 34px;
  width: 38px;
}

.agent-card p {
  font-size: 16px;
  margin-bottom: 0;
}

.process-section {
  background: var(--paper-2);
}

.process-list {
  counter-reset: item;
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.process-list li {
  align-items: start;
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(22, 32, 29, 0.1);
  border-radius: var(--radius);
  display: grid;
  gap: 18px;
  grid-template-columns: 54px minmax(0, 1fr);
  padding: 22px;
}

.process-list span {
  align-items: center;
  background: #dfe9e5;
  border-radius: 8px;
  color: var(--teal-dark);
  display: inline-flex;
  font-weight: 860;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.process-list p {
  margin-bottom: 0;
}

.proof-section {
  align-items: start;
  background: var(--ink);
  color: var(--white);
}

.proof-section h2,
.proof-panel p {
  color: var(--white);
}

.proof-panel {
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(255, 253, 248, 0.15);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
}

.metric-row {
  border-top: 1px solid rgba(255, 253, 248, 0.18);
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 34px;
  padding-top: 28px;
}

.metric-row strong {
  color: #f2b169;
  display: block;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-row span {
  color: rgba(255, 253, 248, 0.72);
  font-size: 14px;
  line-height: 1.4;
}

.pricing-section {
  background: var(--white);
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.72fr);
}

.pricing-copy p {
  margin-top: 24px;
  max-width: 620px;
}

.pricing-card {
  align-self: stretch;
  background: #f5f1ea;
  border: 1px solid rgba(22, 32, 29, 0.12);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(22, 32, 29, 0.08);
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.pricing-card.featured {
  background: #17322f;
  color: var(--white);
  box-shadow: var(--shadow);
}

.pricing-card.featured .plan-label {
  color: #f2b169;
}

.pricing-card.featured .price {
  font-size: clamp(42px, 5vw, 56px);
}

.price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: clamp(42px, 6vw, 66px);
  font-weight: 870;
  letter-spacing: 0;
  line-height: 1;
}

.price span {
  font-size: 18px;
  line-height: 1;
}

.price-note {
  font-size: 15px;
  margin: 16px 0 22px;
}

.pricing-card.featured .price-note,
.pricing-card.featured li {
  color: rgba(255, 253, 248, 0.76);
}

.pricing-card ul {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
}

.pricing-card li {
  color: var(--muted);
  line-height: 1.5;
  padding-left: 24px;
  position: relative;
}

.pricing-card li::before {
  background: var(--teal);
  border-radius: 999px;
  content: "";
  height: 8px;
  left: 0;
  position: absolute;
  top: 9px;
  width: 8px;
}

.pricing-card .button {
  margin-top: auto;
}

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

.faq-list {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  max-width: 980px;
}

details {
  background: var(--white);
  border: 1px solid rgba(22, 32, 29, 0.12);
  border-radius: var(--radius);
  padding: 0 22px;
}

summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 780;
  list-style: none;
  padding: 22px 34px 22px 0;
  position: relative;
}

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

summary::after {
  content: "+";
  font-size: 24px;
  line-height: 1;
  position: absolute;
  right: 0;
  top: 20px;
}

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

details p {
  margin-bottom: 22px;
}

.final-cta {
  align-items: center;
  background: #d7e4dc;
  display: flex;
  gap: 26px;
  justify-content: space-between;
  padding: clamp(46px, 7vw, 80px) clamp(20px, 6vw, 74px);
}

.final-cta h2 {
  max-width: 820px;
}

.site-footer {
  align-items: center;
  background: var(--ink);
  color: rgba(255, 253, 248, 0.72);
  display: flex;
  font-size: 14px;
  gap: 18px;
  justify-content: space-between;
  padding: 24px clamp(20px, 6vw, 74px);
}

body.modal-open {
  overflow: hidden;
}

.map-modal[hidden],
.modal-content[hidden] {
  display: none;
}

.map-modal {
  align-items: center;
  display: grid;
  inset: 0;
  justify-items: center;
  padding: 22px;
  position: fixed;
  z-index: 100;
}

.map-modal-backdrop {
  background: rgba(12, 20, 18, 0.78);
  inset: 0;
  position: absolute;
}

.map-modal-dialog {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.35);
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(390px, 1fr);
  max-height: min(760px, calc(100vh - 44px));
  max-width: 920px;
  overflow: auto;
  position: relative;
  width: 100%;
  z-index: 1;
}

.modal-close {
  align-items: center;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid rgba(22, 32, 29, 0.14);
  border-radius: 999px;
  color: var(--ink);
  cursor: pointer;
  display: inline-flex;
  font-family: inherit;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 14px;
  top: 14px;
  width: 38px;
  z-index: 2;
}

.modal-preview {
  align-items: center;
  background: #17322f;
  display: flex;
  justify-content: center;
  min-height: 590px;
  overflow: hidden;
  padding: 44px 34px;
}

.preview-document {
  aspect-ratio: 0.707;
  background: var(--ink);
  border-top: 10px solid var(--teal);
  box-shadow: 0 24px 58px rgba(0, 0, 0, 0.34);
  color: var(--white);
  display: flex;
  flex-direction: column;
  max-width: 275px;
  padding: 24px;
  transform: rotate(-2deg);
  width: 100%;
}

.preview-brand {
  font-size: 10px;
  font-weight: 850;
}

.preview-kicker {
  color: #f2b169;
  font-size: 8px;
  font-weight: 850;
  margin-top: 52px;
}

.preview-document strong {
  font-size: 27px;
  line-height: 1.05;
  margin-top: 14px;
}

.preview-lines {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.preview-lines span {
  background: rgba(255, 253, 248, 0.24);
  height: 5px;
  width: 100%;
}

.preview-lines span:nth-child(2) {
  width: 82%;
}

.preview-lines span:nth-child(3) {
  width: 62%;
}

.preview-document small {
  color: rgba(255, 253, 248, 0.64);
  font-size: 8px;
  margin-top: auto;
}

.modal-content {
  align-self: center;
  padding: clamp(34px, 6vw, 64px);
}

.modal-content h2 {
  font-size: clamp(31px, 4vw, 45px);
  line-height: 1.04;
}

.modal-content > p:not(.modal-eyebrow) {
  font-size: 16px;
  margin: 18px 0 24px;
}

.modal-eyebrow {
  color: var(--clay);
  font-size: 12px;
  font-weight: 850;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.map-form {
  display: grid;
  gap: 14px;
}

.map-form label {
  color: var(--ink);
  display: grid;
  font-size: 13px;
  font-weight: 760;
  gap: 7px;
}

.optional-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
  margin-left: 4px;
}

.field-label {
  display: inline;
}

.map-form input,
.map-form select {
  appearance: none;
  background: #fff;
  border: 1px solid rgba(22, 32, 29, 0.22);
  border-radius: 6px;
  color: var(--ink);
  font-family: inherit;
  font-size: 16px;
  min-height: 48px;
  padding: 0 13px;
  width: 100%;
}

.map-form select {
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 18px) 21px, calc(100% - 13px) 21px;
  background-repeat: no-repeat;
  background-size: 5px 5px, 5px 5px;
  padding-right: 34px;
}

.map-form input:focus,
.map-form select:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.13);
  outline: 0;
}

.map-form .button {
  margin-top: 4px;
}

.form-note {
  color: var(--muted);
  font-size: 11px;
  text-align: center;
}

.honeypot {
  left: -9999px;
  position: absolute;
}

.modal-success {
  text-align: left;
}

.success-check {
  align-items: center;
  background: var(--teal);
  border-radius: 999px;
  color: var(--white);
  display: inline-flex;
  font-size: 22px;
  height: 46px;
  justify-content: center;
  margin-bottom: 24px;
  width: 46px;
}

.text-button {
  background: transparent;
  border: 0;
  color: var(--muted);
  cursor: pointer;
  display: block;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  margin: 18px auto 0;
  text-decoration: underline;
}

@media (max-width: 1040px) {
  .agent-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .pricing-section {
    grid-template-columns: 1fr;
  }

  .lead-magnet-panel {
    grid-template-columns: 1fr;
  }

  .pricing-copy {
    grid-column: auto;
  }
}

@media (max-width: 820px) {
  .site-header {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero {
    min-height: 88vh;
    padding-top: 110px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(17, 24, 22, 0.9) 0%, rgba(17, 24, 22, 0.72) 54%, rgba(17, 24, 22, 0.38) 100%);
  }

  .signal-strip,
  .intro-grid,
  .proof-section,
  .pricing-section,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .intro-copy {
    border-left: 0;
    border-top: 1px solid var(--line);
    padding-left: 0;
    padding-top: 24px;
  }

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

  .map-modal-dialog {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .modal-preview {
    display: none;
  }
}

@media (max-width: 620px) {
  .header-cta {
    display: none;
  }

  .brand {
    font-size: 15px;
  }

  h1 {
    font-size: 43px;
  }

  .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .hero-proof {
    display: none;
  }

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

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

  .agent-card {
    min-height: 240px;
  }

  .metric-row {
    grid-template-columns: 1fr;
  }

  .process-list li {
    grid-template-columns: 1fr;
  }

  .section {
    padding-left: 18px;
    padding-right: 18px;
  }

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

  .map-modal {
    align-items: end;
    padding: 0;
  }

  .map-modal-dialog {
    border-radius: 8px 8px 0 0;
    max-height: 94vh;
  }

  .modal-content {
    padding: 48px 20px 24px;
  }

  .modal-content h2 {
    font-size: 31px;
  }
}
