/* ==========================================================================
   LedgerCept — lead-magnet landing page
   Structure after Pipely (rounded panels on a warm canvas); colors from the
   LedgerCept logo: navy #0f2a44 + gold #cfaf6e.
   ========================================================================== */

@font-face {
  font-family: "Red Hat Display";
  src: url("fonts/red-hat-display.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("fonts/hanken-grotesk.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: #e2ddd2;
  --paper: #ffffff;
  --soft: #f7f4ee;
  --navy: #0f2a44;
  --navy-2: #173a5e;
  --navy-deep: #0a1e31;
  --gold: #cfaf6e;
  --gold-hover: #c29f58;
  --gold-ink: #7d5f24;      /* text-safe gold on light grounds */
  --ink: #0f2a44;
  --text: #33404f;
  --muted: #586373;
  --line: rgba(15, 42, 68, 0.14);
  --on-dark: #ffffff;
  --on-dark-muted: #c3cedb;

  --tint-gold: #f3e6c8;
  --tint-ice: #e2e9f2;
  --tint-sand: #ece5d5;
  --tint-mist: #dbe2ec;

  --r-btn: 8px;
  --r-pill: 6px;
  --r-card: 8px;
  --r-panel: 10px;

  --edge: clamp(10px, 1.6vw, 22px);
  --pad: clamp(20px, 4.4vw, 64px);
  --header-h: 68px;

  --display: "Red Hat Display", "Segoe UI", system-ui, sans-serif;
  --body: "Hanken Grotesk", "Segoe UI", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
html.has-smoothscroll { scroll-behavior: auto !important; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
p, li { text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }

section[id] { scroll-margin-top: calc(var(--header-h) + var(--edge) * 2); }

:focus-visible {
  outline: 2px solid var(--navy);
  outline-offset: 3px;
  border-radius: 4px;
}
.panel-navy :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible,
.review-side :focus-visible { outline-color: var(--gold); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  background: var(--navy); color: #fff; padding: 12px 18px; border-radius: var(--r-btn);
  font-weight: 600; text-decoration: none; transition: top 0.2s var(--ease-out);
}
.skip-link:focus { top: 16px; }

main:focus { outline: none; }

/* ---------- type helpers ---------- */
.eyebrow {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--body);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-ink);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 7px; height: 7px;
  margin-top: 5px;
  background: var(--gold);
  border-radius: 1px;
}
.eyebrow-light { color: var(--gold); }
.hero .eyebrow-light { color: #e0c793; }
.eyebrow-dark { color: var(--navy); }
.eyebrow-dark::before { background: var(--navy); }

.section-title {
  font-size: clamp(32px, 3.6vw, 52px);
  line-height: 1.06;
}
.section-lede {
  margin-top: 18px;
  max-width: 34em;
  color: var(--muted);
  font-size: 17px;
}
.section-lede a { color: var(--ink); font-weight: 600; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: var(--r-btn);
  border: 1.5px solid transparent;
  font-family: var(--body);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out), box-shadow 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); box-shadow: 0 8px 20px -12px rgba(8, 20, 34, 0.55); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); box-shadow: 0 8px 22px -12px rgba(15, 42, 68, 0.8); }
.btn-ghost { border-color: rgba(255, 255, 255, 0.7); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }
.btn-line { border-color: var(--navy); color: var(--navy); }
.btn-line:hover { background: var(--navy); color: #fff; }

/* ---------- header ---------- */
.site-header {
  position: fixed;
  top: var(--edge);
  left: var(--edge);
  right: var(--edge);
  z-index: 50;
}
.nav-panel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  height: var(--header-h);
  padding: 0 12px 0 24px;
  background: var(--paper);
  border-radius: var(--r-panel);
  transition: box-shadow 0.25s var(--ease-out);
}
.site-header.is-scrolled .nav-panel { box-shadow: 0 10px 30px -18px rgba(15, 42, 68, 0.45); }

.brand { flex: none; display: block; border-radius: 4px; }
.brand img { width: 168px; height: auto; }

