/* ==========================================================================
   NerdVision — design system
   Brand: cream paper, brown ink, yellow + cyan accents, chunky friendly type.
   ========================================================================== */

:root {
  --cream: #F7F1E6;
  --cream-2: #FFFDF7;
  --ink: #5A4A40;
  --ink-2: #3E322B;
  --ink-soft: #8A7B70;
  --line: #E6DCCB;
  --yellow: #FFD740;
  --yellow-2: #FFC400;
  --cyan: #4DD0E1;
  --cyan-2: #26C6DA;
  --coral: #FF8A65;
  --white: #fff;

  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius: 22px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(62,50,43,.06), 0 20px 50px -20px rgba(62,50,43,.25);
  --shadow-lg: 0 2px 4px rgba(62,50,43,.06), 0 40px 80px -30px rgba(62,50,43,.35);
  --sticker: 0 0 0 3px var(--ink-2), 6px 6px 0 var(--ink-2);

  --ease: cubic-bezier(.22,1,.36,1);
  --wrap: 1180px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: clip;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); color: var(--ink-2); line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--cyan-2); outline-offset: 3px; border-radius: 6px; }

.icon { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.wrap { width: min(var(--wrap), 100% - 2.5rem); margin-inline: auto; }
.wrap.narrow { max-width: 820px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink-2); color: #fff; padding: .6rem 1rem; z-index: 999; }
.skip-link:focus { left: 8px; }

/* ---------- type ---------- */
.h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 900; }
.h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); font-weight: 800; }
.h3 { font-size: 1.5rem; font-weight: 800; }
.lead { font-size: clamp(1.05rem, 1.4vw, 1.25rem); color: var(--ink); max-width: 60ch; }
.eyebrow {
  font-family: var(--font-mono); font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 1rem;
}
.eyebrow--pill {
  display: inline-flex; align-items: center; gap: .5rem; text-transform: none; letter-spacing: 0; font-family: var(--font-body); font-size: .9rem;
  background: var(--white); color: var(--ink-2); border: 2px solid var(--ink-2); border-radius: 999px; padding: .4rem 1rem .4rem .8rem;
  box-shadow: 3px 3px 0 var(--ink-2);
}
.eyebrow--pill .icon { color: var(--cyan-2); }

/* highlighted words: painted marker stroke that draws in */
.hl { position: relative; display: inline-block; white-space: nowrap; z-index: 0; }
.hl::before {
  content: ""; position: absolute; z-index: -1; left: -.15em; right: -.15em; bottom: .05em; height: .42em;
  background: var(--yellow); border-radius: .3em; transform: skew(-6deg) scaleX(0); transform-origin: left; transition: transform .7s var(--ease) .35s;
}
.hl--cyan::before { background: var(--cyan); }
.hl--coral::before { background: var(--coral); }
.in-view .hl::before, .hl.in-view::before { transform: skew(-6deg) scaleX(1); }

