:root {
  --blue: #0962f7;
  --blue-deep: #0049ca;
  --navy: #163990;
  --navy-ink: #0c1a3c;
  --abyss: #04071f;
  --wave: #070088;
  --teal: #00a9a4;
  --body: #46536e;
  --mist: #f4f7fd;
  --line: #dfe6f4;
  --shadow: 0 8px 40px -16px rgba(12, 22, 44, .32);
  --grad: linear-gradient(100deg, var(--blue) 0%, var(--teal) 100%);
  --grad-navy: linear-gradient(to right, #163990, #3773db);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: #fff; color: var(--navy-ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px; line-height: 1.65; -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: 'Lexend', 'Inter', sans-serif; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.grad-text {
  background: linear-gradient(100deg, #0653d6 0%, #00837e 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
/* brighter gradient on dark surfaces for WCAG contrast */
.hero .grad-text, .note .grad-text, .cta-band .grad-text {
  background-image: linear-gradient(100deg, #6aa3ff 0%, #35d6cd 100%);
}

/* keyboard focus visibility (WCAG 2.4.7) */
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid #6aa3ff;
  outline-offset: 2px;
  border-radius: 4px;
}

/* Nav */
nav.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px; max-width: 1120px; margin: 0 auto;
}
.nav-logo img { height: 17px; display: block; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a.link { color: var(--navy-ink); text-decoration: none; font-size: 14.5px; font-weight: 500; transition: color .15s; }
.nav-links a.link:hover, .nav-links a.link.active { color: var(--blue); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 4px 10px; font-size: 26px; line-height: 1; color: var(--navy-ink); }

.btn {
  display: inline-block; text-decoration: none; font-weight: 600; font-size: 15px;
  font-family: 'Lexend', sans-serif; text-align: center;
  padding: 13px 30px; border-radius: 30px; border: 0; cursor: pointer;
  background: var(--grad-navy); color: #fff;
  box-shadow: var(--shadow);
  transition: transform .18s, box-shadow .18s, filter .18s;
}
.btn:hover { transform: translateY(-2px); filter: brightness(1.1); box-shadow: 0 14px 44px -14px rgba(9, 98, 247, .55); }
.btn.small { padding: 10px 24px; font-size: 14px; }
.btn.glow { background: var(--grad); }
.btn.ghost { background: #fff; color: var(--blue); box-shadow: none; border: 1.5px solid var(--blue); }
.btn.ghost:hover { background: var(--blue); color: #fff; box-shadow: 0 14px 44px -14px rgba(9, 98, 247, .55); }
.btn.big { padding: 16px 38px; font-size: 16.5px; }

/* Hero (dark) */
header.hero { position: relative; background: linear-gradient(145deg, #0a1440, var(--abyss) 70%); color: #fff; overflow: hidden; }
#waves { position: absolute; inset: 0; }
.hero-scrim { position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(2,4,18,.95) 0%, rgba(2,4,18,.88) 45%, rgba(2,4,18,.5) 75%, rgba(2,4,18,.3) 100%); }
.hero-inner { position: relative; z-index: 2; padding: 110px 24px 90px; max-width: 1120px; margin: 0 auto; }
.hero-inner.compact { padding: 70px 24px 60px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 26px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--teal); display: inline-block; }
h1 { font-size: clamp(38px, 5.4vw, 62px); font-weight: 700; line-height: 1.09; letter-spacing: -0.015em; max-width: 18ch; }
h1.page { font-size: clamp(34px, 4.6vw, 52px); }
.hero .sub { max-width: 60ch; margin-top: 26px; font-size: 19px; color: #cdd7ee; }
.hero .cta-row { margin-top: 38px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cta-note { font-size: 14px; color: #a7b6d9; }
.trust-strip {
  position: relative; z-index: 2;
  border-top: 1px solid rgba(255,255,255,.12);
  background: rgba(2,4,18,.8); backdrop-filter: blur(6px);
}
.trust-inner {
  max-width: 1120px; margin: 0 auto; padding: 18px 24px;
  display: flex; flex-wrap: wrap; gap: 8px 40px;
  font-size: 14px; color: #b9c5e2;
}
.trust-inner b { color: #fff; font-weight: 600; }

/* Sections */
section { padding: 90px 0; }
section.tight { padding: 64px 0; }
section.mist { background: var(--mist); }
.sec-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--blue); margin-bottom: 18px;
}
.sec-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--grad); display: inline-block; }
h2 { font-size: clamp(28px, 3.4vw, 40px); font-weight: 700; letter-spacing: -0.01em; line-height: 1.14; margin-bottom: 26px; max-width: 26ch; }
h3 { font-size: 22px; font-weight: 700; margin-bottom: 12px; }
.prose p { max-width: 64ch; color: var(--body); margin-bottom: 20px; font-size: 17px; }
.prose p strong { color: var(--navy-ink); }
.prose ul { max-width: 64ch; color: var(--body); margin: 0 0 20px 22px; }
.prose li { margin-bottom: 10px; }
.pullquote {
  font-family: 'Lexend', sans-serif; font-weight: 600;
  font-size: clamp(22px, 2.6vw, 30px); line-height: 1.35;
  border-left: 4px solid; border-image: var(--grad) 1;
  padding-left: 26px; margin: 36px 0; max-width: 24ch;
}

/* Cards */
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; }
.card {
  position: relative; background: #fff; border-radius: 20px;
  padding: 40px 34px 34px; box-shadow: var(--shadow);
  border: 1px solid var(--line);
  display: flex; flex-direction: column;
  transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -20px rgba(12, 22, 44, .38); }
.card::before {
  content: ""; position: absolute; top: 0; left: 34px; right: 34px; height: 3px;
  border-radius: 0 0 4px 4px; background: var(--grad);
}
.card.flat::before { display: none; }
.tag { font-size: 12px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; }
.card p { color: var(--body); font-size: 16px; flex: 1; }
.card .btn { margin-top: auto; align-self: stretch; }
.price { margin: 22px 0 20px; font-family: 'Lexend', sans-serif; font-size: 21px; font-weight: 700; color: var(--navy-ink); }
.price span { font-size: 13.5px; font-family: 'Inter'; font-weight: 400; color: var(--body); display: block; margin-top: 4px; }

/* Dark note cards */
.note {
  position: relative; border-radius: 20px; padding: 40px 34px;
  background: linear-gradient(145deg, #0a1440 0%, var(--abyss) 70%);
  color: #fff; text-decoration: none; display: block; overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
}
.note::after {
  content: ""; position: absolute; right: -60px; top: -60px; width: 190px; height: 190px;
  border-radius: 50%; background: radial-gradient(circle, rgba(0,169,164,.25) 0%, transparent 70%);
}
.note:hover { transform: translateY(-4px); box-shadow: 0 24px 60px -18px rgba(4, 7, 31, .6); }
.note h3 { color: #fff; }
.note p { color: #b9c5e2; font-size: 15.5px; }
.note .read { margin-top: 18px; font-weight: 600; font-size: 14px; font-family: 'Lexend', sans-serif; }
.note .read span { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* For / not for */
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.fit { border-radius: 20px; padding: 34px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.fit ul { list-style: none; }
.fit li { padding-left: 30px; position: relative; margin-bottom: 12px; color: var(--body); font-size: 16px; }
.fit.yes li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 700; }
.fit.no li::before { content: "✕"; position: absolute; left: 0; color: #c0392b; font-weight: 700; }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 26px; counter-reset: step; }
.steps.two { grid-template-columns: 1fr 1fr; }
.step { position: relative; border-radius: 20px; padding: 34px 30px 30px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.step::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  font-family: 'Lexend', sans-serif; font-weight: 700; font-size: 15px;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  display: block; margin-bottom: 10px; letter-spacing: .1em;
}
.step p { color: var(--body); font-size: 15.5px; }

/* Timeline (offer pages) */
.week { display: grid; grid-template-columns: 120px 1fr; gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.week:last-child { border-bottom: 0; }
.week .wk { font-family: 'Lexend', sans-serif; font-weight: 700; color: var(--blue); font-size: 15px; }
.week p { color: var(--body); font-size: 16px; max-width: 60ch; }
.week h4 { font-size: 17px; margin-bottom: 6px; }

/* Deliverables */
.deliv { list-style: none; max-width: 680px; }
.deliv li { padding: 18px 0 18px 40px; position: relative; border-bottom: 1px solid var(--line); color: var(--body); font-size: 16.5px; }
.deliv li::before { content: "→"; position: absolute; left: 0; font-weight: 700; background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.deliv li b { color: var(--navy-ink); }

/* FAQ */
details.faq { border-bottom: 1px solid var(--line); max-width: 760px; }
details.faq summary {
  cursor: pointer; list-style: none; padding: 22px 40px 22px 0; position: relative;
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 17.5px;
}
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "+"; position: absolute; right: 4px; top: 20px; font-size: 24px; color: var(--blue); transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .a { padding: 0 0 24px; color: var(--body); max-width: 62ch; font-size: 16px; }

/* CTA band */
.cta-band { background: var(--abyss); color: #fff; position: relative; overflow: hidden; border-radius: 24px; padding: 60px 48px; }
.cta-band .glowball { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(9, 98, 247, .3) 0%, transparent 65%); top: -220px; right: -140px; pointer-events: none; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #b9c5e2; max-width: 56ch; margin-bottom: 26px; }

/* About */
.about-grid { display: grid; grid-template-columns: 280px 1fr; gap: 60px; align-items: start; }

/* Article */
article.fieldnote { max-width: 720px; margin: 0 auto; padding: 70px 24px 90px; }
article.fieldnote h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; max-width: none; }
article.fieldnote .meta { color: var(--body); font-size: 14.5px; margin-bottom: 40px; }
article.fieldnote h2 { font-size: 25px; margin: 44px 0 14px; }
article.fieldnote p { color: var(--body); margin-bottom: 20px; font-size: 17.5px; line-height: 1.75; }
article.fieldnote p strong { color: var(--navy-ink); }
article.fieldnote .lede { font-size: 20px; color: var(--navy-ink); }

/* Scorecard */
.q-item { border: 1px solid var(--line); border-radius: 16px; padding: 24px 26px; margin-bottom: 14px; background: #fff; box-shadow: 0 4px 20px -12px rgba(12,22,44,.2); }
.q-item .q-text { font-weight: 500; color: var(--navy-ink); margin-bottom: 14px; font-size: 16.5px; }
.q-item .q-cat { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.q-btns { display: flex; gap: 10px; }
.q-btns button {
  font-family: 'Lexend', sans-serif; font-weight: 600; font-size: 14px;
  padding: 9px 26px; border-radius: 24px; cursor: pointer;
  border: 1.5px solid var(--line); background: #fff; color: var(--body);
  transition: all .15s;
}
.q-btns button:hover { border-color: var(--blue); color: var(--blue); }
.q-btns button.sel-yes { background: var(--teal); border-color: var(--teal); color: #fff; }
.q-btns button.sel-no { background: var(--navy-ink); border-color: var(--navy-ink); color: #fff; }
#verdict { display: none; margin-top: 40px; }

/* Footer */
footer.site { background: var(--abyss); color: #8ea0c9; padding: 46px 0 54px; margin-top: 0; }
.foot {
  display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between;
  font-size: 14px;
}
.foot img { height: 22px; opacity: .9; }
.foot a { color: #b9c5e2; text-decoration: none; }
.foot a:hover { color: #fff; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .38s ease, transform .38s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: flex-start; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); padding: 8px 24px 18px;
  }
  .nav-links.open a.link { display: block; width: 100%; padding: 13px 0; font-size: 16.5px; border-bottom: 1px solid var(--line); }
  .nav-links.open .btn { margin-top: 14px; }
  #waves { display: none; }
  h1 { font-size: clamp(32px, 9vw, 44px); }
  .hero-inner { padding: 64px 24px 56px; }
  .hero .sub { font-size: 17px; }
  section { padding: 56px 0; }
  .wrap { padding: 0 20px; }
  .grid2, .grid3, .fit-grid, .steps, .steps.two { grid-template-columns: 1fr; gap: 18px; }
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
  .about-grid > div:first-child { max-width: 240px; }
  .week { grid-template-columns: 1fr; gap: 4px; }
  .cta-band { padding: 40px 24px; }
  .pullquote { font-size: 21px; padding-left: 18px; }
  .cta-row .btn { width: 100%; text-align: center; }
  .card { padding: 30px 24px 26px; }
  .card::before { left: 24px; right: 24px; }
  .fit { padding: 26px 22px; }
  .note { padding: 30px 24px; }
  .step { padding: 26px 22px 22px; }
  .price { font-size: 19px; }
  h2 { font-size: clamp(25px, 6.5vw, 34px); }
  .prose p { font-size: 16px; }
  .deliv li { font-size: 15.5px; padding: 15px 0 15px 32px; }
  .trust-inner { font-size: 13px; gap: 6px 24px; padding: 14px 20px; }
  article.fieldnote { padding: 44px 20px 60px; }
  article.fieldnote p { font-size: 16.5px; }
  .q-btns { flex-wrap: wrap; }
  .q-item { padding: 20px 18px; }
  details.faq summary { font-size: 16px; }
  .calendly-inline-widget { height: 620px !important; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
  #waves { display: none; }
}
