:root {
  --navy: #0b1f3a;
  --navy-2: #13284a;
  --blue: #2563eb;
  --blue-dark: #1d4ed8;
  --blue-light: #7cb3ff;
  --blue-soft: #eaf1fe;
  --ink: #141a26;
  --muted: #667085;
  --bg: #ffffff;
  --bg-alt: #f7f6f2;
  --line: #ebe8e0;
  --radius: 18px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; font-weight: 500; line-height: 1.1; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.3rem; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
a { color: inherit; }

.container { width: min(1100px, 100% - 32px); margin-inline: auto; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .75rem; font-weight: 600; color: var(--blue); margin-bottom: 1.2rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  background: var(--blue); color: #fff;
  font-weight: 600; text-decoration: none;
  padding: .9em 1.6em; border-radius: 999px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,99,235,.35); }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-small { padding: .55em 1.2em; font-size: .9rem; }
.btn-large { font-size: 1.05rem; padding: 1.05em 2em; }
.link {
  color: #fff; text-decoration: none; font-weight: 500;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .35s var(--ease);
  padding-bottom: 2px;
}
.link:hover { background-size: 100% 1px; }

/* Header */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  color: #fff;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), height .4s var(--ease);
}
.site-header.scrolled { background: rgba(13, 27, 49, .88); backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(255,255,255,.06); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; transition: height .4s var(--ease); }
.scrolled .nav { height: 62px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.25rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; font-size: .95rem; }
.nav-links a:not(.btn) { text-decoration: none; opacity: .75; transition: opacity .2s; }
.nav-links a:not(.btn):hover { opacity: 1; }
.menu-toggle { display: none; width: 40px; height: 40px; background: none; border: 0; cursor: pointer; position: relative; }
.menu-toggle span { position: absolute; left: 10px; right: 10px; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s var(--ease); }
.menu-toggle span:first-child { top: 15px; }
.menu-toggle span:last-child { top: 23px; }
.menu-toggle.open span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative; overflow: hidden;
  min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy-2) 100%);
  color: #fff;
  padding: 120px 0 90px;
}
.hero-inner { position: relative; z-index: 1; max-width: 1100px; }
.hero h1 { max-width: 15ch; }
.accent { color: var(--blue-light); font-style: italic; }
.hero .eyebrow, .section-dark .eyebrow { color: var(--blue-light); }
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); color: rgba(255,255,255,.72); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.8rem; margin-top: 2.4rem; }

/* Floating background glows */
.orb { position: absolute; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.orb-1 { width: 480px; height: 480px; right: -120px; top: -80px; background: rgba(37,99,235,.35); animation: drift 18s ease-in-out infinite alternate; }
.orb-2 { width: 380px; height: 380px; right: 20%; bottom: -160px; background: rgba(56,189,248,.16); animation: drift 22s ease-in-out infinite alternate-reverse; }
.orb-3 { width: 420px; height: 420px; left: 50%; top: -200px; transform: translateX(-50%); background: rgba(37,99,235,.28); animation: pulse 10s ease-in-out infinite; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.1); } }
@keyframes pulse { 50% { opacity: .5; } }

/* Scroll indicator */
.scroll-cue { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.35); border-radius: 12px; z-index: 1; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; background: var(--blue-light); border-radius: 2px; animation: scroll 1.8s var(--ease) infinite; }
@keyframes scroll { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(12px); } }

/* Page-load animation for the hero */
.js .load { opacity: 0; transform: translateY(24px); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * .12s + .1s); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Scroll-reveal animation */
.js .reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * .1s); }
.js .reveal.in { opacity: 1; transform: none; }

/* Trust bar */
.trust { border-bottom: 1px solid var(--line); padding: 1.6rem 0; }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; }
.trust-item { display: flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 500; color: var(--ink); }
.trust-item svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* Sections */
.section { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--navy); color: #fff; overflow: hidden; }
.section-head { max-width: 640px; margin-bottom: 3.5rem; }

.grid { display: grid; gap: 1.25rem; }
.cards { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.pricing { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); align-items: stretch; }

.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem;
}
.js .card.reveal.in { transition: opacity .8s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s; }
.card:hover, .js .card.reveal.in:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(13,27,49,.08); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.icon {
  width: 46px; height: 46px; padding: 11px; margin-bottom: 1.4rem;
  border-radius: 12px; background: var(--blue-soft);
  fill: none; stroke: var(--blue); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round;
  transition: background .4s var(--ease), stroke .4s var(--ease), transform .4s var(--ease);
}
.card:hover .icon { background: var(--blue); stroke: #fff; transform: rotate(-6deg) scale(1.05); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.steps li { position: relative; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.steps li::before {
  content: ""; position: absolute; top: -1px; left: 0; height: 2px; width: 0; background: var(--blue);
  transition: width 1s var(--ease); transition-delay: calc(var(--d, 0) * .15s + .3s);
}
.steps li.in::before, html:not(.js) .steps li::before { width: 100%; }
.steps p { color: var(--muted); margin: 0; }
.step-num { display: block; font-family: "Fraunces", serif; font-size: .95rem; color: var(--blue); margin-bottom: .6rem; }

