/* Layout: instrument-panel site. Cool paper ground, ink type, one cobalt signal colour,
   mono "readout" labels for anything that is a measured value. */
:root {
  --bg: #F3F5F7;
  --surface: #FFFFFF;
  --ink: #111A24;
  --muted: #56616E;
  --line: #D9DEE5;
  --accent: #2441D6;
  --accent-ink: #FFFFFF;
  --accent-soft: #E6EAFC;
  --ok: #0F7A4A;
  --ok-soft: #E2F3EA;
  --warn: #B4400F;
  --warn-soft: #FBEADF;
  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --wrap: 1120px;
  --radius: 10px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D131A; --surface: #151D27; --ink: #E8EDF3; --muted: #9AA6B4; --line: #26313E;
    --accent: #7D93FF; --accent-ink: #0D131A; --accent-soft: #1C2550;
    --ok: #4CC98B; --ok-soft: #12291F; --warn: #F08A55; --warn-soft: #2E1C12;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0D131A; --surface: #151D27; --ink: #E8EDF3; --muted: #9AA6B4; --line: #26313E;
  --accent: #7D93FF; --accent-ink: #0D131A; --accent-soft: #1C2550;
  --ok: #4CC98B; --ok-soft: #12291F; --warn: #F08A55; --warn-soft: #2E1C12;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 16px/1.65 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 30; background: var(--bg); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 3px;
}
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.025em; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.5rem); font-weight: 700; letter-spacing: -0.035em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }

.wrap {
  max-width: var(--wrap); margin: 0 auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}
.mono { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.02em; }
.label { font-family: var(--font-body); font-weight: 600; font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.lede { font-size: 1.1rem; line-height: 1.7; color: var(--muted); max-width: 60ch; }

/* header */
.site-head {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 14px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 10px; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px var(--ok-soft); }
.nav { display: flex; align-items: center; gap: 26px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--accent); }
@media (max-width: 820px) { .nav .hide-sm { display: none; } .nav { gap: 16px; } }

.btn {
  display: inline-flex; align-items: center; gap: 8px; justify-content: center;
  font: 600 0.98rem/1 var(--font-body); padding: 14px 20px; border-radius: 8px;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 14px; font-size: 0.9rem; }

section { padding-block: clamp(64px, 9vw, 112px); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; max-width: 720px; }

/* hero */
.hero { padding-block: clamp(48px, 7vw, 88px) clamp(48px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: center; }
.hero-grid > * { min-width: 0; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lede { margin-top: 22px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.proof-strip { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin-top: 56px; }
.proof-strip > div { padding: 22px 20px 0 0; display: grid; gap: 4px; }
.proof-strip b { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.proof-strip span { color: var(--muted); font-size: 0.92rem; }
@media (max-width: 700px) { .proof-strip { grid-template-columns: 1fr 1fr; row-gap: 8px; } }

/* readout card */
.readout { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: 0 1px 0 var(--line), 0 18px 40px -24px rgba(17,26,36,.35); }
.readout-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 18px; }
.pill { font-family: var(--font-mono); font-size: 0.72rem; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.pill-warn { background: var(--warn-soft); color: var(--warn); }
.pill-ok { background: var(--ok-soft); color: var(--ok); }
.bars { display: grid; gap: 14px; }
.bar-row { display: grid; grid-template-columns: 76px 1fr 34px; align-items: center; gap: 12px; font-variant-numeric: tabular-nums; }
.bar-row .name { font-weight: 600; font-size: 0.92rem; }
.bar-row .val { font-family: var(--font-mono); font-size: 0.9rem; text-align: right; }
.track { height: 10px; background: var(--bg); border-radius: 5px; overflow: hidden; }
.fill { height: 100%; background: var(--muted); border-radius: 5px; }
.fill.over { background: var(--warn); }
.log { margin-top: 20px; padding-top: 16px; border-top: 1px dashed var(--line); font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.75; color: var(--muted); overflow-x: auto; }
.log .k { color: var(--ink); }
.log .bad { color: var(--warn); }
.log .good { color: var(--ok); }

/* results */
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.ba-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ba-grid > * { min-width: 0; }
@media (max-width: 860px) { .ba-grid { grid-template-columns: 1fr; } }
.shot { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); display: flex; flex-direction: column; }
.shot-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: var(--surface); }
.shot img { width: 100%; }
.shot-empty { flex: 1; min-height: 260px; display: grid; place-items: center; text-align: center; padding: 32px; color: var(--muted); border: 2px dashed var(--line); margin: 16px; border-radius: 8px; }
.emq-table { width: 100%; border-collapse: collapse; margin-top: 28px; font-variant-numeric: tabular-nums; }
.table-scroll { overflow-x: auto; }
.emq-table th, .emq-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); white-space: nowrap; }
.emq-table th { font-family: var(--font-body); font-weight: 600 !important; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); font-weight: 500; }
.emq-table td.num { font-family: var(--font-mono); }
.meter { display: inline-block; width: 120px; height: 6px; background: var(--bg); border-radius: 3px; vertical-align: middle; margin-left: 10px; overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--ok); }
.note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

/* causes */
.cause-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); }
.cause-grid > div { padding: 28px 28px 28px 0; border-bottom: 1px solid var(--line); display: grid; gap: 8px; align-content: start; }
.cause-grid > div:nth-child(odd) { border-right: 1px solid var(--line); }
.cause-grid > div:nth-child(even) { padding-left: 28px; }
.cause-grid p { color: var(--muted); }
@media (max-width: 760px) { .cause-grid { grid-template-columns: 1fr; } .cause-grid > div:nth-child(odd) { border-right: 0; } .cause-grid > div:nth-child(even) { padding-left: 0; } }

/* audit */
.audit-grid { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.audit-grid > * { min-width: 0; }
@media (max-width: 900px) { .audit-grid { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.checklist li:first-child { border-top: 1px solid var(--line); }
.tick { width: 22px; height: 22px; border-radius: 50%; background: var(--ok-soft); color: var(--ok); display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; margin-top: 2px; }
.checklist b { display: block; }
.checklist span { color: var(--muted); font-size: 0.95rem; }
.price-card { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 28px; display: grid; gap: 18px; position: sticky; top: calc(env(safe-area-inset-top, 0px) + 90px); }
.price-card .label { color: color-mix(in srgb, var(--bg) 65%, transparent); }
.price-card ul { margin: 0; padding-left: 18px; display: grid; gap: 6px; color: color-mix(in srgb, var(--bg) 82%, transparent); }
.price-card .btn-primary { background: var(--bg); color: var(--ink); }
.price-big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: -0.02em; }

/* fit */
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fit-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; }
.fit-grid p { color: var(--muted); }
@media (max-width: 860px) { .fit-grid { grid-template-columns: 1fr; } }

/* process */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: s; }
.steps li { padding: 22px 22px 0 0; border-top: 2px solid var(--ink); display: grid; gap: 8px; align-content: start; counter-increment: s; }
.steps li::before { content: "0" counter(s); font-family: var(--font-mono); font-size: 0.8rem; color: var(--accent); }
.steps p { color: var(--muted); font-size: 0.95rem; }
.steps .mono { color: var(--muted); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; row-gap: 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* track record + about */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.two-col > * { min-width: 0; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; gap: 40px; } }
.upwork-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; display: grid; gap: 20px; }
.upwork-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.upwork-stats b { display: block; font-family: var(--font-display); font-size: 1.6rem; }
.upwork-stats span { color: var(--muted); font-size: 0.85rem; }
.review { border-left: 3px solid var(--accent); padding-left: 16px; display: grid; gap: 6px; }
.about { display: grid; gap: 16px; }
.about p { color: var(--muted); max-width: 60ch; }
.avatar { width: 72px; height: 72px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; overflow: hidden; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-family: var(--font-mono); font-size: 0.76rem; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); }

