/* Chatman Solutions
   Blues #2785D0 #247DC6, gradient #2888D2 to #114F8D, navy #194167.
   Body text stays navy so it clears AA on white and on #f4f8fb. */

:root {
  color-scheme: light;
  --navy: #194167;
  --blue-tail: #114f8d;
  --blue-top: #2888d2;
  --line: #d7e3ee;
  --paper: #f4f8fb;
  --white: #fff;
  --ink: #194167;
  --max: 1080px;
  --header: 4.75rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  overflow-wrap: break-word;
}

img {
  max-width: 100%;
  height: auto;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h1 {
  margin-bottom: 0.85rem;
  font-size: clamp(1.9rem, 4.4vw, 3.15rem);
  font-weight: 700;
}

h2 {
  margin-bottom: 0.75rem;
  font-size: clamp(1.55rem, 2.6vw, 2.05rem);
  font-weight: 700;
}

h3 {
  line-height: 1.3;
}

a {
  color: var(--blue-tail);
}

a:hover {
  color: var(--navy);
}

:focus-visible {
  outline: 3px solid var(--blue-tail);
  outline-offset: 3px;
}

p,
li {
  max-width: 68ch;
}

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.75rem;
  z-index: 100;
  padding: 0.65rem 0.9rem;
  background: var(--blue-tail);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  border-radius: 10px;
  transform: translateY(-160%);
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.wrap {
  width: min(var(--max), calc(100% - 2rem));
  margin-inline: auto;
}

.accent-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--blue-top), var(--blue-tail));
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: var(--header);
}

.brand {
  display: flex;
  align-items: center;
  min-width: 0;
  line-height: 0;
}

.brand img {
  display: block;
  height: 40px;
  width: auto;
}

.nav summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.35rem 0.9rem;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  cursor: pointer;
}

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

.desktop-nav {
  display: none;
}

.nav-links a:not(.button),
.desktop-nav a:not(.button) {
  color: var(--navy);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

.nav-links a:not(.button):hover,
.desktop-nav a:not(.button):hover {
  background: var(--paper);
}

@media (max-width: 979px) {
  .nav {
    position: relative;
  }

  .site-header .nav[open] > .nav-links {
    position: absolute;
    right: 0;
    top: calc(100% + 0.45rem);
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 220px;
    padding: 0.4rem;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: 0 12px 32px rgba(25, 65, 103, 0.1);
  }
}

@media (min-width: 980px) {
  .brand img {
    height: 52px;
  }

  .nav {
    display: none;
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.15rem;
  }
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.65rem 1.15rem;
  border: 2px solid var(--blue-tail);
  border-radius: 999px;
  background: var(--blue-tail);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.strategy-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--blue-tail);
  font-weight: 700;
  line-height: 1.3;
  text-underline-offset: 0.18em;
}

.strategy-link:hover {
  color: var(--navy);
}

.strategy-offer {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35rem;
  max-width: 36rem;
  margin-top: 0.85rem;
}

.strategy-note {
  margin: 0;
}

.button:disabled {
  cursor: default;
}

.text-link {
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.hero {
  padding: 2.25rem 0 3rem;
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--blue-tail);
  font-weight: 700;
}

.lede {
  margin-bottom: 0;
  font-size: 1.125rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1.1rem;
  margin-top: 1.5rem;
}

.hero-mark {
  display: grid;
  place-items: center;
  padding: 1.5rem;
  border-radius: 28px;
  background: rgba(40, 136, 210, 0.1);
}

.hero-mark img {
  width: min(240px, 100%);
  height: auto;
}

.band {
  padding: 3.25rem 0;
}

.band-tint {
  background: var(--paper);
}

.band-rule {
  border-top: 1px solid var(--line);
}

.section-intro {
  margin-bottom: 1.5rem;
}

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

.package {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.2rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.package-featured {
  margin-bottom: 1rem;
  border: 2px solid transparent;
  background:
    linear-gradient(var(--white), var(--white)) padding-box,
    linear-gradient(160deg, var(--blue-top), var(--blue-tail)) border-box;
}

.kicker {
  display: inline-block;
  margin: 0 0 0.7rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--blue-tail);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.package h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
}

.price {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}

.price-from,
.price-note {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0;
}

.duration {
  margin: 0.2rem 0 0.75rem;
  font-weight: 700;
}

.package ul {
  margin: 0.35rem 0 0;
  padding-left: 1.15rem;
}

.package li {
  margin-top: 0.4rem;
  padding-left: 0.15rem;
}

.package li::marker {
  color: var(--blue-tail);
}

.fine {
  margin: 1rem 0 0;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.points {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.point {
  padding: 1.2rem 1.15rem 1.3rem;
  border-radius: 16px;
  background: var(--paper);
}

.point h3 {
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
}

.point p {
  margin: 0;
}

.split {
  display: grid;
  gap: 2.5rem;
}

.places {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.places li {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
}

.contact-grid {
  display: grid;
  gap: 1.5rem;
}

.form-card {
  padding: 1.2rem 1.15rem 1.35rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.form-help {
  margin: 0 0 1rem;
}

.field {
  margin-bottom: 1rem;
}

.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.8rem;
  border: 1px solid #c5d4e2;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--blue-tail);
  box-shadow: inset 0 0 0 1px var(--blue-tail);
}

.field-error {
  margin: 0.35rem 0 0;
  color: var(--blue-tail);
  font-size: 0.95rem;
  font-weight: 700;
}

.field-error:empty {
  display: none;
}

.form-status:empty {
  display: none;
}

.form-status {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  border-left: 4px solid var(--blue-tail);
  border-radius: 12px;
  background: var(--paper);
}

.form-status a {
  font-weight: 700;
}

.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-card .button {
  width: 100%;
}

.site-footer {
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.site-footer p {
  margin: 0 0 0.4rem;
}

.site-footer p:last-child {
  margin-bottom: 0;
}

.prose h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

@media (min-width: 700px) {
  .form-card .button {
    width: auto;
  }
}

@media (min-width: 800px) {
  .hero {
    padding: 4.25rem 0 4.75rem;
  }

  .hero-grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
  }

  .hero-mark img {
    width: min(280px, 100%);
  }

  .band {
    padding: 4.75rem 0;
  }

  .package-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 2rem;
    align-items: start;
  }

  .points {
    grid-template-columns: repeat(3, 1fr);
  }

  .split {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3rem;
    align-items: start;
  }
}

@media (min-width: 980px) {
  .package-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
  }
}

@media (min-width: 860px) {
  .contact-grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 2rem;
    align-items: start;
  }
}

section[id],
#main {
  scroll-margin-top: calc(var(--header) + 0.75rem);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .button,
  .nav summary,
  .nav-links a {
    transition: none;
  }
}

@media (forced-colors: active) {
  .package-featured,
  .button,
  .kicker {
    border: 2px solid CanvasText;
  }
}

@media print {
  .skip-link,
  .accent-bar,
  .nav {
    display: none;
  }

  .site-header {
    position: static;
  }

  a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-weight: 400;
    font-size: 0.85em;
  }
}
