:root {
  --navy: #00111c;
  --teal: #F14902;
  --bg: #f8fafc;
  --surface: #ffffff;
  --teal-light: #ffe8de;
  --slate-100: #f1f5f9;
  --border: #e5e7eb;
  --text-primary: #1a1a2e;
  --text-secondary: #6b7280;
  --text-muted: #94a3b8;
  --max-w: 1200px;
  --section-py: 80px;
  --radius-card: 12px;
  --hero-ink-100: #00111c;
  --hero-ink-200: #001523;
  --hero-ink-300: #001a2c;
  --hero-space-400: #002137;
  --hero-space-500: #00253e;
  --hero-space-600: #002945;
  --hero-space-700: #002e4e;
  --hero-space-800: #003356;
  --hero-yale-900: #003a61;
  --hero-yale-950: #00406c;
  --hero-accent: #00406c;
  --hero-accent-bright: #003a61;
  --hero-text-muted: #c7d9e8;
  --hero-grid-line: rgba(199, 217, 232, 0.08);
  --hero-panel: rgba(0, 33, 55, 0.56);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  color: var(--text-primary);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: 24px;
}

.section {
  padding-block: var(--section-py);
}

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 12px;
}

.section-headline {
  font-size: 36px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.2;
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-top: 14px;
  max-width: 600px;
}

.section-header {
  margin-bottom: 56px;
}

.section-header--center {
  text-align: center;
}

.section-header--center .section-sub {
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: "Inter", sans-serif;
  font-size: 15px;
  font-weight: 600;
  border-radius: 8px;
  padding: 12px 24px;
  cursor: pointer;
  transition: opacity 0.18s, background 0.18s;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.88;
}

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

.btn-secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.btn-white {
  background: #fff;
  color: var(--teal);
  border-color: #fff;
}

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

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--border);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav__logo,
.footer__brand-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.nav__links a:hover,
.footer__col-links a:hover,
.footer__legal a:hover {
  color: var(--teal);
}

.nav__cta {
  margin-left: 24px;
}

.brand-logo-image {
  display: block;
  width: auto;
  max-width: 100%;
}

.brand-logo-image--nav {
  height: 56px;
  border-radius: 14px;
  box-shadow: 0 10px 24px rgba(0, 17, 28, 0.1);
}

.brand-logo-image--footer {
  height: 92px;
  border-radius: 18px;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at top left, rgba(0, 64, 108, 0.2), transparent 30%),
    radial-gradient(circle at 82% 18%, rgba(0, 58, 97, 0.18), transparent 24%),
    linear-gradient(145deg, var(--hero-ink-100) 0%, var(--hero-space-400) 48%, var(--hero-yale-950) 100%);
  box-shadow:
    0 20px 60px rgba(0, 17, 28, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.hero__canvas,
.hero__grid,
.hero__glow {
  position: absolute;
  inset: 0;
}

.hero__canvas {
  width: 100%;
  height: 100%;
}

.hero__grid {
  background-image: none;
}

.hero__glow {
  filter: blur(90px);
  opacity: 0.36;
}

.hero__glow--left {
  background: rgba(0, 64, 108, 0.24);
  inset: auto auto 10% -8%;
  width: 340px;
  height: 340px;
}

.hero__glow--right {
  background: rgba(0, 58, 97, 0.22);
  inset: 8% -10% auto auto;
  width: 360px;
  height: 360px;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding-block: 80px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e8f2f8;
  background: rgba(0, 17, 28, 0.34);
  border: 1px solid rgba(199, 217, 232, 0.16);
  border-radius: 100px;
  padding: 6px 14px;
  margin-bottom: 28px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffffff, #7aa3c2);
  box-shadow: 0 0 18px rgba(122, 163, 194, 0.45);
}

.hero__headline {
  font-size: 52px;
  font-weight: 600;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 820px;
  margin-inline: auto;
  margin-bottom: 22px;
}

.hero__sub {
  font-size: 18px;
  color: var(--hero-text-muted);
  line-height: 1.65;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__actions .btn {
  font-size: 15px;
  padding: 14px 28px;
}

.hero .btn-primary {
  background: linear-gradient(180deg, #00406c, #003356);
  border-color: rgba(199, 217, 232, 0.14);
  box-shadow: 0 10px 30px rgba(0, 17, 28, 0.24);
}

.hero .btn-secondary {
  color: #ebfbfd;
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
}

.hero__stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  margin-top: 64px;
  padding: 18px;
  border-radius: 20px;
  background: var(--hero-panel);
  border: 1px solid rgba(145, 171, 197, 0.12);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 16px 50px rgba(0, 17, 28, 0.24);
  backdrop-filter: blur(16px);
  flex-wrap: wrap;
}

.hero__stat-value {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--hero-text-muted);
  margin-top: 4px;
}

.hero__stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.08);
}