.site-menu { flex: 1; display: flex; align-items: center; justify-content: center; }
.nav-links { display: flex; gap: clamp(18px, 2.6vw, 40px); }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 48px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink); text-decoration: none; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 12px; height: 1.5px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.22s var(--ease-out);
}
.nav-links a:hover::after { transform: scaleX(1); }
.menu-actions { display: none; }

.header-cta { flex: none; min-height: 46px; padding: 12px 18px; }

.nav-toggle {
  display: none;
  flex: none;
  width: 48px; height: 48px;
  margin-left: auto;
  border: 0; border-radius: var(--r-btn);
  background: var(--soft);
  cursor: pointer;
  position: relative;
}
.nav-toggle-bar {
  position: absolute; left: 14px; right: 14px; height: 1.8px; background: var(--navy);
  border-radius: 2px; transition: transform 0.22s var(--ease-out);
}
.nav-toggle-bar:first-child { top: 19px; }
.nav-toggle-bar:last-child { top: 27px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- panels ---------- */
main { display: flex; flex-direction: column; gap: var(--edge); padding: 0 var(--edge); }
.panel {
  background: var(--paper);
  border-radius: var(--r-panel);
  padding: clamp(56px, 7vw, 104px) var(--pad);
}
.panel-soft { background: var(--soft); }
.panel-navy { background: var(--navy); color: var(--on-dark-muted); }
.panel-navy h2, .panel-navy h3 { color: var(--on-dark); }
.panel-navy .section-lede { color: var(--on-dark-muted); }
.panel-gold { background: var(--tint-gold); }

.tint-gold { background: var(--tint-gold); }
.tint-ice { background: var(--tint-ice); }
.tint-sand { background: var(--tint-sand); }
.tint-mist { background: var(--tint-mist); }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  height: 100vh;
  height: 100svh;
  margin: 0 calc(var(--edge) * -1);
  padding: calc(var(--edge) * 2 + var(--header-h)) var(--edge) 0;
  display: flex;
}
.hero-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  border-radius: var(--r-panel);
  background: #6f7378;
  display: flex;
  align-items: center;
}
.hero-panel picture { position: absolute; inset: 0; }
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: var(--hero-x, 72%) 40%;
}
.hero-shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 24, 40, 0.88) 0%, rgba(9, 24, 40, 0.74) 36%, rgba(9, 24, 40, 0.3) 56%, rgba(9, 24, 40, 0) 70%),
    linear-gradient(0deg, rgba(9, 24, 40, 0.35) 0%, rgba(9, 24, 40, 0) 30%);
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--pad);
  max-width: 900px;
}
.hero-title {
  color: #fff;
  font-size: clamp(40px, 4.7vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.hero-line { display: block; white-space: nowrap; }
.hero-sub {
  margin-top: 22px;
  max-width: 30em;
  color: #e3e9f0;
  font-size: 18px;
  line-height: 1.55;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-proof { display: flex; align-items: center; gap: 14px; margin-top: 34px; color: #e3e9f0; font-size: 15px; }
.proof-badge {
  flex: none;
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-pill);
  background: var(--gold); color: var(--navy);
  font-family: var(--display); font-weight: 700; font-size: 16px;
}

.report-card {
  position: absolute;
  z-index: 2;
  right: clamp(20px, 2.6vw, 40px);
  bottom: clamp(20px, 2.6vw, 40px);
  width: 286px;
  padding: 18px 18px 16px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--r-card);
  box-shadow: 0 24px 50px -24px rgba(5, 15, 28, 0.6);
  color: var(--ink);
}
.report-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.report-title { font-family: var(--display); font-weight: 600; font-size: 15px; }
.report-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; border-radius: var(--r-pill); background: var(--tint-gold); color: var(--gold-ink);
}
.report-rows { margin: 0; display: grid; gap: 6px; }
.report-rows div { display: flex; justify-content: space-between; font-size: 14px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.report-rows dt { color: var(--muted); }
.report-rows dd { margin: 0; font-weight: 650; font-variant-numeric: tabular-nums; }
.report-bars { display: flex; align-items: flex-end; gap: 6px; height: 54px; margin-top: 14px; }
.report-bars span { flex: 1; height: var(--h); border-radius: 3px 3px 0 0; background: var(--tint-mist); }
.report-bars span:last-child { background: var(--gold); }
.report-foot { margin-top: 10px; font-size: 12.5px; color: var(--muted); }

/* hero entrance */
.hero-animate .w {
  display: inline-block;
  animation: word-in 0.8s var(--ease-out) both;
  animation-delay: calc(var(--i) * 55ms + 80ms);
}
.hero-animate .hero-sub,
.hero-animate .hero-actions,
.hero-animate .hero-proof,
.hero-animate .eyebrow { animation: fade-up 0.7s var(--ease-out) both; }
.hero-animate .eyebrow { animation-delay: 0ms; }
.hero-animate .hero-sub { animation-delay: 420ms; }
.hero-animate .hero-actions { animation-delay: 520ms; }
.hero-animate .hero-proof { animation-delay: 620ms; }
.hero-animate .report-card { animation: fade-up 0.8s var(--ease-out) 700ms both; }
@keyframes word-in {
  from { opacity: 0; transform: translateY(0.35em); filter: blur(2.5px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}
@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

/* ---------- intro ---------- */
.intro-top {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
}
.intro-title {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.25;
  letter-spacing: -0.02em;
}
.marquee {
  display: flex;
  overflow: hidden;
  margin-top: 4px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  flex: none;
  display: flex;
  gap: 28px;
  padding-right: 28px;
  animation: marquee 34s linear infinite;
}
.marquee-track li {
  display: flex; align-items: center; gap: 28px;
  white-space: nowrap;
  font-family: var(--display); font-weight: 600; font-size: 15px; color: var(--ink);
}
.marquee-track li::after { content: ""; width: 6px; height: 6px; background: var(--gold); border-radius: 1px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-100%); } }

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: clamp(48px, 6vw, 88px);
}
.stat {
  display: flex; flex-direction: column; justify-content: space-between; gap: 40px;
  min-height: 168px;
  padding: 22px 22px 20px;
  background: var(--paper);
  border-radius: var(--r-card);
}
.stat-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.stat-value { white-space: nowrap; font-family: var(--display); font-size: clamp(40px, 4vw, 56px); line-height: 1; letter-spacing: -0.03em; color: var(--ink); font-weight: 500; }
.stat-value small { font-size: 0.42em; letter-spacing: 0; color: var(--muted); margin-left: 4px; }

/* ---------- problem ---------- */
.problem {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 96px);
}
.problem-head { align-self: start; position: sticky; top: calc(var(--header-h) + var(--edge) * 2 + 24px); }
.problem-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.problem-item { padding: 26px 0 34px; border-top: 1px solid var(--line); }
.problem-num { display: block; font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--gold-ink); margin-bottom: 26px; }
.problem-item h3 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 10px; }
.problem-item p { color: var(--muted); font-size: 16px; }