/* Pricing */
.price-card { position: relative; display: flex; flex-direction: column; }
.price-card .price { font-family: "Fraunces", serif; font-size: 1.6rem; color: var(--navy); margin-bottom: 1.5rem; }
.price-card ul { list-style: none; padding: 0; margin: 0; }
.price-card li { padding: .55rem 0; color: var(--muted); }
.price-card li::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); margin-right: .8rem; vertical-align: middle; }
.featured { background: var(--navy); border-color: var(--navy); color: #fff; }
.featured .price { color: var(--blue-light); }
.featured li { color: rgba(255,255,255,.75); }
.featured:hover { box-shadow: 0 24px 50px rgba(13,27,49,.25); }
.badge {
  position: absolute; top: 1.6rem; right: 1.6rem; margin: 0;
  background: var(--blue); color: #fff !important;
  font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em;
  padding: .3em .9em; border-radius: 999px;
}

/* Contact */
.contact { position: relative; z-index: 1; text-align: center; max-width: 680px; }
.contact p { color: rgba(255,255,255,.7); font-size: 1.1rem; }
.contact .btn { margin-top: 1.2rem; }
.contact-email { margin-top: 1.2rem; font-size: .9rem !important; opacity: .7; word-break: break-all; }

/* Footer */
.site-footer { background: #091425; color: rgba(255,255,255,.5); padding: 1.8rem 0; font-size: .875rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.footer-inner a { text-decoration: none; transition: color .2s; }
.footer-inner a:hover { color: var(--blue-light); }

/* Mobile */
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(13, 27, 49, .97); backdrop-filter: blur(14px);
    padding: .5rem 16px 1.5rem;
    opacity: 0; transform: translateY(-10px); pointer-events: none;
    transition: opacity .3s var(--ease), transform .3s var(--ease);
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { padding: .9rem 0; }
  .nav-links .btn { justify-content: center; margin-top: .8rem; }
  .site-header:has(.nav-links.open) { background: rgba(13, 27, 49, .97); }
  .scroll-cue { display: none; }
}

/* Respect people who turn off animations in their device settings */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .load, .js .reveal { opacity: 1; transform: none; }
  .steps li::before { width: 100%; }
}

/* Pricing extras */
.section-lead { color: var(--muted); font-size: 1.1rem; margin: 0; }
.price-card .price { margin-bottom: .2rem; }
.price-card .price span { font-family: "Inter", sans-serif; font-size: .95rem; color: var(--muted); margin-left: .2rem; }
.featured .price span { color: rgba(255,255,255,.6); }
.price-note { font-size: .9rem; color: var(--muted); margin-bottom: 1.4rem !important; }
.featured .price-note { color: rgba(255,255,255,.65); }
.price-card ul { flex: 1; margin-bottom: 1.8rem; }
.btn-block { justify-content: center; width: 100%; }
.btn-outline { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 2px var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: .5rem; margin-top: 2rem; color: var(--muted); font-size: .9rem; text-align: center; flex-wrap: wrap; }
.secure-note svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.secure-note a { color: var(--blue); }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }

/* Legal pages */
.legal { max-width: 760px; padding: 130px 0 5rem; }
.legal h1 { font-size: clamp(2rem, 5vw, 3rem); }
.legal h2 { font-size: 1.35rem; margin-top: 2.2rem; }
.legal p, .legal li { color: #3b4455; }
.legal ul { padding-left: 1.2rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--blue); }
.updated { color: var(--muted) !important; font-size: .9rem; }

/* Thank-you page */
.thanks { text-align: center; }
.thanks .contact { margin: 0 auto; }
.thanks h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.thanks p { color: rgba(255,255,255,.75); }
.thanks .contact-email a { color: var(--blue-light); }
.check { width: 72px; height: 72px; margin: 0 auto 1.8rem; border-radius: 50%; background: var(--blue); display: grid; place-items: center; animation: pop .6s var(--ease) both; }
.check svg { width: 34px; height: 34px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .5s .4s var(--ease) forwards; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .check svg { stroke-dashoffset: 0; } }
button.btn { border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.price-card form { margin: 0; }
