/* CRO Insight — "the auditor's desk", in the brand palette:
   deep violet and near-black backgrounds, royal blue and lavender accents, white type.
   Paper elements (audit sheet, findings, letter, receipt, form) stay white.
   Schibsted Grotesk for everything; Kalam only for handwriting. */

:root {
  --page: #0A0612;
  --paper: #0F0919;
  --white: #130C20;
  --sheet: #130C20;
  --panel: #130C20;
  --panel-2: #1A1129;
  --ink: #F5F3FA;
  --ink-2: #C9C4D9;
  --muted: #8E88A3;
  --on-ink: #0A0612;
  --rule: rgba(255, 255, 255, .08);
  --rule-soft: rgba(255, 255, 255, .05);
  --border: rgba(255, 255, 255, .07);
  --border-2: rgba(255, 255, 255, .12);
  --purple: #8B3DFF;
  --purple-hover: #9D5CFF;
  --purple-deep: #5B21B6;
  --violet: #B57BFF;
  --lav: #D8B4FE;
  --red: #B57BFF;
  --red-dark: #F87171;
  --red-soft: rgba(248, 113, 113, .14);
  --red-light: #D8B4FE;
  --hl: rgba(139, 61, 255, .45);
  --green: #4ADE80;
  --green-soft: rgba(74, 222, 128, .14);
  --blue: #8B3DFF;
  --accent: #B57BFF;
  --navy: #0A0612;
  --navy-2: #130C20;
  --navy-line: rgba(255, 255, 255, .08);
  --navy-text: #C9C4D9;
  --black: #06030C;
  --wa: #25D366;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --hand: "Kalam", "Comic Sans MS", cursive;
  --ui: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", sans-serif;

  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 120px);
  --header-h: 66px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.6; color: var(--ink);
  background: var(--page); -webkit-font-smoothing: antialiased; overflow-x: hidden; overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.022em; line-height: 1.08; text-wrap: balance; }