/* ---------- services ---------- */
.services-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.svc-stack { display: flex; flex-direction: column; gap: clamp(28px, 5vw, 64px); }

/* Pipely-style stack: each card sticks under the header and the next slides over it.
   Only where a whole card fits the viewport, so no card ever hides its own button. */
@media (min-width: 861px) and (min-height: 600px) {
  .svc-stack { gap: clamp(56px, 7vw, 100px); }
  .svc-card {
    position: sticky;
    top: calc(var(--header-h) + var(--edge) * 2 + 12px);
    box-shadow: 0 -18px 40px -28px rgba(15, 42, 68, 0.35);
  }
  .svc-card:first-child { box-shadow: none; }
  .svc-media img { max-height: calc(100vh - var(--header-h) - var(--edge) * 2 - 64px); }
}
.svc-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 44px);
  padding: 12px;
  border-radius: var(--r-panel);
}
.svc-media { border-radius: var(--r-card); overflow: hidden; }
.svc-media img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.svc-body { display: flex; flex-direction: column; padding: clamp(14px, 2vw, 28px) clamp(4px, 1.4vw, 20px) clamp(10px, 1.4vw, 20px) 0; }
.svc-index { font-family: var(--display); font-weight: 600; font-size: 14px; color: var(--gold-ink); margin-bottom: 14px; }
.svc-body h3 { font-size: clamp(26px, 2.4vw, 34px); line-height: 1.1; margin-bottom: 14px; }
.svc-body > p { color: var(--text); max-width: 34em; font-size: 16.5px; }
.svc-points { margin: 22px 0 28px; display: grid; gap: 0; }
.svc-points li {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-top: 1px solid var(--line);
  font-size: 15.5px; color: var(--ink); font-weight: 500;
}
.svc-points li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; background: var(--navy); border-radius: 1px; }
.svc-body .btn { margin-top: auto; align-self: flex-start; }

