/* VegaOcean: navy water, Vega's blues, split squares as stars and waves */
:root {
  --navy: #212643;
  --navy-2: #2B3154;
  --deep: #106292;
  --current: #0F7DB0;
  --ocean: #0EABE3;
  --shallows: #3FC1EC;
  --foam: #F3F6FA;
  --white: #FFFFFF;
  --ink: #212643;
  --muted: #4E5470;
  --on-navy-muted: #C9CEE2;
  --line: #DDE2EC;
  --font: "Poppins", "Segoe UI", system-ui, sans-serif;
  --wrap: 1120px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
}
img { max-width: 100%; }
a { color: var(--deep); }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--ocean); outline-offset: 3px; border-radius: 4px; }

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
h1, h2, h3 { font-weight: 800; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.3rem, 5.2vw, 3.7rem); }
h2 { font-size: clamp(1.75rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.3rem; letter-spacing: -0.01em; }
p { margin: 0; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--deep); }
.on-navy .eyebrow { color: var(--shallows); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.on-navy .lead { color: var(--on-navy-muted); }
.stack { display: flex; flex-direction: column; gap: 18px; }

/* Header */
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 10;
  background: var(--navy); color: var(--white);
  border-bottom: 1px solid var(--navy-2);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; flex-wrap: wrap; }
.lockup { text-decoration: none; color: var(--ocean); font-weight: 800; line-height: 1; white-space: nowrap; display: inline-block; }
.lockup img { height: auto; display: inline; }
.lockup--sm { font-size: 40px; }
.lockup--sm img { width: 110px; vertical-align: -10.4px; margin-right: 2px; }
.lockup--lg { font-size: clamp(56px, 9.5vw, 104px); }
.lockup--lg img { width: 2.69em; vertical-align: -0.256em; margin-right: 0.04em; }
.nav { display: flex; align-items: center; gap: 6px 22px; flex-wrap: wrap; }
.nav a { color: var(--white); text-decoration: none; font-size: 0.95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--shallows); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 22px; border-radius: 6px;
  font-family: var(--font); font-weight: 600; font-size: 1rem; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; transition: background .15s, color .15s, border-color .15s;
}
.btn--primary { background: var(--ocean); color: var(--navy); }
.btn--primary:hover { background: var(--shallows); color: var(--navy); }
.btn--ghost { border-color: var(--ocean); color: var(--white); background: transparent; }
.btn--ghost:hover { background: var(--ocean); color: var(--navy); }
.btn--dark { background: var(--navy); color: var(--white); }
.btn--dark:hover { background: var(--deep); color: var(--white); }
.nav .btn { min-height: 40px; padding: 6px 16px; font-size: 0.92rem; color: var(--navy); }
.nav .btn:hover { color: var(--navy); }

/* Sections */
.section { padding-block: 88px; }
.section--foam { background: var(--foam); }
.on-navy { background: var(--navy); color: var(--white); }
.hero { padding-block: 72px 24px; }
.hero .actions, .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.wave { display: block; width: 100%; max-width: 640px; height: auto; }
.wave--divider { max-width: 420px; margin: 0 auto; }
.proof { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-block: 36px 56px; border-top: 1px solid var(--navy-2); margin-top: 32px; }
.proof div { display: flex; flex-direction: column; gap: 4px; }
.proof b { font-size: 2rem; font-weight: 800; color: var(--ocean); line-height: 1.1; font-variant-numeric: tabular-nums; }
.proof span { font-size: 0.92rem; color: var(--on-navy-muted); line-height: 1.45; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: start; }
.prose { display: flex; flex-direction: column; gap: 16px; max-width: 64ch; }
.prose p { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.card p { color: var(--muted); font-size: 0.98rem; }
.price { font-weight: 700; color: var(--deep); font-size: 0.95rem; }
.sq { width: 22px; height: 22px; flex: none; }

.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.offer { border-top: 4px solid var(--ocean); background: var(--white); padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 8px; border-radius: 0 0 10px 10px; box-shadow: 0 1px 0 var(--line); }
.offer p { color: var(--muted); font-size: 0.98rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 8px; counter-increment: s; }
.steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--ocean); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.steps p { color: var(--on-navy-muted); font-size: 0.97rem; }

.faq { display: flex; flex-direction: column; gap: 0; max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); padding-block: 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 1.08rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--deep); font-weight: 800; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: var(--muted); padding-top: 10px; }