/* blog cards */
.post-list { display: grid; gap: 0; border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); align-items: baseline; }
.post-row:hover h3 { color: var(--accent); }
.post-row p { color: var(--muted); margin-top: 6px; }
.post-row > * { min-width: 0; }
@media (max-width: 700px) { .post-row { grid-template-columns: 1fr; gap: 6px; } .post-row .arrow { display: none; } }

/* contact */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
.contact-grid > * { min-width: 0; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
form { display: grid; gap: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.88rem; font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
input, select, textarea { font: inherit; font-size: 0.98rem; color: var(--ink); background: var(--bg); border: 1px solid var(--line); border-radius: 8px; padding: 12px 14px; width: 100%; }
textarea { min-height: 110px; resize: vertical; }
.form-msg { font-size: 0.92rem; padding: 12px 14px; border-radius: 8px; background: var(--ok-soft); color: var(--ok); }
.email-line { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 8px; }
.email-line code { font-family: var(--font-mono); font-size: 0.95rem; background: var(--surface); border: 1px solid var(--line); padding: 8px 12px; border-radius: 6px; user-select: all; }
.promise { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--muted); }
.promise li::before { content: "→ "; color: var(--accent); font-family: var(--font-mono); }

/* footer */
.site-foot { border-top: 1px solid var(--line); }
.site-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-block: 32px; color: var(--muted); font-size: 0.9rem; }
.site-foot a { color: var(--muted); }

/* article */
.article { max-width: 720px; margin: 0 auto; }
.article-head { padding-block: 56px 32px; display: grid; gap: 16px; }
.article-head .meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted); }
.prose { font-size: 1.08rem; line-height: 1.75; padding-bottom: 64px; }
.prose > * + * { margin-top: 1.2em; }
.prose h2 { font-size: 1.6rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: 0.4em; }
.prose code { font-family: var(--font-mono); font-size: 0.88em; background: var(--surface); border: 1px solid var(--line); padding: 1px 6px; border-radius: 4px; }
.prose pre { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 16px; overflow-x: auto; font-family: var(--font-mono); font-size: 0.85rem; line-height: 1.6; }
.prose pre code { border: 0; padding: 0; background: none; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.prose .table-scroll { margin-top: 1.2em; }
.callout { background: var(--accent-soft); border-radius: 8px; padding: 18px 20px; }
.article-cta { background: var(--ink); color: var(--bg); border-radius: var(--radius); padding: 28px; display: grid; gap: 14px; margin-bottom: 72px; }
.article-cta p { color: color-mix(in srgb, var(--bg) 78%, transparent); }
.article-cta .btn-primary { background: var(--bg); color: var(--ink); justify-self: start; }
.back { display: inline-block; margin-top: 32px; font-size: 0.92rem; }

/* ---------- motion & visuals ---------- */
.hero { position: relative; overflow: hidden; }
.hero > .wrap { position: relative; z-index: 1; }
#hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.readout { transform-style: preserve-3d; transition: transform .25s ease-out; will-change: transform; }
.readout-stage { perspective: 1100px; }
.fill { transition: width 1.1s cubic-bezier(.2,.8,.2,1); }
.meter i { transition: width 1.2s cubic-bezier(.2,.8,.2,1); }
.log div { transition: opacity .4s ease, transform .4s ease; }
.typing-off .log div { opacity: .15; transform: translateX(-4px); }

.flow-wrap { margin-bottom: 44px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; overflow-x: auto; }
.flow-wrap svg { display: block; width: 100%; min-width: 640px; height: auto; }
.flow-wrap text { font-family: var(--font-body); }
.flow-line { fill: none; stroke: var(--line); stroke-width: 2; }
.flow-dash { fill: none; stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 10; animation: dash 1.4s linear infinite; }
.flow-dash.bad { stroke: var(--warn); }
@keyframes dash { to { stroke-dashoffset: -32; } }
.flow-node rect { fill: var(--bg); stroke: var(--line); }
.flow-node.hub rect { fill: var(--accent-soft); stroke: var(--accent); }
.flow-node text { fill: var(--ink); font-size: 13px; font-weight: 600; }
.flow-node .sub { fill: var(--muted); font-size: 11px; font-weight: 400; }
.pulse { fill: var(--accent); }
.pulse.bad { fill: var(--warn); }

.cube-stage { width: 150px; height: 150px; perspective: 700px; margin: 6px 0 10px 20px; }
.cube { position: relative; width: 110px; height: 110px; transform-style: preserve-3d; animation: spin 14s linear infinite; margin: 20px; }
.cube span { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 0.95rem; color: var(--accent); background: color-mix(in srgb, var(--accent-soft) 88%, transparent); border: 1.5px solid var(--accent); border-radius: 12px; backface-visibility: visible; }
.cube span:nth-child(1) { transform: translateZ(55px); }
.cube span:nth-child(2) { transform: rotateY(90deg) translateZ(55px); }
.cube span:nth-child(3) { transform: rotateY(180deg) translateZ(55px); }
.cube span:nth-child(4) { transform: rotateY(-90deg) translateZ(55px); }
.cube span:nth-child(5) { transform: rotateX(90deg) translateZ(55px); }
.cube span:nth-child(6) { transform: rotateX(-90deg) translateZ(55px); }
@keyframes spin { from { transform: rotateX(-18deg) rotateY(0); } to { transform: rotateX(-18deg) rotateY(360deg); } }
.about-top { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }

.tilt { transition: transform .3s ease-out, box-shadow .3s ease-out; transform-style: preserve-3d; }
.tilt:hover { box-shadow: 0 22px 40px -28px rgba(17,26,36,.45); }

.reveal-ready .reveal { transform: translateY(18px); transition: transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal-ready .reveal.in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  .cube, .flow-dash { animation: none; }
  .reveal-ready .reveal { transform: none; }
}

/* photo, avatar, client video */
.brand-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid var(--surface); box-shadow: 0 0 0 1.5px var(--accent); }
.photo { width: 220px; height: 220px; max-width: 100%; object-fit: cover; border-radius: 18px; box-shadow: 0 24px 50px -26px rgba(17,26,36,.55); }
.feedback-grid { display: grid; grid-template-columns: minmax(0, 360px) 1fr; gap: 64px; align-items: center; }
.feedback-grid > * { min-width: 0; }
@media (max-width: 820px) { .feedback-grid { grid-template-columns: 1fr; gap: 32px; } .video-frame { max-width: 340px; margin: 0 auto; } }
.video-frame { position: relative; border-radius: 22px; overflow: hidden; background: var(--ink); aspect-ratio: 9 / 16; max-width: 100%;
  box-shadow: 0 0 0 1px var(--line), 0 30px 60px -30px rgba(17,26,36,.6); transform: perspective(1200px) rotateY(6deg); transition: transform .5s ease; }