/* ---------- monthly report ---------- */
.report {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.report-list { margin-top: 34px; border-bottom: 1px solid rgba(255, 255, 255, 0.16); }
.report-list li {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 14px 0; border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 16px;
}
.report-list-k { color: var(--gold); font-weight: 600; }
.report-sheet {
  margin: 0;
  padding: clamp(20px, 2.6vw, 34px);
  background: var(--paper);
  border-radius: var(--r-panel);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.6);
}
.sheet-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 22px; }
.sheet-kicker { display: block; font-family: var(--display); font-weight: 600; font-size: 20px; }
.sheet-period { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.sheet-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.sheet-cell { padding: 16px; border-radius: var(--r-card); background: var(--soft); display: flex; flex-direction: column; gap: 4px; }
.sheet-cell:nth-child(3) { background: var(--tint-gold); }
.sheet-label { font-size: 12px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.sheet-num { font-family: var(--display); font-size: clamp(26px, 2.4vw, 34px); font-weight: 500; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.sheet-delta { font-size: 13.5px; color: var(--muted); }
.sheet-chart { display: flex; align-items: flex-end; gap: 8px; height: 110px; margin-top: 22px; padding-bottom: 1px; border-bottom: 1px solid var(--line); }
.sheet-chart span { flex: 1; height: var(--h); background: var(--tint-mist); border-radius: 3px 3px 0 0; }
.sheet-chart span:last-child { background: var(--navy); }
.sheet-foot { margin-top: 14px; font-size: 13.5px; color: var(--muted); }

/* ---------- accordion (shared) ---------- */
.acc-item { border-top: 1px solid var(--line); }
.acc-item:last-child { border-bottom: 1px solid var(--line); }
.acc-h { font-size: inherit; letter-spacing: 0; }
.acc-trigger {
  display: flex; align-items: center; gap: 16px;
  width: 100%; min-height: 64px; padding: 18px 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--body); font-size: 18px; font-weight: 600; color: var(--ink);
  letter-spacing: -0.005em;
}
.acc-icon { position: relative; flex: none; width: 14px; height: 14px; margin-left: auto; }
.acc-icon::before, .acc-icon::after {
  content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 1.8px; background: currentColor; border-radius: 2px;
  transition: transform 0.25s var(--ease-out);
}
.acc-icon::after { transform: rotate(90deg); }
.acc-item.is-open .acc-icon::after { transform: rotate(0deg); }
.acc-panel { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease-out); }
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-inner { overflow: hidden; }
.acc-inner p { padding: 0 32px 22px 0; color: var(--muted); font-size: 16.5px; max-width: 40em; }

/* ---------- process ---------- */
.process-title {
  max-width: 1100px;
  font-size: clamp(26px, 2.8vw, 40px);
  line-height: 1.2;
  letter-spacing: -0.025em;
}
.process-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: clamp(40px, 5vw, 72px);
  align-items: start;
}
.process-acc .acc-trigger { font-size: 13.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); transition: color 0.2s var(--ease-out); }
.process-acc .acc-item.is-open .acc-trigger,
.process-acc .acc-trigger:hover { color: var(--ink); }
.acc-step { font-family: var(--display); font-weight: 600; color: var(--gold-ink); letter-spacing: 0; min-width: 24px; }
.process-acc .acc-inner p { padding-left: 40px; }
.process-media { position: relative; border-radius: var(--r-card); overflow: hidden; }
.process-media img { width: 100%; aspect-ratio: 4 / 4.4; height: auto; object-fit: cover; object-position: 50% 30%; }
.chat-chip {
  position: absolute; left: 16px; bottom: 16px;
  display: flex; align-items: flex-start; gap: 10px;
  padding: 12px 14px; border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.95); color: var(--ink); font-size: 13.5px; line-height: 1.4;
  box-shadow: 0 16px 30px -18px rgba(10, 20, 35, 0.6);
}
.chat-dot { flex: none; width: 9px; height: 9px; margin-top: 5px; border-radius: 2px; background: #1f9d55; }

/* ---------- reviews ---------- */
.reviews {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch;
}
.reviews-intro { display: flex; flex-direction: column; align-items: flex-start; }
.reviews-intro .btn { margin-top: 28px; }
.review-nav { display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 40px; }
.square-btn {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border: 0; border-radius: var(--r-pill);
  background: var(--soft); color: var(--ink); cursor: pointer;
  transition: background-color 0.2s var(--ease-out), transform 0.16s var(--ease-out);
}
.square-btn svg { width: 20px; height: 20px; }
.square-btn:hover { background: var(--tint-mist); }
.square-btn:active { transform: scale(0.95); }
.review-count { margin-left: 10px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }

.review-stage { display: grid; }
.review {
  grid-area: 1 / 1;
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.42fr) minmax(0, 1fr);
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(16px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.review.is-active { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.review-side {
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 22px;
  background: var(--navy);
  border-radius: var(--r-card);
  min-height: 320px;
}
.review-mark { font-family: var(--display); font-size: 120px; line-height: 0.8; color: var(--gold); }
.review-company { font-family: var(--display); font-weight: 600; font-size: 20px; line-height: 1.2; color: #fff; letter-spacing: -0.01em; }
.review-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: clamp(22px, 2.6vw, 36px);
  border-radius: var(--r-card);
}
.review-card blockquote { margin: 0; }
.review-card blockquote p {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(19px, 1.6vw, 23px); line-height: 1.38; letter-spacing: -0.012em; color: var(--ink);
}
.review-card figcaption { display: flex; align-items: center; gap: 14px; }
.avatar {
  display: grid; place-items: center; flex: none;
  width: 48px; height: 48px; border-radius: var(--r-pill);
  background: var(--navy); color: var(--gold);
  font-family: var(--display); font-weight: 700; font-size: 15px;
}
.review-card figcaption strong { display: block; color: var(--ink); font-weight: 650; }
.review-card .role { display: block; font-size: 14.5px; color: var(--muted); }

/* ---------- about ---------- */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 96px);
}
.about-copy { display: flex; flex-direction: column; }
.about-bottom { margin-top: auto; padding-top: 48px; }
.about-bottom > p { color: var(--text); max-width: 34em; }
.values { margin-top: 28px; display: grid; }
.values li { padding: 12px 0; border-top: 1px solid var(--line); font-size: 15.5px; color: var(--muted); }
.values strong { color: var(--ink); font-weight: 650; margin-right: 4px; }
.about-media { border-radius: var(--r-card); overflow: hidden; }
.about-media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 30%; }

