/* FairPath Property Solutions - Cloudflare Pages Multi-Page Site */

:root {
  --black: #0b0b0a;
  --charcoal: #171715;
  --cream: #f7f1e6;
  --paper: #fffaf0;
  --gold: #c7a052;
  --green: #12352d;
  --muted: #756e62;
  --line: rgba(23, 23, 21, 0.12);
  --white-line: rgba(255, 250, 240, 0.16);
  --shadow: 0 22px 70px rgba(0, 0, 0, 0.16);
  --max: 1160px;
  --radius: 24px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: inherit; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: var(--gold);
  color: var(--black);
  padding: 10px 14px;
  border-radius: 999px;
  z-index: 9999;
  font-weight: 850;
}

.skip-link:focus { left: 10px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 11, 10, 0.96);
  border-bottom: 1px solid var(--white-line);
  backdrop-filter: blur(14px);
}

.nav {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--paper);
  flex: 0 0 auto;
  min-width: 0;
}

.brand-mark {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(199,160,82,0.62);
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--gold);
  font-weight: 950;
  letter-spacing: -0.06em;
  line-height: 1;
}

.brand-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand-copy strong {
  display: block;
  color: var(--paper);
  font-size: 1rem;
  line-height: 1.05;
  letter-spacing: -0.025em;
  white-space: nowrap;
}

.brand-copy span {
  display: block;
  color: rgba(255,250,240,0.62);
  font-size: 0.78rem;
  white-space: nowrap;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-tabs a {
  color: rgba(255,250,240,0.78);
  text-decoration: none;
  font-weight: 760;
  font-size: 0.9rem;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid transparent;
}

.nav-tabs a:hover,
.nav-tabs a.active {
  color: var(--gold);
  border-color: rgba(199,160,82,0.35);
  background: rgba(255,250,240,0.04);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 17px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--black);
  border: 1px solid var(--gold);
  text-decoration: none;
  font-weight: 900;
  box-shadow: 0 12px 30px rgba(199,160,82,0.18);
  transition: transform .15s ease, opacity .15s ease;
  white-space: nowrap;
}

.button:hover { transform: translateY(-1px); opacity: .94; }

.button.outline {
  background: transparent;
  color: var(--paper);
  border-color: var(--white-line);
  box-shadow: none;
}

.button.dark {
  background: var(--black);
  color: var(--paper);
  border-color: var(--black);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--white-line);
  background: transparent;
  color: var(--paper);
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 850;
  cursor: pointer;
}

main section { padding: 76px 22px; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
}

.hero {
  color: var(--paper);
  background:
    radial-gradient(circle at 16% 16%, rgba(199,160,82,0.24), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(18,53,45,0.65), transparent 32%),
    linear-gradient(135deg, #080807 0%, #151411 55%, #0f2c26 100%);
  border-bottom: 1px solid var(--white-line);
}

.hero-layout {
  min-height: 610px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
  align-items: center;
  gap: 48px;
  padding: 68px 0;
}

.page-hero {
  color: var(--paper);
  background:
    radial-gradient(circle at 18% 18%, rgba(199,160,82,0.20), transparent 28%),
    linear-gradient(135deg, #080807 0%, #171511 58%, #12352d 100%);
  border-bottom: 1px solid var(--white-line);
}

.page-hero .wrap {
  padding: 74px 22px;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: .76rem;
  font-weight: 950;
  margin-bottom: 15px;
}

h1 {
  margin: 0 0 22px;
  max-width: 760px;
  font-size: clamp(2.65rem, 5.8vw, 5.3rem);
  line-height: .94;
  letter-spacing: -0.072em;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 3.2vw, 3.1rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

h3 {
  margin: 0 0 8px;
  font-size: 1.1rem;
  letter-spacing: -0.025em;
}

p { margin-top: 0; }

.lead {
  max-width: 650px;
  color: rgba(255,250,240,0.76);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  margin-bottom: 28px;
}

.page-hero .lead { max-width: 760px; }

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

.hero-card,
.panel {
  background: rgba(255,250,240,0.08);
  border: 1px solid var(--white-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
  backdrop-filter: blur(16px);
}

.panel.light {
  background: var(--paper);
  border-color: var(--line);
  box-shadow: none;
}

.panel.green {
  background: var(--green);
  color: var(--paper);
}

.panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--white-line);
}

.panel.light .panel-header { border-bottom-color: var(--line); }

.panel-header strong {
  display: block;
  font-size: 1.3rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.badge {
  flex: 0 0 auto;
  border: 1px solid rgba(199,160,82,0.52);
  color: var(--gold);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: .08em;
  white-space: nowrap;
}

.feature-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 12px;
  align-items: start;
  color: rgba(255,250,240,0.76);
}

.panel.light .feature-list li { color: var(--muted); }

.check {
  width: 26px;
  height: 26px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(199,160,82,0.16);
  color: var(--gold);
  font-weight: 950;
  font-size: .8rem;
}

.summary-strip {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}

.summary-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.summary-item {
  padding: 22px;
  text-align: center;
  border-right: 1px solid var(--line);
}

.summary-item:last-child { border-right: 0; }

.summary-item strong {
  display: block;
  color: var(--green);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.summary-item span {
  color: var(--muted);
  font-size: .94rem;
  font-weight: 650;
}

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

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
  gap: 42px;
  align-items: start;
}

.two-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  align-items: start;
}

.steps {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
}

.step-number {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--black);
  color: var(--gold);
  font-weight: 950;
}