.trust-bar {
  background: var(--slate-100);
  border-bottom: 1px solid var(--border);
}

.trust-bar__inner {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  padding: 12px 28px;
}

.trust-bar__item svg,
.service-card__icon svg,
.why-item__icon svg,
.footer__contact-item svg {
  color: var(--teal);
}

.trust-bar__sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #cbd5e1;
}

.problem,
.pricing {
  background: var(--surface);
}

.services,
.testimonials {
  background: var(--bg);
}

.problem__grid,
.services__grid,
.pricing__grid,
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.problem__card,
.service-card,
.pricing-card,
.testimonial-card,
.byo-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--surface);
}

.problem__card,
.testimonial-card {
  padding: 32px;
}

.problem__icon,
.why-item__icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.problem__icon {
  background: #fef3f2;
}

.problem__icon svg {
  color: #f04438;
}

.problem__title,
.why-item__title {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 10px;
}

.problem__title {
  color: var(--navy);
}

.why-item__title {
  color: #fff;
}

.problem__body,
.service-card__desc,
.why-item__desc,
.cta-banner__sub,
.footer__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card {
  padding: 28px;
  transition: border-color 0.2s;
}

.service-card:hover {
  border-color: var(--teal);
}

.service-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.service-card__title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-toggle {
  display: flex;
  align-items: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 52px;
  gap: 2px;
}

.pricing-mode-btn {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  border-radius: 7px;
  padding: 10px 22px;
  cursor: pointer;
  transition: all 0.18s;
}

.pricing-mode-btn.active {
  background: var(--navy);
  color: #fff;
}

.pricing-panel {
  display: none;
}

.pricing-panel.active {
  display: block;
}

.pricing-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.pricing-card--featured,
.byo-card--featured {
  border: 2px solid var(--teal);
}

.pricing-card__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--teal);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 100px;
}

.pricing-card__tier {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.pricing-card__price {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  margin-bottom: 6px;
}

.pricing-card__amount {
  font-size: 44px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.pricing-card__period {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.pricing-card__tagline {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}

.pricing-card__features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
}

.pricing-feature--unavailable {
  color: #8b97a8;
}

.pricing-feature__check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.pricing-feature__check svg {
  color: var(--teal);
}

.pricing-feature__check--unavailable {
  background: #fef2f2;
}

.pricing-feature__check--unavailable svg {
  color: #dc2626;
}

.pricing-card .btn,
.byo-footer .btn {
  width: 100%;
  justify-content: center;
}

.byo-intro,
.pricing-note {
  text-align: center;
  font-size: 14px;
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.65;
}

.byo-intro {
  color: #0f6b4f;
  margin-bottom: 40px;
  background: var(--teal-light);
  border: 1px solid rgba(29, 158, 117, 0.2);
  border-radius: 8px;
  padding: 12px 20px;
}

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

.byo-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid var(--border);
}

.byo-price-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: 8px;
}

.byo-total {
  font-size: 40px;
  font-weight: 700;
  color: var(--navy);
}

.byo-total.discounted {
  color: var(--teal);
}

.byo-per {
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.byo-savings {
  font-size: 12px;
  font-weight: 600;
  color: var(--teal);
  background: var(--teal-light);
  border-radius: 100px;
  padding: 3px 10px;
  opacity: 0;
}

.byo-savings.visible {
  opacity: 1;
}

.byo-services {
  padding: 12px 24px;
  flex: 1;
}

.byo-service-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid #f3f4f6;
  cursor: pointer;
}

.byo-service-row.required-row {
  cursor: default;
}

