:root {
  --ink: #071b2d;
  --ink-soft: #24445d;
  --muted: #5f7486;
  --line: #d8e3ea;
  --surface: #ffffff;
  --surface-alt: #f1f7f8;
  --page: #f7fafc;
  --teal: #0f8f82;
  --teal-dark: #087167;
  --teal-soft: #d9f5f0;
  --blue: #1d4ed8;
  --blue-soft: #e8efff;
  --warning: #fff5d9;
  --shadow: 0 18px 50px rgba(7, 27, 45, 0.09);
  --shadow-soft: 0 8px 26px rgba(7, 27, 45, 0.07);
  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 10% 5%, rgba(45, 212, 191, 0.13), transparent 28%),
    radial-gradient(circle at 90% 18%, rgba(29, 78, 216, 0.1), transparent 26%);
  content: "";
  pointer-events: none;
}

a {
  color: var(--teal-dark);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

img,
svg {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(216, 227, 234, 0.85);
  background: rgba(247, 250, 252, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 12px;
  background: var(--ink);
  color: #48e1ca;
  font-size: 0.82rem;
  letter-spacing: -0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.site-nav > a:not(.btn) {
  color: var(--ink-soft);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.site-nav > a[aria-current="page"] {
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

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

.btn-primary {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(15, 143, 130, 0.22);
}

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

.btn-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

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

.btn-lg {
  min-height: 54px;
  padding-inline: 1.5rem;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
  color: var(--ink);
  font-family: "Sora", sans-serif;
  line-height: 1.14;
}

h1 {
  max-width: 900px;
  margin-bottom: 1.25rem;
  font-size: clamp(2.5rem, 6vw, 4.9rem);
  letter-spacing: -0.045em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  letter-spacing: -0.035em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.25rem;
}

p {
  margin-top: 0;
}

.text-gradient {
  background: linear-gradient(120deg, var(--teal-dark), var(--blue));
  background-clip: text;
  color: transparent;
}

.hero {
  padding: clamp(4.5rem, 9vw, 8rem) 0 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.hero-copy .lead,
.page-hero .lead {
  max-width: 720px;
  margin-bottom: 1.7rem;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.hero-actions,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.72rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
}

.hero-panel,
.card,
.pricing-card,
.form-shell,
.legal-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.hero-panel {
  padding: 1.5rem;
  transform: rotate(1deg);
}

.route-preview {
  display: grid;
  gap: 1rem;
}

.route-node {
  padding: 1rem;
  border-radius: 14px;
  background: var(--surface-alt);
}

.route-arrow {
  color: var(--teal);
  font-weight: 800;
  text-align: center;
}

.route-node span,
.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.route-node strong {
  display: block;
  margin-top: 0.25rem;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-alt {
  border-block: 1px solid var(--line);
  background: var(--surface-alt);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.3rem;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading > p:not(.eyebrow) {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.grid-2,
.grid-3,
.grid-4,
.pricing-grid,
.footer-grid {
  display: grid;
  gap: 1.25rem;
}

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

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

.grid-4,
.pricing-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 1.5rem;
}

.card p:last-child,
.pricing-card p:last-child {
  margin-bottom: 0;
}

.card-icon,
.step-number {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  border-radius: 13px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-family: "Sora", sans-serif;
  font-weight: 800;
}

.card-link {
  display: inline-block;
  margin-top: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.pricing-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
}

.pricing-card.featured {
  border-color: var(--teal);
  box-shadow: var(--shadow);
}

.pricing-badge {
  align-self: flex-start;
  margin-bottom: 0.8rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: var(--teal-soft);
  color: var(--teal-dark);
  font-size: 0.72rem;
  font-weight: 800;
}

.price {
  margin: 1rem 0 0.25rem;
  font-family: "Sora", sans-serif;
  font-size: 2rem;
  font-weight: 800;
}

.price-scope {
  min-height: 3.3rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.check-list,
.plain-list {
  display: grid;
  gap: 0.65rem;
  margin: 1rem 0 1.5rem;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 1.4rem;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.check-list li::before {
  position: absolute;
  left: 0;
  color: var(--teal);
  content: "✓";
  font-weight: 900;
}

.pricing-card .btn {
  width: 100%;
  margin-top: auto;
}

.notice {
  padding: 1rem 1.2rem;
  border: 1px solid #f0d58c;
  border-radius: var(--radius-sm);
  background: var(--warning);
  color: #654d0d;
}

.notice[hidden] {
  display: none;
}

.page-hero {
  padding: 5rem 0 3.5rem;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-size: 0.8rem;
}

.breadcrumbs a {
  color: inherit;
}

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 3rem;
  align-items: start;
}

.content-main > section + section {
  margin-top: 3rem;
}

.content-main h2 {
  font-size: clamp(1.65rem, 3vw, 2.3rem);
}

.content-main p,
.content-main li {
  color: var(--ink-soft);
}

.sidebar {
  position: sticky;
  top: 100px;
}

.sidebar .card + .card {
  margin-top: 1rem;
}

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

.metric {
  padding: 1.2rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.metric strong {
  display: block;
  margin-top: 0.25rem;
  font-family: "Sora", sans-serif;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.comparison-table th,
.comparison-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: var(--surface-alt);
  color: var(--ink);
  font-size: 0.82rem;
}

.comparison-table td {
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.faq-list {
  display: grid;
  max-width: 900px;
  margin-inline: auto;
  gap: 0.75rem;
}

.faq-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.faq-button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-weight: 800;
  text-align: left;
}

.faq-button span:last-child {
  color: var(--teal);
  font-size: 1.4rem;
  transition: transform 160ms ease;
}

.faq-answer {
  display: none;
  padding: 0 1.2rem 1rem;
  color: var(--ink-soft);
}

.faq-answer p:last-child {
  margin-bottom: 0;
}

.faq-item.is-open .faq-answer {
  display: block;
}

.faq-item.is-open .faq-button span:last-child {
  transform: rotate(45deg);
}

.cta-band {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: calc(var(--radius) + 6px);
  background: var(--ink);
  color: #dbe8f0;
  box-shadow: var(--shadow);
}

.cta-band h2 {
  color: #fff;
}

.cta-band p {
  max-width: 720px;
}

.form-shell {
  max-width: 860px;
  margin-inline: auto;
  padding: clamp(1.25rem, 4vw, 2.5rem);
}

.hubspot-form {
  min-height: 260px;
}

.form-fallback {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-shell {
  max-width: 900px;
  margin-inline: auto;
  padding: clamp(1.5rem, 5vw, 3.5rem);
}

.legal-shell h2 {
  margin-top: 2.5rem;
  font-size: 1.55rem;
}

.legal-shell p,
.legal-shell li {
  color: var(--ink-soft);
}

.site-footer {
  margin-top: 4rem;
  padding: 4rem 0 1.5rem;
  background: var(--ink);
  color: #b8cad7;
}

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

.site-footer .brand,
.site-footer h3 {
  color: #fff;
}

.site-footer h3 {
  font-size: 0.95rem;
}

.site-footer a {
  display: block;
  margin-bottom: 0.45rem;
  color: #cfe0e9;
  text-decoration: none;
}

.site-footer a:hover {
  color: #48e1ca;
}

.footer-bottom {
  display: flex;
  margin-top: 3rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
}

.error-page {
  display: grid;
  min-height: 70vh;
  place-items: center;
  text-align: center;
}

.error-code {
  margin-bottom: 0;
  color: var(--teal);
  font-family: "Sora", sans-serif;
  font-size: clamp(5rem, 20vw, 11rem);
  font-weight: 800;
  line-height: 0.9;
}

@media (max-width: 1080px) {
  .grid-4,
  .pricing-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 1rem;
    left: 1rem;
    display: none;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    background: var(--surface);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: grid;
  }

  .hero-grid,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    transform: none;
  }

  .sidebar {
    position: static;
  }

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

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 1.2rem), var(--container));
  }

  .hero {
    padding-top: 3.5rem;
  }

  h1 {
    font-size: 2.55rem;
  }

  .grid-2,
  .grid-4,
  .pricing-grid,
  .metric-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

  .comparison-table {
    display: block;
    overflow-x: auto;
  }

  .footer-bottom {
    display: block;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.mt-lg {
  margin-top: 1.5rem;
}

.justify-center {
  justify-content: center;
}
