:root {
  --bg: #f5f7f8;
  --surface: #ffffff;
  --surface-alt: #eef2f3;
  --text: #17313b;
  --muted: #5d727b;
  --border: #d6e0e4;
  --accent: #1f7a8c;
  --accent-dark: #165867;
  --accent-soft: #d9eef2;
  --shadow: 0 16px 32px rgba(23, 49, 59, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --container: 1120px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 122, 140, 0.12), transparent 32%),
    linear-gradient(180deg, #fbfcfc 0%, var(--bg) 100%);
  line-height: 1.55;
}

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

button,
.button {
  font: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(14px);
  background: rgba(251, 252, 252, 0.88);
  border-bottom: 1px solid rgba(214, 224, 228, 0.8);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  min-width: 0;
}

.brand-logo {
  height: 2.5rem;
  width: auto;
  object-fit: contain;
  flex: 0 0 auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-size: 1rem;
}

.brand-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  border-radius: 0.8rem;
  padding: 0.65rem 0.8rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex: 1 1 auto;
  justify-content: center;
  min-width: 0;
}

.site-nav a {
  padding: 0.65rem 0.9rem;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.nav-group {
  position: relative;
}

.nav-group-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 0.9rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: default;
}

.nav-group-toggle::after {
  content: "v";
  font-size: 0.78rem;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 0.4rem);
  left: 0;
  min-width: 12.5rem;
  padding: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  display: none;
  z-index: 30;
}

.nav-submenu a {
  display: block;
  border-radius: 0.75rem;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.active,
.nav-group:hover .nav-group-toggle,
.nav-group:focus-within .nav-group-toggle,
.nav-group.active .nav-group-toggle {
  background: var(--surface-alt);
  color: var(--text);
}

.nav-group:hover .nav-submenu,
.nav-group:focus-within .nav-submenu {
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.9rem;
  padding: 0.8rem 1.2rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  white-space: nowrap;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--accent);
  color: #fff;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: var(--accent-dark);
}

.button-secondary {
  background: var(--surface);
  border-color: var(--border);
  color: var(--text);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: var(--surface-alt);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  margin-bottom: 0.85rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

.hero-grid,
.split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: center;
}

.hero-copy h1,
.page-hero h1 {
  margin: 1rem 0;
  font-size: clamp(1.85rem, 2.8vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.hero-copy p,
.page-hero p,
.section-intro {
  font-size: 1rem;
  color: var(--muted);
  max-width: 64ch;
}

.hero-lockup {
  margin-bottom: 1rem;
}

.hero-lockup img {
  width: min(100%, 420px);
  height: auto;
  object-fit: contain;
}

.hero-actions,
.cta-actions,
.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.7rem;
}

.hero-panel,
.card,
.panel,
.legal-card,
.summary-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-panel,
.card,
.panel,
.legal-card,
.summary-box {
  padding: 1.35rem;
}

.stat-row,
.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.15rem;
}

.stat-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 1.4rem;
}

.stat {
  padding: 1rem;
  background: var(--surface-alt);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

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

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

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

main section,
.page-section {
  padding: 3rem 0;
}

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

.section-header h2,
.hero-panel h2,
.panel h2 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.4rem, 1.85vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.03em;
}

.card h3,
.legal-card h2 {
  margin-top: 0;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.card h3 {
  font-size: clamp(1rem, 1.15vw, 1.15rem);
}

.legal-card h2 {
  font-size: clamp(1.18rem, 1.5vw, 1.4rem);
}

.list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.list li {
  padding-left: 1.4rem;
  position: relative;
}

.list li + li {
  margin-top: 0.7rem;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--accent);
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding: 1.4rem 1.35rem 1.35rem 4.2rem;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 1.25rem;
  top: 1.2rem;
  width: 2rem;
  height: 2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  font-weight: 800;
}

.price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin: 1rem 0;
}

.price strong {
  font-size: clamp(2.1rem, 3.4vw, 3.3rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.badge {
  display: inline-flex;
  padding: 0.32rem 0.7rem;
  border-radius: 999px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.notice,
.summary-box {
  background: var(--surface-alt);
}

.cta-band {
  padding: 2rem;
  background: linear-gradient(145deg, #183741 0%, #224a57 100%);
  color: #f5fbfc;
}

.cta-band p {
  color: rgba(245, 251, 252, 0.8);
}

.meta-note,
.muted,
.footer-small {
  color: var(--muted);
}

.meta-note,
.footer-small {
  font-size: 0.95rem;
}

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

.site-footer {
  padding: 2.4rem 0 3rem;
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.4rem;
}

.footer-links {
  display: grid;
  gap: 0.5rem;
}

@media (max-width: 960px) {
  .hero-grid,
  .split-grid,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }

  .header-inner {
    flex-wrap: wrap;
  }

  .site-nav {
    order: 4;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0.5rem;
  }

  .site-nav.open {
    display: flex;
  }

  .nav-group {
    width: 100%;
  }

  .nav-group-toggle {
    width: 100%;
    justify-content: space-between;
    border-radius: 0.9rem;
  }

  .nav-submenu {
    position: static;
    display: block;
    min-width: 0;
    margin-top: 0.4rem;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: transparent;
  }

  .nav-submenu a {
    padding-left: 1.5rem;
  }

  .nav-toggle {
    display: inline-flex;
  }

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

@media (max-width: 720px) {
  .hero,
  .page-hero,
  main section,
  .page-section {
    padding: 2.4rem 0;
  }

  .hero-grid,
  .split-grid,
  .grid-2,
  .grid-3,
  .grid-4,
  .stat-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .brand-tagline {
    display: none;
  }

  .brand-logo {
    height: 2.1rem;
  }

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