:root {
  --canvas: #EFEFF1;
  --white: #FFFFFF;
  --ink: #0A0A0A;
  --slate: #6B6B73;
  --navy: #0B3D91;
  --navy-lift: #1A56DB;
  --navy-sky: #4A8AF0;
  --line: rgba(10, 10, 10, 0.1);
  --line-strong: rgba(10, 10, 10, 0.16);
  --scrim: rgba(10, 10, 10, 0.42);
  --shadow: 0 1px 2px rgba(10, 10, 10, 0.04), 0 12px 40px rgba(10, 10, 10, 0.06);
  --radius: 20px;
  --radius-pill: 999px;
  --wrap: 1120px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--navy-lift); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--navy); }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; }
h1, h2, h3 { margin: 0; font-weight: 600; color: var(--ink); }

.skip-link {
  position: absolute;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus,
.skip-link:focus-visible {
  transform: translateY(0);
  outline: 2px solid var(--navy-lift);
  outline-offset: 3px;
}

#main[tabindex="-1"]:focus { outline: none; }

[id] { scroll-margin-top: 88px; }

:focus-visible {
  outline: 2px solid var(--navy-lift);
  outline-offset: 3px;
}
:focus:not(:focus-visible) { outline: none; }

.wrap {
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(239, 239, 241, 0.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  width: min(100% - 48px, var(--wrap));
  margin-inline: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand:hover { color: var(--ink); }
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 13px;
  font-weight: 700;
  position: relative;
}
.brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--navy);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: var(--slate);
  text-decoration: none;
}
.nav-links a:hover { color: var(--ink); }

.nav-cta { flex-shrink: 0; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  padding: 8px 12px;
  font: 600 13px/1 var(--font);
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle:hover { border-color: var(--line-strong); }

.nav-panel {
  display: none;
  border-top: 1px solid var(--line);
  background: var(--canvas);
  padding: 12px 24px 16px;
}
.nav-panel a {
  display: block;
  padding: 10px 0;
  color: var(--ink);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
}
.nav-panel a:hover { color: var(--navy-lift); }

@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
  .site-header.is-open .nav-panel { display: block; }
}

@media (max-width: 380px) {
  .nav-cta-label-full { display: none; }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 14px 26px;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 120ms var(--ease), background 160ms var(--ease), border-color 160ms var(--ease), color 160ms var(--ease);
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 88%, white); color: var(--white); }
.btn-primary:focus-visible {
  outline: 2px solid var(--navy-lift);
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.55);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.28);
}
.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: min(92svh, 820px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  isolation: isolate;
}
@supports (height: 100dvh) {
  .hero { min-height: min(92dvh, 820px); }
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: var(--ink);
  background-image: image-set(
    url("/assets/hero.jpg") type("image/jpeg") 1x
  );
  background-size: cover;
  background-position: 58% center;
  transform: scale(1.03);
  animation: specular-crawl 14s var(--ease) 1 both;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, var(--scrim) 0%, rgba(10, 10, 10, 0.35) 46%, rgba(10, 10, 10, 0.12) 100%),
    linear-gradient(180deg, rgba(10, 10, 10, 0.12) 0%, rgba(10, 10, 10, 0.5) 100%);
}

.hero-inner {
  width: min(100% - 48px, var(--wrap));
  margin: 0 auto;
  padding: 120px 0 56px;
  max-width: 640px;
  margin-left: max(24px, calc((100% - var(--wrap)) / 2));
  animation: hero-rise 800ms var(--ease) both;
}

.hero-mail-fallback {
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}
.hero-mail-fallback a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero h1 {
  font-size: clamp(40px, 7vw, 60px);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0 0 18px;
  color: var(--white);
  max-width: 12ch;
}

.hero-lede {
  margin: 0 0 32px;
  max-width: 34em;
  font-size: clamp(17px, 2.2vw, 19px);
  line-height: 1.45;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@keyframes specular-crawl {
  from { transform: scale(1.03) translate3d(0, 0, 0); }
  to { transform: scale(1.06) translate3d(-10px, -6px, 0); }
}

@keyframes hero-rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes section-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

.section {
  padding: 88px 0;
}
.section-tight { padding: 64px 0; }

.section-label {
  display: inline-block;
  margin: 0 0 14px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--navy);
}