/* Forms */
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: 0.92rem; }
input, select, textarea {
  font: inherit; font-size: 1rem; color: var(--ink); background: var(--white);
  border: 1.5px solid #B9C1D4; border-radius: 6px; padding: 11px 12px; min-height: 46px; width: 100%;
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--deep); outline: 3px solid rgba(14,171,227,.35); outline-offset: 0; }
.on-navy label { color: var(--white); }
.form-note { font-size: 0.9rem; color: var(--muted); }
.on-navy .form-note { color: var(--on-navy-muted); }
.thanks { background: var(--foam); color: var(--ink); border-radius: 10px; padding: 22px; }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; background: var(--white); }
table { border-collapse: collapse; width: 100%; min-width: 640px; font-size: 0.97rem; }
th, td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy); color: var(--white); font-weight: 600; font-size: 0.88rem; letter-spacing: 0.02em; }
tr:last-child td { border-bottom: 0; }
td b { white-space: nowrap; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; font-weight: 700; color: var(--deep); }

/* Service blocks */
.svc { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; padding-block: 48px; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc .meta { display: flex; flex-direction: column; gap: 6px; }
.svc .meta .price { font-size: 1.15rem; }
.svc ul { margin: 0; padding-left: 1.2em; color: var(--muted); display: flex; flex-direction: column; gap: 6px; }

/* About */
.photo { aspect-ratio: 4 / 5; max-width: 100%; border-radius: 10px; background: var(--navy); color: var(--on-navy-muted); display: grid; place-items: center; text-align: center; padding: 24px; font-size: 0.95rem; }
.beliefs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.beliefs div { display: flex; flex-direction: column; gap: 6px; }
.beliefs p { color: var(--muted); }

/* Audit */
.audit { max-width: 820px; display: flex; flex-direction: column; gap: 28px; }
.q { border: 1px solid var(--line); border-radius: 10px; padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; background: var(--white); margin: 0; }
.q legend { font-weight: 600; padding: 0; float: left; width: 100%; }
.q legend .n { color: var(--deep); margin-right: 6px; font-variant-numeric: tabular-nums; }
.opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; clear: both; }
.opt { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 8px; padding: 10px 12px; cursor: pointer; font-weight: 400; font-size: 0.95rem; min-height: 46px; }
.opt input { width: 18px; height: 18px; min-height: 0; margin: 0; accent-color: var(--deep); flex: none; }
.opt:has(input:checked) { border-color: var(--deep); background: #E8F5FC; }
.progress { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 72px); z-index: 5; background: var(--white); padding-block: 10px; display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--muted); }
.bar { flex: 1; height: 8px; background: var(--line); border-radius: 99px; overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--ocean); transition: width .2s; }
.results { display: flex; flex-direction: column; gap: 22px; }
.big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.big div { background: var(--navy); color: var(--white); border-radius: 10px; padding: 26px; display: flex; flex-direction: column; gap: 6px; }
.big b { font-size: 3rem; line-height: 1; color: var(--ocean); font-variant-numeric: tabular-nums; }
.big span { color: var(--on-navy-muted); }
.firstlook { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 8px; }

/* Insights */
.posts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.post { border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: flex; flex-direction: column; gap: 12px; background: var(--white); }
.post .date { font-size: 0.85rem; color: var(--muted); }
.post p { color: var(--muted); }

/* Footer */
.site-footer { background: var(--navy); color: var(--on-navy-muted); padding-block: 48px 40px; font-size: 0.95rem; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 28px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: flex-start; }
.foot nav { display: flex; gap: 10px 22px; flex-wrap: wrap; }
.foot a { color: var(--white); text-decoration: none; }
.foot a:hover { color: var(--shallows); }
.fine { font-size: 0.85rem; }

@media (max-width: 900px) {
  .split, .svc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cards, .offers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps, .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section { padding-block: 64px; }
}
@media (max-width: 620px) {
  .cards, .offers, .steps, .posts, .beliefs, .big, .opts, .form { grid-template-columns: minmax(0, 1fr); }
  .proof { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .lockup--sm { font-size: 32px; }
  .lockup--sm img { width: 88px; vertical-align: -8.3px; }
  .nav { gap: 6px 16px; }
  .nav .hide-sm { display: none; }
  .progress { top: calc(env(safe-area-inset-top, 0px) + 110px); }
}
.headshot { width: 220px; max-width: 100%; height: auto; aspect-ratio: 161 / 190; object-fit: cover; border-radius: 10px; border: 4px solid var(--ocean); justify-self: center; }