/* ---------- pricing ---------- */
.pricing-head { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.price-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.price-card {
  display: flex; flex-direction: column;
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--r-panel);
  background: var(--paper);
}
.price-plan { background: var(--navy); color: var(--on-dark-muted); }
.price-label { font-size: 12.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-ink); }
.price-plan .price-label { color: var(--gold); }
.price-value {
  margin: 22px 0 26px;
  font-family: var(--display); font-weight: 500; font-size: clamp(48px, 5vw, 72px);
  line-height: 1; letter-spacing: -0.035em; color: var(--ink);
}
.price-plan .price-value { color: #fff; }
.price-value small { font-size: 0.3em; letter-spacing: 0; font-weight: 500; color: var(--muted); }
.price-plan .price-value small { color: var(--on-dark-muted); }
.price-note { font-weight: 600; color: var(--ink); margin-bottom: 8px; }
.price-plan .price-note { color: #fff; }
.price-list li { display: flex; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); font-size: 16px; }
.price-plan .price-list li { border-color: rgba(255, 255, 255, 0.16); }
.price-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 10px; background: var(--gold); border-radius: 1px; }
.price-foot { margin: 22px 0 28px; font-size: 15.5px; color: var(--muted); }
.price-plan .price-foot { color: var(--on-dark-muted); }
.price-call .price-foot { font-weight: 650; color: var(--ink); }
.price-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- faq ---------- */
.faq {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 96px);
}

