:root {
  --ink: #221D18;
  --ink-soft: #4A4238;
  --ink-mute: #6B6152;
  --cream: #FAF7F2;
  --paper: #FFFFFF;
  --indigo: #4F46E5;
  --indigo-deep: #3730A3;
  --indigo-dark: #312E81;
  --indigo-soft: #EEF2FF;
  --indigo-tint: #C7D2FE;
  --indigo-mid: #A5B4FC;
  --gold: #C9A227;
  --gold-deep: #8A6D1A;
  --gold-soft: #F6EBC5;
  --line: #EAE3D6;
  --line-strong: #D8CFBE;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background-color: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: var(--indigo);
  text-decoration: none;
}

a:hover {
  color: var(--indigo-deep);
}

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

.wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--indigo);
  color: #fff;
  padding: 10px 16px;
  z-index: 999;
}

.skip-link:focus {
  left: 0;
}

/* ===== LEDGER NAVIGATION ===== */
.ledger-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--paper);
  border-bottom: 2px solid var(--gold);
  box-shadow: 0 1px 0 var(--line);
}

.ledger-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.ledger-brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-shrink: 0;
}

.brand-tag {
  display: inline-block;
  background-color: var(--indigo);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.12em;
  font-size: 18px;
  padding: 5px 11px;
  border-radius: 3px 3px 0 0;
  border-bottom: 3px solid var(--gold);
  line-height: 1.2;
}

.brand-sub {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 600;
}

.ledger-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.ledger-links a {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 15px;
  padding: 6px 0;
  position: relative;
}

.ledger-links a:hover {
  color: var(--indigo);
}

.ledger-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.2s ease;
}

.ledger-links a:hover::after {
  width: 100%;
}

.ledger-cta {
  flex-shrink: 0;
  background-color: var(--indigo);
  color: #fff !important;
  font-weight: 700;
  font-size: 14px;
  padding: 11px 20px;
  border-radius: 4px;
  border: 1px solid var(--indigo-dark);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.ledger-cta:hover {
  background-color: var(--indigo-deep);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: 4px;
  cursor: pointer;
  padding: 0 10px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ===== VISTA HERO ===== */
.vista-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  max-width: 1140px;
  margin: 0 auto;
  padding: 72px 24px 64px;
}

.hero-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--indigo-deep);
  background: var(--indigo-soft);
  padding: 7px 14px;
  border-radius: 3px;
  margin-bottom: 20px;
  border-left: 3px solid var(--gold);
}

.vista-copy h1 {
  font-size: 52px;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-weight: 800;
  margin-bottom: 22px;
}

.vista-copy h1 .accent {
  color: var(--indigo);
}

