:root {
  --bg: #f7f9fc;
  --paper: #ffffff;
  --ink: #1b2a41;
  --text: #3e4a5e;
  --text-muted: #3e4a5e;
  --primary: #2b5cab;
  --primary-strong: #1e4a8c;
  --blue-fill: #2b5cab;
  --blue-fill-hover: #1e4a8c;
  --on-fill: #ffffff;
  --accent: #2b5cab;
  --sage: #2e7d5b;
  --border: #d8dfea;
  --border-soft: #e6ecf4;
  --control: #d8dfea;
  --danger: #9b2c2c;
  --success: #1b2a41;
  --header: rgba(247, 249, 252, 0.92);
  --alt: #eef2f8;
  --zebra: #f4f7fb;
  --placeholder: #6e7c90;
  --warning: #8a5a12;
  --shadow: 0 10px 28px rgba(27, 42, 65, 0.06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e1520;
    --paper: #1b2a41;
    --ink: #f7f9fc;
    --text: #c5d0e0;
    --text-muted: #c5d0e0;
    --primary: #8eb6f2;
    --primary-strong: #d5e6ff;
    --blue-fill: #2b5cab;
    --blue-fill-hover: #3a6bb8;
    --on-fill: #ffffff;
    --accent: #8eb6f2;
    --sage: #6fcb9a;
    --border: #2c3b52;
    --border-soft: #243246;
    --control: #6e84a3;
    --danger: #ffb4ae;
    --success: #f7f9fc;
    --header: rgba(14, 21, 32, 0.92);
    --alt: #152033;
    --zebra: #223049;
    --placeholder: #93a3b8;
    --warning: #f0c27a;
    --shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
    color-scheme: dark;
  }
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("./assets/fonts/bricolage-grotesque.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("./assets/fonts/source-sans-3.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--text);
  line-height: 1.55;
  font-size: 18px;
  background: var(--bg);
}

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

button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  color: var(--ink);
  letter-spacing: -0.02em;
  text-wrap: balance;
  font-weight: 600;
}

h1 {
  letter-spacing: -0.03em;
}

p {
  text-wrap: pretty;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.6rem;
  z-index: 80;
  padding: 0.55rem 0.85rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 0.4rem;
  font-weight: 700;
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: none;
}

.container {
  width: min(1080px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.section {
  padding: 4.6rem 0;
}

section[id],
main[id] {
  scroll-margin-top: 5.2rem;
}

.section-alt {
  background: var(--alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(12px);
  background: var(--header);
  border-bottom: 1px solid var(--border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 4.4rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 700;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 0.55rem;
}

.brand span {
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.15rem;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--text-muted);
  font-weight: 700;
  padding: 0.35rem 0;
}

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

.hero-grid,
.contact-grid,
.about-grid {
  display: grid;
  gap: 2rem;
}

.hero-copy h1 {
  margin: 0 0 1.15rem;
  font-size: clamp(2.15rem, 4.5vw, 3.65rem);
  line-height: 1.08;
  max-width: 18ch;
}

.hero-copy > * {
  opacity: 0;
  transform: translateY(12px);
  animation: contentReveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero-copy h1 {
  animation-delay: 0.05s;
}

.hero-copy .lead {
  animation-delay: 0.14s;
}

.hero-copy .hero-actions {
  animation-delay: 0.24s;
}

.lead,
.about-lead {
  margin: 0;
  color: var(--text);
  max-width: 42ch;
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid transparent;
  padding: 0.78rem 1.15rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  cursor: pointer;
  text-align: center;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn:disabled {
  opacity: 0.72;
  cursor: not-allowed;
  transform: none;
}

.btn-primary {
  background: var(--blue-fill);
  color: var(--on-fill);
}

.btn-primary:hover {
  background: var(--blue-fill-hover);
}

.btn-secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--control);
}

.btn-secondary:hover {
  border-color: var(--primary);
}

.hero-trust,
.contact-highlights,
.about-facts {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hero-trust {
  display: grid;
  gap: 0.85rem;
  align-content: end;
  margin: 0;
  padding: 0.2rem 0 0.15rem;
}

.hero-trust li,
.contact-highlights li {
  position: relative;
  padding-left: 1.35rem;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
}

.hero-trust li::before,
.contact-highlights li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.48em;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--sage);
}

h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.85rem, 3.2vw, 2.55rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 0.4rem;
  font-size: clamp(1.2rem, 1.8vw, 1.4rem);
  line-height: 1.3;
}

.title-stack {
  max-width: 12em;
}

.section-intro {
  margin: 0 0 1.8rem;
  color: var(--text);
  max-width: 46ch;
  font-size: 18px;
}

.ledger-wrap {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 1.05rem;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.ledger {
  width: 100%;
  border-collapse: collapse;
}

.ledger th {
  text-align: left;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text);
  background: var(--alt);
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--border);
}

.ledger td {
  width: 50%;
  vertical-align: top;
  padding: 1.15rem 1.25rem;
  border-bottom: 1px solid var(--border-soft);
  line-height: 1.55;
}

.ledger tbody tr:last-child td {
  border-bottom: 0;
}

.ledger tbody tr:nth-child(even) {
  background: var(--zebra);
}

.ledger td:first-child {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.35;
  color: var(--ink);
}

.ledger td:last-child {
  color: var(--text);
}