/* ---------- cta ---------- */
.cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.cta .section-lede { color: var(--text); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.cta-contact { display: flex; flex-wrap: wrap; gap: 6px 24px; margin-top: 28px; }
.cta-contact a { display: inline-flex; align-items: center; min-height: 44px; color: var(--ink); font-weight: 600; text-decoration-color: rgba(15, 42, 68, 0.35); text-underline-offset: 4px; }
.cta-media { border-radius: var(--r-card); overflow: hidden; }
.cta-media img { width: 100%; aspect-ratio: 5 / 4; height: auto; object-fit: cover; }

/* ---------- footer ---------- */
.site-footer {
  margin: var(--edge);
  padding: clamp(40px, 5vw, 64px) var(--pad) 0;
  background: var(--navy-deep);
  border-radius: var(--r-panel);
  color: var(--on-dark-muted);
  overflow: hidden;
}
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand { max-width: 380px; }
.footer-brand img { width: 190px; height: auto; }
.footer-brand p { margin-top: 18px; font-size: 15.5px; }
.socials { display: flex; gap: 8px; margin-top: 20px; }
.socials a {
  display: grid; place-items: center; width: 48px; height: 48px;
  border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.08); color: #fff;
  transition: background-color 0.2s var(--ease-out), color 0.2s var(--ease-out);
}
.socials a:hover { background: var(--gold); color: var(--navy); }
.socials svg { width: 20px; height: 20px; }
.footer-links { display: flex; gap: clamp(32px, 6vw, 96px); }
.footer-links a {
  display: inline-flex; align-items: center; min-height: 44px;
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: #fff; text-decoration: none;
}
.footer-links a:hover { color: var(--gold); }
.footer-line {
  margin-top: 40px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14.5px; line-height: 1.7;
}
.footer-line a, .footer-copy a { color: #fff; text-underline-offset: 3px; }
.footer-copy {
  margin: 0 calc(var(--pad) * -1);
  padding: 16px var(--pad);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  text-align: center; font-size: 13.5px;
  background: var(--navy-deep);
  position: relative;
}

/* ---------- reveal ---------- */
.pre-reveal { opacity: 0; transform: translateY(18px); filter: blur(2px); }
.pre-reveal.is-visible {
  opacity: 1; transform: none; filter: none;
  transition: opacity 0.7s var(--ease-out) var(--d, 0ms), transform 0.7s var(--ease-out) var(--d, 0ms), filter 0.7s var(--ease-out) var(--d, 0ms);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1180px) {
  .hero-report { display: none; }
}

@media (max-width: 1080px) {
  .nav-toggle { display: block; margin-left: 0; }
  .nav-panel { justify-content: space-between; gap: 12px; }
  .header-cta { margin-left: auto; }
  .site-menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 12px 20px 20px;
    background: var(--paper);
    border-radius: var(--r-panel);
    box-shadow: 0 24px 40px -24px rgba(15, 42, 68, 0.5);
    display: none;
  }
  .site-menu.is-open { display: flex; }
  .nav-links { flex-direction: column; gap: 0; }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { width: 100%; min-height: 54px; font-size: 13.5px; }
  .nav-links a::after { display: none; }
  .menu-actions { display: flex; flex-direction: column; gap: 10px; }
  .menu-actions .btn { width: 100%; }

  .problem { grid-template-columns: 1fr; }
  .problem-head { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .review-nav { margin-top: 28px; padding-top: 0; }
  .faq { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .intro-top { grid-template-columns: 1fr; }
  .report { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .process-media { max-width: 560px; }
  .about { grid-template-columns: 1fr; }
  .about-media { max-width: 560px; width: 100%; }
  .about-media img { aspect-ratio: 4 / 4.2; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .svc-card { grid-template-columns: 1fr; }
  .svc-body { padding: 8px 10px 12px; }
  .price-grid { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; gap: 10px; }
  .stat { min-height: 0; gap: 18px; flex-direction: row; align-items: flex-end; }
  .stat-label { max-width: 14em; }
}

@media (max-width: 760px) {
  :root { --header-h: 62px; --edge: 10px; }
  body { font-size: 16.5px; }
  .brand img { width: 142px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-panel { padding: 0 8px 0 16px; }

  .hero-panel { align-items: flex-end; }
  .hero-img { object-position: 50% 0%; }
  .hero-shade {
    background: linear-gradient(0deg, rgba(9, 24, 40, 0.95) 0%, rgba(9, 24, 40, 0.9) 58%, rgba(9, 24, 40, 0.72) 70%, rgba(9, 24, 40, 0.25) 80%, rgba(9, 24, 40, 0) 88%);
  }
  .hero-content { padding: 0 20px 24px; }
  .hero-line { display: inline; white-space: normal; }
  .hero-title { font-size: clamp(36px, 10.6vw, 46px); }
  .hero-sub { font-size: 16px; margin-top: 14px; }
  .hero-actions { margin-top: 22px; flex-direction: column; gap: 10px; }
  .hero-proof { margin-top: 18px; font-size: 14px; }
  .proof-badge { width: 38px; height: 38px; font-size: 14px; }
  .eyebrow { font-size: 11.5px; letter-spacing: 0.12em; white-space: nowrap; }

  .btn { width: 100%; }
  .svc-body .btn, .price-card .btn { align-self: stretch; }
  .panel { padding: 52px 20px; }
  .section-title { font-size: clamp(30px, 8.4vw, 38px); }
  .problem-list { grid-template-columns: 1fr; }
  .problem-num { margin-bottom: 14px; }
  .report-list li { grid-template-columns: 1fr; gap: 2px; }
  .sheet-grid { grid-template-columns: 1fr 1fr; }
  .sheet-cell { padding: 12px; }
  .sheet-num { font-size: 22px; }
  .sheet-label { font-size: 10.5px; }
  .sheet-delta { font-size: 12.5px; }
  .review { grid-template-columns: 1fr; }
  .review-side { min-height: 0; flex-direction: row; align-items: center; gap: 16px; justify-content: flex-start; padding: 16px 18px; }
  .review-mark { font-size: 64px; line-height: 0.6; margin-top: 18px; }
  .review-company { font-size: 18px; }
  .review-card { gap: 24px; }
  .cta-actions { flex-direction: column; gap: 10px; }
  .footer-links { width: 100%; justify-content: space-between; }
  .acc-inner p { padding-right: 0; }
  .process-acc .acc-inner p { padding-left: 40px; }
}

@media (max-width: 760px) and (max-height: 700px) {
  .hero-sub { display: none; }
  .hero-actions { margin-top: 18px; }
}

@media (max-width: 400px) {
  .btn { font-size: 12.5px; letter-spacing: 0.08em; padding: 14px 16px; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.1em; }
  .hero-proof p { font-size: 13px; }
}

/* short desktop viewports: keep the hero copy inside 100svh */
@media (min-width: 761px) and (max-height: 820px) {
  .hero-title { font-size: clamp(40px, min(4.7vw, 8.4vh), 74px); }
  .hero-sub { margin-top: 16px; font-size: 17px; }
  .hero-actions { margin-top: 24px; }
  .hero-proof { margin-top: 24px; }
  .report-card { transform-origin: bottom right; }
}
@media (min-width: 761px) and (max-height: 700px) {
  .hero-proof { display: none; }
  .report-card { display: none; }
}

/* near-square screens: bottom-align so the copy never sits on the subject */
@media (min-width: 761px) and (max-aspect-ratio: 13/10) {
  .hero-panel { align-items: flex-end; }
  .hero-content { padding-bottom: clamp(28px, 4vh, 56px); }
  .hero-shade {
    background: linear-gradient(0deg, rgba(9, 24, 40, 0.94) 0%, rgba(9, 24, 40, 0.88) 50%, rgba(9, 24, 40, 0.66) 64%, rgba(9, 24, 40, 0.2) 76%, rgba(9, 24, 40, 0) 84%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { animation: none; flex-wrap: wrap; gap: 10px 22px; flex: 1; }
  .marquee-track[aria-hidden="true"] { display: none; }
  .pre-reveal { opacity: 1; transform: none; filter: none; }
}

.nowrap { white-space: nowrap; }