.step p { margin: 0; }

.form-shell {
  background: var(--black);
  color: var(--paper);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px;
  overflow: hidden;
}

.form-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 16px;
}

.form-top h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.35rem);
  margin-bottom: 6px;
}

.form-top p {
  color: rgba(255,250,240,.68);
  margin: 0;
  max-width: 520px;
}

.youform-embed-wrap {
  width: 100%;
  height: 700px;
  border-radius: 18px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--white-line);
}

.youform-embed-wrap [data-youform-embed] {
  width: 100%;
  min-height: 700px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--green);
  background: #fff;
  font-weight: 830;
  font-size: .86rem;
}

.legal-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}

.legal-card p,
.legal-card li { color: #403b34; }

.legal-card ul { padding-left: 20px; }

.legal-card li { margin-bottom: 9px; }

.disclaimer {
  border-left: 3px solid var(--gold);
  background: rgba(199,160,82,.14);
  border-radius: 12px;
  padding: 12px 14px;
  color: #403b34;
  margin: 14px 0;
}

.page-links {
  display: grid;
  gap: 12px;
}

.page-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  text-decoration: none;
  color: var(--black);
}

.page-link:hover {
  border-color: rgba(199,160,82,0.65);
}

.page-link span {
  color: var(--muted);
  font-size: .92rem;
}

footer {
  background: var(--black);
  color: var(--paper);
  padding: 42px 22px;
  border-top: 1px solid var(--white-line);
}

.footer-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) auto;
  gap: 28px;
  align-items: start;
}

footer p { color: rgba(255,250,240,.68); }

footer a { color: var(--paper); }

.footer-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 520px;
}

.footer-links a {
  color: rgba(255,250,240,.74);
  font-size: .9rem;
  text-decoration: none;
}

.footer-links a:hover { color: var(--gold); }

.fineprint {
  max-width: 760px;
  font-size: .84rem;
}

@media (max-width: 1020px) {
  .hero-layout,
  .content-grid,
  .two-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-layout {
    min-height: auto;
    padding: 56px 0;
  }

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

  .summary-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .summary-item:last-child { border-bottom: 0; }

  .nav-tabs {
    display: none;
    width: 100%;
    padding-top: 14px;
  }

  .nav-tabs.open {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .menu-toggle { display: inline-flex; }

  .footer-links {
    justify-content: flex-start;
    max-width: none;
  }
}

@media (max-width: 600px) {
  main section { padding: 58px 18px; }

  .page-hero .wrap { padding: 58px 18px; }

  .nav { padding: 14px 18px; }

  .brand-copy strong {
    max-width: 210px;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .brand-copy span { display: none; }

  .hero-actions {
    display: grid;
  }

  .button { width: 100%; }

  .hero-card,
  .panel,
  .form-shell,
  .legal-card {
    padding: 22px;
  }

  .panel-header,
  .form-top {
    display: grid;
  }

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

  .youform-embed-wrap {
    height: 720px;
  }
}