/* word-by-word entrance for headings */
.split .w { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(2deg); transition: opacity .6s var(--ease), transform .7s var(--ease); transition-delay: var(--wd, 0s); }
.split.in-view .w { opacity: 1; transform: none; }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .split .w { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hl::before { transform: skew(-6deg) scaleX(1) !important; }
  .float, .marquee-track, .hero-blob, .scroll-cue span, .mo-banner, .demo-arrow .icon,
  [data-morph] .mock--old, [data-morph] .mock--new, [data-morph] .url-old, [data-morph] .url-new,
  [data-morph] .morph-badge--old, [data-morph] .morph-badge--new { animation: none !important; }
  [data-morph] .mock--old, [data-morph] .url-old, [data-morph] .morph-badge--old { display: none; }
  .social-mock.in-view button.cal-day { animation: none; }
  .bar { transform: none !important; transition: none !important; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  border: 2px solid var(--ink-2); color: var(--ink-2); background: var(--white); position: relative; overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
  box-shadow: 3px 3px 0 var(--ink-2);
}
.btn::after { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cyan); transform: translateY(101%); transition: transform .35s var(--ease); }
.btn:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--ink-2); }
.btn:hover::after { transform: translateY(0); }
.btn:active { transform: translate(1px, 1px); box-shadow: 2px 2px 0 var(--ink-2); }
.btn .icon { transition: transform .3s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn--primary { background: var(--yellow); }
.btn--dark { background: var(--ink-2); color: var(--cream); }
.btn--dark::after { background: var(--yellow); }
.btn--dark:hover { color: var(--ink-2); }
.btn--ghost { background: transparent; box-shadow: none; border-color: var(--ink-2); }
.btn--ghost:hover { box-shadow: 4px 4px 0 var(--ink-2); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.05rem; }

/* ---------- header ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 101; pointer-events: none; }
.progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--yellow), var(--cyan)); }
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(247,241,230,.8); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 2px solid transparent; transition: border-color .3s, box-shadow .3s; }
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 10px 30px -20px rgba(62,50,43,.3); }
.header-inner { display: flex; align-items: center; gap: 2rem; padding: .9rem 0; }
.brand img { height: 44px; width: auto; }
.site-nav { margin-left: auto; }
.nav-list { display: flex; gap: .25rem; }
.nav-list a { display: block; padding: .5rem .9rem; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink); position: relative; transition: color .2s; }
.nav-list a::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .3rem; height: 3px; border-radius: 3px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-list a:hover::after, .nav-list a.is-active::after { transform: scaleX(1); }
.nav-list a:hover, .nav-list a.is-active { color: var(--ink-2); }
.header-cta { padding: .65rem 1.15rem; }
.nav-toggle { display: none; width: 44px; height: 44px; border: 2px solid var(--ink-2); border-radius: 12px; background: var(--white); flex-direction: column; justify-content: center; align-items: center; gap: 5px; box-shadow: 3px 3px 0 var(--ink-2); }
.nav-toggle span { display: block; width: 20px; height: 2.5px; background: var(--ink-2); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
.mobile-nav { display: none; padding: .5rem 1.25rem 1.5rem; border-top: 2px solid var(--line); }
.mobile-nav .nav-list { flex-direction: column; gap: 0; margin-bottom: 1rem; }
.mobile-nav .nav-list a { font-size: 1.15rem; padding: .8rem .5rem; }
.mobile-nav .btn { width: 100%; justify-content: center; }
.mobile-nav.is-open { display: block; }

@media (max-width: 900px) {
  .site-nav, .header-cta { display: none; }
  .nav-toggle { display: flex; margin-left: auto; }
}

/* ---------- cursor glow ---------- */
.cursor-glow { position: fixed; left: 0; top: 0; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: radial-gradient(circle, rgba(255,215,64,.35), rgba(77,208,225,.12) 45%, transparent 70%); opacity: 0; transition: opacity .6s; mix-blend-mode: multiply; }
body.has-pointer .cursor-glow { opacity: 1; }
@media (hover: none) { .cursor-glow { display: none; } }

/* ---------- sections ---------- */
.section { padding: clamp(4.5rem, 9vw, 8rem) 0; position: relative; }
.section-head { max-width: 760px; margin: 0 auto clamp(2.5rem, 5vw, 4rem); text-align: center; }
.section-head .lead { margin: 1.25rem auto 0; }
.section-head--left { margin-inline: 0; text-align: left; }
.section-head--left .lead { margin-inline: 0; }

/* ---------- hero ---------- */
.hero { position: relative; padding: clamp(3rem, 7vw, 6rem) 0 clamp(4rem, 8vw, 7rem); overflow: hidden; min-height: calc(100vh - 80px); display: flex; align-items: center; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; }
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none; animation: drift 18s ease-in-out infinite alternate; }
.hero-blob--yellow { width: 560px; height: 560px; background: var(--yellow); top: -180px; right: -120px; }
.hero-blob--cyan { width: 480px; height: 480px; background: var(--cyan); bottom: -200px; left: -160px; animation-delay: -6s; }
@keyframes drift { from { transform: translate(0,0) scale(1); } to { transform: translate(-40px, 50px) scale(1.12); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero-copy .h1 { margin: 1.25rem 0 1.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; margin: 2.75rem 0 0; padding-top: 1.75rem; border-top: 2px dashed var(--line); }
.hero-stats dt { font-family: var(--font-display); font-size: 1.9rem; font-weight: 900; color: var(--ink-2); line-height: 1; }
.hero-stats dd { margin: .3rem 0 0; font-size: .85rem; color: var(--ink-soft); max-width: 12rem; }
.hero-visual { position: relative; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.5rem; width: 26px; height: 42px; border: 2px solid var(--ink-2); border-radius: 14px; transform: translateX(-50%); display: none; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink-2); animation: cue 1.6s ease-in-out infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 100% { transform: translateY(16px); opacity: 0; } }
@media (min-width: 900px) { .scroll-cue { display: block; } }

/* browser chrome */
.browser { background: var(--white); border: 3px solid var(--ink-2); border-radius: 18px; box-shadow: var(--sticker); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 3px solid var(--ink-2); background: var(--cream); }
.browser-bar .dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--white); }
.browser-bar .dot:nth-child(1) { background: var(--coral); } .browser-bar .dot:nth-child(2) { background: var(--yellow); } .browser-bar .dot:nth-child(3) { background: var(--cyan); }
.browser-bar .url { margin-left: 8px; flex: 1; font-family: var(--font-mono); font-size: .7rem; color: var(--ink-soft); background: var(--white); border: 2px solid var(--line); border-radius: 8px; padding: 3px 10px; position: relative; overflow: hidden; height: 24px; }
.browser-bar .url > span { position: absolute; left: 10px; top: 3px; transition: transform .6s var(--ease), opacity .4s; }
.browser-body { position: relative; aspect-ratio: 16 / 11; }
.browser--hero { transform-style: preserve-3d; }
.tilt { transition: transform .3s ease-out; will-change: transform; }

