/* DynamicLedger website. Brand: Poppins; green #6FBA2C lead, navy #1B4592 secondary
   (DynamicLedger Visual Identity, A1_06 and A1_07). Darker greens are used for text
   so it meets WCAG AA on white. */

@font-face { font-family: "Poppins"; font-style: normal; font-weight: 300; font-display: swap; src: url("/assets/fonts/poppins-light.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("/assets/fonts/poppins-regular.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("/assets/fonts/poppins-medium.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("/assets/fonts/poppins-semibold.woff2") format("woff2"); }

:root {
  --green: #6fba2c;          /* brand green: fills, marks, buttons */
  --green-display: #4f911c;  /* green for large headings (3.9:1) */
  --green-ink: #3f7a16;      /* green for body-size text (5.2:1) */
  --green-50: #f3f9ec;
  --green-100: #e4f2d5;
  --navy: #1b4592;           /* brand navy */
  --navy-deep: #0f2a5c;
  --navy-50: #eef2fa;
  --teal: #74c1cd;
  --amber: #e8b91f;
  --raspberry: #d8225a;
  --ink: #1f2933;
  --text: #4d4d4d;
  --muted: #5c5c5c;
  --grey: #727272;
  --line: #e3e6ea;
  --line-soft: #eef0f2;
  --surface: #f7f8f9;
  --white: #ffffff;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 92, .06), 0 1px 3px rgba(15, 42, 92, .05);
  --shadow: 0 2px 6px rgba(15, 42, 92, .05), 0 12px 32px -8px rgba(15, 42, 92, .14);
  --shadow-lg: 0 4px 12px rgba(15, 42, 92, .06), 0 30px 60px -20px rgba(15, 42, 92, .25);

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 72px;

  --fs-xs: .8125rem;
  --fs-sm: .9375rem;
  --fs-base: 1.0625rem;
  --fs-lg: 1.1875rem;
  --fs-h4: 1.125rem;
  --fs-h3: clamp(1.25rem, 1.1rem + .5vw, 1.5rem);
  --fs-h2: clamp(1.75rem, 1.35rem + 1.6vw, 2.75rem);
  --fs-h1: clamp(2.25rem, 1.5rem + 3.2vw, 4.25rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: var(--fs-base);
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--navy-deep); }
:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { color: var(--ink); line-height: 1.15; margin: 0 0 .5em; font-weight: 500; letter-spacing: -.015em; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 400; letter-spacing: -.025em; color: var(--grey); }
h2 { font-size: var(--fs-h2); letter-spacing: -.02em; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); font-weight: 600; letter-spacing: 0; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0 0 1em; padding-left: 1.2em; }
strong { font-weight: 600; color: var(--ink); }
.accent { color: var(--green-display); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--navy-deep); color: #fff; padding: 10px 16px; border-radius: var(--radius-sm); }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }
.section { padding: var(--section) 0; position: relative; }
.section-tight { padding: calc(var(--section) * .6) 0; }
.section-alt { background: var(--surface); }
.section-green { background: var(--green-50); }
.section-dark { background: var(--navy-deep); color: #c9d3e6; }
.section-dark h2, .section-dark h3, .section-dark h4, .section-dark strong { color: #fff; }
.section-dark a { color: #fff; }
.section-dark .accent { color: var(--green); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--green-ink); margin: 0 0 18px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--green); border-radius: 2px; }
.section-dark .eyebrow { color: var(--green); }
.lead { font-size: var(--fs-lg); color: var(--muted); line-height: 1.65; max-width: 62ch; }
.section-dark .lead { color: #c9d3e6; }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { text-align: center; margin-inline: auto; }
.section-head.center .eyebrow { justify-content: center; }
.section-head.center .lead { margin-inline: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: inherit; font-size: var(--fs-sm); font-weight: 500; line-height: 1.2;
  padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent;
  text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s, transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: var(--green); color: var(--navy-deep); box-shadow: 0 6px 18px -6px rgba(111, 186, 44, .6); }
.btn-primary:hover { background: #63aa25; color: var(--navy-deep); transform: translateY(-1px); }
.btn-secondary { background: var(--white); color: var(--navy); border-color: #c8d2e6; }
.btn-secondary:hover { border-color: var(--navy); color: var(--navy-deep); }
.btn-ghost-light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { border-color: #fff; color: #fff; }
.btn-sm { padding: 10px 18px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.text-link { font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; }
.text-link::after { content: "→"; transition: transform .2s; }
.text-link:hover::after { transform: translateX(3px); }
.link-button { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: left; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(255, 255, 255, .92); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px -12px rgba(15, 42, 92, .18); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { width: 176px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 8px 12px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); text-decoration: none; border-radius: var(--radius-sm); }
.nav-link:hover { color: var(--navy); background: var(--navy-50); }
.nav-link[aria-current="page"] { color: var(--green-ink); }
.sub-toggle { display: none; }
.has-sub > .nav-link { padding-right: 6px; }
.has-sub::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--grey); border-bottom: 1.5px solid var(--grey); transform: rotate(45deg) translateY(-3px); margin-right: 10px; }
.sub {
  position: absolute; top: calc(100% + 10px); left: -12px; min-width: 340px; list-style: none; margin: 0; padding: 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .18s, transform .18s, visibility .18s;
}
.sub::before { content: ""; position: absolute; inset: -12px 0 auto 0; height: 12px; }
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: 12px 14px; border-radius: 10px; text-decoration: none; line-height: 1.4; }
.sub a:hover { background: var(--green-50); }
.sub strong { display: block; font-size: var(--fs-sm); color: var(--ink); }
.sub span { display: block; font-size: var(--fs-xs); color: var(--muted); }
.nav-actions { display: flex; align-items: center; gap: 16px; }
.nav-login { font-size: var(--fs-sm); font-weight: 500; text-decoration: none; color: var(--ink); }
.nav-login:hover { color: var(--navy); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; border-radius: var(--radius-sm); position: relative; }
.nav-toggle .bars, .nav-toggle .bars::before, .nav-toggle .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; content: ""; }
.nav-toggle .bars { top: 21px; }
.nav-toggle .bars::before { left: 0; top: -7px; }
.nav-toggle .bars::after { left: 0; top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1023px) {
  .nav-toggle { display: block; }
  .site-nav {
    /* Absolute, not fixed: the header's backdrop-filter makes it the containing block. */
    position: absolute; top: 100%; left: 0; right: 0; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 32px; overflow-y: auto; border-top: 1px solid var(--line);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .2s, transform .2s, visibility .2s;
  }
  .site-nav.open { opacity: 1; visibility: visible; transform: none; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid var(--line-soft); }
  .nav-link { flex: 1; padding: 16px 4px; font-size: 1.0625rem; }
  .has-sub::after { display: none; }
  .sub-toggle { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; color: var(--ink); cursor: pointer; }
  .sub-toggle svg { width: 14px; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub { position: static; min-width: 0; width: 100%; box-shadow: none; border: 0; padding: 0 0 12px; display: none; opacity: 1; visibility: visible; transform: none; }
  .has-sub:hover .sub, .has-sub:focus-within .sub { display: none; }
  .has-sub.open .sub { display: block; }
  .sub a { padding: 10px 12px; }
  .nav-actions { flex-direction: column; align-items: stretch; gap: 12px; margin-top: 24px; }
  .nav-actions .btn { padding: 14px 24px; }
  .nav-login { text-align: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 999px; }
  body.nav-open { overflow: hidden; }
}

.crumbs { padding-top: 20px; font-size: var(--fs-xs); }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: #b5bcc5; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 8vw, 110px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .accent { display: block; }
.hero .lead { margin-bottom: 32px; }
.hero-points { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: var(--fs-sm); color: var(--muted); }
.hero-points li { display: flex; align-items: center; gap: 8px; }
.hero-points li::before { content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%233f7a16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.hero-visual { position: relative; }
.hero-orb { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero-orb.one { width: 560px; height: 560px; right: -180px; top: -120px; background: radial-gradient(circle at 35% 35%, rgba(111, 186, 44, .22), rgba(111, 186, 44, 0) 65%); }
.hero-orb.two { width: 420px; height: 420px; left: -160px; bottom: -200px; background: radial-gradient(circle, rgba(27, 69, 146, .10), rgba(27, 69, 146, 0) 65%); }
.page-hero { padding: clamp(28px, 4vw, 56px) 0 clamp(48px, 6vw, 80px); position: relative; overflow: hidden; }
.page-hero h1 { max-width: 20ch; }
.page-hero.center { text-align: center; }
.page-hero.center h1, .page-hero.center .lead { margin-inline: auto; }
.page-hero.center .btn-row { justify-content: center; }
.page-hero.center .eyebrow { justify-content: center; }

/* crescent motif drawn from the logo mark */
.crescent { position: absolute; z-index: -1; pointer-events: none; opacity: .9; }
.crescent svg { width: 100%; height: 100%; }

/* ---------- product frame ---------- */
.frame { position: relative; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #f4f6f8; border-bottom: 1px solid var(--line); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9dde2; }
.frame-bar span { margin-left: 10px; font-size: 11px; color: var(--muted); font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.frame img { width: 100%; }
.badge-float {
  position: absolute; display: flex; align-items: center; gap: 12px; padding: 12px 16px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); font-size: var(--fs-xs); line-height: 1.35;
}
.badge-float strong { display: block; font-size: var(--fs-sm); }
.badge-float .dot { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--green-100); color: var(--green-ink); }
.badge-float .dot svg { width: 18px; }
.badge-float.bl { left: -28px; bottom: 34px; }
.badge-float.tr { right: -20px; top: 56px; }
@media (max-width: 640px) { .badge-float { display: none; } }

/* ---------- trust strip ---------- */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.trust ul { list-style: none; margin: 0; padding: 20px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; }
.trust li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-sm); font-weight: 500; color: var(--ink); }
.trust svg { width: 22px; height: 22px; color: var(--navy); flex: none; }

/* ---------- grids & cards ---------- */
.grid { display: grid; gap: clamp(16px, 2.2vw, 28px); }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1023px) { .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 680px) { .g2, .g3, .g4 { grid-template-columns: minmax(0, 1fr); } }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); position: relative; }
.card h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.card p:last-child { margin-bottom: 0; }
.card p { font-size: var(--fs-sm); }
.card-hover { transition: border-color .2s, box-shadow .2s, transform .2s; }
.card-hover:hover { border-color: #cfd6df; box-shadow: var(--shadow); transform: translateY(-2px); }
.icon { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 20px; background: var(--green-50); color: var(--green-ink); }
.icon svg { width: 24px; height: 24px; }
.icon.navy { background: var(--navy-50); color: var(--navy); }

/* pain cards */
.pain { border-top: 3px solid var(--raspberry); }
.pain .stat { font-size: clamp(2.25rem, 1.8rem + 1.6vw, 3.25rem); font-weight: 500; line-height: 1; color: var(--ink); letter-spacing: -.03em; margin: 4px 0 14px; }
.pain .stat small { font-size: .45em; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.source { display: block; margin-top: 14px; font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; }
.source a { color: var(--muted); }

/* product cards */
.product { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.product .shot { aspect-ratio: 16 / 9; background: var(--surface); border-bottom: 1px solid var(--line); overflow: hidden; }
.product .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.product .body { padding: clamp(22px, 2.4vw, 30px); display: flex; flex-direction: column; flex: 1; }
.product .tag { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 8px; }
.product h3 { font-size: 1.375rem; }
.product ul { list-style: none; padding: 0; margin: 4px 0 24px; font-size: var(--fs-sm); }
.product li { padding: 6px 0 6px 26px; position: relative; }
.product li::before { content: ""; position: absolute; left: 0; top: 12px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--green); }
.product .text-link { margin-top: auto; }

/* checklists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.checks li { position: relative; padding-left: 32px; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: var(--green-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%233f7a16' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.section-dark .checks li::before { background-color: rgba(111, 186, 44, .2); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m4.5 8.2 2.3 2.3 4.7-5' fill='none' stroke='%236fba2c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.crosses li::before { background: #fbe9ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m5 5 6 6m0-6-6 6' fill='none' stroke='%23b01c4a' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; }

/* before / after */
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.compare > div { padding: clamp(24px, 3.4vw, 44px); }
.compare > div + div { background: var(--green-50); border-left: 1px solid var(--line); }
.compare h3 { font-size: 1.125rem; display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.compare .pill { font-size: var(--fs-xs); font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: #fbe9ee; color: #a3193f; }
.compare > div + div .pill { background: var(--green-100); color: var(--green-ink); }
@media (max-width: 760px) { .compare { grid-template-columns: 1fr; } .compare > div + div { border-left: 0; border-top: 1px solid var(--line); } }

/* feature rows */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature + .feature { margin-top: clamp(56px, 8vw, 104px); }
.feature.flip > :first-child { order: 2; }
.feature h3 { font-size: var(--fs-h3); margin-bottom: 14px; }
.feature .checks { margin-top: 20px; font-size: var(--fs-sm); }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } .feature.flip > :first-child { order: 0; } }

/* steps */
.steps { counter-reset: step; list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; position: relative; }
.steps li { counter-increment: step; position: relative; padding: 0 22px 0 0; }
.steps li::before {
  content: "0" counter(step); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  font-weight: 600; font-size: var(--fs-sm); color: var(--navy-deep); background: var(--green); margin-bottom: 22px; position: relative; z-index: 1;
  box-shadow: 0 0 0 8px var(--white);
}
.section-alt .steps li::before { box-shadow: 0 0 0 8px var(--surface); }
.section-dark .steps li::before { box-shadow: 0 0 0 8px var(--navy-deep); }
.steps li::after { content: ""; position: absolute; top: 26px; left: 52px; right: 0; height: 2px; background: repeating-linear-gradient(90deg, #c7d7b6 0 8px, transparent 8px 14px); }
.section-dark .steps li::after { background: repeating-linear-gradient(90deg, rgba(255,255,255,.25) 0 8px, transparent 8px 14px); }
.steps li:last-child::after { display: none; }
.steps h3 { font-size: 1.125rem; margin-bottom: 8px; }
.steps p { font-size: var(--fs-sm); margin: 0; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .steps li { padding: 0 0 0 76px; min-height: 52px; }
  .steps li::before { position: absolute; left: 0; top: 0; margin: 0; }
  .steps li::after { top: 60px; bottom: -28px; left: 25px; right: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #c7d7b6 0 8px, transparent 8px 14px); }
  .section-dark .steps li::after { background: repeating-linear-gradient(180deg, rgba(255,255,255,.25) 0 8px, transparent 8px 14px); }
}

/* comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
table.versus { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); min-width: 560px; }
.versus th, .versus td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
.versus thead th { font-size: var(--fs-xs); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); background: var(--surface); font-weight: 600; }
.versus thead th:last-child { color: var(--green-ink); background: var(--green-50); }
.versus td:last-child { background: #fbfdf8; color: var(--ink); }
.versus tbody th { font-weight: 600; color: var(--ink); width: 26%; }
.versus tr:last-child > * { border-bottom: 0; }

/* stats band */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; }
.stats > div { padding: 8px 28px; border-left: 1px solid rgba(255, 255, 255, .14); }
.stats > div:first-child { border-left: 0; padding-left: 0; }
.stats .num { font-size: clamp(2rem, 1.6rem + 1.6vw, 3rem); font-weight: 500; color: #fff; line-height: 1.05; letter-spacing: -.02em; margin-bottom: 8px; }
.stats .num .accent { color: var(--green); }
.stats p { font-size: var(--fs-sm); margin: 0; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; gap: 28px 0; } .stats > div:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 520px) { .stats { grid-template-columns: 1fr; } .stats > div { border-left: 0; padding-left: 0; } }

/* quote / case study teaser */
.case { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-deep); color: #c9d3e6; }
.case .text { padding: clamp(28px, 4.4vw, 60px); }
.case h2, .case h3 { color: #fff; }
.case .eyebrow { color: var(--green); }
.case .meta { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 28px 0 32px; font-size: var(--fs-sm); }
.case .meta span { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: #8ea0c4; margin-bottom: 2px; }
.case .meta strong { color: #fff; font-weight: 500; }
.case .art { position: relative; background: linear-gradient(135deg, #16386f, #0f2a5c); min-height: 280px; overflow: hidden; }
@media (max-width: 900px) { .case { grid-template-columns: 1fr; } .case .art { min-height: 200px; order: -1; } }

/* CTA band */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(36px, 5.6vw, 72px); background: linear-gradient(120deg, var(--navy-deep) 0%, #173d80 100%); color: #c9d3e6; display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 32px; align-items: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { margin: 0; max-width: 56ch; }
.cta-band .btn-row { justify-content: flex-end; }
.cta-band .crescent { right: -60px; bottom: -120px; width: 340px; height: 340px; opacity: .25; z-index: 0; }
.cta-band > * { position: relative; z-index: 1; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-band .btn-row { justify-content: flex-start; } }

/* brochure cards */
.brochure { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 22px; align-items: center; }
.brochure .cover { aspect-ratio: 794 / 1123; border-radius: 6px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; }
.brochure .cover img { width: 100%; height: 100%; object-fit: cover; }
.brochure h3 { font-size: 1.125rem; margin-bottom: 6px; }
.brochure p { margin-bottom: 12px; }
.file-meta { font-size: var(--fs-xs); color: var(--muted); }

/* FAQ */
.faqs { border-top: 1px solid var(--line); }
details.faq { border-bottom: 1px solid var(--line); }
details.faq summary { list-style: none; cursor: pointer; padding: 22px 48px 22px 0; position: relative; font-weight: 500; color: var(--ink); font-size: 1.0625rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--green-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 3.5v9M3.5 8h9' fill='none' stroke='%233f7a16' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") center/14px no-repeat; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(45deg); }
details.faq .answer { padding: 0 48px 24px 0; font-size: var(--fs-sm); }
details.faq .answer p:last-child { margin-bottom: 0; }

/* notes / sources */
.sources { font-size: var(--fs-xs); color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 48px; }
.sources ol { padding-left: 1.4em; margin: 8px 0 0; display: grid; gap: 4px; }
.sources a { color: var(--muted); word-break: break-word; }
sup.ref a { text-decoration: none; font-size: .7em; font-weight: 600; color: var(--navy); padding: 0 1px; }

/* split layout */
.split { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.sticky { position: sticky; top: calc(var(--header-h) + 32px); }
@media (max-width: 900px) { .sticky { position: static; } }

/* team */
.person { text-align: left; }
.person .avatar { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; font-weight: 500; font-size: 1.375rem; color: var(--navy-deep); background: var(--green-100); margin-bottom: 18px; overflow: hidden; }
.person .avatar img { width: 100%; height: 100%; object-fit: cover; }
.person h3 { margin-bottom: 2px; font-size: 1.1875rem; }
.person .role { font-size: var(--fs-sm); color: var(--green-ink); font-weight: 500; margin-bottom: 12px; }

/* news */
.news-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.news-item { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 28px; padding: 32px 0; border-bottom: 1px solid var(--line); }
.news-item time { font-size: var(--fs-sm); color: var(--muted); font-weight: 500; }
.news-item h2 { font-size: 1.375rem; margin-bottom: 10px; }
.news-item p { font-size: var(--fs-sm); }
.news-item .kind { display: inline-block; font-size: var(--fs-xs); font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--green-ink); margin-top: 6px; }
@media (max-width: 640px) { .news-item { grid-template-columns: 1fr; gap: 6px; } }

/* prose (legal, case study) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2em; }
.prose h3 { font-size: 1.1875rem; margin-top: 1.8em; }
.prose p, .prose li { font-size: 1rem; }
.prose ol, .prose ul { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose li p { margin: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1em 0 1.6em; font-size: var(--fs-sm); display: block; overflow-x: auto; }
.prose td, .prose th { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; }
.facts > div { padding: 18px 22px; border-left: 1px solid var(--line); }
.facts > div:first-child { border-left: 0; }
.facts span { display: block; font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 4px; }
.facts strong { font-weight: 500; font-size: var(--fs-sm); }
@media (max-width: 760px) { .facts { grid-template-columns: 1fr 1fr; } .facts > div:nth-child(3) { border-left: 0; } .facts > div:nth-child(n+3) { border-top: 1px solid var(--line); } }

/* contact */
.contact-card { display: flex; flex-direction: column; }
.contact-card .btn-row { margin-top: auto; padding-top: 12px; }

/* footer */
.site-footer { background: var(--navy-deep); color: #a9b7d3; padding: clamp(56px, 7vw, 88px) 0 32px; font-size: var(--fs-sm); }
.site-footer a, .site-footer .link-button { color: #dbe3f2; text-decoration: none; }
.site-footer a:hover, .site-footer .link-button:hover { color: #fff; text-decoration: underline; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr); gap: 48px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.footer-brand img { width: 180px; margin-bottom: 18px; }
.footer-brand p { margin: 0 0 8px; color: #dbe3f2; }
.footer-brand .footer-small { color: #a9b7d3; font-size: var(--fs-xs); max-width: 34ch; }
.footer-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.footer-cols h2 { font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em; color: #fff; font-weight: 600; margin-bottom: 16px; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-cols li { overflow-wrap: anywhere; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-top: 28px; font-size: var(--fs-xs); }
.footer-bottom p { margin: 0; max-width: 80ch; }
.social { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); }
.social a:hover { border-color: #fff; text-decoration: none; }
.social svg { width: 18px; height: 18px; }
@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .footer-cols { grid-template-columns: 1fr 1fr; gap: 32px 20px; } .footer-bottom { flex-direction: column; align-items: flex-start; } }

/* cookie banner */
.dl-cookie-banner { position: fixed; z-index: 300; left: 16px; right: 16px; bottom: 16px; max-width: 560px; margin-left: auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px 22px; font-size: var(--fs-sm); opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s; }
.dl-cookie-banner.open { opacity: 1; transform: none; }
.dl-cookie-banner p { margin: 0 0 14px; }
.dl-cookie-banner .btn-row { justify-content: flex-end; }

/* reveal on scroll (only when JS has run) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; } }

/* utilities */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 32px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.marketplace-badge img { height: 44px; width: auto; }
.card-dark { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .14); }
.h3 { font-size: 1.375rem; }
.versus.even thead th:last-child { color: var(--muted); background: var(--surface); }
.versus.even td:last-child { background: none; color: inherit; }

/* fixes after first review */
.cta-band > .crescent { position: absolute; }
.hero h1 { font-size: clamp(2.25rem, 1.3rem + 2.6vw, 3.6rem); }
.page-hero h1 { font-size: clamp(2.1rem, 1.3rem + 2.3vw, 3.25rem); }
.hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
.trust ul { flex-wrap: nowrap; gap: 16px; }
.trust li { font-size: var(--fs-xs); white-space: nowrap; }
@media (max-width: 1180px) { .trust ul { flex-wrap: wrap; justify-content: flex-start; gap: 12px 28px; } }
.section-head { max-width: 860px; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-top: 8px; }
  .hero-orb.one { width: 360px; height: 360px; right: -160px; top: -80px; }
}
@media (max-width: 520px) {
  .btn-row .btn { flex: 1 1 100%; }
  .hero-points { flex-direction: column; gap: 8px; }
  h1 .accent { display: inline; }
}

/* Screenshot zoom */
.frame.zoomable img { cursor: zoom-in; }
.zoom-btn { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px 7px 9px; border: 1px solid rgba(15, 42, 92, .12); border-radius: 999px; background: rgba(255, 255, 255, .94); color: var(--navy-deep); font-family: inherit; font-size: var(--fs-xs); font-weight: 500; line-height: 1; box-shadow: var(--shadow-sm); cursor: zoom-in; transition: background .15s, color .15s, transform .15s; }
.zoom-btn svg { width: 16px; height: 16px; }
.frame.zoomable:hover .zoom-btn, .zoom-btn:focus-visible { background: var(--green); color: var(--navy-deep); transform: translateY(-1px); }
.zoom-btn:focus-visible { outline: 3px solid var(--navy); outline-offset: 2px; }
@media (max-width: 520px) { .zoom-btn span { display: none; } .zoom-btn { padding: 8px; } }
html.zoom-open { overflow: hidden; }
dialog.zoom { width: min(96vw, 1600px); max-width: none; max-height: 94vh; padding: 0; border: 0; border-radius: var(--radius); background: #fff; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: auto; }
dialog.zoom::backdrop { background: rgba(10, 24, 52, .82); }
dialog.zoom figure { margin: 0; }
dialog.zoom img { display: block; width: 100%; height: auto; cursor: zoom-out; }
dialog.zoom figcaption { padding: 12px 56px 14px 18px; font-size: var(--fs-xs); color: var(--muted); border-top: 1px solid var(--line); }
.zoom-close { position: absolute; top: 10px; right: 10px; z-index: 1; display: grid; place-items: center; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--navy-deep); color: #fff; cursor: pointer; }
.zoom-close svg { width: 20px; height: 20px; }
.zoom-close:focus-visible { outline: 3px solid var(--green); outline-offset: 2px; }
@media (max-width: 760px) {
  dialog.zoom { width: 100vw; max-height: 100vh; height: 100vh; border-radius: 0; display: none; }
  dialog.zoom[open] { display: flex; flex-direction: column; justify-content: center; background: #0a1834; }
  .zoom-scroll { overflow: auto; -webkit-overflow-scrolling: touch; }
  dialog.zoom .zoom-scroll img { width: auto; max-width: none; height: min(70vh, 600px); }
  dialog.zoom figcaption { color: #d5ddec; border-top-color: rgba(255,255,255,.15); }
  dialog.zoom figcaption::after { content: " · Swipe to pan."; }
}

/* News articles: title and body share one column */
.page-hero .narrow h1 { max-width: none; }
.page-hero:has(.narrow) { padding-bottom: clamp(24px, 3vw, 40px); }