.mvp-note {
  margin: 1.35rem 0 0;
  max-width: 58ch;
  padding-left: 0.95rem;
  border-left: 3px solid var(--accent);
  color: var(--text);
}

.steps {
  list-style: none;
  margin: 1.4rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.6rem;
}

.step-num {
  display: block;
  margin-bottom: 0.45rem;
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 2rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  color: var(--accent);
}

.steps p {
  margin: 0;
  color: var(--text-muted);
  max-width: 34ch;
}

.pricing-grid {
  display: grid;
  gap: 1rem;
}

.price-card,
.contact-form,
.about-facts {
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 1.05rem;
  box-shadow: var(--shadow);
}

.price-card {
  padding: 1.25rem 1.3rem 1.2rem;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease;
}

.price-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary);
}

.price-card h3 {
  margin-bottom: 0.7rem;
}

.price-value {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.55rem;
  margin: 0 0 0.75rem;
  font-variant-numeric: tabular-nums;
}

.price-prefix,
.price-cadence {
  color: var(--text-muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-amount {
  font-family: "Bricolage Grotesque", "Segoe UI", sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
}

.price-note {
  margin: 0;
  color: var(--text-muted);
}

.price-fit {
  margin: 0.7rem 0 0;
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.price-cta,
.contact-direct a,
.captcha-email-fallback {
  color: var(--primary);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.price-cta {
  display: inline-flex;
  margin-top: 0.95rem;
  min-height: 44px;
  align-items: center;
}

.price-cta:hover,
.contact-direct a:hover,
.captcha-email-fallback:hover {
  color: var(--primary-strong);
}

.about-facts {
  margin: 0;
  padding: 0.4rem 1.2rem;
  align-self: start;
}

.about-facts li {
  display: grid;
  gap: 0.12rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--border-soft);
}

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

.about-facts span {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-highlights {
  display: grid;
  gap: 0.55rem;
  margin-bottom: 1.2rem;
}

.contact-direct {
  margin: 0;
  color: var(--text-muted);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  padding: 1.15rem 1.15rem 1.05rem;
}

.form-row {
  display: grid;
  gap: 0.85rem;
}

.form-field {
  display: grid;
  gap: 0.3rem;
}

.contact-form label {
  font-weight: 700;
  font-size: 0.95rem;
}

.required {
  color: var(--primary);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  font: inherit;
  font-size: 18px;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--control);
  border-radius: 0.7rem;
  padding: 0.75rem 0.85rem;
  box-shadow: inset 0 1px 2px rgba(28, 39, 54, 0.04);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--placeholder);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(42, 91, 166, 0.16);
  outline: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
}

.h-captcha {
  margin-top: 0.15rem;
}

.captcha-fallback {
  margin: 0;
  color: var(--warning);
  font-size: 0.9rem;
}

.captcha-email-fallback {
  font-size: 0.95rem;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.error:not(.form-status) {
  min-height: 1.1rem;
  margin: 0;
  color: var(--danger);
  font-size: 0.88rem;
}

.form-status {
  margin: 0;
  font-weight: 700;
  min-height: 1.25rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.3rem 0 1.7rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 0;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(8, 12, 20, 0.62);
  z-index: 120;
  overscroll-behavior: contain;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-dialog {
  width: min(440px, 100%);
  background: var(--paper);
  border: 1.5px solid var(--border);
  border-radius: 1.05rem;
  box-shadow: var(--shadow);
  padding: 1.2rem 1.25rem 1.15rem;
}

.modal-dialog h3 {
  margin: 0 0 0.4rem;
}

.modal-dialog p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

@keyframes contentReveal {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  .hero-copy > * {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  .section {
    padding: 5.8rem 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(200px, 0.55fr);
    align-items: end;
    gap: 3rem;
  }

  .hero-trust {
    border-left: 1px solid var(--border);
    padding: 0.2rem 0 0.2rem 1.4rem;
    margin-bottom: 0.35rem;
  }

  .steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.15rem;
  }

  .about-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.7fr);
    gap: 3rem;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
  }

  .contact-form,
  .price-card {
    padding: 1.4rem 1.45rem 1.3rem;
  }
}

@media (max-width: 720px) {
  .container {
    width: min(1080px, calc(100% - 1.5rem));
  }

  .nav-wrap {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 0.75rem 0;
    gap: 0.15rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .section {
    padding: 3.4rem 0;
  }

  .ledger thead {
    display: none;
  }

  .ledger,
  .ledger tbody,
  .ledger tr,
  .ledger td {
    display: block;
    width: auto;
  }

  .ledger tr {
    padding: 0.35rem 0 0.55rem;
    border-bottom: 1px solid var(--border-soft);
  }

  .ledger tbody tr:last-child {
    border-bottom: 0;
  }

  .ledger td {
    border-bottom: 0;
    padding: 0.7rem 1.05rem 0.15rem;
  }

  .ledger td:last-child {
    padding-bottom: 0.85rem;
  }

  .ledger td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.28rem;
    font-family: "Source Sans 3", "Segoe UI", sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
  }

  .ledger td:first-child {
    font-size: 1.12rem;
  }
}

.not-found-page {
  min-height: calc(100vh - 6rem);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 0;
}

.not-found-inner {
  text-align: center;
  max-width: 38ch;
}

.not-found-inner h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.85rem, 4.2vw, 2.55rem);
}

.not-found-inner p {
  margin: 0 0 1.75rem;
  color: var(--text-muted);
}

.not-found-code {
  display: block;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