.byo-service-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.byo-checkbox {
  width: 18px;
  height: 18px;
  border-radius: 4px;
  border: 1.5px solid #d1d5db;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.byo-checkbox.checked {
  background: var(--teal);
  border-color: var(--teal);
}

.byo-checkbox--unavailable {
  background: #fef2f2;
  border-color: #fecaca;
}

.byo-checkbox svg {
  opacity: 0;
}

.byo-checkbox.checked svg,
.byo-checkbox--unavailable svg {
  opacity: 1;
}

.byo-service-row.unchecked .byo-service-name {
  color: #8b97a8;
}

.byo-service-price {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
}

.byo-required-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  background: #f1f5f9;
  border-radius: 4px;
  padding: 2px 6px;
}

.byo-footer {
  padding: 16px 24px 24px;
  border-top: 1px solid var(--border);
}

.byo-reset {
  display: block;
  width: 100%;
  border: none;
  background: none;
  text-align: center;
  font-size: 12px;
  color: var(--text-secondary);
  margin-top: 10px;
  cursor: pointer;
}

.pricing-note {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 32px;
}

.pricing-extras {
  margin-top: 32px;
  display: block;
}

.pricing-extras__section {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 24px;
}

.pricing-extras__title {
  margin: 0 0 14px;
  font-size: 18px;
  color: var(--navy);
}

.pricing-extras__list {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.55;
}

.why-us,
.footer {
  background: var(--navy);
}

.why-us {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(0, 64, 108, 0.16), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(0, 58, 97, 0.14), transparent 24%),
    linear-gradient(145deg, var(--hero-ink-100) 0%, var(--hero-space-400) 50%, var(--hero-yale-950) 100%);
}

.why-us::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hero-grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--hero-grid-line) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 90%);
  opacity: 0.45;
  pointer-events: none;
}

.why-us .container {
  position: relative;
  z-index: 1;
}

.why-us .section-headline,
.cta-banner__headline,
.footer__brand-logo,
.footer__col-title {
  color: #fff;
}

.why-us .section-sub,
.why-item__desc,
.footer__tagline,
.footer__col-links a,
.footer__contact-item,
.footer__copy,
.footer__legal a {
  color: var(--text-muted);
}

.why-us__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  margin-top: 56px;
}

.why-item {
  display: flex;
  gap: 20px;
}

.why-item__icon {
  background: rgba(29, 158, 117, 0.15);
  border: 1px solid rgba(29, 158, 117, 0.25);
  flex-shrink: 0;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
  color: #f59e0b;
}

.testimonial-card__quote {
  font-size: 15px;
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 24px;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--teal-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  color: var(--teal);
}

.testimonial-card__name {
  font-size: 14px;
  font-weight: 600;
}

.testimonial-card__practice {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 2px;
}

.cta-banner {
  background: var(--teal);
  padding-block: 80px;
}

.cta-banner__inner {
  text-align: center;
}

.cta-banner__headline {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-banner__sub {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 36px;
}

.footer {
  padding-top: 64px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__col-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.footer__col-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  margin-bottom: 12px;
}

.footer address {
  font-style: normal;
}

.footer__contact-item a {
  color: inherit;
  text-decoration: none;
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer__legal {
  display: flex;
  gap: 24px;
}

@media (max-width: 1024px) {
  .problem__grid,
  .services__grid,
  .pricing__grid,
  .testimonials__grid,
  .byo-grid,
  .footer__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero__headline {
    font-size: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-py: 56px;
  }

  .brand-logo-image--nav {
    height: 48px;
  }

  .brand-logo-image--footer {
    height: 80px;
  }

  .nav__links {
    display: none;
  }

  .hero__headline {
    font-size: 32px;
  }

  .hero__sub {
    font-size: 16px;
  }

  .hero__stat-divider,
  .trust-bar__sep {
    display: none;
  }

  .problem__grid,
  .services__grid,
  .pricing__grid,
  .testimonials__grid,
  .why-us__grid,
  .byo-grid,
  .footer__grid {
    grid-template-columns: 1fr;
  }

  .section-headline,
  .cta-banner__headline {
    font-size: 28px;
  }
}

@media (max-width: 375px) {
  .hero__headline {
    font-size: 26px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .btn {
    width: 100%;
  }
}
