@font-face {
  font-family: "Formation Sans";
  src: url("/assets/fonts/Formation Sans Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --primary: #2597d4;
  --primary-dark: #1b7cb2;
  --primary-text: #1b7cb2;
  --secondary: #92cbea;
  --accent: #9a7a47;
  --accent-text: #7d6238;
  --dark: #2f3a3f;
  --dark-2: #263034;
  --text: #33414a;
  --text-light: #5d6c75;
  --bg: #ffffff;
  --bg-alt: #f2f7fa;
  --border: #dde7ed;
  --radius: 10px;
  --shadow: 0 2px 12px rgb(47 58 63 / 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

h1,
h2,
h3 {
  font-family: "Formation Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

h1,
h2,
h3 {
  line-height: 1.2;
  color: var(--dark);
}

h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin: 0 0 0.5rem;
}

a {
  color: var(--primary-text);
  text-underline-offset: 0.15em;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--dark);
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0 0 var(--radius) 0;
  z-index: 100;
}

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

::selection {
  background: var(--secondary);
  color: var(--dark);
}

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

.section-alt a:not(.btn) {
  color: #156a97;
}

.container {
  max-width: 68rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-intro {
  max-width: 42rem;
  margin: 0 0 2.5rem;
  color: var(--text-light);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--dark);
  border-bottom: 3px solid var(--primary);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.site-header img {
  height: 48px;
  width: auto;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.site-nav a {
  color: #e8eef1;
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
  background-image: linear-gradient(var(--secondary), var(--secondary));
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-size: 0% 2px;
  transition: color 0.25s ease, background-size 0.25s ease;
}

.site-nav a:hover {
  color: var(--secondary);
  background-size: 100% 2px;
}

.site-nav a.nav-phone {
  color: var(--secondary);
}

.site-nav a.nav-phone:hover {
  color: #fff;
  background-image: linear-gradient(var(--primary), var(--primary));
}

.site-nav a.active {
  color: #fff;
  background-image: linear-gradient(var(--primary), var(--primary));
  background-size: 100% 2px;
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-2) 100%);
  color: #e8eef1;
  padding: 6.5rem 0 6rem;
  text-align: center;
}

.hero h1 {
  color: #fff;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin: 0 auto 1rem;
  max-width: 46rem;
}

.hero p {
  color: var(--secondary);
  font-size: 1.125rem;
  max-width: 38rem;
  margin: 0 auto 2.25rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-trust {
  margin: 2.25rem auto 0;
  font-size: 0.875rem;
  color: var(--secondary);
  opacity: 0.95;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.7rem 1.6rem;
  border-radius: var(--radius);
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid transparent;
  transition: background 0.15s, color 0.15s;
}

.btn-primary {
  background: var(--primary-text);
  color: #fff;
}

.btn-primary:hover {
  background: #156a97;
}

.btn-quiet {
  background: #fff;
  border-color: var(--border);
  color: var(--primary-text);
}

.btn-quiet:hover {
  border-color: var(--primary-text);
  background: var(--bg-alt);
}

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

.btn-outline:hover {
  background: var(--secondary);
  color: var(--dark);
}

/* ---------- Plan cards ---------- */
.plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.5rem;
}

.plan {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
}

.plan-popular {
  border: 2px solid var(--accent);
}

.plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-text);
  color: #fff;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.2rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan h3 {
  margin: 0;
  font-size: 1.375rem;
  color: var(--primary-text);
}

.plan-price {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 2rem;
  font-variant-numeric: lining-nums tabular-nums;
  color: var(--dark);
  margin: 0.5rem 0 0.25rem;
}

.plan-price span {
  font-size: 0.875rem;
  color: var(--text-light);
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 1rem 0 1.5rem;
  flex: 1;
}

.plan-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.plan-email {
  font-size: 0.875rem;
}

.plan li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}

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

.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.85rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--secondary);
}

/* ---------- Email tiers ---------- */
.email-included {
  margin: 0 0 1rem;
}

.email-tiers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.email-tiers li {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.email-tiers li span {
  color: var(--accent-text);
  margin-left: 0.4rem;
}

.email-cta {
  max-width: 42rem;
  margin: 1.5rem 0 0;
}

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
}

.feature {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem;
}

.feature h3 {
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.feature .price {
  display: inline-block;
  color: var(--dark);
  margin: 0 0 0.5rem;
}

.feature p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

.feature-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.25rem 2.5rem;
  align-items: baseline;
  border-left: 4px solid var(--accent);
}

.band-copy {
  max-width: 60ch;
}

.band-cta {
  margin: 0;
  white-space: nowrap;
}



.feature-wide h3,
.feature-wide .price {
  margin: 0;
}

@media (max-width: 640px) {
  .feature-wide {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 46rem;
}

.faq-list details {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 0.75rem;
}

.faq-list summary {
  padding: 1rem 3rem 1rem 1.25rem;
  cursor: pointer;
  color: var(--dark);
  position: relative;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.125rem;
  color: var(--primary-text);
}

.faq-list details[open] summary::after {
  content: "\2212";
}

.faq-list details[open] summary {
  border-bottom: 1px solid var(--border);
}

.faq-list details p {
  padding: 1rem 1.25rem;
  margin: 0;
  color: var(--text-light);
}

/* ---------- About ---------- */
.testimonial-slot {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.5rem;
  margin: 0 0 1.5rem;
}

.testimonial {
  margin: 0;
  padding: 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border-left: 4px solid var(--accent);
  box-shadow: var(--shadow);
}

.testimonial p {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--dark);
}

.testimonial footer {
  color: var(--text-light);
  font-size: 0.875rem;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-point {
  padding: 1.25rem 1.5rem;
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.about-point strong {
  display: block;
  color: var(--primary-text);
  margin-bottom: 0.25rem;
}

.about-point p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.875rem;
}

/* ---------- Contact ---------- */
.contact-actions {
  margin: 0 0 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 2rem;
}

.contact-signature {
  font-size: 1.125rem;
  color: var(--dark);
  max-width: 42rem;
  margin: 2.5rem 0 0;
}

.contact-card h3 {
  margin: 0 0 0.75rem;
  font-size: 1.125rem;
  color: var(--primary-text);
}

.contact-card p {
  margin: 0 0 0.4rem;
}



/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #b9c6cd;
  padding: 2.5rem 0;
  font-size: 0.875rem;
}

.site-footer .container {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-footer a {
  color: var(--secondary);
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.footer-legal {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  html {
    scroll-padding-top: 1rem;
  }

  .site-header {
    position: static;
  }

  .site-header .container {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .site-header img {
    height: 40px;
  }

  .site-nav {
    justify-content: center;
    gap: 1rem;
  }

  .hero {
    padding: 3.5rem 0;
  }
}
