:root {
  --black: #07090b;
  --black-2: #0d1114;
  --ink: #e8eef0;
  --ink-soft: #a9bdc3;
  --teal: #2dd4bf;
  --teal-deep: #14b8a6;
  --teal-2: #0f766e;
  --line: #1c2a2e;
  --card: #10161a;
  --white: #f4fbfb;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  --radius: 16px;
  --max: 1120px;
  --display: "Montserrat", system-ui, sans-serif;
  --sans: "Outfit", system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(900px 420px at 90% -10%, rgba(20, 184, 166, 0.16), transparent 55%),
    var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
a { color: var(--teal); }
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
::selection { background: rgba(45, 212, 191, 0.28); color: var(--white); }

.skip {
  position: absolute;
  left: 12px;
  top: 12px;
  transform: translateY(-160%);
  background: var(--teal);
  color: var(--black);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 40;
}
.skip:focus { transform: none; }

.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.narrow { max-width: 44rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 9, 11, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.logo-mark { width: 46px; height: 46px; flex: none; }
.logo-word {
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.logo-lockup { height: 108px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"] { border-bottom: 2px solid var(--teal-deep); }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 20px;
  font: inherit;
  font-weight: 650;
  line-height: 1.2;
}
.btn-primary { background: var(--teal-deep); color: var(--black) !important; }
.btn-primary:hover { background: var(--teal); }
.btn-ghost {
  background: transparent;
  color: var(--white) !important;
  border: 1px solid var(--line);
}
.btn-ghost:hover { border-color: var(--teal); }
.menu-toggle {
  display: none;
  background: none;
  color: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 0.95rem;
}

.hero, .page-intro { padding: 72px 0 28px; }
.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.76rem;
  color: var(--teal);
  font-weight: 700;
  margin: 0 0 12px;
}
h1, h2, h3 { font-family: var(--display); line-height: 1.15; margin: 0 0 14px; color: var(--white); font-weight: 600; }
h1 { font-size: clamp(2.4rem, 5vw, 4.05rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.7rem, 3vw, 2.45rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 14px; }
.lede { font-size: 1.18rem; color: var(--ink-soft); max-width: 40rem; }
.hero-actions, .actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.meta-row li { display: flex; align-items: center; gap: 8px; }
.meta-row li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-deep);
  flex: none;
}

.hero-card, .card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.hero-card { padding: 28px; box-shadow: var(--shadow); }
.rail { list-style: none; margin: 0; padding: 0; }
.rail li {
  position: relative;
  padding: 0 0 18px 2.7rem;
  color: var(--ink-soft);
}
.rail li:last-child { padding-bottom: 0; }
.rail li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  top: 0;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--teal-deep);
}
.rail { counter-reset: step; }
.rail strong { color: var(--white); font-weight: 650; }

.band { padding: 72px 0; }
.band-alt {
  background: rgba(13, 17, 20, 0.92);
  border-block: 1px solid var(--line);
}
.section-head { max-width: 40rem; margin-bottom: 8px; }
.section-head h2, .section-head .lede { margin-bottom: 12px; }

.grid-3, .grid-2, .promise-row, .steps, .footer-grid { display: grid; gap: 18px; }
.grid-3, .promise-row { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: 1fr 1fr; }
.stack-lg { margin-top: 28px; }

a.card {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
a.card:hover { border-color: var(--teal-deep); }
.card h3 { margin-bottom: 8px; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card ul, .plain-list { margin: 0; padding-left: 1.15rem; color: var(--ink-soft); }
.card li + li, .plain-list li + li { margin-top: 8px; }
.more {
  display: inline-block;
  margin-top: 14px;
  color: var(--teal);
  font-weight: 650;
  text-decoration: none;
}
.muted { color: var(--ink-soft); }
.tiny { font-size: 0.92rem; color: var(--ink-soft); }
.footer-blurb { margin-top: 12px; }
.center { text-align: center; }
.center .lede { margin-left: auto; margin-right: auto; }
.center .actions { justify-content: center; }
.gap-top { margin-top: 18px; }

.promise {
  padding: 8px 8px 8px 0;
  border-top: 2px solid var(--teal-deep);
}
.promise h3 { font-size: 1.45rem; margin-bottom: 8px; }

.steps { grid-template-columns: repeat(4, 1fr); margin-top: 28px; list-style: none; padding: 0; }
.steps li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.step-num {
  display: block;
  font-family: var(--display);
  color: var(--teal);
  font-size: 1.35rem;
  margin-bottom: 10px;
}
.steps p { margin: 0; }

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: start;
}
.service-list { padding-bottom: 24px; }
.service {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: start;
  padding: 40px 0;
  border-top: 1px solid var(--line);
}
.service:target, .faq details:target { scroll-margin-top: 96px; }

.jump { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.jump a {
  text-decoration: none;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.95rem;
}
.jump a:hover { border-color: var(--teal-deep); color: var(--white); }

.sequence { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: step; }
.sequence li {
  position: relative;
  padding: 0 0 18px 2.8rem;
  color: var(--ink-soft);
}
.sequence li::before {
  content: counter(step);
  counter-increment: step;
  position: absolute;
  left: 0;
  font-family: var(--display);
  color: var(--teal);
  font-size: 1.25rem;
}
.sequence strong { color: var(--white); }

.faq { margin-top: 12px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary {
  cursor: pointer;
  color: var(--white);
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--teal);
  font-family: var(--display);
  font-size: 1.5rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 0; max-width: 44rem; }

.callout {
  margin: 18px 0 0;
  padding: 12px 0 12px 16px;
  border-left: 3px solid var(--teal-deep);
}

.prose h2 { font-size: 1.6rem; margin-top: 32px; }
.prose a { color: var(--teal); }

form { display: grid; gap: 14px; }
label { display: grid; gap: 6px; font-size: 0.92rem; font-weight: 650; }
label .tiny { font-weight: 400; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--black);
  color: var(--white);
  border-radius: 12px;
  padding: 12px 14px;
  font: inherit;
  font-weight: 400;
}
textarea { min-height: 140px; resize: vertical; }
input:user-invalid, select:user-invalid, textarea:user-invalid { border-color: #f0b4b4; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-layout { align-items: start; }
.contact-form { box-shadow: var(--shadow); }

.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 28px;
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-top: auto;
}
.footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1fr; padding-bottom: 28px; }
.footer-grid a { display: block; color: var(--ink-soft); text-decoration: none; margin-top: 8px; }
.footer-grid a:hover { color: var(--teal); }
.footer-label {
  margin: 0;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 700;
}
.footer-base {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@media (min-width: 981px) {
  .contact-form { position: sticky; top: 96px; }
}

@media (max-width: 980px) {
  .hero, .grid-3, .promise-row, .split, .service, .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 20px;
    right: 20px;
    z-index: 30;
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    flex-direction: column;
    align-items: stretch;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 8px; }
  .nav-links .btn { margin-top: 4px; }
}

@media (max-width: 640px) {
  .wrap { width: min(var(--max), calc(100% - 32px)); }
  .grid-2, .steps { grid-template-columns: 1fr; }
  .hero, .page-intro, .band { padding-top: 48px; padding-bottom: 48px; }
  h1 { font-size: 2.25rem; }
}

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