.video-frame:hover { transform: none; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; display: block; }
.feedback-copy { display: grid; gap: 16px; }
.client-tag { color: var(--muted); }
.feedback-copy .cta-row { margin-top: 8px; }
@media (prefers-reduced-motion: reduce) { .video-frame { transform: none; } }

/* platforms */
.platform-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.platform-grid > div { min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: grid; gap: 12px; align-content: start; }
.platform ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--muted); font-size: 0.93rem; }
.platform li { padding-left: 18px; position: relative; }
.platform li::before { content: ""; position: absolute; left: 0; top: 0.62em; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.plat-tag { justify-self: start; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; background: var(--accent-soft); color: var(--accent); }
@media (max-width: 1000px) { .platform-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .platform-grid { grid-template-columns: 1fr; } }

/* gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filter { font: 500 0.9rem var(--font-body); padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg); color: var(--ink); cursor: pointer; }
.filter:hover { border-color: var(--ink); }
.filter.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; }
.g-item { display: grid; gap: 0; padding: 0; text-align: left; cursor: zoom-in; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--bg); color: var(--ink); font: inherit; transition: transform .3s ease, box-shadow .3s ease; }
.g-item:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -26px rgba(17,26,36,.5); }
.g-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--surface); display: block; max-width: 100%; }
.g-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; transition: transform .5s ease; }
.g-item:hover .g-thumb img { transform: scale(1.04); }
.g-cap { display: grid; gap: 8px; padding: 14px 16px 16px; }
.g-cap b { font-weight: 600; font-size: 0.95rem; line-height: 1.4; }
.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(8,12,18,.88); display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: calc(env(safe-area-inset-top, 0px) + 56px) max(16px, env(safe-area-inset-right, 0px)) calc(env(safe-area-inset-bottom, 0px) + 24px) max(16px, env(safe-area-inset-left, 0px)); }
.lightbox[hidden] { display: none !important; }
.lightbox figure { margin: 0; min-width: 0; max-width: 1100px; display: grid; gap: 12px; }
.lightbox img { max-height: 76vh; width: auto; margin: 0 auto; border-radius: 8px; }
.lightbox figcaption { color: #E8EDF3; display: grid; gap: 4px; text-align: center; font-size: 0.95rem; }
.lightbox figcaption span { color: #9AA6B4; }
.lb-close, .lb-nav { background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; line-height: 1; cursor: pointer; flex: none; }
.lb-close { position: absolute; top: calc(env(safe-area-inset-top, 0px) + 12px); right: max(16px, env(safe-area-inset-right, 0px)); }
@media (max-width: 600px) { .lb-nav { position: absolute; bottom: calc(env(safe-area-inset-bottom, 0px) + 16px); } .lb-prev { left: 30%; } .lb-next { right: 30%; } }
section:not(.alt) + section:not(.alt) { border-top: 1px solid var(--line); }

/* offline card, reviews, loom */
.platform-grid { grid-template-columns: repeat(3, 1fr); }
.platform-wide { grid-column: span 2; }
.plat-lede { color: var(--muted); font-size: 0.95rem; }
.two-up { grid-template-columns: 1fr 1fr; column-gap: 24px; }
@media (max-width: 1000px) { .platform-grid { grid-template-columns: 1fr 1fr; } .platform-wide { grid-column: span 2; } }
@media (max-width: 560px) { .platform-grid { grid-template-columns: 1fr; } .platform-wide { grid-column: auto; } .two-up { grid-template-columns: 1fr; } }
.reviews { columns: 3 300px; column-gap: 18px; }
.rv { break-inside: avoid; margin: 0 0 18px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: grid; gap: 14px; }
.rv p { font-size: 0.97rem; line-height: 1.65; }
.rv footer { display: grid; gap: 4px; font-size: 0.82rem; color: var(--muted); }
.stars { color: #F2994A; letter-spacing: 2px; font-size: 0.95rem; }
.rv-feature { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.rv-feature p { font-size: 1.05rem; }
.rv-feature footer { color: color-mix(in srgb, var(--bg) 70%, transparent); }
.g-loom { justify-self: start; font-size: 0.78rem; font-weight: 600; color: var(--accent); }
.lb-loom { justify-self: center; margin-top: 6px; color: #fff; background: #625DF5; padding: 8px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; }

/* ================= COLOR PALETTES =================
   orange = Navy & Orange (dark background, always)
   green  = Blue & Green (light background, always)            */
:root { --cta: var(--accent); --cta-ink: var(--accent-ink); --wa: #1FA855; --wa-ink: #fff; --hero-a: transparent; --band: #0F172A; --band-ink: #F1F5F9; --glow: rgba(36,65,214,.18); }
:root[data-palette="orange"], :root[data-palette="orange"][data-theme] {
  --bg: #071226; --surface: #0E1D36; --ink: #EEF3FA; --muted: #A3B1C6; --line: #1F3152;
  --accent: #36C2CE; --accent-ink: #071226; --accent-soft: #0F3443;
  --cta: #FF6B1A; --cta-ink: #FFFFFF; --warn: #FF8A4C; --warn-soft: #3A1E10; --ok: #4CD08F; --ok-soft: #10301F;
  --hero-a: rgba(255,107,26,.22); --band: #FF6B1A; --band-ink: #FFFFFF; --glow: rgba(255,107,26,.28);
  color-scheme: dark;
}
:root[data-palette="green"], :root[data-palette="green"][data-theme] {
  --bg: #EEF4FF; --surface: #FFFFFF; --ink: #0F172A; --muted: #4F5D73; --line: #D5E0F2;
  --accent: #1D4ED8; --accent-ink: #FFFFFF; --accent-soft: #DCE7FF;
  --cta: #16A34A; --cta-ink: #FFFFFF; --warn: #C2410C; --warn-soft: #FDEBDD; --ok: #15803D; --ok-soft: #DCF5E5;
  --hero-a: rgba(29,78,216,.16); --band: #1D4ED8; --band-ink: #FFFFFF; --glow: rgba(29,78,216,.22);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root[data-palette="orange"]:not([data-theme="light"]) { --bg: #071226; --surface: #0E1D36; --ink: #EEF3FA; --muted: #A3B1C6; --line: #1F3152; --accent: #36C2CE; --accent-ink: #071226; --accent-soft: #0F3443; --cta: #FF6B1A; --cta-ink: #FFFFFF; --warn: #FF8A4C; --warn-soft: #3A1E10; --ok: #4CD08F; --ok-soft: #10301F; color-scheme: dark; }
  :root[data-palette="green"]:not([data-theme="light"]) { --bg: #EEF4FF; --surface: #FFFFFF; --ink: #0F172A; --muted: #4F5D73; --line: #D5E0F2; --accent: #1D4ED8; --accent-ink: #FFFFFF; --accent-soft: #DCE7FF; --cta: #16A34A; --cta-ink: #FFFFFF; --warn: #C2410C; --warn-soft: #FDEBDD; --ok: #15803D; --ok-soft: #DCF5E5; color-scheme: light; }
}

/* CTA colour everywhere */
.btn-primary, .price-card .btn-primary, .article-cta .btn-primary { background: var(--cta); color: var(--cta-ink); box-shadow: 0 10px 24px -12px var(--cta); }
.btn-primary:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn { transition: transform .15s ease, filter .15s ease, border-color .15s ease; }
.btn-lg { padding: 17px 24px; font-size: 1.02rem; }
.btn-wa { background: var(--wa); color: var(--wa-ink); }
.btn-wa:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-light { background: var(--surface); color: var(--ink); }
.ico { width: 20px; height: 20px; flex: none; }
.hero { background: radial-gradient(900px 420px at 85% 10%, var(--hero-a), transparent 70%); }
.trust { margin-top: 18px; color: var(--muted); font-size: 0.9rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* palette preview bar */
.palette-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 8px max(16px, env(safe-area-inset-left, 0px)); background: #111827; color: #E5E7EB; font-size: 0.85rem; }
.pal-btn { display: inline-flex; align-items: center; gap: 8px; font: 600 0.82rem var(--font-body); padding: 6px 12px; border-radius: 999px; border: 1px solid #374151; background: transparent; color: #E5E7EB; cursor: pointer; }
.pal-btn.is-on { background: #fff; color: #111827; border-color: #fff; }
.sw { width: 14px; height: 14px; border-radius: 50%; display: inline-block; }
.sw-a { background: linear-gradient(135deg, #0B1B33 50%, #E35A0B 50%); }
.sw-b { background: linear-gradient(135deg, #1D4ED8 50%, #15803D 50%); }

/* tool logos */
.tool-strip { margin-top: 40px; display: grid; gap: 12px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } .tool.dup { display: none; } }
.tool { display: flex; align-items: center; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px 10px 10px; }
.tool-sm { padding: 8px 14px 8px 8px; white-space: nowrap; }
.tool-logo { position: relative; width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; flex: none; overflow: hidden; }
.tool-sm .tool-logo { width: 30px; height: 30px; border-radius: 8px; }
.tool-logo b { font-size: 0.72rem; font-weight: 700; letter-spacing: -0.02em; }
.tool-sm .tool-logo b { font-size: 0.64rem; }
.tool-logo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; background: var(--surface); padding: 4px; }
.t-ana { background: var(--accent-soft); color: var(--accent); }
.t-srv { background: var(--ink); color: var(--bg); }
.t-ads { background: var(--warn-soft); color: var(--warn); }
.t-crm { background: var(--ok-soft); color: var(--ok); }
.t-shop { background: color-mix(in srgb, var(--cta) 14%, var(--surface)); color: var(--cta); }
.tool-name { font-size: 0.88rem; font-weight: 600; }
.tool-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; margin-top: 8px; }
.tool-grid .tool { transition: transform .2s ease, border-color .2s ease; }
.tool-grid .tool:hover { transform: translateY(-2px); border-color: var(--accent); }

/* CTA band */
.cta-band { background: var(--band); color: var(--band-ink); padding-block: clamp(44px, 6vw, 64px); }
.cta-band-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); }
.cta-band p { margin-top: 8px; color: color-mix(in srgb, var(--band-ink) 82%, transparent); }
.cta-band .btn-light { background: #fff; color: #0F172A; }
section.cta-band + section { border-top: 0 !important; }

/* WhatsApp float + mobile bar */
.wa-float { position: fixed; z-index: 40; right: calc(20px + env(safe-area-inset-right, 0px)); bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 10px; background: var(--wa); color: #fff; text-decoration: none; font-weight: 600; font-size: 0.92rem;
  padding: 12px 18px 12px 14px; border-radius: 999px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.45); transition: transform .2s ease; }
.wa-float:hover { transform: translateY(-2px); }
.wa-float .ico { width: 24px; height: 24px; }
.mobile-cta { display: none; }
@media (max-width: 700px) {
  .wa-float { display: none; }
  .mobile-cta { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 40; left: 0; right: 0; bottom: 0;
    padding: 10px max(12px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(12px, env(safe-area-inset-left, 0px));
    background: color-mix(in srgb, var(--surface) 94%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-top: 1px solid var(--line); }
  .mobile-cta .btn { padding: 13px 10px; }
  body { padding-bottom: 76px; }
}

/* footer */
.site-foot { background: var(--surface); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-block: 56px 32px; }
.foot-grid > * { min-width: 0; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; gap: 28px; } }
.foot-col h4 { margin: 0 0 14px; font-family: var(--font-display); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink); }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot-col a { color: var(--muted); text-decoration: none; font-size: 0.93rem; transition: color .15s ease; }
.foot-col a:hover { color: var(--accent); }
.foot-brand { display: grid; gap: 14px; align-content: start; }
.foot-brand p { color: var(--muted); font-size: 0.93rem; max-width: 34ch; }
.foot-social { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-social a { font-size: 0.85rem; font-weight: 600; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.foot-social a:hover { border-color: var(--accent); color: var(--accent); }
.foot-contact li { color: var(--muted); font-size: 0.93rem; }
.foot-bottom { border-top: 1px solid var(--line); }
.foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px; color: var(--muted); font-size: 0.85rem; }
.site-foot > .wrap { display: block; padding: 0; }

/* tool logo row (side by side) */
.logo-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.logo-tile { width: 112px; display: grid; justify-items: center; gap: 10px; padding: 16px 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-align: center; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.logo-tile .tool-logo { width: 48px; height: 48px; border-radius: 12px; }
.logo-tile .tool-logo b { font-size: 0.85rem; }
.logo-tile .tool-name { font-size: 0.78rem; line-height: 1.3; }
.logo-tile:hover { transform: translateY(-4px); border-color: var(--accent); box-shadow: 0 16px 30px -18px var(--glow); }
@media (max-width: 520px) { .logo-tile { width: calc(33.33% - 8px); } }

/* cursor highlight + hover glow */
.cursor-ring, .cursor-dot { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 60; border-radius: 50%; opacity: 0; transition: opacity .3s ease; }
.cursor-on .cursor-ring, .cursor-on .cursor-dot { opacity: 1; }
.cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 2px solid var(--cta); background: var(--glow); transition: width .2s ease, height .2s ease, margin .2s ease, background .2s ease, opacity .3s ease; }
.cursor-ring.big { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--cta) 14%, transparent); }
.cursor-dot { width: 6px; height: 6px; margin: -3px 0 0 -3px; background: var(--cta); }
.glow { position: relative; isolation: isolate; }
.glow::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity .25s ease;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 50%), var(--glow), transparent 70%); }
.glow:hover::after { opacity: 1; }
.platform, .rv, .g-item, .fit-grid > div, .upwork-card, .logo-tile { transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.platform:hover, .rv:hover, .fit-grid > div:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 18px 36px -24px var(--glow); }
@media (hover: none), (prefers-reduced-motion: reduce) { .cursor-ring, .cursor-dot { display: none; } }

/* ---- compact footer (overrides) ---- */
.site-foot > .wrap.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px;
  padding-block: 28px; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot-links a { color: var(--muted); text-decoration: none; font-size: 0.93rem; }
.foot-links a:hover { color: var(--accent); }
.site-foot .foot-bottom .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; padding-block: 16px; color: var(--muted); font-size: 0.85rem;
  padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }

/* ---- hero photo ---- */
.hero-photo { position: relative; justify-self: center; width: min(420px, 100%); padding: 24px 28px; }
.arch { border-radius: 220px 220px 28px 28px; overflow: hidden; aspect-ratio: 760 / 912; max-width: 100%;
  background: #fff; box-shadow: 0 0 0 6px color-mix(in srgb, var(--cta) 35%, transparent), 0 40px 80px -40px var(--glow); }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.badge-float { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px 10px 10px; border-radius: 14px;
  background: var(--surface); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 18px 36px -18px rgba(0,0,0,.45); animation: bob 5s ease-in-out infinite; }
.badge-float b { display: block; font-size: 0.86rem; line-height: 1.2; }
.badge-float small { color: var(--muted); font-size: 0.74rem; }
.b-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; font-weight: 700; font-size: 0.85rem; background: color-mix(in srgb, var(--cta) 18%, var(--surface)); color: var(--cta); flex: none; }
.b-ico.ok { background: var(--ok-soft); color: var(--ok); }
.b1 { top: 12%; left: -18px; }
.b2 { top: 46%; right: -26px; animation-delay: -1.6s; }
.b3 { bottom: 8%; left: -10px; animation-delay: -3.2s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 900px) { .hero-photo { width: min(340px, 100%); } .b1 { left: 0; } .b2 { right: 0; } .b3 { left: 4px; } }
@media (prefers-reduced-motion: reduce) { .badge-float { animation: none; } }
.hero-proof { margin-top: 22px; display: grid; gap: 10px; max-width: 520px; }
.hero-proof .trust { margin-top: 0; }
.mini-quote { margin: 0; padding-left: 14px; border-left: 3px solid var(--cta); color: var(--muted); font-size: 0.92rem; font-style: italic; }

/* ---- readout in problem section ---- */
.problem-top { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; margin-bottom: 44px; }
.problem-top > * { min-width: 0; }
.problem-note { display: grid; gap: 12px; }
.problem-note p:last-child { color: var(--muted); font-size: 1.05rem; max-width: 48ch; }
@media (max-width: 860px) { .problem-top { grid-template-columns: 1fr; } }

/* ---- WhatsApp float only after hero ---- */
.wa-float { transition: transform .25s ease, opacity .25s ease; }
.wa-float.wa-hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

/* blog cards with thumbnails */
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; }
.post-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.post-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); box-shadow: 0 18px 36px -24px var(--glow); }
.post-thumb { display: block; aspect-ratio: 1200 / 630; overflow: hidden; max-width: 100%; }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { display: grid; gap: 10px; align-content: start; padding: 18px 20px 20px; }
.post-title { font-family: var(--font-display); font-size: 1.12rem; line-height: 1.35; letter-spacing: -0.01em; }
.post-card:hover .post-title { color: var(--accent); }
.post-ex { color: var(--muted); font-size: 0.93rem; }
.post-meta { color: var(--muted); }
.post-cover { margin: 0 0 32px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.post-cover img { width: 100%; }
.post-fig { margin: 1.6em 0; }
.post-fig img { border-radius: 10px; border: 1px solid var(--line); width: 100%; }
.post-fig figcaption { margin-top: 10px; font-size: 0.88rem; color: var(--muted); }
.social-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; padding-top: 4px; border-top: 1px solid var(--line); padding-block: 14px 0; }
.social-row a { color: var(--ink); font-weight: 600; font-size: 0.92rem; text-decoration: none; }
.social-row a:hover { color: var(--accent); }