.section h2 {
  font-size: clamp(30px, 4.5vw, 38px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  max-width: 18ch;
}

.section-lede {
  margin: 0 0 40px;
  max-width: 36em;
  color: var(--slate);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 500;
}

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

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr; }
}

.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  animation: section-rise 700ms var(--ease) both;
}
.feature:nth-child(2) { animation-delay: 60ms; }
.feature:nth-child(3) { animation-delay: 120ms; }

.feature-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  border-radius: var(--radius-pill);
  background: rgba(11, 61, 145, 0.1);
  color: var(--navy);
  font-size: 12px;
  font-weight: 700;
}

.feature h3 {
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.015em;
  margin: 0 0 10px;
}

.feature p {
  margin: 0;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.55;
}

.page-hero {
  padding: 56px 0 28px;
}
.page-hero h1 {
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
  max-width: 16ch;
}
.page-hero .lede {
  margin: 0;
  max-width: 38em;
  color: var(--slate);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.45;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}
@media (max-width: 800px) {
  .pricing-grid { grid-template-columns: 1fr; }
}

.price-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0;
}
.price-card.featured {
  border-color: rgba(11, 61, 145, 0.35);
  box-shadow: 0 1px 2px rgba(11, 61, 145, 0.06), 0 16px 48px rgba(11, 61, 145, 0.1);
}

.price-tier {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.price-tier h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--slate);
  max-width: none;
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: rgba(11, 61, 145, 0.1);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.price-amount {
  font-size: 44px;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 8px 0 6px;
}
.price-amount span {
  font-size: 16px;
  font-weight: 500;
  color: var(--slate);
  letter-spacing: 0;
}

.price-blurb {
  margin: 0 0 22px;
  color: var(--slate);
  font-size: 15px;
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 28px;
  flex: 1;
}
.price-list li {
  position: relative;
  padding-left: 22px;
  color: var(--ink);
  font-size: 15px;
  line-height: 1.45;
}
.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--navy);
}

.price-note {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: var(--slate);
  font-size: 14px;
  line-height: 1.45;
}
.price-note strong { color: var(--ink); font-weight: 600; }

.faq {
  margin-top: 56px;
}
.faq h2 {
  margin-bottom: 20px;
  max-width: none;
}

.faq-item {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--slate);
  font-size: 22px;
  font-weight: 400;
  line-height: 1;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p {
  margin: 12px 0 4px;
  color: var(--slate);
  font-size: 15px;
  line-height: 1.6;
  max-width: 52em;
}

.cta-band {
  margin: 24px 0 0;
  padding: 48px 40px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  text-align: center;
}
.cta-band-spaced { margin-top: 48px; }
.mail-fallback-ink {
  margin: 16px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--slate);
}
.mail-fallback-ink a { color: var(--navy-lift); }
.cta-band h2 {
  max-width: none;
  margin: 0 0 10px;
}
.cta-band p {
  margin: 0 auto 24px;
  max-width: 34em;
  color: var(--slate);
}
.cta-band .hero-actions { justify-content: center; }

.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px 0 80px;
}
.legal-meta {
  margin: 0 0 8px;
  color: var(--slate);
  font-size: 13px;
}
.legal-intro {
  margin: 0 0 28px;
  color: var(--slate);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.45;
}
.legal-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.legal-card h2 {
  font-size: 18px;
  letter-spacing: -0.015em;
  margin: 28px 0 8px;
  max-width: none;
}
.legal-card h2:first-child { margin-top: 0; }
.legal-card p,
.legal-card li {
  color: var(--slate);
  font-size: 15px;
  line-height: 1.55;
}
.legal-card ul {
  padding-left: 1.2em;
  margin: 0 0 0.5em;
}
.legal-card li { margin-bottom: 0.35em; }
.legal-card strong { color: var(--ink); font-weight: 600; }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 48px;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px 32px;
  font-size: 13px;
  color: var(--slate);
}
.footer-brand {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.02em;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
}
.footer-links a {
  color: var(--slate);
  text-decoration: none;
}
.footer-links a:hover { color: var(--navy-lift); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media,
  .hero-inner,
  .feature {
    animation: none !important;
  }
  .btn { transition: none; }
  .btn:active { transform: none; }
}