h2 { font-size: clamp(30px, 3.6vw, 44px); }
h3 { font-size: 21px; letter-spacing: -0.012em; line-height: 1.25; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
:focus-visible { outline: 2.5px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--hl); color: var(--ink); }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section-paper { background: var(--paper); }
.head { max-width: 660px; margin-bottom: clamp(36px, 5vw, 56px); }
.head h2 { margin-bottom: 16px; }
.head p { color: var(--ink-2); font-size: 18px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px; border-radius: 8px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn-red { background: var(--red); color: #fff; box-shadow: 0 2px 0 var(--red-dark); }
.btn-red:hover { background: var(--red-dark); }
.btn-red:active { box-shadow: none; transform: translateY(2px); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #0F1B33; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-line:hover { background: var(--ink); color: #fff; }
.btn-wa { background: var(--wa); color: #073A1D; }
.btn-wa:hover { background: #1EBE5A; }
.btn-sm { padding: 9px 16px; font-size: 15px; }
.btn-lg { padding: 16px 26px; font-size: 17px; }
.btn-block { width: 100%; }
.wa-ico { width: 20px; height: 20px; flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; height: var(--header-h); background: rgba(244, 245, 242, .94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-header.is-scrolled { border-bottom-color: var(--rule); }
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; color: var(--ink); }
.logo-light { color: #fff; }
.logo-light .logo-mark { color: #fff; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2); padding: 8px 12px; border-radius: 6px; }
.nav a:hover { color: var(--ink); background: rgba(28, 43, 74, .06); }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; position: relative; cursor: pointer; }
.nav-toggle .bar { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--ink); transition: transform .2s; }
.nav-toggle .bar:nth-of-type(2) { top: 18px; }
.nav-toggle .bar:nth-of-type(3) { top: 25px; }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(2) { transform: translateY(3.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bar:nth-of-type(3) { transform: translateY(-3.5px) rotate(-45deg); }
.mobile-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--page); border-bottom: 1px solid var(--rule); padding: 4px var(--gutter) 20px; display: flex; flex-direction: column; }
.mobile-nav a:not(.btn) { padding: 14px 2px; text-decoration: none; font-size: 18px; font-weight: 500; border-bottom: 1px solid var(--rule-soft); }
.mobile-nav .btn { margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(36px, 6vw, 80px) 0 clamp(56px, 7vw, 88px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 { font-size: clamp(36px, 4.3vw, 56px); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 24px; max-width: 15em; }
.hero-sub { font-size: clamp(18px, 1.6vw, 20px); color: var(--ink-2); max-width: 34em; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.hero-note { font-size: 15px; color: var(--muted); max-width: 30em; }

.hero-figure { margin: 0; }
.hero-figure figcaption { font-size: 14px; color: var(--muted); margin-top: 16px; max-width: 36em; }
.desk { container-type: inline-size; perspective: 1600px; }
.stage {
  position: relative; height: 96cqw; transform-style: preserve-3d;
  transform: rotateX(var(--rx, 4deg)) rotateY(var(--ry, -6deg));
  transition: transform .7s var(--ease);
}

/* The printed audit sheet */
.sheet {
  position: absolute; left: 1cqw; top: 6cqw; width: 34cqw; height: 66cqw;
  background: var(--sheet); border-radius: 2px; padding: 3cqw 2.6cqw;
  transform: rotate(-4deg); transform-origin: top left;
  box-shadow: 0 1px 1px rgba(28,43,74,.08), 0 10px 24px -8px rgba(28,43,74,.25);
  font-size: 1.85cqw; line-height: 1.45; color: var(--ink-2);
}
.sheet::before { content: ""; position: absolute; top: -1.2cqw; left: 13cqw; width: 6cqw; height: 2.4cqw; background: rgba(255, 226, 74, .65); transform: rotate(3deg); }
.sheet-title { font-weight: 800; font-size: 2.6cqw; color: var(--ink); margin: 0; letter-spacing: -0.02em; }
.sheet-sub { margin: 0 0 2.4cqw; color: var(--muted); }
.sheet-h { font-weight: 700; color: var(--ink); margin: 0 0 1cqw; padding-bottom: .8cqw; border-bottom: 1px solid var(--rule); }
.sheet-list { margin: 0 0 2cqw; padding-left: 3.2cqw; }
.sheet-list li { margin-bottom: .55cqw; }
.sheet-list li::marker { color: var(--muted); }
.sheet mark { background: linear-gradient(transparent 12%, rgba(255,226,74,.85) 12%, rgba(255,226,74,.85) 88%, transparent 88%); color: inherit; padding: 0 .3cqw; }
.sheet-foot { color: var(--muted); margin: 0; }

/* The store page under review */
.hphone {
  position: absolute; left: 30cqw; top: 4cqw; width: 40cqw; height: 86cqw;
  background: #fff; border: 1.2cqw solid #1D2130; border-radius: 5.5cqw; overflow: hidden;
  transform: translateZ(40px);
  box-shadow: 0 2cqw 5cqw -1cqw rgba(28,43,74,.35);
  font-family: var(--ui); color: #222;
}
.hp-status { height: 3cqw; display: flex; justify-content: space-between; align-items: center; padding: 0 3.4cqw; font-size: 1.5cqw; font-weight: 600; }
.hp-sig { display: flex; gap: .4cqw; align-items: flex-end; }
.hp-sig i { width: .5cqw; background: #222; border-radius: 1px; }
.hp-sig i:nth-child(1) { height: .8cqw; } .hp-sig i:nth-child(2) { height: 1.1cqw; } .hp-sig i:nth-child(3) { height: 1.4cqw; }
.hp-announce { height: 3.6cqw; background: #E5322D; color: #fff; font-weight: 800; font-size: 1.35cqw; display: grid; place-items: center; letter-spacing: .05em; white-space: nowrap; overflow: hidden; }
.hp-head { height: 6cqw; display: flex; align-items: center; justify-content: space-between; padding: 0 2.5cqw; border-bottom: 1px solid #eee; }
.hp-head b { font-size: 2.4cqw; letter-spacing: .3em; font-family: Georgia, serif; font-weight: 400; }
.hp-burger { width: 3cqw; height: 1.6cqw; border-top: 2px solid #333; border-bottom: 2px solid #333; position: relative; }
.hp-burger::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px solid #333; transform: translateY(-50%); }
.hp-bag { width: 2.6cqw; height: 2.8cqw; border: 2px solid #333; border-radius: 0 0 .5cqw .5cqw; }
.hp-img { height: 28cqw; background: #F1EFEA; display: grid; place-items: center; padding: 2cqw 8cqw; }
.hp-img svg { width: 100%; height: 100%; }
.hp-body { padding: 2cqw 2.5cqw 0; }
.hp-body p { margin: 0; overflow: hidden; }
.hp-title { height: 8cqw; font-size: 1.75cqw; line-height: 2.55cqw; font-weight: 800; letter-spacing: .02em; color: #333; }
.hp-desc { height: 8cqw; margin-top: .7cqw !important; font-size: 1.5cqw; line-height: 2.3cqw; color: #888; }
.hp-price { height: 3.5cqw; margin-top: 1cqw !important; font-size: 1.7cqw; color: #777; display: flex; align-items: center; }
.hp-select { height: 5cqw; margin-top: 1cqw !important; border: 1px solid #ccc; font-size: 1.6cqw; color: #666; display: flex; align-items: center; justify-content: space-between; padding: 0 1.4cqw; }
.hp-atc { height: 6cqw; margin-top: 1cqw !important; background: #CFCFCF; color: #F4F4F4; font-weight: 700; font-size: 1.6cqw; letter-spacing: .08em; display: grid; place-items: center; }
.hp-ship { height: 4cqw; margin-top: 1cqw !important; font-size: 1.45cqw; color: #999; display: flex; align-items: center; }

/* Red pen layer */
.pen { position: absolute; inset: 0; width: 100%; height: 96cqw; overflow: visible; transform: translateZ(41px); pointer-events: none; }
.ink { fill: none; stroke: var(--red); stroke-width: .5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: pen-draw .55s ease-out forwards; animation-delay: calc(.5s + var(--i) * .32s); }
@keyframes pen-draw { to { stroke-dashoffset: 0; } }
.note {
  position: absolute; margin: 0; font-family: var(--hand); font-weight: 700; color: var(--red);
  font-size: 2.85cqw; line-height: 1.12; width: 26cqw; transform: translateZ(41px) rotate(-2deg);
  opacity: 0; animation: note-in .4s ease-out forwards; animation-delay: calc(.6s + var(--i) * .32s);
}
@keyframes note-in { to { opacity: 1; } }
.n1 { left: 73.5cqw; top: 36cqw; }
.n2 { left: 73.5cqw; top: 56cqw; transform: translateZ(41px) rotate(1.5deg); }
.n3 { left: 2cqw; top: 76.5cqw; width: 22cqw; text-align: right; }
.n4 { left: 73.5cqw; top: 87.5cqw; transform: translateZ(41px) rotate(-1deg); }

/* Proof line */
.hero-proof { margin-top: clamp(40px, 6vw, 72px); padding-top: 24px; border-top: 1.5px solid var(--ink); display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hero-proof p { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.45; }
.hero-proof strong { display: block; font-size: 22px; color: var(--ink); letter-spacing: -0.015em; margin-bottom: 2px; }

/* ---------- Sample audit: Shopify-style analytics card ---------- */
.dash-row { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 64px); align-items: start; margin-bottom: clamp(56px, 7vw, 88px); }
.dash-wrap { position: relative; padding-bottom: 72px; }
.dash { background: #fff; border-radius: 12px; border: 1px solid #DCDCDC; box-shadow: 0 1px 0 rgba(0,0,0,.05), 0 12px 32px -18px rgba(28,43,74,.35); font-family: var(--ui); color: #303030; overflow: hidden; }
.dash-bar { display: flex; align-items: center; gap: 14px; padding: 10px 14px; background: #F1F1F1; border-bottom: 1px solid #E3E3E3; font-size: 13px; }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #D4D4D4; }
.dash-url { color: #616161; }
.dash-sample { margin-left: auto; font-size: 12px; color: #616161; background: #E3E3E3; padding: 2px 8px; border-radius: 6px; }
.dash-body { padding: 20px 22px 24px; }
.dash-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.dash-label { font-size: 14px; font-weight: 600; margin: 0; border-bottom: 1px dashed #B5B5B5; display: inline-block; }
.dash-big { font-size: 30px; font-weight: 700; margin: 6px 0 0; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; transition: color .3s; }
.dash-period { font-size: 13px; color: #616161; margin: 0; }
.sfunnel[data-mode="after"] ~ * , .dash.is-after .dash-big { color: var(--green); }
.sfunnel { list-style: none; margin: 0; padding: 0; }
.sfunnel li { display: grid; grid-template-columns: 140px 1fr 64px 52px; align-items: center; gap: 14px; padding: 10px 0; border-top: 1px solid #EBEBEB; font-size: 14px; }
.sf-name { font-weight: 500; }
.sf-bar { height: 22px; background: #F4F6F8; border-radius: 4px; overflow: hidden; }
.sf-bar i { display: block; height: 100%; width: var(--w, 0%); background: var(--blue); border-radius: 4px; transition: width .7s var(--ease), background-color .3s; }
.dash.is-after .sf-bar i { background: var(--green); }
.sf-num { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
.sf-pct { text-align: right; color: #616161; font-variant-numeric: tabular-nums; }
.dash-pen { position: absolute; right: 8px; bottom: 0; margin: 0; max-width: 300px; font-family: var(--hand); font-weight: 700; font-size: 21px; line-height: 1.15; color: var(--red); transform: rotate(-2deg); text-align: right; }
.dash-pen::before { content: ""; position: absolute; right: 150px; top: -22px; width: 2px; height: 18px; background: var(--red); transform: rotate(18deg); border-radius: 2px; }
.dash.is-after + .dash-pen { opacity: .25; }
.dash-side { padding-top: 8px; font-size: 18px; color: var(--ink-2); }
.dash-side a { color: var(--ink); font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.toggle { display: inline-flex; padding: 3px; background: #F1F1F1; border: 1px solid #E3E3E3; border-radius: 9px; gap: 2px; }
.toggle button { border: 0; background: transparent; padding: 6px 12px; border-radius: 7px; font-size: 13.5px; font-weight: 500; color: #616161; cursor: pointer; }
.toggle button[aria-pressed="true"] { background: #fff; color: #303030; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.toggle-light { background: var(--white); border-color: var(--rule); margin-bottom: 24px; font-family: var(--sans); }
.toggle-light button { font-size: 15px; padding: 8px 16px; color: var(--muted); }
.toggle-light button[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

/* Findings sheet */
.findings-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: end; margin-bottom: 20px; }
.findings-head p { color: var(--ink-2); margin: 0; }
.sheet-table { background: var(--white); border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; font-size: 15.5px; }
.st-row { display: grid; grid-template-columns: 44px 104px minmax(0, 1.25fr) minmax(0, 1.15fr) 104px 104px; border-top: 1px solid var(--rule-soft); }
.st-row > span { padding: 16px 14px; border-left: 1px solid var(--rule-soft); line-height: 1.5; }
.st-row > span:first-child { border-left: 0; }
.st-headrow { border-top: 0; background: #F3F4F1; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.st-headrow > span { padding-block: 10px; }
.st-n { color: var(--muted); text-align: center; font-variant-numeric: tabular-nums; }
.st-page { font-weight: 600; }
.st-found { color: var(--ink); }
.st-fix { color: var(--ink-2); }
.tag { display: inline-block; font-size: 13.5px; font-weight: 600; padding: 2px 8px; border-radius: 4px; }
.tag.hi { background: var(--red-soft); color: var(--red-dark); }
.tag.md { background: #FFF4BF; color: #6B5500; }
.tag.lo { background: var(--green-soft); color: #00573F; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.services-lead h2 { margin-bottom: 16px; }
.services-lead > p { color: var(--ink-2); font-size: 18px; margin-bottom: 32px; }
.audit-offer { background: var(--sheet); border-top: 4px solid var(--red); padding: 28px; box-shadow: 0 1px 1px rgba(28,43,74,.06), 0 14px 30px -18px rgba(28,43,74,.4); }
.audit-offer h3 { font-size: 24px; margin-bottom: 8px; }
.audit-offer > p { color: var(--ink-2); }
.audit-offer .btn { margin-top: 8px; }
.ticks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 30px; line-height: 1.45; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 1px; width: 20px; height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 13.2c1.6 1.2 3.3 3.1 4.6 5.3 2.4-5.6 6.6-10.4 12.4-14' fill='none' stroke='%23D63A25' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
}
.ticks-light li { color: #E8ECF3; }
.ticks-light li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3.5 13.2c1.6 1.2 3.3 3.1 4.6 5.3 2.4-5.6 6.6-10.4 12.4-14' fill='none' stroke='%23FF8C74' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.svc-list { margin: 0; border-bottom: 1px solid var(--rule); }
.svc { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-top: 1px solid var(--rule); }
.svc:first-child { border-top: 1.5px solid var(--ink); }
.svc dt { font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.svc dd { margin: 0; color: var(--ink-2); }
.svc dd a { display: table; margin-top: 6px; font-weight: 600; color: var(--ink); text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.svc dd a:hover { color: var(--red); }

/* ---------- Before / after ---------- */
.ba { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.compare { position: relative; height: 640px; border-radius: 14px; overflow: hidden; background: #DEE2DB; user-select: none; -webkit-user-select: none; touch-action: pan-y; }
.cmp-pane { position: absolute; inset: 0; display: grid; place-items: center; z-index: 1; }
.cmp-before { z-index: 2; background: #E6E2DC; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.cmp-tag { position: absolute; top: 14px; left: 20px; font-family: var(--hand); font-weight: 700; font-size: 26px; color: var(--red); transform: rotate(-4deg); }
.cmp-tag-after { left: auto; right: 20px; color: var(--green); transform: rotate(3deg); }
.cmp-handle { position: absolute; z-index: 3; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--ink); pointer-events: none; }
.cmp-handle span { position: absolute; top: 50%; left: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: var(--ink); }
.cmp-handle span::before, .cmp-handle span::after { content: ""; position: absolute; top: 50%; width: 0; height: 0; border: 6px solid transparent; margin-top: -6px; }
.cmp-handle span::before { left: 5px; border-right-color: #fff; }
.cmp-handle span::after { right: 5px; border-left-color: #fff; }
.compare:focus-within .cmp-handle span { box-shadow: 0 0 0 4px var(--hl); }
.cmp-range { position: absolute; z-index: 4; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

.phone { width: 290px; height: 580px; background: #fff; border-radius: 34px; border: 9px solid #1D2130; box-shadow: 0 24px 50px -24px rgba(28,43,74,.55); overflow: hidden; font-family: var(--ui); font-size: 12px; color: #222; display: flex; flex-direction: column; }
.phone p { margin: 0; }
.ph-bar { background: var(--ink); color: #fff; text-align: center; font-size: 10.5px; padding: 7px 8px; }
.ph-bar-bad { background: #E5322D; font-weight: 800; letter-spacing: .05em; font-size: 9.5px; }
.ph-img { height: 220px; flex: none; position: relative; display: grid; place-items: center; padding: 18px 50px; }
.ph-img svg { width: 100%; height: 100%; }
.ph-img-good { background: #EAF2F8; }
.ph-img-bad { height: 150px; background: #F1EFEA; padding: 14px 70px; }
.ph-dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.ph-dots i { width: 5px; height: 5px; border-radius: 50%; background: #B8C9D8; }
.ph-dots i.on { width: 14px; border-radius: 4px; background: #4D6E8C; }
.ph-pad { padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.ph-stars { color: #E7A21A; font-size: 11.5px; letter-spacing: 1px; }
.ph-stars small { color: #555; letter-spacing: 0; font-size: 10.5px; }
.ph-title { font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.ph-title-bad { font-size: 11.5px; font-weight: 800; letter-spacing: .02em; color: #333; line-height: 1.4; }
.ph-price { display: flex; align-items: baseline; gap: 6px; }
.ph-price b { font-size: 17px; }
.ph-price s { color: #888; font-size: 11px; }
.ph-price em { font-style: normal; font-size: 10px; font-weight: 700; color: #00573F; background: var(--green-soft); padding: 2px 6px; border-radius: 4px; }
.ph-price-bad { font-size: 12px; color: #777; }
.ph-swatches { display: flex; align-items: center; gap: 6px; }
.ph-swatches i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px #ccc; }
.ph-swatches .on { box-shadow: 0 0 0 2px #222; }
.ph-swatches small { color: #555; font-size: 10.5px; margin-left: 4px; }
.s1 { background: #A9C8E2; } .s2 { background: #EFEBE2; } .s3 { background: #D3C3A3; }
.ph-sizes { display: flex; gap: 5px; align-items: center; }
.ph-sizes span { font-size: 11px; font-weight: 600; padding: 5px 9px; border: 1px solid #ccc; border-radius: 6px; }
.ph-sizes .on { background: #222; color: #fff; border-color: #222; }
.ph-sizes u { margin-left: auto; color: #555; font-size: 10.5px; }
.ph-cta { background: #1F7A4D; color: #fff; text-align: center; font-weight: 700; padding: 12px; border-radius: 8px; font-size: 13px; }
.ph-cta-bad { background: #CFCFCF; color: #F4F4F4; border-radius: 0; font-size: 11px; letter-spacing: .08em; }
.ph-eta { font-size: 10.5px; color: #333; background: #F3F6F4; border-radius: 6px; padding: 6px 8px; }
.ph-review { font-size: 10.5px; color: #333; border-left: 2px solid #1F7A4D; padding-left: 8px; }
.ph-review small { display: block; color: #777; font-size: 9.5px; }
.ph-text { font-size: 10.5px; color: #888; line-height: 1.45; }
.ph-text.center { text-align: center; text-decoration: underline; }
.ph-select { border: 1px solid #ccc; padding: 7px 8px; font-size: 11px; color: #666; }
.ph-notebox { height: 46px; margin: 4px 14px; border: 1px solid #ddd; }
.cart-head { padding: 16px 14px 10px; font-weight: 700; font-size: 15px; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; align-items: baseline; }
.cart-head span { font-weight: 400; font-size: 11px; color: #777; }
.cart-progress { padding: 10px 14px; background: #F3F6F4; font-size: 10.5px; color: #1F4D37; }
.pbar { height: 5px; background: #D6E3DB; border-radius: 4px; margin-top: 6px; overflow: hidden; }
.pbar i { display: block; height: 100%; width: 80%; background: #1F7A4D; }
.cart-item, .cart-upsell { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid #f0f0f0; }
.ci-img { width: 44px; height: 52px; border-radius: 6px; background: #C3D8EA; flex: none; }
.ci-img2 { background: #D9CCB1; } .ci-img3 { width: 36px; height: 36px; background: #8D6E4D; }
.ci-txt { flex: 1; min-width: 0; }
.ci-txt b { display: block; font-size: 11.5px; }
.ci-txt small { color: #777; font-size: 10px; }
.ci-p { font-weight: 600; font-size: 11.5px; }
.cart-upsell { margin: 8px 10px; border: 1px dashed #ccc; border-radius: 8px; }
.ci-add { font-size: 10px; font-weight: 700; color: #fff; background: #222; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.cart-total { display: flex; justify-content: space-between; padding: 10px 14px 2px; font-size: 13px; margin-top: auto; }
.cart-save { padding: 0 14px 8px; font-size: 10.5px; color: #1F7A4D; font-weight: 600; }
.phone > .ph-cta { margin: 0 14px; }
.cart-pay { text-align: center; font-size: 10px; color: #666; padding: 8px 14px 16px; }
.cart-table { padding: 10px 14px; font-size: 10.5px; color: #555; }
.cart-table div { display: grid; grid-template-columns: 1fr 30px 70px; padding: 8px 0; border-bottom: 1px solid #eee; }
.cart-table div:first-child { font-weight: 700; font-size: 9px; color: #999; text-transform: uppercase; }
.phone-before > .ph-text { padding: 4px 14px; }
.phone-before > .ph-cta { margin: 10px 14px; }
.phone-before > .ph-text.center { padding-bottom: 18px; }

.change-list { list-style: none; counter-reset: c; margin: 0 0 28px; padding: 0; display: grid; gap: 16px; }
.change-list li { counter-increment: c; position: relative; padding-left: 40px; color: var(--ink-2); line-height: 1.5; }
.change-list li::before { content: counter(c); position: absolute; left: 0; top: -3px; width: 28px; height: 28px; font-family: var(--hand); font-weight: 700; font-size: 18px; color: var(--green); border: 2px solid var(--green); border-radius: 50% 45% 50% 48%; display: grid; place-items: center; line-height: 1; }
.change-list b { color: var(--ink); }

/* ---------- Calculator ---------- */
.calc { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.calc-copy h2 { margin-bottom: 14px; }
.calc-copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 24px; }
.range-field { margin-bottom: 22px; }
.range-field label { display: flex; justify-content: space-between; gap: 12px; font-weight: 500; margin-bottom: 10px; }
.range-field output { font-weight: 700; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--ink) var(--fill, 50%), var(--rule) var(--fill, 50%)); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
input[type="range"]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: var(--white); border: 2px solid var(--ink); }
input[type="range"]:focus-visible { outline: none; }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 4px var(--hl); }
.receipt { background: var(--white); padding: 32px 28px 28px; position: relative; box-shadow: 0 1px 1px rgba(28,43,74,.06), 0 18px 40px -22px rgba(28,43,74,.45); }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 10px; background: linear-gradient(-45deg, transparent 6px, var(--white) 6px) 0 0/14px 10px repeat-x, linear-gradient(45deg, transparent 6px, var(--white) 6px) 0 0/14px 10px repeat-x; }
.receipt-head { font-weight: 700; font-size: 18px; padding-bottom: 14px; border-bottom: 1.5px dashed var(--rule); margin-bottom: 8px; }
.receipt dl { margin: 0 0 18px; }
.receipt dl div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 10px 0; }
.receipt dt { color: var(--ink-2); }
.receipt dd { margin: 0; font-weight: 600; }
.receipt-total { border-top: 1.5px dashed var(--rule); margin-top: 6px; padding-top: 16px !important; }
.receipt-total dt { color: var(--ink); font-weight: 600; }
.receipt-total dd { font-size: clamp(26px, 3vw, 32px); font-weight: 800; color: var(--green); letter-spacing: -0.02em; }
.receipt-fine { font-size: 13.5px; color: var(--muted); }

/* ---------- Process ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 34px; height: 1.5px; background: var(--ink); }
.timeline li { position: relative; padding-top: 56px; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 28px; width: 14px; height: 14px; border-radius: 50%; background: var(--page); border: 2px solid var(--ink); }
.timeline li:first-child::before { background: var(--red); border-color: var(--red); }
.tl-when { position: absolute; top: 0; left: 0; font-weight: 700; font-size: 14px; color: var(--red); margin: 0; }
.timeline h3 { margin-bottom: 10px; }
.timeline p { color: var(--ink-2); font-size: 16px; }

/* ---------- Founder ---------- */
.founder { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.letter { background: var(--sheet); padding: clamp(28px, 4vw, 48px); box-shadow: 0 1px 1px rgba(28,43,74,.06), 0 18px 40px -24px rgba(28,43,74,.45); transform: rotate(-.6deg); }
.letter-photo { width: 76px; height: 76px; border-radius: 50%; background: var(--paper); border: 3px solid #fff; box-shadow: 0 0 0 1px var(--rule); display: grid; place-items: center; font-weight: 800; color: var(--muted); margin-bottom: 20px; overflow: hidden; }
.letter-photo img { width: 100%; height: 100%; object-fit: cover; }
.letter h2 { font-size: clamp(26px, 2.8vw, 34px); margin-bottom: 20px; }
.letter p { color: var(--ink-2); max-width: 36em; }
.signature { font-family: var(--hand); font-weight: 700; font-size: 34px; color: var(--ink); margin: 24px 0 0 !important; line-height: 1; transform: rotate(-3deg); transform-origin: left; }
.sig-role { font-size: 14px; color: var(--muted) !important; margin-top: 6px !important; }
.principles h3 { font-size: 24px; margin-bottom: 20px; }
.principles ul { list-style: none; margin: 0; padding: 0; }
.principles li { padding: 18px 0; border-top: 1px solid var(--rule); color: var(--ink-2); }
.principles li:first-child { border-top: 1.5px solid var(--ink); }
.principles b { display: block; color: var(--ink); font-size: 18px; margin-bottom: 4px; }

.cases { margin-top: clamp(56px, 7vw, 88px); }
.cases h3 { font-size: 26px; margin-bottom: 24px; }
.cases-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.case-card { display: block; text-decoration: none; background: var(--white); box-shadow: 0 1px 1px rgba(28,43,74,.06), 0 14px 30px -20px rgba(28,43,74,.45); }
.case-shot { aspect-ratio: 16 / 10; background: var(--paper); overflow: hidden; border-bottom: 1px solid var(--rule); }
.case-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.case-body { padding: 20px 22px 24px; }
.case-cat { font-size: 14px; color: var(--muted); margin: 0 0 4px; }
.case-card h4 { margin: 0 0 6px; font-size: 20px; letter-spacing: -0.015em; }
.case-scope { color: var(--ink-2); margin: 0; font-size: 15.5px; }
.case-metric { margin: 14px 0 0; font-size: 15px; color: var(--ink-2); }
.case-metric b { font-size: 28px; color: var(--green); letter-spacing: -0.02em; margin-right: 6px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.faq-side { position: sticky; top: calc(var(--header-h) + 32px); }
.faq-side h2 { margin-bottom: 16px; }
.faq-side p { color: var(--ink-2); }
.faq-side a { font-weight: 600; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.faq-list { border-bottom: 1px solid var(--rule); }
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:first-child { border-top: 1.5px solid var(--ink); }
.faq-list summary { list-style: none; cursor: pointer; padding: 20px 48px 20px 0; font-weight: 600; font-size: 18px; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::before, .faq-list summary::after { content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 2px; background: var(--ink); transition: transform .2s; }
.faq-list summary::after { transform: rotate(90deg); }
.faq-list details[open] summary::after { transform: rotate(0); }
.faq-list summary:hover { color: var(--red); }
.faq-list details p { padding: 0 40px 22px 0; color: var(--ink-2); max-width: 40em; }

/* ---------- Request ---------- */
.section-ink { background: var(--navy); color: #fff; }
.request { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(40px, 6vw, 88px); align-items: start; }
.request-copy { position: sticky; top: calc(var(--header-h) + 32px); }
.request-copy h2 { margin-bottom: 18px; }
.request-copy > p { color: var(--navy-text); font-size: 18px; margin-bottom: 28px; }
.wa-line { display: inline-flex; align-items: center; gap: 12px; margin-top: 8px; color: #fff; text-decoration: none; }
.wa-line .wa-ico { width: 26px; height: 26px; color: var(--wa); }
.wa-line u { text-decoration-color: var(--wa); text-decoration-thickness: 2px; text-underline-offset: 3px; }

.form-card { background: var(--white); color: var(--ink); border-radius: 12px; padding: clamp(24px, 4vw, 40px); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin: 0 0 20px; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; font-weight: 600; font-size: 15px; margin-bottom: 8px; padding: 0; }
.optional { font-weight: 400; color: var(--muted); margin-left: 4px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--rule); border-radius: 8px; background: #fff; font-size: 16px; transition: border-color .15s, box-shadow .15s; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field input::placeholder, .field textarea::placeholder { color: #9AA1AF; }
.field input:hover, .field textarea:hover { border-color: #AEB6AB; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(28,43,74,.12); }
.field.has-error input { border-color: var(--red); background: #FFF8F6; }
.field-hint { font-size: 13.5px; color: var(--muted); margin: 6px 0 0; }
.field-error { font-size: 14px; color: var(--red-dark); font-weight: 500; margin: 6px 0 0; }
.field-error:empty { display: none; }
.checks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.check, .field .check { position: relative; display: flex; align-items: stretch; margin: 0; cursor: pointer; font-weight: 500; font-size: 15px; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.checks .check span { flex: 1; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--rule); border-radius: 8px; transition: border-color .15s, background-color .15s; }
.check span::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #9AA1AF; border-radius: 4px; background: #fff center/13px no-repeat; }
.check input:checked + span::before { background-color: var(--ink); border-color: var(--ink); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.checks .check input:checked + span { border-color: var(--ink); background: #F1F3F7; }
.check input:focus-visible + span { box-shadow: 0 0 0 3px var(--hl); }
.checks .check:hover span { border-color: #AEB6AB; }
.field.has-error .checks .check span { border-color: rgba(214,58,37,.5); }
.check-inline { margin: 4px 0 24px; }
.check-inline span { display: flex; align-items: center; gap: 10px; color: var(--ink-2); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.spinner { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(255,255,255,.4); border-top-color: #fff; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
.form-status { margin: 14px 0 0; font-size: 15px; font-weight: 500; }
.form-status:empty { display: none; }
.form-status.is-error { color: var(--red-dark); background: var(--red-soft); padding: 10px 14px; border-radius: 8px; }
.form-legal { font-size: 13.5px; color: var(--muted); margin: 14px 0 0; }
.form-success { text-align: center; padding: 24px 8px; display: flex; flex-direction: column; align-items: center; gap: 12px; outline: none; }
.success-tick { width: 64px; height: 64px; color: var(--green); }
.success-tick path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tick .5s .1s ease-out forwards; }
@keyframes tick { to { stroke-dashoffset: 0; } }
.form-success h3 { font-size: 28px; }
.form-success p { color: var(--ink-2); max-width: 400px; margin-bottom: 12px; }
.demo-note { font-size: 13.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: #101A2E; color: var(--navy-text); padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; padding-bottom: 32px; border-bottom: 1px solid var(--navy-line); }
.footer-inner p { margin-top: 14px; font-size: 15px; max-width: 320px; }
.footer-nav, .footer-contact { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a, .footer-contact a { text-decoration: none; font-size: 15px; display: inline-flex; align-items: center; gap: 10px; }
.footer-nav a:hover, .footer-contact a:hover { color: #fff; text-decoration: underline; }
.ico { width: 18px; height: 18px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; padding-top: 22px; font-size: 13.5px; }
.footer-bottom p { margin: 0; }

/* ---------- Floating ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px -6px rgba(0,0,0,.35); }
.wa-float svg { width: 28px; height: 28px; }
.sticky-cta { display: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav { display: none; }
  .nav-toggle { display: block; }
  .header-cta { margin-left: auto; }
  .nav-toggle { margin-left: 0; }
  .st-row { grid-template-columns: 40px 96px minmax(0, 1fr) minmax(0, 1fr) 84px 84px; font-size: 15px; }
}

@media (max-width: 960px) {
  .hero-grid, .dash-row, .services, .ba, .calc, .founder, .faq, .request { grid-template-columns: minmax(0, 1fr); }
  .hero-figure { max-width: 620px; }
  .faq-side, .request-copy { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .timeline::before { display: none; }
  .timeline li { padding-top: 34px; }
  .timeline li::before { display: none; }
  .tl-when { top: 0; }
  .findings-head { grid-template-columns: 1fr; gap: 12px; }
  .compare { max-width: 560px; width: 100%; }
  .letter { transform: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-inner > div:first-child { grid-column: span 2; }

  /* Findings sheet becomes stacked entries */
  .st-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 6px 10px; padding: 16px; align-items: center; }
  .st-row.st-headrow { display: none; }
  .st-row > span { padding: 0; border: 0; }
  .st-row > .st-n { grid-area: 1 / 1; text-align: left; }
  .st-row > .st-page { grid-area: 1 / 2; }
  .st-row > span:nth-child(5) { grid-area: 1 / 3; }
  .st-row > span:nth-child(6) { grid-area: 1 / 4; }
  .st-found, .st-fix { grid-column: 1 / -1; }
  .st-fix::before { content: "Fix: "; font-weight: 600; color: var(--ink); }
}

@media (max-width: 640px) {
  :root { --header-h: 60px; }
  body { font-size: 16px; }
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }
  .hero h1 { font-size: clamp(34px, 9.6vw, 44px); }
  .hero-actions .btn { width: 100%; }
  .note { font-size: 3.4cqw; width: 26cqw; }
  .n3 { width: 24cqw; left: 0; }
  .hero-proof { grid-template-columns: 1fr; gap: 14px; }
  .sfunnel li { grid-template-columns: 1fr 64px 48px; row-gap: 6px; }
  .sf-bar { grid-column: 1 / -1; grid-row: 2; height: 14px; }
  .dash-body { padding: 16px; }
  .dash-url { display: none; }
  .dash-pen { font-size: 19px; max-width: 240px; }
  .svc { grid-template-columns: 1fr; gap: 6px; }
  .compare { height: 560px; }
  .phone { transform: scale(.84); }
  .cmp-tag { font-size: 20px; top: 4px; left: 12px; }
  .cmp-tag-after { left: auto; right: 12px; }
  .timeline { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .checks { grid-template-columns: 1fr 1fr; }
  .faq-list summary { font-size: 17px; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-inner > div:first-child { grid-column: auto; }
  .wa-float { bottom: 84px; right: 16px; width: 50px; height: 50px; }
  .sticky-cta {
    display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 39;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(244,245,242,.96); border-top: 1px solid var(--rule);
    transform: translateY(110%); transition: transform .3s var(--ease);
  }
  .sticky-cta.is-visible { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
}

/* ==========================================================================
   Themes. Dark (default): near-black canvas, raised panels, vivid violet, green for gains.
   Light: Apple-style #F5F5F7 canvas, white panels, #1D1D1F text, the same violet.
   Every colour below comes from a token so both themes stay in sync.
   ========================================================================== */

:root, [data-theme="dark"] {
  color-scheme: dark;
  --paper-2: #0F0919;
  --strong: #FFFFFF;
  --tint-1: rgba(255, 255, 255, .03);
  --tint-2: rgba(255, 255, 255, .06);
  --tint-3: rgba(255, 255, 255, .1);
  --line-strong: rgba(255, 255, 255, .25);
  --contrast-bg: #FFFFFF;
  --contrast-fg: #0A0612;
  --contrast-hover: #E9E4F5;
  --header-bg: rgba(10, 6, 18, .72);
  --footer-bg: #06030C;
  --glow: rgba(139, 61, 255, .22);
  --shadow: 0 30px 60px -40px rgba(0, 0, 0, .9);
  --shadow-lg: 0 40px 90px -40px rgba(0, 0, 0, .95);
  --handle: #FFFFFF;
  --placeholder: #6E6884;
  --error: #FCA5A5;
  --error-bg: rgba(248, 113, 113, .1);
  --error-border: #F87171;
  --check-border: rgba(255, 255, 255, .3);
}
[data-theme="light"] {
  color-scheme: light;
  --page: #F5F5F7;
  --paper: #FFFFFF;
  --paper-2: #E9E7F0;
  --white: #FFFFFF;
  --sheet: #FFFFFF;
  --panel: #FFFFFF;
  --panel-2: #F5F5F7;
  --ink: #1D1D1F;
  --ink-2: #3A3A44;
  --muted: #6E6E78;
  --strong: #1D1D1F;
  --on-ink: #FFFFFF;
  --rule: rgba(0, 0, 0, .1);
  --rule-soft: rgba(0, 0, 0, .06);
  --border: rgba(0, 0, 0, .08);
  --border-2: rgba(0, 0, 0, .14);
  --tint-1: rgba(0, 0, 0, .025);
  --tint-2: rgba(0, 0, 0, .05);
  --tint-3: rgba(0, 0, 0, .08);
  --line-strong: rgba(0, 0, 0, .3);
  --purple: #7C3AED;
  --purple-hover: #6D28D9;
  --violet: #7C3AED;
  --lav: #6D28D9;
  --red: #7C3AED;
  --green: #15803D;
  --green-soft: rgba(22, 163, 74, .12);
  --contrast-bg: #1D1D1F;
  --contrast-fg: #FFFFFF;
  --contrast-hover: #000000;
  --header-bg: rgba(245, 245, 247, .75);
  --footer-bg: #EDEDF2;
  --glow: rgba(124, 58, 237, .12);
  --shadow: 0 24px 50px -30px rgba(30, 20, 60, .25);
  --shadow-lg: 0 40px 90px -40px rgba(30, 20, 60, .35);
  --handle: #7C3AED;
  --placeholder: #9A9AA5;
  --error: #DC2626;
  --error-bg: rgba(220, 38, 38, .08);
  --error-border: #DC2626;
  --check-border: rgba(0, 0, 0, .28);
}

body { background: var(--page); color: var(--ink); letter-spacing: -0.011em; transition: background-color .35s ease, color .35s ease; }
h1, h2, h3 { font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4vw, 52px); line-height: 1.06; }
:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }
::selection { background: var(--purple); color: #fff; }
.skip-link { background: var(--contrast-bg); color: var(--contrast-fg); }
.section { position: relative; }
.section-paper { background: var(--paper); border-block: 1px solid var(--border); }
.head p { color: var(--ink-2); }

/* Small uppercase panel labels, as in the dashboard */
.sheet-h, .dash-label, .receipt-head, .findings-head h3, .principles h3, .tl-when, .st-headrow, .dash-period {
  text-transform: uppercase; letter-spacing: .08em; font-size: 12.5px; font-weight: 600; color: var(--violet);
}
.findings-head h3, .principles h3 { font-size: 13px; }

/* Panels */
.sheet, .dash, .sheet-table, .audit-offer, .receipt, .letter, .form-card, .case-card, .hero-proof p {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  box-shadow: 0 1px 0 var(--tint-1) inset, var(--shadow);
  color: var(--ink);
  transition: background-color .35s ease, border-color .35s ease;
}

/* Buttons: pill-shaped, one strong violet for the primary action */
.btn { border-radius: 980px; font-weight: 600; letter-spacing: -0.01em; transition: background-color .2s, color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn-red { background: var(--purple); color: #fff; box-shadow: 0 8px 30px -10px rgba(139, 61, 255, .7); }
.btn-red:hover { background: var(--purple-hover); }
.btn-red:active { transform: scale(.98); box-shadow: none; }
.btn-ink { background: var(--contrast-bg); color: var(--contrast-fg); }
.btn-ink:hover { background: var(--contrast-hover); }
.btn-line { border-color: var(--border-2); color: var(--ink); background: var(--tint-1); }
.btn-line:hover { background: var(--tint-3); color: var(--ink); border-color: var(--line-strong); }
.btn-outline { background: transparent; color: var(--ink); border: 1px solid var(--border-2); }
.btn-outline:hover { border-color: var(--violet); }

/* Header */
.site-header { background: var(--header-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid transparent; }
.site-header.is-scrolled { border-bottom-color: var(--border); }
.logo { font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { color: var(--ink); }
.logo-mark path { stroke: var(--violet); }
.nav a { font-size: 14px; color: var(--ink-2); border-radius: 980px; }
.nav a:hover { color: var(--strong); background: var(--tint-2); }
.mobile-nav { background: var(--page); border-bottom-color: var(--border); }
.mobile-nav a:not(.btn) { border-bottom-color: var(--border); }
.nav-toggle { background: transparent; }
.nav-toggle .bar { background: var(--ink); }

/* Theme switch */
.theme-toggle {
  position: relative; flex: none; width: 40px; height: 40px; margin-left: 8px; border-radius: 50%;
  border: 1px solid var(--border-2); background: var(--tint-1); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; transition: background-color .2s, border-color .2s, transform .3s var(--ease);
}
.theme-toggle:hover { background: var(--tint-3); border-color: var(--line-strong); }
.theme-toggle:active { transform: scale(.94); }
.theme-toggle svg { position: absolute; width: 18px; height: 18px; transition: opacity .3s ease, transform .5s var(--ease); }
.theme-toggle .i-sun { opacity: 1; transform: rotate(0) scale(1); }
.theme-toggle .i-moon { opacity: 0; transform: rotate(-90deg) scale(.5); }
[data-theme="light"] .theme-toggle .i-sun { opacity: 0; transform: rotate(90deg) scale(.5); }
[data-theme="light"] .theme-toggle .i-moon { opacity: 1; transform: rotate(0) scale(1); }
.header-cta { margin-left: 10px; }

/* Hero */
.hero { background: radial-gradient(800px 500px at 75% 35%, var(--glow), transparent 65%); }
.hero h1 { font-weight: 700; letter-spacing: -0.045em; }
.hero-sub { color: var(--ink-2); }
.hero-note { color: var(--muted); }
.sheet { border-radius: 6px; background: #F7F5FB; border: 0; }
.sheet { --ink: #1A1129; --ink-2: #4A4460; --muted: #7A7490; --rule: #E2DDEE; color: var(--ink-2); }
[data-theme="light"] .sheet { background: #FFFFFF; box-shadow: 0 1px 2px rgba(0,0,0,.06), 0 18px 40px -18px rgba(30, 20, 60, .35); }
.sheet::before { background: rgba(139, 61, 255, .55); }
.sheet .sheet-h { color: #5B21B6; font-size: 1.6cqw; letter-spacing: .06em; }
.sheet mark { background: linear-gradient(transparent 12%, rgba(181, 123, 255, .45) 12%, rgba(181, 123, 255, .45) 88%, transparent 88%); }
.hphone { box-shadow: 0 2cqw 6cqw -1cqw rgba(0, 0, 0, .6), 0 0 0 .3cqw #3A2A55; }
.ink { stroke: var(--violet); }
.note { color: var(--lav); }
.hero-proof { border-top: 0; padding-top: 0; gap: 16px; }
.hero-proof p { padding: 20px 22px; color: var(--muted); font-size: 15px; }
.hero-proof strong { color: var(--strong); font-size: 26px; letter-spacing: -0.03em; margin-bottom: 4px; }
.hero-proof p:first-child strong, .hero-proof p:nth-child(2) strong { color: var(--violet); }

/* Sample audit: analytics panel */
.dash { font-family: var(--sans); overflow: hidden; }
.dash-bar { background: var(--tint-1); border-bottom: 1px solid var(--border); color: var(--muted); }
.dots i { background: var(--tint-3); }
.dash-url { color: var(--muted); }
.dash-sample { background: rgba(139, 61, 255, .16); color: var(--lav); border-radius: 980px; }
.dash-label { border-bottom: 0; }
.dash-big { font-size: 40px; letter-spacing: -0.04em; color: var(--strong); }
.dash.is-after .dash-big { color: var(--green); }
.dash-period { color: var(--muted); font-size: 11.5px; }
.sfunnel li { border-top-color: var(--border); }
.sf-name { color: var(--ink-2); }
.sf-bar { background: var(--tint-2); border-radius: 6px; }
.sf-bar i { background: linear-gradient(90deg, #5B21B6, var(--purple) 60%, #B57BFF); border-radius: 6px; }
.dash.is-after .sf-bar i { background: linear-gradient(90deg, #15803D, #4ADE80); }
.sf-num { color: var(--strong); }
.sf-pct { color: var(--muted); }
.dash-pen { color: var(--lav); }
.dash-pen::before { background: var(--violet); }
.dash-side { color: var(--ink-2); }
.dash-side a, .svc dd a, .faq-side a { color: var(--lav); text-decoration-color: var(--purple); }

/* Pills, like the 1D / 1W / 1M range picker */
.toggle, .toggle-light { background: var(--tint-1); border: 1px solid var(--border); border-radius: 980px; padding: 4px; }
.toggle button, .toggle-light button { color: var(--muted); border-radius: 980px; font-weight: 600; }
.toggle button:hover, .toggle-light button:hover { color: var(--strong); }
.toggle button[aria-pressed="true"], .toggle-light button[aria-pressed="true"] { background: var(--purple); color: #fff; box-shadow: 0 6px 18px -8px rgba(139, 61, 255, .9); }

/* Findings table */
.sheet-table { overflow: hidden; }
.st-row { border-top-color: var(--border); }
.st-row > span { border-left-color: var(--border); }
.st-headrow { background: var(--tint-1); color: var(--muted); font-size: 11.5px; }
.st-n { color: var(--muted); }
.st-found { color: var(--ink); }
.st-fix { color: var(--ink-2); }
.tag { border-radius: 980px; padding: 3px 10px; }
.tag.hi { background: rgba(139, 61, 255, .18); color: var(--lav); }
.tag.md { background: var(--tint-3); color: var(--ink-2); }
.tag.lo { background: var(--green-soft); color: var(--green); }
.findings-head p { color: var(--muted); }

/* Services */
.services-lead > p { color: var(--ink-2); }
.audit-offer { border-top: 1px solid var(--border); background: linear-gradient(180deg, rgba(139, 61, 255, .14), rgba(139, 61, 255, 0) 55%), var(--panel); }
.audit-offer > p { color: var(--ink-2); }
.ticks li { color: var(--ink-2); }
.ticks li::before, .section-ink .ticks li::before { background: rgba(139, 61, 255, .2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%238B3DFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; border-radius: 50%; }
[data-theme="dark"] .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4L18 8' fill='none' stroke='%23D8B4FE' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.svc-list, .svc { border-color: var(--border); }
.svc:first-child, .principles li:first-child, .faq-list details:first-child { border-top: 1px solid var(--border-2); }
.svc dt { color: var(--strong); }
.svc dd { color: var(--muted); }
.svc dd a:hover, .faq-list summary:hover { color: var(--strong); }

/* Before / after */
.compare { background: radial-gradient(circle at 70% 30%, var(--glow), transparent 60%), var(--panel); border: 1px solid var(--border); border-radius: 20px; }
.cmp-before { background: var(--paper-2); }
.cmp-tag { color: var(--muted); }
.cmp-tag-after { color: var(--green); }
.cmp-handle { background: var(--handle); box-shadow: 0 0 16px rgba(139, 61, 255, .6); }
.cmp-handle span { background: var(--purple); }
.compare:focus-within .cmp-handle span { box-shadow: 0 0 0 4px rgba(181, 123, 255, .6); }
.phone { border-color: #05030A; box-shadow: 0 0 0 1.5px #3A2A55, 0 30px 60px -24px rgba(0, 0, 0, .55); }
.ph-bar { background: #1A1129; }
.ph-bar-bad { background: #E5322D; }
.ph-img-good { background: #EEF3FA; }
.ph-cta { background: #8B3DFF; border-radius: 10px; }
.ph-cta-bad { background: #CFCFCF; border-radius: 0; }
.ph-review { border-left-color: #8B3DFF; }
.change-list li { color: var(--muted); }
.change-list b { color: var(--strong); }
.change-list li::before { font-family: var(--sans); font-size: 13px; font-weight: 700; color: var(--strong); background: rgba(139, 61, 255, .22); border: 1px solid rgba(139, 61, 255, .4); border-radius: 50%; }

/* Calculator */
.calc-copy > p { color: var(--ink-2); }
.range-field label { color: var(--ink-2); }
.range-field output { color: var(--strong); }
input[type="range"] { height: 4px; background: linear-gradient(90deg, var(--purple) var(--fill, 50%), var(--tint-3) var(--fill, 50%)); }
input[type="range"]::-webkit-slider-thumb { background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(139, 61, 255, .3), 0 2px 8px rgba(0,0,0,.35); }
input[type="range"]::-moz-range-thumb { background: #fff; border: 0; box-shadow: 0 0 0 5px rgba(139, 61, 255, .3); }
input[type="range"]:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 7px rgba(139, 61, 255, .5); }
.receipt::after { display: none; }
.receipt-head { border-bottom: 1px solid var(--border); }
.receipt dt { color: var(--muted); }
.receipt dd { color: var(--strong); }
.receipt-total { border-top: 1px solid var(--border); }
.receipt-total dt { color: var(--ink); }
.receipt-total dd { color: var(--green); font-weight: 700; letter-spacing: -0.03em; }
.receipt-fine { color: var(--muted); }

/* Process */
.timeline::before { background: var(--border-2); height: 1px; }
.timeline li::before { background: var(--page); border-color: var(--line-strong); }
.timeline li:first-child::before { background: var(--purple); border-color: var(--purple); box-shadow: 0 0 12px rgba(139, 61, 255, .8); }
.timeline p { color: var(--muted); }
.tl-when { font-size: 12px; }

/* Founder */
.letter { transform: none; }
.letter p { color: var(--ink-2); }
.signature { color: var(--lav); }
.sig-role { color: var(--muted) !important; }
.principles li { border-top-color: var(--border); color: var(--muted); }
.principles b { color: var(--strong); }

/* FAQ */
.faq-side p { color: var(--muted); }
.faq-list { border-bottom-color: var(--border); }
.faq-list details { border-top-color: var(--border); }
.faq-list summary { color: var(--strong); }
.faq-list summary::before, .faq-list summary::after { background: var(--violet); }
.faq-list details p { color: var(--muted); }

/* Request */
.section-ink { color: var(--ink); background: radial-gradient(700px 500px at 80% 20%, var(--glow), transparent 60%), var(--paper); border-top: 1px solid var(--border); }
.request-copy > p { color: var(--ink-2); }
.wa-line { color: var(--ink); }
.form-card { border-radius: 24px; box-shadow: var(--shadow-lg), 0 0 0 1px rgba(139, 61, 255, .18); }
.field label, .field legend { color: var(--ink); }
.optional { color: var(--muted); }
.field input, .field textarea { background: var(--panel-2); border: 1px solid var(--border-2); border-radius: 12px; color: var(--ink); }
.field input::placeholder, .field textarea::placeholder { color: var(--placeholder); }
.field input:hover, .field textarea:hover { border-color: var(--line-strong); }
.field input:focus, .field textarea:focus { border-color: var(--purple); box-shadow: 0 0 0 4px rgba(139, 61, 255, .22); background: var(--panel-2); }
.field.has-error input { border-color: var(--error-border); background: var(--error-bg); }
.field-hint { color: var(--muted); }
.field-error { color: var(--error); }
.checks .check span { background: var(--panel-2); border: 1px solid var(--border-2); border-radius: 12px; color: var(--ink); }
.checks .check:hover span { border-color: var(--line-strong); }
.check span::before { background-color: transparent; border-color: var(--check-border); border-radius: 6px; }
.check input:checked + span::before { background-color: var(--purple); border-color: var(--purple); }
.checks .check input:checked + span { border-color: var(--purple); background: rgba(139, 61, 255, .12); color: var(--strong); }
.check input:focus-visible + span { box-shadow: 0 0 0 4px rgba(139, 61, 255, .3); }
.field.has-error .checks .check span { border-color: var(--error-border); }
.check-inline span { color: var(--ink-2); }
.form-status.is-error { color: var(--error); background: var(--error-bg); }
.form-legal { color: var(--muted); }
.success-tick { color: var(--green); }
.form-success p { color: var(--ink-2); }

/* Footer + floating */
.site-footer { background: var(--footer-bg); border-top: 1px solid var(--border); color: var(--muted); }
.footer-inner { border-bottom-color: var(--border); }
.footer-nav a, .footer-contact a { color: var(--ink-2); }
.footer-nav a:hover, .footer-contact a:hover { color: var(--strong); }
.sticky-cta { background: var(--header-bg); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); border-top-color: var(--border); }

/* ==========================================================================
   Apple-style 3D motion
   The hero assembles in depth on load and separates as you scroll; showcase
   panels tilt up into place. --sp / --p are set by main.js (0 → 1).
   ========================================================================== */
.desk { animation: desk-in 1.6s var(--ease) backwards; }
@keyframes desk-in {
  from { opacity: 0; transform: perspective(1600px) translateY(80px) rotateX(28deg) scale(.88); }
}
.stage {
  transform:
    translateY(calc(var(--sp, 0) * -30px))
    rotateX(calc(var(--rx, 4deg) + var(--sp, 0) * 16deg))
    rotateY(calc(var(--ry, -6deg) - var(--sp, 0) * 6deg))
    scale(calc(1 - var(--sp, 0) * .06));
  transition: transform .5s var(--ease);
}
.sheet { transform: translateX(calc(var(--sp, 0) * -3cqw)) translateZ(calc(var(--sp, 0) * -60px)) rotate(-4deg); animation: sheet-in 1.4s .25s var(--ease) backwards; }
@keyframes sheet-in { from { opacity: 0; transform: translateX(14cqw) translateZ(-120px) rotate(4deg); } }
.hphone { transform: translateZ(calc(40px + var(--sp, 0) * 70px)); animation: phone-in 1.4s .1s var(--ease) backwards; }
@keyframes phone-in { from { opacity: 0; transform: translateY(18cqw) translateZ(160px) rotateX(-12deg); } }
.pen { transform: translateZ(calc(41px + var(--sp, 0) * 70px)); }
.note { --nr: -2deg; transform: translateZ(calc(41px + var(--sp, 0) * 90px)) rotate(var(--nr)); }
.n2 { --nr: 1.5deg; }
.n4 { --nr: -1deg; }

.s3d {
  transform-origin: 50% 100%;
  transform: perspective(1400px) translateY(calc((1 - var(--p, 1)) * 70px)) rotateX(calc((1 - var(--p, 1)) * 18deg)) scale(calc(.94 + var(--p, 1) * .06));
  opacity: calc(.2 + var(--p, 1) * .8);
  will-change: transform, opacity;
}
.s3d-text {
  transform-origin: 0 100%;
  transform: scale(calc(.94 + var(--p, 1) * .06));
  opacity: calc(.15 + var(--p, 1) * .85);
}

@media (max-width: 1080px) {
  .theme-toggle { margin-left: auto; }
  .header-cta { margin-left: 10px; }
  .nav-toggle { margin-left: 8px; }
}
@media (max-width: 640px) {
  .header-inner { gap: 8px; }
  .nav-toggle { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .stage, .sheet, .hphone, .pen, .note, .s3d, .s3d-text { --sp: 0 !important; --p: 1 !important; }
  .desk, .sheet, .hphone { animation: none !important; }
}