/* ---- WhatsApp widget (always visible) ---- */
.wa-float { display: none !important; }
.wa-widget { position: fixed; z-index: 45; right: calc(22px + env(safe-area-inset-right, 0px)); bottom: calc(22px + env(safe-area-inset-bottom, 0px)); display: grid; justify-items: end; gap: 14px; }
.wa-btn { position: relative; width: 62px; height: 62px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 30px -10px rgba(0,0,0,.45); transition: transform .2s ease; }
.wa-btn::before { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(37,211,102,.45); animation: wa-ring 2.2s ease-out infinite; }
.wa-btn:hover { transform: scale(1.06); }
.wa-glyph { width: 30px; height: 30px; }
.wa-logo { position: absolute; inset: 14px; width: calc(100% - 28px); height: calc(100% - 28px); object-fit: contain; }
.wa-logo + .wa-glyph, .wa-btn:has(.wa-logo) .wa-glyph { display: none; }
@keyframes wa-ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.wa-pop { position: relative; width: min(330px, calc(100vw - 40px)); background: #fff; color: #0F172A; border-radius: 18px; box-shadow: 0 20px 44px -16px rgba(0,0,0,.4); animation: wa-in .35s ease; }
.wa-pop::after { content: ""; position: absolute; right: 24px; bottom: -8px; width: 16px; height: 16px; background: #fff; transform: rotate(45deg); border-radius: 3px; }
.wa-pop-link { display: flex; align-items: center; gap: 14px; padding: 16px 40px 16px 16px; text-decoration: none; color: inherit; }
.wa-pop-avatar { position: relative; flex: none; }
.wa-pop-avatar img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid #25D366; }
.wa-pop-avatar i { position: absolute; right: 1px; bottom: 2px; width: 12px; height: 12px; border-radius: 50%; background: #25D366; border: 2px solid #fff; }
.wa-pop-text { display: grid; gap: 2px; }
.wa-pop-text b { font-size: 1rem; display: flex; align-items: center; gap: 8px; }
.wa-pop-text .dot { width: 8px; height: 8px; border-radius: 50%; background: #25D366; }
.wa-pop-text span { color: #4F5D73; font-size: 0.92rem; }
.wa-pop-close { position: absolute; top: 8px; right: 10px; width: 28px; height: 28px; border: 0; background: transparent; color: #64748B; font-size: 1.3rem; cursor: pointer; border-radius: 50%; }
.wa-pop-close:hover { background: #F1F5F9; }
@keyframes wa-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---- back to top ---- */
.to-top { position: fixed; z-index: 44; left: calc(22px + env(safe-area-inset-left, 0px)); bottom: calc(26px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 8px; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink); font: 600 0.9rem var(--font-body); cursor: pointer; box-shadow: 0 12px 26px -14px rgba(0,0,0,.45); animation: wa-in .3s ease; }
.to-top:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.to-top[hidden] { display: none !important; }

@media (max-width: 700px) {
  .mobile-cta { grid-template-columns: 1fr; padding-right: calc(96px + env(safe-area-inset-right, 0px)); }
  .wa-widget { bottom: calc(12px + env(safe-area-inset-bottom, 0px)); right: calc(14px + env(safe-area-inset-right, 0px)); }
  .wa-btn { width: 56px; height: 56px; }
  .to-top { bottom: calc(86px + env(safe-area-inset-bottom, 0px)); left: calc(14px + env(safe-area-inset-left, 0px)); }
}
@media (prefers-reduced-motion: reduce) { .wa-btn::before, .wa-pop, .to-top { animation: none; } }

/* real logos */
.tool-logo:has(img) { background: transparent; }
.tool-logo img { background: transparent; padding: 2px; }
.wa-logo { inset: 12px; width: calc(100% - 24px); height: calc(100% - 24px); border-radius: 8px; }
.ico-link { display: inline-flex; align-items: center; gap: 6px; }
.ico-link img { width: 18px; height: 18px; border-radius: 4px; }

.shot-zoom { display: block; padding: 0; border: 0; background: none; cursor: zoom-in; width: 100%; }
.shot-zoom img { width: 100%; }
.tool-logo:has(img) { background: #fff; box-shadow: 0 0 0 1px rgba(15,23,42,.08); }
.tool-logo img { padding: 4px; }

/* wide wordmark logos */
.tool-logo:has(img) b { visibility: hidden; }
.tool-logo.wide { width: auto; min-width: 84px; padding: 0 8px; }
.tool-logo.wide b { display: none; }
.tool-logo.wide img { position: static; width: auto; height: 70%; max-width: 100%; padding: 0; }
.tool-sm .tool-logo.wide { min-width: 70px; }
.logo-tile .tool-logo.wide { min-width: 96px; }

/* tools: full width, two rows */
.tools-wide { margin-top: 56px; display: grid; gap: 16px; }
.tools-wide .logo-row { display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px; margin: 0; }
.tools-wide .logo-tile { width: auto; padding: 14px 6px 12px; }
@media (max-width: 1000px) { .tools-wide .logo-row { grid-template-columns: repeat(5, 1fr); } }
@media (max-width: 640px) { .tools-wide .logo-row { grid-template-columns: repeat(3, 1fr); } }

.tools-wide .logo-row { grid-template-columns: repeat(9, 1fr); }
@media (max-width: 1100px) { .tools-wide .logo-row { grid-template-columns: repeat(6, 1fr); } }
@media (max-width: 700px) { .tools-wide .logo-row { grid-template-columns: repeat(4, 1fr); gap: 8px; } .tools-wide .logo-tile { padding: 10px 4px; } .tools-wide .logo-tile .tool-name { font-size: 0.68rem; } .tools-wide .logo-tile .tool-logo { width: 40px; height: 40px; } }
@media (max-width: 400px) { .tools-wide .logo-row { grid-template-columns: repeat(3, 1fr); } }

/* ---- responsive nav ---- */
.menu-btn { display: none; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; padding: 0; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.menu-btn span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.menu-btn.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-btn.is-open span:nth-child(2) { opacity: 0; }
.menu-btn.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.menu-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); border-top: 1px solid var(--line); background: var(--bg); }
.menu-panel[hidden] { display: none; }
.menu-panel a { color: var(--ink); text-decoration: none; font-weight: 500; padding: 12px 10px; border-radius: 8px; }
.menu-panel a:hover { background: var(--surface); color: var(--accent); }
@media (max-width: 1100px) {
  .nav .hide-sm { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (min-width: 1101px) { .menu-panel { display: none !important; } }
@media (max-width: 520px) {
  .nav { gap: 8px; }
  .nav-cta { padding: 10px 12px; font-size: 0.85rem; }
  .brand { font-size: 1rem; gap: 8px; }
}
@media (max-width: 400px) { .brand { font-size: 0; gap: 0; } .brand-avatar { width: 36px; height: 36px; } }
.site-foot .brand { font-size: 1rem !important; gap: 10px !important; }
/* blog pages header on small screens */
@media (max-width: 520px) { .site-head .nav a[href="index.html"]:not(.btn) { display: none; } }
/* general mobile polish */
@media (max-width: 700px) {
  section { padding-block: 56px; }
  .section-head { margin-bottom: 28px; }
  .hero-photo { padding: 16px 20px; }
  .badge-float { padding: 8px 10px 8px 8px; }
  .badge-float b { font-size: 0.78rem; } .badge-float small { font-size: 0.68rem; }
  .b-ico { width: 28px; height: 28px; font-size: 0.75rem; }
  .cta-row .btn { flex: 1 1 100%; }
  .proof-strip b { font-size: 1.5rem; }
  .price-card { position: static; }
  form { padding: 20px; }
}
.btn-ico { width: 20px; height: 20px; border-radius: 4px; }
.social-row .ico-link img { width: 18px; height: 18px; border-radius: 4px; }

/* ===== SALES SECTIONS ===== */
.assure { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--muted); font-size: 0.92rem; }
.assure li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 8px; }

.cost-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.cost-grid > * { min-width: 0; }
@media (max-width: 900px) { .cost-grid { grid-template-columns: 1fr; } }

.mm-card, .calc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: clamp(20px, 3vw, 32px); display: grid; gap: 18px; align-content: start; }
.mm-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; align-items: center; }
.mm-ex { font-size: 0.72rem; color: var(--muted); }
.mm-tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; padding: 4px; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; justify-self: start; }
.mm-tabs button { font: inherit; font-size: 0.85rem; font-weight: 600; padding: 8px 16px; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; min-height: 40px; }
.mm-tabs button.on { background: var(--ink); color: var(--bg); }
.mm-rows { display: grid; gap: 16px; }
.mm-row { display: grid; grid-template-columns: 84px 1fr 52px; gap: 12px; align-items: center; }
.mm-row span { color: var(--muted); font-size: 0.92rem; }
.mm-row i { display: block; height: 16px; background: var(--bg); border-radius: 999px; overflow: hidden; }
.mm-row b { display: block; height: 100%; width: 0; border-radius: 999px; background: var(--accent); transition: width .9s cubic-bezier(.2,.8,.2,1), background .4s; }
.mm-row em { font-style: normal; font-weight: 800; font-size: 1.5rem; text-align: right; font-variant-numeric: tabular-nums; }
.mm-card[data-state="now"] .mm-row:nth-child(2) b, .mm-card[data-state="now"] .mm-row:nth-child(3) b { background: var(--warn); }
.mm-card[data-state="now"] .mm-row:nth-child(2) em, .mm-card[data-state="now"] .mm-row:nth-child(3) em { color: var(--warn); }
.mm-card[data-state="fix"] .mm-row b { background: var(--ok); }
.mm-card[data-state="fix"] .mm-row em { color: var(--ok); }
.mm-note { margin: 0; min-height: 3em; color: var(--ink); font-weight: 500; }

.calc-card h3 { font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
.calc-row { display: grid; gap: 8px; }
.calc-row label { font-size: 0.92rem; color: var(--muted); }
.calc-row label b { color: var(--ink); }
.calc-in { display: flex; align-items: center; gap: 8px; background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; }
.calc-in span { color: var(--muted); font-weight: 600; }
.calc-in input { flex: 1; min-width: 0; font: inherit; font-size: 1.15rem; font-weight: 700; color: var(--ink); background: transparent; border: 0; padding: 13px 0; outline: none; }
.calc-in:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
#c-pct { width: 100%; accent-color: var(--cta); height: 28px; }
.calc-scale { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--muted); font-family: var(--font-mono); }
.calc-out { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calc-out > div { background: var(--warn-soft); border-radius: 12px; padding: 16px; display: grid; gap: 2px; }
.calc-out small { color: var(--muted); font-size: 0.78rem; line-height: 1.3; }
.calc-out b { font-size: clamp(1.5rem, 3.4vw, 2.1rem); color: var(--warn); font-weight: 800; line-height: 1.15; font-variant-numeric: tabular-nums; word-break: break-all; }
.calc-out span { color: var(--muted); font-size: 0.8rem; }
.calc-card .btn { justify-self: start; }
.calc-card .note { margin: 0; }

.deliver-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 24px; align-items: start; }
.deliver-grid > * { min-width: 0; }
@media (max-width: 900px) { .deliver-grid { grid-template-columns: 1fr; } }
.deliver-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.deliver-table th { text-align: left; font-size: 0.78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 14px 18px; background: var(--bg); }
.deliver-table td { padding: 16px 18px; border-top: 1px solid var(--line); vertical-align: top; font-size: 0.95rem; }
.deliver-table td b { display: block; }
.deliver-table td span { display: block; color: var(--muted); font-size: 0.85rem; margin-top: 2px; }
.deliver-table td:first-child b::before { content: "✓ "; color: var(--ok); }
.handoff { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.handoff ul { margin: 10px 0 0; padding-left: 18px; display: grid; gap: 8px; color: var(--muted); }

.vs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .vs-grid { grid-template-columns: 1fr; } }
.vs { border-radius: 16px; padding: 24px; border: 1px solid var(--line); }
.vs ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 12px; }
.vs li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.vs-bad { background: var(--warn-soft); }
.vs-bad .label { color: var(--warn); }
.vs-bad li::before { content: "✕"; color: var(--warn); font-weight: 700; }
.vs-good { background: var(--ok-soft); }
.vs-good .label { color: var(--ok); }
.vs-good li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.risk-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 24px; }
.risk-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 20px; }
.risk-grid h3 { font-size: 1.05rem; margin-top: 12px; }
.risk-grid p { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.r-ico { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 0.9rem; }
@media (max-width: 1000px) { .risk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .risk-grid { grid-template-columns: 1fr; } }
.guarantee { font-weight: 700; font-size: 1.1rem; }

.faq-wrap { max-width: 820px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 52px 18px 20px; font-weight: 600; position: relative; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { padding: 0 20px 18px; color: var(--muted); margin: 0; }

@media (max-width: 520px) {
  .mm-row { grid-template-columns: 70px 1fr 40px; gap: 8px; }
  .mm-row em { font-size: 1.25rem; }
  .calc-out { grid-template-columns: 1fr; }
  .deliver-table th, .deliver-table td { padding: 12px; }
  .calc-card .btn { justify-self: stretch; text-align: center; }
}
.mm-cta { margin-top: auto; }
@media (max-width: 520px) { .mm-cta .btn { width: 100%; text-align: center; } }

/* ===== SCROLL STORY ===== */
#story { position: relative; height: 600vh; border-top: 1px solid var(--line); }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; max-width: var(--wrap); margin: 0 auto; padding: 84px clamp(16px, 4vw, 32px) 24px;
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(20px, 4vw, 56px); align-items: center; }
.story-stage > * { min-width: 0; }
.story-steps { position: relative; min-height: 15rem; margin-top: 18px; }
.story-step { position: absolute; inset: 0 0 auto 0; opacity: 0; transform: translateY(16px); transition: opacity .45s ease, transform .45s ease; pointer-events: none; }
.story-step.on { opacity: 1; transform: none; pointer-events: auto; }
.story-step .mono { color: var(--cta); font-size: 0.9rem; }
.story-step h2 { font-size: clamp(1.5rem, 3.4vw, 2.5rem); margin-top: 8px; }
.story-step p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; max-width: 30rem; }
.story-step .btn { margin-top: 20px; }
.story-pips { display: flex; gap: 8px; margin-top: 18px; }
.story-pips i { width: 26px; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s; }
.story-pips i.on { background: var(--cta); }
.story-art svg { width: 100%; height: auto; max-height: calc(100svh - 120px); display: block; overflow: visible; }
.sv-layer { opacity: 0; transition: opacity .5s ease; }
.sv-layer.on { opacity: 1; }
.story-art text { font-family: var(--font-body); }
.sv-lbl { fill: var(--ink); font-size: 15px; font-weight: 600; }
.sv-sm { fill: var(--muted); font-size: 13px; }
.sv-big { fill: var(--ink); font-size: 24px; font-weight: 800; }
.sv-num { fill: var(--muted); font-size: 22px; font-weight: 800; transition: fill .3s; }
.sv-warn { fill: var(--warn); font-size: 13px; font-weight: 600; }
.sv-ok { fill: var(--ok); font-size: 14px; font-weight: 700; }
.pipe { fill: none; stroke: var(--line); stroke-width: 16; stroke-linecap: round; }
.hub { fill: var(--surface); stroke: var(--accent); stroke-width: 4; }
.st-body { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.st-awn { fill: var(--cta); }
.st-door { fill: var(--accent-soft); stroke: var(--accent); stroke-width: 2; }
.order-card rect { fill: var(--surface); stroke: var(--line); stroke-width: 2; filter: drop-shadow(0 8px 16px rgba(0,0,0,.18)); }
.order-card .ok-dot { fill: var(--ok); } .order-card .tick { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.order-card { transition: opacity .4s, transform .5s; }
#sp-dots circle { fill: var(--accent); transition: fill .3s; }
#sp-dots circle.warn, #sp-dots circle.dup { fill: var(--warn); }
#sp-dots circle.ok { fill: var(--ok); }
.plat circle { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.crack path { fill: none; stroke: var(--warn); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.crack, .server, .emq, .c-plat, #c-store { opacity: 0; transition: opacity .4s; }
.server rect { fill: color-mix(in srgb, var(--ok) 14%, transparent); stroke: var(--ok); stroke-width: 3; stroke-dasharray: 8 6; }
.emq rect { fill: var(--ok-soft); stroke: var(--ok); stroke-width: 2; } .emq text { fill: var(--ok); font-weight: 700; font-size: 15px; }
#story[data-scene="0"] #sv-order, #story[data-scene="1"] #sv-order { opacity: 1; }
#story:not([data-scene="0"]):not([data-scene="1"]) #sv-order { opacity: 0; }
#story[data-scene="2"] .crack { opacity: 1; }
#story[data-scene="2"] .c-plat, #story[data-scene="2"] #c-store, #story[data-scene="4"] .c-plat, #story[data-scene="4"] #c-store { opacity: 1; }
#story[data-scene="2"] .c-plat { fill: var(--warn); }
#story[data-scene="4"] .c-plat { fill: var(--ok); }
#story[data-scene="4"] .server, #story[data-scene="4"] .emq { opacity: 1; }
.person circle, .person path { fill: var(--line); transition: fill .4s; }
#story[data-scene="3"] .person:not(.buyer) circle, #story[data-scene="3"] .person:not(.buyer) path { fill: var(--muted); }
#story[data-scene="5"] .person.buyer circle, #story[data-scene="5"] .person.buyer path { fill: var(--ok); }
.coin, .coin-big { fill: var(--cta); } .coin-txt { fill: #fff; font-weight: 800; font-size: 18px; }
.chart rect { fill: var(--surface); stroke: var(--line); stroke-width: 2; }
.ch-axis { fill: none; stroke: var(--line); stroke-width: 2; }
.ch-line { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 400; stroke-dashoffset: 400; transition: stroke-dashoffset 1.2s ease .2s; }
.ch-line.bad { stroke: var(--warn); } .ch-line.good { stroke: var(--ok); }
#story[data-scene="3"] #ch-bad, #story[data-scene="5"] #ch-good { stroke-dashoffset: 0; }
@media (max-width: 860px) {
  #story { height: 560vh; }
  .story-stage { grid-template-columns: 1fr; grid-template-rows: auto 1fr; align-content: start; gap: 8px; padding-top: 76px; }
  .story-art { order: -1; }
  .story-art svg { max-height: 46svh; }
  .story-steps { min-height: 13rem; margin-top: 6px; }
  .story-step h2 { font-size: 1.45rem; }
  .story-step p { font-size: 0.98rem; margin-top: 8px; }
  .story-eyebrow { display: none; }
}
@media (prefers-reduced-motion: reduce) { .story-step, .sv-layer, .ch-line { transition: none; } }
@media (max-width: 860px) { .story-stage { align-items: start; } .story-art { padding-top: 8px; } }

/* ===== FINAL: light B2B palette, high contrast, readable type (overrides everything above) ===== */
html:root[data-palette]:not([data-zz]), html:root:not([data-zz]) {
  --bg: #F5F7FA; --surface: #FFFFFF; --ink: #0B1B33; --muted: #3B4A61; --line: #D6DDE7;
  --accent: #1D4ED8; --accent-ink: #FFFFFF; --accent-soft: #E4EBFD;
  --cta: #1D4ED8; --cta-ink: #FFFFFF;
  --warn: #B42318; --warn-soft: #FDECEA; --ok: #12733F; --ok-soft: #E3F4EA;
  --font-display: "Poppins", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Open Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
body { font-size: 17px; line-height: 1.7; color: var(--ink); }
h1, h2, h3, h4, .brand, .btn, .sv-lbl, .sv-big, .sv-num, .price, .proof-strip b { font-family: var(--font-display); }
.label { text-transform: none; letter-spacing: 0; font-size: 0.95rem; font-weight: 600; color: var(--accent); }
.mono { font-family: var(--font-display); }
.lede, .note, .muted, p { color: inherit; }
.lede { color: var(--muted); }
.story-step .mono { color: var(--accent); font-weight: 700; }
.story-pips i.on { background: var(--accent); }
.hero-proof .trust span:not(.stars) + span::before { content: ""; display: inline-block; width: 4px; height: 4px; border-radius: 50%; background: var(--muted); margin: 0 10px 3px 2px; }
.btn-primary { box-shadow: 0 8px 20px -10px rgba(29, 78, 216, .6); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
html:root:not([data-zz]) .hero { background: var(--bg); }
#gallery:not(.all) > *:nth-child(n+10) { display: none; }
@media (max-width: 700px) { #gallery:not(.all) > *:nth-child(n+7) { display: none; } }
.g-more-row { margin-top: 24px; text-align: center; }
#cost > .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
#cost .section-head { margin-bottom: 0; }
#cost .cost-solo { display: block; }
@media (max-width: 900px) { #cost > .wrap { grid-template-columns: 1fr; } }
.proof-strip b span { font-size: inherit; color: inherit; }

.btn-primary, .price-card .btn-primary, .article-cta .btn-primary { color: #FFFFFF; }
.stars { color: #B45309; }
.price-card, .article-cta, .review-card.feature { --on-dark: rgba(245, 247, 250, .9); }
.price-card li, .price-card p, .article-cta p, .price-card .label, .article-cta .label { color: rgba(245, 247, 250, .9) !important; opacity: 1 !important; }
.rv-feature .stars { color: #F2C14E; }
.nav a.btn-primary, .site-head a.btn-primary { color: #FFFFFF; }
.btn-wa { background: #0E7A3E; color: #FFFFFF; }
/* mobile readability + tap targets */
.badge-float small, .tool-name, .pill, .plat-tag, th { font-size: 12.5px !important; }
.filters button, .g-filter, [data-filter] { min-height: 40px; }
/* shorter story + clear "more below" cue */
#story { height: 330vh; }
@media (max-width: 860px) { #story { height: 300vh; } }
.story-cue { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; margin-top: 16px; font-size: 0.92rem; color: var(--muted); }
.story-cue-txt::after { content: ""; display: inline-block; width: 8px; height: 8px; margin-left: 10px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: translateY(-3px) rotate(45deg); animation: cue 1.4s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateY(2px) rotate(45deg); } }
.story-skip { color: var(--accent); font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
#story[data-scene="5"] .story-cue-txt { visibility: hidden; }
@media (prefers-reduced-motion: reduce) { .story-cue-txt::after { animation: none; } }
#story[data-scene="5"] .story-cue { visibility: hidden; }
.story-step .btn { margin-bottom: 8px; }
.story-steps { min-height: 16rem; }
@media (max-width: 860px) { .story-steps { min-height: 14.5rem; } }