.hero-sub {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
  margin-bottom: 30px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

.btn {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 24px;
  border-radius: 5px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn-indigo {
  background-color: var(--indigo);
  color: #fff;
  border-color: var(--indigo-dark);
}

.btn-indigo:hover {
  background-color: var(--indigo-deep);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  background-color: transparent;
  color: var(--indigo);
  border-color: var(--indigo);
}

.btn-outline:hover {
  background-color: var(--indigo-soft);
  border-color: var(--indigo-deep);
  transform: translateY(-2px);
}

.hero-notes {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-notes li {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-mute);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 7px 13px;
  border-radius: 30px;
}

.hero-notes li::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  margin-right: 8px;
  vertical-align: middle;
}

/* City vista panel */
.vista-panel {
  position: relative;
  background: linear-gradient(180deg, #FDFBFF 0%, var(--indigo-soft) 100%);
  border: 1px solid var(--line);
  border-radius: 10px;
  min-height: 460px;
  overflow: hidden;
  box-shadow: 0 24px 48px -24px rgba(79, 70, 229, 0.35);
}

.vista-sky {
  position: absolute;
  inset: 0;
}

.trend-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.sky-band {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 22px;
  display: flex;
  align-items: flex-end;
  gap: 5px;
  padding: 0 12px;
}

.sky-band span {
  flex: 1;
  border-radius: 3px 3px 0 0;
}

.band-high {
  height: 40%;
}
.band-high span {
  background: var(--indigo-tint);
}
.band-high span:nth-child(1) { height: 62%; }
.band-high span:nth-child(2) { height: 88%; }
.band-high span:nth-child(3) { height: 46%; }
.band-high span:nth-child(4) { height: 100%; }
.band-high span:nth-child(5) { height: 72%; }
.band-high span:nth-child(6) { height: 55%; }
.band-high span:nth-child(7) { height: 90%; }
.band-high span:nth-child(8) { height: 50%; }

.band-mid {
  height: 58%;
}
.band-mid span {
  background: var(--indigo-mid);
}
.band-mid span:nth-child(1) { height: 48%; }
.band-mid span:nth-child(2) { height: 76%; }
.band-mid span:nth-child(3) { height: 100%; }
.band-mid span:nth-child(4) { height: 60%; }
.band-mid span:nth-child(5) { height: 84%; }
.band-mid span:nth-child(6) { height: 42%; }
.band-mid span:nth-child(7) { height: 68%; }
.band-mid span:nth-child(8) { height: 92%; }

.band-low {
  height: 76%;
}
.band-low span {
  background: var(--indigo);
}
.band-low span:nth-child(1) { height: 40%; }
.band-low span:nth-child(2) { height: 66%; }
.band-low span:nth-child(3) { height: 90%; background: var(--gold); }
.band-low span:nth-child(4) { height: 52%; }
.band-low span:nth-child(5) { height: 78%; }
.band-low span:nth-child(6) { height: 100%; background: var(--gold-deep); }
.band-low span:nth-child(7) { height: 58%; }
.band-low span:nth-child(8) { height: 84%; }

.vista-ground {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22px;
  background: var(--gold);
}

.vista-label {
  position: absolute;
  left: 20px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 9px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  box-shadow: 0 8px 20px -12px rgba(34, 29, 24, 0.5);
}

.vista-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

/* ===== SHARED SECTION HEAD ===== */
.section-head {
  max-width: 720px;
  margin-bottom: 44px;
}

.kicker {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--indigo-deep);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: 34px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  font-weight: 800;
}

.section-intro {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-soft);
}

/* ===== ABOUT ===== */
.about-section {
  padding: 72px 0;
  background-color: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: start;
}

.about-lede p {
  font-size: 17px;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

.about-facts {
  list-style: none;
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--cream);
  overflow: hidden;
}

.about-facts li {
  display: flex;
  gap: 16px;
  padding: 20px 22px;
  border-bottom: 1px solid var(--line);
}

.about-facts li:last-child {
  border-bottom: none;
}

.fact-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--gold-deep);
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.about-facts h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 4px;
}

.about-facts p {
  font-size: 15px;
  color: var(--ink-mute);
}

/* ===== STATEMENT ROW ===== */
.statement-row {
  padding: 80px 0;
  background-color: var(--indigo-dark);
  color: #fff;
  text-align: center;
}

.statement-text {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 32px;
  line-height: 1.4;
  max-width: 880px;
  margin: 0 auto 18px;
  color: #fff;
  letter-spacing: -0.01em;
}

.statement-attr {
  font-size: 14px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
}

/* ===== SERVICES ===== */
.services-section {
  padding: 80px 0;
  background-color: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--indigo);
  border-radius: 8px;
  padding: 28px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 34px -22px rgba(34, 29, 24, 0.35);
}

.service-mark {
  display: inline-block;
  width: 44px;
  height: 44px;
  line-height: 44px;
  text-align: center;
  background: var(--indigo-soft);
  color: var(--indigo-deep);
  font-weight: 800;
  font-size: 20px;
  border-radius: 6px;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 15px;
  color: var(--ink-mute);
}

/* ===== STATS ===== */
.stats-section {
  padding: 56px 0;
  background-color: var(--paper);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-num {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.stat-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ===== PROCESS ===== */
.process-section {
  padding: 80px 0;
  background-color: var(--cream);
}

.process-list {
  list-style: none;
  counter-reset: step;
  max-width: 820px;
  margin: 0 auto;
}

.process-step {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-strong);
}

.process-step:last-child {
  border-bottom: none;
}

.step-num {
  font-size: 38px;
  font-weight: 800;
  color: var(--indigo);
  font-variant-numeric: tabular-nums;
  line-height: 1;
  position: relative;
}

.step-num::after {
  content: "";
  display: block;
  width: 34px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
}

.process-step h3 {
  font-size: 21px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 8px;
}

.process-step p {
  font-size: 16px;
  color: var(--ink-soft);
}

/* ===== COMPARISON TABLE ===== */
.comparison-section {
  padding: 80px 0;
  background-color: var(--paper);
  border-top: 1px solid var(--line);
}

.table-scroll {
  overflow-x: auto;
}

.tier-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  overflow: hidden;
  font-size: 15px;
}