/* old-site mock */
.mock { position: absolute; inset: 0; padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.mock--old { background: #d9d9d9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='6' height='6'%3E%3Ccircle cx='1' cy='1' r='.7' fill='%23bbb'/%3E%3C/svg%3E"); font-family: 'Times New Roman', serif; }
.mo-banner { background: linear-gradient(#1a3fd1, #0a1e6b); color: #ff0; font-weight: 700; text-align: center; padding: 8px; font-size: .78rem; letter-spacing: .05em; text-shadow: 1px 1px 0 #000; border: 2px outset #8fa3ff; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { color: #f0f; } }
.mo-nav { display: flex; gap: 4px; }
.mo-nav span { flex: 1; text-align: center; background: linear-gradient(#f8f8f8, #b8b8b8); border: 2px outset #ddd; font-size: .6rem; padding: 3px; color: #00e; text-decoration: underline; }
.mo-cols { display: flex; gap: 8px; flex: 1; }
.mo-side { width: 28%; background: #ffffcc; border: 1px solid #999; padding: 6px; display: flex; flex-direction: column; gap: 6px; }
.mo-side i, .mo-main i { display: block; height: 5px; background: #777; border-radius: 1px; }
.mo-main { flex: 1; background: #fff; border: 1px solid #999; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.mo-main b { display: block; height: 10px; width: 60%; background: #c00; }
.mo-main em { font-size: .6rem; color: #c00; font-style: normal; text-align: center; padding: 3px 0; }
.mo-footer { font-size: .55rem; text-align: center; color: #333; }

/* new-site mock */
.mock--new { background: var(--cream-2); }
.mn-nav { display: flex; align-items: center; gap: 8px; }
.mn-nav span { height: 6px; width: 28px; border-radius: 3px; background: var(--line); }
.mn-nav .mn-logo { width: 26px; height: 14px; border-radius: 5px; background: var(--ink-2); }
.mn-nav .mn-btn { margin-left: auto; width: 40px; height: 14px; border-radius: 7px; background: var(--yellow); border: 2px solid var(--ink-2); }
.mn-hero { display: flex; gap: 12px; align-items: center; flex: 1; }
.mn-hero > div:first-child { flex: 1; display: flex; flex-direction: column; gap: 6px; }
.mn-hero b { display: block; height: 14px; width: 90%; border-radius: 4px; background: var(--ink-2); }
.mn-hero b.short { width: 55%; background: var(--cyan); }
.mn-hero i { display: block; height: 6px; width: 80%; border-radius: 3px; background: var(--line); }
.mn-cta { width: 50px; height: 14px; border-radius: 7px; background: var(--yellow); border: 2px solid var(--ink-2); margin-top: 4px; }
.mn-art { width: 38%; aspect-ratio: 1; border-radius: 14px; background: var(--yellow); border: 2px solid var(--ink-2); position: relative; overflow: hidden; }
.mn-art span { position: absolute; border-radius: 50%; background: var(--cyan); border: 2px solid var(--ink-2); }
.mn-art span:nth-child(1) { width: 45%; height: 45%; left: 10%; top: 15%; }
.mn-art span:nth-child(2) { width: 30%; height: 30%; right: 8%; bottom: 10%; background: var(--coral); }
.mn-art span:nth-child(3) { width: 20%; height: 20%; right: 20%; top: 8%; background: var(--white); }
.mn-cards { display: flex; gap: 8px; }
.mn-cards span { flex: 1; height: 26px; border-radius: 6px; background: var(--white); border: 2px solid var(--ink-2); }

/* hero morph: old -> new loop */
[data-morph] .mock--old { z-index: 2; animation: morph-old 8s var(--ease) infinite; }
[data-morph] .morph-badge { z-index: 3; }
[data-morph] .mock--new { animation: morph-new 8s var(--ease) infinite; }
[data-morph] .url-old { animation: url-old 8s var(--ease) infinite; }
[data-morph] .url-new { animation: url-new 8s var(--ease) infinite; }
[data-morph] .morph-badge--old { animation: url-old 8s var(--ease) infinite; }
[data-morph] .morph-badge--new { animation: url-new 8s var(--ease) infinite; }
@keyframes morph-old { 0%, 38% { clip-path: inset(0 0 0 0); } 50%, 88% { clip-path: inset(0 0 0 100%); } 100% { clip-path: inset(0 0 0 0); } }
@keyframes morph-new { 0%, 38% { transform: scale(.96); } 50%, 88% { transform: scale(1); } }
@keyframes url-old { 0%, 40% { transform: none; opacity: 1; } 50%, 90% { transform: translateY(-120%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes url-new { 0%, 40% { transform: translateY(120%); opacity: 0; } 50%, 90% { transform: none; opacity: 1; } 100% { transform: translateY(120%); opacity: 0; } }
.morph-badge { position: absolute; top: 10px; right: 10px; overflow: hidden; font-family: var(--font-mono); font-size: .65rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; border: 2px solid var(--ink-2); background: var(--white); color: var(--ink-2); }
.morph-badge--old { background: var(--coral); }
.morph-badge--new { background: var(--cyan); }

/* stickers */
.sticker { position: absolute; display: inline-flex; align-items: center; gap: .45rem; font-weight: 800; font-family: var(--font-display); font-size: .95rem; padding: .55rem .95rem; border-radius: 999px; border: 3px solid var(--ink-2); background: var(--white); box-shadow: 4px 4px 0 var(--ink-2); color: var(--ink-2); }
.sticker .icon { color: var(--ink-2); }
.sticker--a { top: -1.2rem; left: -1rem; background: var(--yellow); transform: rotate(-6deg); }
.sticker--b { bottom: -1.2rem; right: -.5rem; background: var(--cyan); transform: rotate(4deg); }
.sticker--c { top: 42%; right: -1.6rem; background: var(--white); transform: rotate(8deg); }
.float { animation: float 5s ease-in-out infinite; animation-delay: var(--fd, 0s); }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }

@media (max-width: 900px) {
  .hero { min-height: 0; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { margin: 2rem 1rem 1rem; }
  .sticker { font-size: .8rem; }
  .sticker--c { right: -.5rem; }
}

/* ---------- marquee ---------- */
.marquee { background: var(--ink-2); color: var(--cream); overflow: hidden; padding: .9rem 0; border-block: 3px solid var(--ink-2); transform: rotate(-1deg) scale(1.02); position: relative; z-index: 2; }
.marquee-track { display: flex; gap: 3rem; width: max-content; animation: marquee 40s linear infinite; font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: .01em; }
.marquee-track span { display: inline-flex; align-items: center; gap: 3rem; white-space: nowrap; }
.marquee-track span::after { content: "✦"; color: var(--yellow); }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- refresh: before/after ---------- */
.refresh-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.compare-frame { position: relative; border: 3px solid var(--ink-2); border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--sticker); background: #fff; --pos: 55%; user-select: none; }
.compare-after, .compare-before { position: absolute; inset: 0; }
.compare-before { clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mock--static { animation: none !important; position: absolute; }
.compare-label { position: absolute; top: 12px; font-family: var(--font-mono); font-size: .68rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; border: 2px solid var(--ink-2); color: var(--ink-2); }
.compare-label--before { left: 12px; background: var(--coral); }
.compare-label--after { right: 12px; background: var(--cyan); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--ink-2); pointer-events: none; }
.compare-handle span { position: absolute; top: 50%; left: 50%; translate: -50% -50%; width: 44px; height: 44px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink-2); display: grid; place-items: center; font-weight: 900; font-size: 1.3rem; line-height: 1; color: var(--ink-2); box-shadow: 3px 3px 0 var(--ink-2); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; }
.compare-hint { text-align: center; margin-top: 1rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-soft); }

.points { display: flex; flex-direction: column; gap: 1.5rem; }
.points--tight { gap: 1.1rem; margin-top: 2rem; }
.point { display: flex; gap: 1rem; align-items: flex-start; }
.point-icon { flex: none; width: 40px; height: 40px; border-radius: 12px; border: 2.5px solid var(--ink-2); background: var(--yellow); display: grid; place-items: center; color: var(--ink-2); box-shadow: 3px 3px 0 var(--ink-2); transition: transform .3s var(--ease); }
.point-icon--cyan { background: var(--cyan); }
.point:hover .point-icon { transform: rotate(-8deg) scale(1.08); }
.point h3 { font-size: 1.15rem; margin-bottom: .25rem; }
.point p { color: var(--ink); font-size: .98rem; }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin: clamp(3rem, 6vw, 5rem) 0 0; }
.metric { background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 1.5rem 1.4rem; box-shadow: 5px 5px 0 var(--ink-2); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.metric:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink-2); }
.metric dt { font-family: var(--font-display); font-size: clamp(2.2rem, 3.5vw, 3rem); font-weight: 900; color: var(--ink-2); line-height: 1; }
.metric:nth-child(odd) dt { color: var(--cyan-2); }
.metric dd { margin: .5rem 0 0; font-size: .92rem; color: var(--ink-soft); }
@media (max-width: 900px) { .refresh-grid { grid-template-columns: 1fr; } .metrics { grid-template-columns: repeat(2, 1fr); } }

/* ---------- ownership + demo ---------- */
.ownership { background: var(--ink-2); color: var(--cream); overflow: hidden; }
.ownership::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px); background-size: 26px 26px; pointer-events: none; }
.ownership .h2, .ownership .point h3 { color: var(--white); }
.ownership .lead, .ownership .point p { color: rgba(247,241,230,.8); }
.ownership .eyebrow { color: var(--yellow); }
.ownership .point-icon { box-shadow: 3px 3px 0 rgba(0,0,0,.4); border-color: var(--ink-2); }
.own-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; position: relative; }
.own-demo { display: grid; grid-template-columns: 1fr auto 1.2fr; gap: 1rem; align-items: center; }
.demo-admin { background: #f0f0f1; color: #1d2327; border-radius: 12px; overflow: hidden; border: 3px solid var(--ink-2); box-shadow: 6px 6px 0 rgba(0,0,0,.45); font-family: var(--font-body); }
.demo-admin-bar { background: #1d2327; color: #f0f0f1; font-size: .72rem; padding: 6px 10px; display: flex; align-items: center; gap: 8px; }
.demo-wp { width: 18px; height: 18px; border-radius: 50%; background: #f0f0f1; color: #1d2327; display: grid; place-items: center; font-weight: 900; font-size: .7rem; }
.demo-save { margin-left: auto; background: #2271b1; color: #fff; padding: 2px 8px; border-radius: 3px; font-size: .65rem; transition: background .3s; }
.demo-save.is-dirty { background: #d63638; }
.demo-group { padding: 10px 12px 12px; background: #fff; border-top: 1px solid #c3c4c7; }
.demo-group-title { font-weight: 600; font-size: .78rem; margin: 0 0 8px; padding-bottom: 6px; border-bottom: 1px solid #dcdcde; }
.demo-field { display: block; margin-bottom: 10px; }
.demo-field > span { display: block; font-size: .7rem; font-weight: 600; color: #1d2327; margin-bottom: 3px; }
.demo-field input { width: 100%; font: inherit; font-size: .8rem; padding: 6px 8px; border: 1px solid #8c8f94; border-radius: 4px; background: #fff; color: #2c3338; box-shadow: 0 0 0 transparent; transition: border-color .2s, box-shadow .2s; }
.demo-field input:focus { border-color: #2271b1; box-shadow: 0 0 0 1px #2271b1; outline: none; }
.demo-swatches { display: flex; gap: 6px; }
.demo-swatches button { width: 24px; height: 24px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1px #8c8f94; transition: transform .2s var(--ease), box-shadow .2s; }
.demo-swatches button:hover { transform: scale(1.12); }
.demo-swatches button.is-active { box-shadow: 0 0 0 2px #2271b1; }
.demo-arrow { color: var(--yellow); display: grid; place-items: center; }
.demo-arrow .icon { width: 2rem; height: 2rem; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateX(6px); } }
.browser--demo { box-shadow: 6px 6px 0 rgba(0,0,0,.45); }
.demo-site { padding: 12px; background: var(--cream-2); color: var(--ink-2); }
.ds-nav { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.ds-nav span { height: 6px; width: 24px; border-radius: 3px; background: var(--line); }
.ds-nav .ds-logo { width: auto; height: auto; font-family: var(--font-display); font-weight: 900; font-size: .8rem; background: var(--accent); padding: 2px 6px; border-radius: 6px; border: 2px solid var(--ink-2); transition: background .4s; margin-right: auto; }
.ds-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; align-items: stretch; }
.ds-hero h4 { font-size: 1.05rem; line-height: 1.15; margin-bottom: 6px; min-height: 2.3em; transition: color .2s; }
.ds-hero h4.is-updating, .ds-btn.is-updating, .ds-card strong.is-updating { animation: pop .35s var(--ease); }
@keyframes pop { 30% { transform: scale(1.06); background-color: var(--cyan); } }
.ds-hero p { font-size: .62rem; color: var(--ink-soft); margin-bottom: 8px; }
.ds-btn { display: inline-block; font-size: .65rem; font-weight: 800; padding: 5px 10px; border-radius: 999px; background: var(--accent); border: 2px solid var(--ink-2); box-shadow: 2px 2px 0 var(--ink-2); transition: background .4s; min-width: 2rem; }
.ds-card { background: var(--white); border: 2px solid var(--ink-2); border-radius: 12px; padding: 8px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; box-shadow: 3px 3px 0 var(--ink-2); position: relative; }
.ds-tag { position: absolute; top: -8px; right: -6px; background: var(--accent); font-size: .5rem; font-weight: 800; padding: 2px 6px; border-radius: 999px; border: 2px solid var(--ink-2); transition: background .4s; }
.ds-card b { font-size: 1.6rem; line-height: 1; margin-top: 4px; }
.ds-card p { font-size: .6rem; color: var(--ink-soft); }
.ds-card strong { font-family: var(--font-display); font-size: 1.1rem; display: inline-block; padding: 0 4px; border-radius: 4px; }
.demo-caption { grid-column: 1 / -1; text-align: center; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .06em; color: rgba(247,241,230,.7); margin-top: .25rem; }
@media (max-width: 1000px) { .own-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .own-demo { grid-template-columns: 1fr; } .demo-arrow .icon { transform: rotate(90deg); } @keyframes nudge { 50% { transform: rotate(90deg) translateX(6px); } } }

/* ---------- builders vs us ---------- */
.builders { background: var(--cream-2); border-top: 3px solid var(--ink-2); overflow: hidden; }
.versus { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: stretch; }
.versus-col { border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 1.75rem; box-shadow: 6px 6px 0 var(--ink-2); display: flex; flex-direction: column; gap: 1.25rem; }
.versus-col--them { background: #ECE6DC; transform: rotate(-.6deg); }
.versus-col--us { background: var(--white); transform: rotate(.6deg); }
.versus.reveal:not(.in-view) .versus-col { transform: none; }
.versus-head { display: flex; flex-direction: column; gap: .9rem; padding-bottom: 1rem; border-bottom: 2px dashed var(--line); }
.versus-tag { align-self: flex-start; font-family: var(--font-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; padding: .35rem .8rem; border-radius: 999px; border: 2px solid var(--ink-2); background: var(--coral); color: var(--ink-2); }
.versus-col--us .versus-tag { background: var(--cyan); }
.bloat-meter { display: grid; gap: .4rem; }
.bloat-bar { display: block; height: 14px; border-radius: 999px; border: 2px solid var(--ink-2); background: var(--white); position: relative; overflow: hidden; }
.bloat-bar::after { content: ""; position: absolute; inset: 0; width: var(--w); background: repeating-linear-gradient(-45deg, var(--coral) 0 8px, #ff6f43 8px 16px); transform: scaleX(0); transform-origin: left; transition: transform 1.4s var(--ease) .2s; }
.bloat-bar--good::after { background: var(--cyan); }
.in-view .bloat-bar::after { transform: scaleX(1); }
.bloat-meter em { font-style: normal; font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--ink-2); }
.bloat-meter b { font-size: 1.6rem; }
.versus-list { display: flex; flex-direction: column; gap: .9rem; }
.versus-list li { display: flex; gap: .7rem; align-items: flex-start; font-size: .95rem; }
.versus-list li strong { color: var(--ink-2); }
.versus-list .icon { flex: none; width: 1.5rem; height: 1.5rem; padding: .2rem; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--coral); stroke-width: 3; margin-top: .05rem; }
.versus-col--us .versus-list .icon { background: var(--cyan); }
.versus-vs { display: grid; place-items: center; }
.versus-vs span { width: 64px; height: 64px; border-radius: 50%; background: var(--yellow); border: 3px solid var(--ink-2); box-shadow: 4px 4px 0 var(--ink-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.3rem; text-transform: uppercase; color: var(--ink-2); transform: rotate(-8deg); }
.builders-note { margin: 2.5rem auto 0; max-width: 64ch; text-align: center; font-size: 1rem; }
.builders-note a { font-weight: 700; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .versus { grid-template-columns: 1fr; }
  .versus-col--them, .versus-col--us { transform: none; }
  .versus-vs span { transform: rotate(-8deg) scale(.85); }
}

/* ---------- packages ---------- */
.package-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; align-items: stretch; }
.package { position: relative; display: flex; flex-direction: column; background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: 6px 6px 0 var(--ink-2); transform-style: preserve-3d; }
.package--featured { background: var(--yellow); }
.package-flag { position: absolute; top: -1rem; left: 50%; translate: -50% 0; background: var(--ink-2); color: var(--cream); font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; padding: .35rem .9rem; border-radius: 999px; border: 2px solid var(--ink-2); }
.package-icon { font-size: 2rem; display: inline-block; margin-bottom: .75rem; transition: transform .4s var(--ease); }
.package:hover .package-icon { transform: rotate(-12deg) scale(1.15); }
.package-head h3 { font-size: 1.75rem; }
.package-tagline { margin-top: .35rem; color: var(--ink); font-size: .95rem; }
.package-price { margin: 1.5rem 0 1rem; display: flex; align-items: baseline; gap: .6rem; flex-wrap: wrap; }
.package-price small { font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.package-price strong { font-family: var(--font-display); font-size: 2.6rem; font-weight: 900; color: var(--ink-2); line-height: 1; }
.package-audience { font-size: .9rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: var(--cream); border: 2px dashed var(--line); margin-bottom: 1.25rem; }
.package--featured .package-audience { background: rgba(255,255,255,.55); border-color: rgba(62,50,43,.25); }
.package-features { display: flex; flex-direction: column; gap: .6rem; margin-bottom: 1.75rem; flex: 1; }
.package-features li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.package-features .icon { color: var(--cyan-2); margin-top: .2em; stroke-width: 3; }
.package--featured .package-features .icon { color: var(--ink-2); }
.package-cta { justify-content: center; }
.package--featured .package-cta { background: var(--white); }
.packages-note { margin-top: 2.5rem; text-align: center; display: flex; justify-content: center; align-items: center; gap: .5rem; flex-wrap: wrap; font-size: .95rem; color: var(--ink); }
.packages-note .icon { color: var(--yellow-2); }
@media (max-width: 960px) { .package-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } .package--featured { order: -1; } }

/* ---------- after launch: self-serve vs care plan ---------- */
.aftercare { margin-top: clamp(3.5rem, 7vw, 5.5rem); padding-top: clamp(2.5rem, 5vw, 4rem); border-top: 3px dashed var(--line); }
.section-head--tight { margin-bottom: 2.25rem; }
.section-head--tight .h3 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
.care-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 1.5rem; align-items: stretch; }
.care-card { position: relative; display: flex; flex-direction: column; gap: 1rem; background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 2rem 1.75rem; box-shadow: 6px 6px 0 var(--ink-2); }
.care-card--featured { background: var(--cyan); }
.care-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.care-head h4 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.care-price strong { font-family: var(--font-display); font-size: 2rem; font-weight: 900; color: var(--ink-2); line-height: 1; }
.care-price small { font-size: .85rem; font-weight: 600; color: var(--ink-soft); margin-left: .15rem; }
.care-card--featured .care-price small { color: var(--ink-2); }
.care-blurb { font-size: .98rem; }
.care-features { display: flex; flex-direction: column; gap: .6rem; }
.care-features li { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; }
.care-features .icon { color: var(--cyan-2); margin-top: .2em; stroke-width: 3; }
.care-tiers { display: flex; flex-direction: column; gap: .75rem; }
.care-tiers li { display: grid; grid-template-columns: 9.5rem 1fr; gap: .75rem; padding: .8rem 1rem; background: rgba(255,255,255,.7); border: 2px solid var(--ink-2); border-radius: var(--radius-sm); font-size: .92rem; }
.care-tiers b { font-family: var(--font-mono); font-size: .85rem; }
.care-foot { font-size: .9rem; font-weight: 600; margin-top: auto; }
@media (max-width: 900px) {
  .care-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .care-tiers li { grid-template-columns: 1fr; gap: .25rem; }
}

/* ---------- process ---------- */
.process { background: var(--cream-2); border-block: 3px solid var(--ink-2); }
.steps { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; counter-reset: step; }
.steps-line { position: absolute; top: 28px; left: 8%; right: 8%; height: 4px; background: var(--line); border-radius: 4px; overflow: hidden; }
.steps-line span { display: block; height: 100%; width: var(--progress, 0%); background: linear-gradient(90deg, var(--yellow), var(--cyan)); transition: width .2s linear; }
.step { position: relative; padding-top: 4.5rem; }
.step-num { position: absolute; top: 0; left: 0; width: 56px; height: 56px; border-radius: 50%; background: var(--white); border: 3px solid var(--ink-2); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: 1.05rem; box-shadow: 4px 4px 0 var(--ink-2); transition: background .3s, transform .3s var(--ease); }
.step:nth-child(even) .step-num { background: var(--yellow); }
.step:hover .step-num { transform: rotate(-8deg) scale(1.08); background: var(--cyan); }
.step h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.step p { font-size: .95rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; gap: 2.5rem; padding-left: 4.5rem; }
  .steps-line { left: 26px; top: 0; bottom: 0; right: auto; height: auto; width: 4px; }
  .steps-line span { width: 100% !important; height: var(--progress, 0%); }
  .step { padding-top: 0; }
  .step-num { left: -4.5rem; top: -.25rem; }
}

/* ---------- work ---------- */
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.work-card { background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); overflow: hidden; box-shadow: 6px 6px 0 var(--ink-2); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-card:hover { transform: translate(-4px, -4px); box-shadow: 10px 10px 0 var(--ink-2); }
.work-media { position: relative; aspect-ratio: 16 / 10; border-bottom: 3px solid var(--ink-2); display: grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, hsl(var(--hue) 90% 72%), hsl(calc(var(--hue) + 40) 80% 60%)); }
.work-media::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(62,50,43,.18) 1.5px, transparent 1.5px); background-size: 18px 18px; }
.work-media img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-ba { width: 100%; padding: 0; margin: 0; border-inline: 0; border-top: 0; background: var(--cream); cursor: pointer; font: inherit; color: inherit; display: block; }
.work-ba:focus-visible { outline: 3px solid var(--cyan-2); outline-offset: -3px; }
.work-ba img { position: absolute; inset: 0; display: block; }
.work-before { clip-path: inset(0 100% 0 0); filter: saturate(.7); transition: clip-path .7s var(--ease); }
.work-tag { position: absolute; top: 12px; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 999px; border: 2px solid var(--ink-2); box-shadow: 3px 3px 0 var(--ink-2); transition: opacity .4s var(--ease), transform .5s var(--ease); }
.work-tag-after { right: 12px; background: var(--yellow); color: var(--ink-2); }
.work-tag-before { left: 12px; background: var(--white); color: var(--ink-2); opacity: 0; transform: translateX(-8px); }
.work-ba::after { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 4px; background: var(--white); box-shadow: 0 0 0 1px var(--ink-2); transform: translateX(-100%); transition: transform .7s var(--ease); }
.work-card:hover .work-before, .work-ba[aria-pressed="true"] .work-before, .work-ba:focus-visible .work-before { clip-path: inset(0 0 0 0); }
.work-card:hover .work-ba::after, .work-ba[aria-pressed="true"]::after, .work-ba:focus-visible::after { transform: translateX(calc(100cqw - 4px)); }
.work-card:hover .work-tag-before, .work-ba[aria-pressed="true"] .work-tag-before, .work-ba:focus-visible .work-tag-before { opacity: 1; transform: none; }
.work-card:hover .work-tag-after, .work-ba[aria-pressed="true"] .work-tag-after, .work-ba:focus-visible .work-tag-after { opacity: 0; transform: translateX(8px); }
.work-media.work-ba { container-type: inline-size; }
.work-link { font-family: var(--font-mono); font-size: .78rem; font-weight: 600; color: var(--ink-2); text-decoration: none; border-bottom: 2px solid var(--yellow); align-self: flex-start; margin-top: .4rem; }
.work-link:hover { border-color: var(--cyan-2); }
@media (hover: none) { .work-card:hover .work-before { clip-path: inset(0 100% 0 0); } .work-card:hover .work-ba::after { transform: translateX(-100%); } .work-card:hover .work-tag-before { opacity: 0; } .work-card:hover .work-tag-after { opacity: 1; transform: none; }
  .work-ba[aria-pressed="true"] .work-before { clip-path: inset(0 0 0 0); } .work-ba[aria-pressed="true"]::after { transform: translateX(calc(100cqw - 4px)); } .work-ba[aria-pressed="true"] .work-tag-before { opacity: 1; } .work-ba[aria-pressed="true"] .work-tag-after { opacity: 0; } }
.work-body { padding: 1.5rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.work-client { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); }
.work-body h3 { font-size: 1.25rem; line-height: 1.2; }
.work-body p { font-size: .95rem; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: auto; padding-top: .5rem; }
.chips li { font-family: var(--font-mono); font-size: .68rem; padding: .25rem .6rem; border-radius: 999px; border: 2px solid var(--line); background: var(--cream); }
@media (max-width: 960px) { .work-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- social ---------- */
.social { background: var(--cream-2); border-top: 3px solid var(--ink-2); overflow: hidden; }
.social::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(62,50,43,.10) 1.4px, transparent 1.4px); background-size: 22px 22px; pointer-events: none; }
.social .wrap { position: relative; }
.social-flow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin: 0 0 clamp(2.5rem, 5vw, 4rem); counter-reset: flow; }
.social-flow li { position: relative; display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 1.1rem 1.1rem; background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius-sm); box-shadow: 5px 5px 0 var(--ink-2); font-size: .9rem; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.social-flow li:hover { transform: translate(-3px, -3px); box-shadow: 8px 8px 0 var(--ink-2); }
.social-flow li b { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink-2); }
.social-flow li span:last-child { color: var(--ink); line-height: 1.45; }
.flow-num { position: absolute; top: -16px; left: 14px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--ink-2); background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; font-size: .85rem; color: var(--ink-2); }
.social-flow li:nth-child(2n) .flow-num { background: var(--cyan); }
.social-flow li:nth-child(5) .flow-num { background: var(--coral); }
.social-flow li::after { content: ""; position: absolute; top: 50%; right: -1rem; width: 1rem; height: 3px; background: var(--ink-2); }
.social-flow li:last-child::after { display: none; }

.social-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 2rem; align-items: start; }
.social-mock { margin: 0; background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); box-shadow: 8px 8px 0 var(--ink-2); overflow: hidden; }
.social-mock figcaption { padding: .9rem 1.25rem 1.1rem; font-size: .9rem; color: var(--ink-soft); border-top: 2px dashed var(--line); }
.mock-bar { display: flex; align-items: center; gap: .75rem; padding: .65rem 1rem; background: var(--cream); border-bottom: 3px solid var(--ink-2); font-family: var(--font-mono); font-size: .75rem; }
.mock-bar--dark { background: var(--ink-2); color: var(--cream); }
.mock-dots { display: flex; gap: 5px; }
.mock-dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--coral); border: 1.5px solid var(--ink-2); }
.mock-dots i:nth-child(2) { background: var(--yellow); } .mock-dots i:nth-child(3) { background: var(--cyan); }
.mock-title { flex: 1; font-weight: 600; }
.mock-badge { padding: .2rem .6rem; border-radius: 999px; border: 2px solid var(--ink-2); background: var(--white); color: var(--ink-2); font-size: .68rem; white-space: nowrap; }
.mock-badge--yellow { background: var(--yellow); }

[data-platform="ig"] { --p: #E1306C; --p-soft: #FDE2EC; }
[data-platform="fb"] { --p: #1877F2; --p-soft: #DDEAFF; }
[data-platform="gbp"] { --p: #34A853; --p-soft: #DFF3E5; }
[data-platform="li"] { --p: #0A66C2; --p-soft: #DCE9F7; }

.cal { padding: 1rem 1.1rem .25rem; }
.cal-head { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .4rem; padding: 0 .1rem; }
.cal-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: .4rem; }
.cal-day { position: relative; min-height: 62px; border: 2px solid var(--line); border-radius: 8px; background: var(--cream-2); padding: .35rem .4rem; text-align: left; font: inherit; color: inherit; display: flex; flex-direction: column; gap: .3rem; }
.cal-num { font-family: var(--font-mono); font-size: .65rem; color: var(--ink-soft); }
button.cal-day { cursor: pointer; border-color: var(--ink-2); background: var(--p-soft); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
button.cal-day:hover { transform: translateY(-2px); box-shadow: 3px 3px 0 var(--ink-2); }
button.cal-day[aria-pressed="true"] { box-shadow: 3px 3px 0 var(--ink-2); outline: 3px solid var(--p); outline-offset: -3px; }
button.cal-day:focus-visible { outline: 3px solid var(--cyan-2); }
.cal-post { font-size: .68rem; font-weight: 600; line-height: 1.25; color: var(--ink-2); padding-left: .55rem; border-left: 3px solid var(--p); }
.social-mock.in-view button.cal-day { animation: cal-pop .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes cal-pop { from { opacity: 0; transform: scale(.85); } to { opacity: 1; transform: none; } }
.cal-legend { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: .9rem 0 .75rem; font-size: .72rem; font-family: var(--font-mono); }
.cal-legend span { display: inline-flex; align-items: center; gap: .4rem; }
.cal-legend span::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--p); border: 1.5px solid var(--ink-2); }
.cal-preview { display: grid; grid-template-columns: auto 1fr; gap: .35rem .75rem; align-items: center; padding: .8rem .9rem; margin-bottom: .9rem; background: var(--cream); border: 2px solid var(--ink-2); border-radius: var(--radius-sm); }
.cal-preview-chip { grid-row: 1 / 3; font-family: var(--font-mono); font-size: .68rem; padding: .3rem .6rem; border-radius: 999px; background: var(--p); color: #fff; border: 2px solid var(--ink-2); }
.cal-preview p { margin: 0; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.cal-status { display: inline-flex; align-items: center; gap: .3rem; font-size: .72rem; color: var(--ink-soft); font-family: var(--font-mono); }
.cal-status .icon { color: #2e9e4f; stroke-width: 3; }

.report { padding: 1.1rem 1.25rem .5rem; display: grid; gap: 1rem; }
.report-head { display: flex; align-items: center; gap: .75rem; }
.report-head img { width: 36px; height: 36px; border-radius: 50%; border: 2px solid var(--ink-2); background: var(--yellow); }
.report-head b { display: block; font-family: var(--font-display); font-size: 1.05rem; color: var(--ink-2); }
.report-head small { font-family: var(--font-mono); font-size: .68rem; color: var(--ink-soft); }
.report-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; margin: 0; }
.report-stats div { padding: .7rem .8rem; border: 2px solid var(--ink-2); border-radius: var(--radius-sm); background: var(--cream-2); }
.report-stats dt { font-size: .7rem; font-family: var(--font-mono); color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }
.report-stats dd { margin: .15rem 0 0; font-family: var(--font-display); font-weight: 900; font-size: 1.6rem; color: var(--ink-2); line-height: 1; }
.report-stats small { display: block; margin-top: .3rem; font-size: .7rem; font-weight: 700; }
.report-stats .up { color: #2e9e4f; }
.report-chart { border: 2px solid var(--ink-2); border-radius: var(--radius-sm); padding: .8rem .9rem .6rem; background: var(--cream-2); }
.report-chart-head { display: flex; justify-content: space-between; align-items: baseline; font-size: .78rem; margin-bottom: .6rem; gap: .5rem; flex-wrap: wrap; }
.report-chart-head b { font-family: var(--font-display); color: var(--ink-2); }
.report-chart-head span { font-family: var(--font-mono); font-size: .66rem; color: var(--ink-soft); display: inline-flex; align-items: center; gap: .3rem; }
.report-chart-head i { width: 9px; height: 9px; border-radius: 2px; background: var(--p); display: inline-block; border: 1px solid var(--ink-2); }
.bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: .6rem; height: 110px; align-items: end; }
.bar-col { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; align-items: end; height: 100%; position: relative; padding-bottom: 1rem; }
.bar-col small { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-family: var(--font-mono); font-size: .62rem; color: var(--ink-soft); }
.bar { display: block; height: var(--h); background: var(--p); border: 2px solid var(--ink-2); border-bottom: 0; border-radius: 4px 4px 0 0; transform-origin: bottom; transform: scaleY(0); transition: transform .9s var(--ease); }
.social-mock.in-view .bar { transform: scaleY(1); }
.bar-col:nth-child(2) .bar { transition-delay: .1s } .bar-col:nth-child(3) .bar { transition-delay: .2s } .bar-col:nth-child(4) .bar { transition-delay: .3s }
.report-notes { display: grid; gap: .6rem; }
.report-notes div { padding: .7rem .85rem; border-left: 4px solid var(--yellow); background: var(--cream); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; }
.report-notes div:last-child { border-left-color: var(--cyan); }
.report-notes b { display: block; font-family: var(--font-display); font-size: .85rem; color: var(--ink-2); margin-bottom: .15rem; }
.report-notes p { margin: 0; font-size: .85rem; line-height: 1.45; }

.social-cta { margin-top: clamp(2.5rem, 5vw, 4rem); display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding: 1.5rem 1.75rem; background: var(--yellow); border: 3px solid var(--ink-2); border-radius: var(--radius); box-shadow: 6px 6px 0 var(--ink-2); }
.social-cta p { margin: 0; max-width: 620px; font-weight: 500; color: var(--ink-2); }

@media (max-width: 1100px) { .social-flow { grid-template-columns: repeat(3, 1fr); } .social-flow li::after { display: none; } }
@media (max-width: 960px) { .social-grid { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
@media (max-width: 640px) {
  .social-flow { grid-template-columns: 1fr 1fr; gap: 1.25rem .75rem; }
  .social-flow li:last-child { grid-column: 1 / -1; }
  .cal-post { display: none; }
  .cal-day { min-height: 44px; }
  button.cal-day::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--p); border: 1.5px solid var(--ink-2); }
  .social-cta { justify-content: center; text-align: center; }
}

/* ---------- testimonials ---------- */
.testimonials { background: var(--yellow); border-block: 3px solid var(--ink-2); }
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.quote { margin: 0; background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 1.75rem; box-shadow: 6px 6px 0 var(--ink-2); display: flex; flex-direction: column; gap: 1rem; transition: transform .3s var(--ease); }
.quote:nth-child(2) { transform: rotate(1deg); } .quote:nth-child(1), .quote:nth-child(3) { transform: rotate(-1deg); }
.quote:hover { transform: rotate(0) translateY(-4px); }
.quote.reveal:not(.in-view) { transform: translateY(28px); }
.stars { color: var(--yellow-2); letter-spacing: .1em; font-size: 1.1rem; text-shadow: 0 0 0 var(--ink-2); }
.quote blockquote { margin: 0; font-family: var(--font-display); font-weight: 500; font-size: 1.15rem; line-height: 1.35; color: var(--ink-2); flex: 1; }
.quote figcaption { display: flex; align-items: center; gap: .8rem; font-size: .9rem; }
.quote figcaption span:last-child { display: flex; flex-direction: column; line-height: 1.25; }
.quote figcaption em { font-style: normal; color: var(--ink-soft); font-size: .8rem; }
.quote-avatar { width: 42px; height: 42px; border-radius: 50%; border: 2.5px solid var(--ink-2); background: var(--yellow); display: grid; place-items: center; font-family: var(--font-display); font-weight: 900; color: var(--ink-2); }
.quote-avatar--cyan { background: var(--cyan); } .quote-avatar--coral { background: var(--coral); }
@media (max-width: 960px) { .quote-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* ---------- faq ---------- */
.accordion { display: flex; flex-direction: column; gap: .8rem; }
.acc { background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius-sm); box-shadow: 4px 4px 0 var(--ink-2); overflow: hidden; }
.acc summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.4rem; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink-2); }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .icon { width: 1.4rem; height: 1.4rem; transition: transform .35s var(--ease); color: var(--cyan-2); stroke-width: 3; }
.acc[open] summary .icon { transform: rotate(135deg); }
.acc[open] summary { background: var(--cream); }
.acc-body { padding: 0 1.4rem 1.3rem; font-size: .98rem; color: var(--ink); }
.acc[open] .acc-body { animation: acc-in .4s var(--ease); }
@keyframes acc-in { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- contact ---------- */
.contact { background: var(--cream-2); border-top: 3px solid var(--ink-2); }
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: .8rem; margin: 1.5rem 0 2rem; }
.contact-details li { display: flex; align-items: flex-start; gap: .7rem; font-size: .98rem; }
.contact-details .icon { color: var(--cyan-2); margin-top: .2em; }
.contact-details a { font-weight: 600; color: var(--ink-2); text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 3px; text-underline-offset: 3px; }
.contact-badge { display: flex; gap: 1rem; align-items: center; background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: 1.1rem 1.25rem; box-shadow: 5px 5px 0 var(--ink-2); max-width: 420px; }
.contact-badge img { width: 52px; height: auto; }
.contact-badge p { font-size: .92rem; }
.contact-form { background: var(--white); border: 3px solid var(--ink-2); border-radius: var(--radius); padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: 8px 8px 0 var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; margin-bottom: 1.5rem; }
.field { grid-column: 1 / -1; display: flex; flex-direction: column; gap: .35rem; }
.field--half { grid-column: span 1; }
.field label { font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.req { color: var(--coral); }
.field input, .field select, .field textarea { font: inherit; padding: .8rem .95rem; border: 2px solid var(--line); border-radius: var(--radius-sm); background: var(--cream-2); color: var(--ink-2); transition: border-color .2s, box-shadow .2s, transform .2s; width: 100%; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink-2); box-shadow: 3px 3px 0 var(--cyan); }
.field textarea { resize: vertical; min-height: 130px; }
.field small { font-size: .78rem; color: var(--ink-soft); }
.hp { position: absolute; left: -9999px; }
.contact-form .btn { width: 100%; justify-content: center; }
.form-status { margin-top: 1rem; padding: 1rem 1.2rem; border-radius: var(--radius-sm); border: 2px solid var(--ink-2); background: var(--cyan); font-weight: 600; display: flex; gap: .6rem; align-items: center; }
.form-status[hidden] { display: none; }
.form-status--error { background: var(--coral); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } .field--half { grid-column: 1 / -1; } }

/* ---------- footer ---------- */
.site-footer { background: var(--ink-2); color: var(--cream); border-top: 3px solid var(--ink-2); }
.footer-inner { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 2rem; align-items: center; padding: 3rem 0 2rem; }
.footer-brand { display: flex; align-items: center; gap: 1rem; }
.footer-icon { width: 56px; height: auto; }
.footer-tagline { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; max-width: 24rem; }
.footer-nav .nav-list { flex-wrap: wrap; justify-content: center; }
.footer-nav a { color: var(--cream); }
.footer-nav a::after { background: var(--cyan); }
.footer-nav a:hover { color: var(--white); }
.footer-contact a { font-weight: 700; color: var(--yellow); }
.footer-note { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding: 1.25rem 0 2rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .85rem; color: rgba(247,241,230,.7); }
.to-top { color: var(--cream); font-weight: 600; }
@media (max-width: 900px) { .footer-inner { grid-template-columns: 1fr; text-align: center; } .footer-brand { flex-direction: column; } }