.tier-table th,
.tier-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.tier-table thead th {
  background: var(--indigo);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
}

.tier-table thead th:first-child {
  background: var(--indigo-dark);
}

.tier-table tbody th {
  font-weight: 700;
  color: var(--ink);
  background: var(--cream);
}

.tier-table tbody tr:nth-child(even) td {
  background: #FBF9F4;
}

.tier-table td {
  color: var(--ink-soft);
}

.tier-table tbody th[scope="row"] {
  white-space: nowrap;
}

/* ===== FAQ ===== */
.faq-section {
  padding: 80px 0;
  background-color: var(--cream);
}

.accordion {
  max-width: 820px;
  margin: 0 auto;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
  overflow: hidden;
}

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

.acc-item:last-child {
  border-bottom: none;
}

.acc-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--paper);
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  font-family: inherit;
}

.acc-trigger:hover {
  color: var(--indigo-deep);
}

.acc-icon {
  position: relative;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.acc-icon::before,
.acc-icon::after {
  content: "";
  position: absolute;
  background: var(--indigo);
  border-radius: 2px;
  transition: transform 0.2s ease;
}

.acc-icon::before {
  top: 7px;
  left: 0;
  width: 16px;
  height: 2px;
}

.acc-icon::after {
  top: 0;
  left: 7px;
  width: 2px;
  height: 16px;
}

.acc-item.open .acc-icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.acc-panel p {
  padding: 0 24px 22px;
  font-size: 16px;
  color: var(--ink-soft);
}

.acc-item.open .acc-panel {
  max-height: 320px;
}

/* ===== CTA BAND ===== */
.cta-band {
  padding: 80px 0;
  background-color: var(--indigo-dark);
  color: #fff;
}

.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.cta-copy .kicker {
  color: var(--gold-soft);
}

.cta-copy h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  color: #fff;
  margin-bottom: 18px;
}

.cta-copy p {
  font-size: 17px;
  color: #E9E6F9;
}

.cta-copy a {
  color: var(--gold-soft);
  text-decoration: underline;
}

.contact-form {
  background: var(--paper);
  border-radius: 8px;
  padding: 28px;
  border-top: 4px solid var(--gold);
}

.contact-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  margin: 0 0 6px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line-strong);
  border-radius: 5px;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  color: var(--ink);
  background: #fff;
  margin-bottom: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--indigo);
  outline-offset: 1px;
  border-color: var(--indigo);
}

.contact-form .btn {
  width: 100%;
}

.form-status {
  margin-top: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--indigo-deep);
  min-height: 20px;
}

/* ===== FOOTER ===== */
.site-footer {
  background-color: var(--indigo-dark);
  color: #fff;
  padding: 26px 0;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 14px;
  color: #DCD8F2;
}

.footer-links {
  display: flex;
  gap: 22px;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

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

.footer-contact {
  display: flex;
  gap: 20px;
}

.footer-contact a {
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 600;
}

/* ===== SCROLL REVEAL ===== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .vista-hero {
    grid-template-columns: 1fr;
    padding: 48px 24px 48px;
  }

  .vista-copy h1 {
    font-size: 40px;
  }

  .vista-panel {
    min-height: 360px;
  }

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

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

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

  .statement-text {
    font-size: 26px;
  }
}

@media (max-width: 680px) {
  .nav-toggle {
    display: flex;
  }

  .ledger-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--gold);
    display: none;
    padding: 8px 0;
    margin-left: 0;
  }

  .ledger-links.open {
    display: flex;
  }

  .ledger-links a {
    padding: 13px 24px;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }

  .ledger-links a:last-child {
    border-bottom: none;
  }

  .ledger-cta {
    display: none;
  }

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

  .section-head h2,
  .cta-copy h2 {
    font-size: 28px;
  }

  .vista-copy h1 {
    font-size: 33px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .statement-text {
    font-size: 22px;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .process-step {
    grid-template-columns: 56px 1fr;
    gap: 18px;
  }

  .step-num {
    font-size: 28px;
  }
}
