/* Plakard landing page - product-forward, publisher-first. */
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/jost-v20-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/jost-v20-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-v38-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Fraunces';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/fraunces-v38-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/merriweather-v33-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('assets/fonts/merriweather-v33-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/merriweather-v33-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Merriweather';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('assets/fonts/merriweather-v33-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-v24-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('assets/fonts/jetbrains-mono-v24-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-science-blue: #1D69D9;
  --color-blue-hover: #1557B8;
  --color-blue-deep: #0F3F85;
  --color-lavender-magenta: #F499FF;
  --color-picton-blue: #00B0FF;
  --color-big-stone: #1A2A3D;
  --color-mercury: #E9E9E9;
  --color-white: #FFFFFF;
  --color-gray-50: #F8F9FA;
  --color-gray-100: #F0F2F5;
  --color-text: #1A2A3D;
  --color-text-light: #5A6A7D;
  --color-text-xlight: #6A737E;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --color-warn: #D97706;

  --blue-tint: rgba(29,105,217,0.10);
  --blue-tint-soft: rgba(29,105,217,0.05);
  --magenta-tint: rgba(244,153,255,0.16);

  --font-sans: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Jost', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  --space-xs: 8px; --space-sm: 16px; --space-md: 24px; --space-lg: 32px;
  --space-xl: 48px; --space-2xl: 64px; --space-3xl: 128px;
  --section-title-mb: 80px;

  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 20px; --radius-pill: 9999px;

  --shadow-sm: 0 1px 2px rgba(26,42,61,0.06);
  --shadow-md: 0 4px 12px rgba(26,42,61,0.08);
  --shadow-lg: 0 16px 40px rgba(26,42,61,0.12);
  --shadow-xl: 0 24px 60px rgba(26,42,61,0.16);
  --shadow-cta: 0 8px 24px rgba(29,105,217,0.32);

  --dur-fast: 150ms; --dur-base: 250ms; --dur-slow: 500ms;
  --container-max: 1200px;
  --container-wide: 1320px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
button { border: none; background: none; cursor: pointer; font: inherit; color: inherit; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(36px, 6vw, 64px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 4vw, 44px); }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
p { line-height: 1.6; }

/* ---------- Layout ---------- */
.container { max-width: var(--container-max); margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
@media (max-width: 520px) {
  .container, .container-wide { padding: 0 16px; }
}
.section { padding: var(--space-3xl) 0; }
/* Anchor links target <section id="...">. Cancel the section's top padding so
   the heading lands right under the sticky header instead of mid-padding. */
.section { scroll-margin-top: calc(var(--space-3xl) * -1); }
.section-gray { background: var(--color-gray-50); }
.section-dark { background: var(--color-big-stone); color: var(--color-white); }
.section-dark h2, .section-dark h3 { color: var(--color-white); }
.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-science-blue);
  margin-bottom: 16px;
}
.section-dark .eyebrow { color: var(--color-picton-blue); }
.section-title-group { max-width: 780px; margin: 0 auto var(--section-title-mb); text-align: center; }

/* Tighten vertical rhythm on anything narrower than ~1440px */
@media (max-width: 1439px) {
  :root {
    --space-3xl: 80px;
    --space-2xl: 48px;
    --space-xl: 36px;
    --section-title-mb: 56px;
  }
}
@media (max-width: 720px) {
  :root {
    --space-3xl: 56px;
    --space-2xl: 36px;
    --space-xl: 28px;
    --section-title-mb: 40px;
  }
}
.section-title-group .lead { font-size: 19px; color: var(--color-text-light); margin-top: 16px; text-wrap: pretty; }
.section-dark .lead { color: rgba(255,255,255,0.7); }
.demo-ribbon { position: absolute; top: 0; right: 0; width: 96px; height: 96px; overflow: hidden; pointer-events: none; z-index: 1; }
.demo-ribbon span {
  position: absolute; top: 21px; right: -31px; width: 130px; padding: 5px 0;
  transform: rotate(45deg); background: var(--color-gray-100); color: var(--color-text-light);
  font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; text-align: center;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; font-size: 15px; font-weight: 500;
  border-radius: var(--radius-pill);
  transition: all var(--dur-base) ease;
  border: 2px solid transparent; white-space: nowrap; cursor: pointer;
}
.btn-primary { background: var(--color-science-blue); color: #fff; box-shadow: var(--shadow-cta); }
.btn-primary:hover { background: var(--color-blue-hover); transform: translateY(-1px); box-shadow: 0 12px 30px rgba(29,105,217,0.42); }
.btn-secondary { background: transparent; color: var(--color-science-blue); border-color: var(--color-science-blue); }
.btn-secondary:hover { background: var(--color-science-blue); color: #fff; }
.btn-ghost { background: transparent; color: var(--color-text); padding: 14px 20px; }
.btn-ghost:hover { color: var(--color-science-blue); }
.btn-dark { background: #fff; color: var(--color-big-stone); }
.btn-dark:hover { background: var(--color-gray-100); transform: translateY(-1px); }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn-sm { padding: 8px 16px; font-size: 14px; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 14px;
  background: var(--blue-tint); color: var(--color-science-blue);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500;
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge-magenta { background: var(--magenta-tint); color: #A84DB8; }
.badge-warn { background: rgba(217,119,6,0.12); color: var(--color-warn); }
.badge-light { background: rgba(255,255,255,0.12); color: #fff; backdrop-filter: none; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; background: rgba(255,255,255,0.9);
  border-bottom: 1px solid transparent;
  padding: 14px 0; z-index: 1000;
  transition: all var(--dur-base) ease;
  backdrop-filter: saturate(160%) blur(12px);
  --header-h: 68px;
}
.header.scrolled { border-bottom-color: var(--color-mercury); background: rgba(255,255,255,0.96); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.header-logo { height: 28px; }
.nav-links { display: none; gap: 22px; align-items: center; margin: 0; padding: 0; list-style: none; }
.nav-link { font-weight: 500; font-size: 15px; color: var(--color-text); cursor: pointer; white-space: nowrap; }
.nav-link:hover { color: var(--color-science-blue); }
.header-cta { display: flex; gap: 8px; align-items: center; }
@media (min-width: 1100px) { .nav-links { display: flex; } }
@media (min-width: 1240px) { .nav-links { gap: 32px; } }

/* Mobile hamburger toggle */
.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 4px;
  width: 40px; height: 40px; padding: 0 10px;
  background: transparent; border: 1px solid var(--color-mercury); border-radius: 10px;
  cursor: pointer;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--color-text); border-radius: 2px;
  transition: transform var(--dur-fast), opacity var(--dur-fast);
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
@media (min-width: 1100px) { .nav-toggle { display: none; } }

/* Mobile menu sheet - sibling of .header to avoid backdrop-filter containing-block bug */
.mobile-menu {
  position: fixed; left: 0; right: 0; bottom: 0; top: 68px;
  background: #fff;
  z-index: 999;
  animation: menuFade var(--dur-fast) ease;
  overflow-y: auto;
}
@keyframes menuFade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
.mobile-menu-links {
  list-style: none; margin: 0; padding: 16px 24px;
  display: flex; flex-direction: column;
}
.mobile-menu-links li + li { border-top: 1px solid var(--color-mercury); }
.mobile-menu-links a {
  display: block; padding: 18px 4px;
  font-size: 18px; font-weight: 500; color: var(--color-text);
}
.mobile-menu-links a:hover { color: var(--color-science-blue); }

/* Tighter header CTA on mobile so logo + button + toggle fit */
@media (max-width: 520px) {
  .header-cta .btn { padding: 10px 14px; font-size: 14px; }
  .header-inner { gap: 8px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: var(--space-3xl) 0 var(--space-xl);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 80% 10%, rgba(0,176,255,0.10) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(244,153,255,0.08) 0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr; gap: var(--space-xl);
  align-items: center;
  position: relative; z-index: 1;
}
@media (min-width: 880px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 48px; }
}
@media (min-width: 1100px) {
  .hero-grid { gap: 64px; }
}
.hero-title {
  font-size: clamp(34px, 3.9vw, 54px);
  line-height: 1.06;
  text-wrap: balance;
  letter-spacing: -0.035em;
  margin-bottom: 24px;
}
.hero-title .accent {
  color: var(--color-science-blue);
  font-style: italic;
  font-family: 'Fraunces', serif;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-title .accent-period {
  font-style: normal;
  font-family: inherit;
  color: var(--color-science-blue);
}
.hero-sub {
  font-size: 19px; color: var(--color-text-light);
  margin-bottom: 32px; max-width: 540px;
  text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 20px; }
.hero-sign-in { color: var(--color-text-light); text-decoration: underline; white-space: nowrap; }
.hero-sign-in:hover { color: var(--color-text); }
.hero-signup-help { margin-bottom: 12px; font-size: 15px; color: var(--color-text-light); }
.hero-meta { font-size: 13px; color: var(--color-text-light); display: flex; gap: 16px; flex-wrap: wrap; }
.hero-meta svg { width: 14px; height: 14px; color: var(--color-success); }
.hero-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* Tablet & below: hero copy is alone in its column - center it so the right half doesn't read as empty. */
@media (max-width: 879px) {
  .hero-grid > div:first-child { text-align: center; }
  .hero-grid > div:first-child .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-grid > div:first-child .hero-ctas,
  .hero-grid > div:first-child .hero-meta { justify-content: center; }
}

/* ---------- Hero demo (side-by-side placement) ---------- */
.hero-demo {
  position: relative;
  width: 100%;
}
.hero-demo-frame {
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  position: relative;
}
.hero-demo-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-mercury);
}
.hero-demo-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d1d6dc; }
.hero-demo-bar .url {
  flex: 1; margin-left: 8px;
  background: #fff; border: 1px solid var(--color-mercury);
  padding: 5px 12px; border-radius: 6px;
  font-size: 12px; color: var(--color-text-light);
  font-family: var(--font-mono);
  display: flex; align-items: center; gap: 6px;
}
.hero-demo-body {
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--color-gray-50);
  min-height: 520px;
}
@media (min-width: 620px) {
  .hero-demo-body { grid-template-columns: 1fr 1fr; }
}
.hero-demo-col {
  padding: 22px 20px 56px;
  position: relative;
  background: #fff;
  display: flex; flex-direction: column;
}
.hero-demo-col-bad {
  background:
    repeating-linear-gradient(45deg, rgba(220,38,38,0.025) 0 8px, transparent 8px 16px),
    #fff;
}
.hero-demo-col-good {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(29,105,217,0.06), transparent 60%),
    #fff;
}
.hero-demo-col + .hero-demo-col { border-top: 1px dashed var(--color-mercury); }
@media (min-width: 620px) {
  .hero-demo-col + .hero-demo-col { border-top: none; border-left: 1px dashed var(--color-mercury); }
}

/* New column heads - make the comparison obvious */
.hero-demo-colhead {
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--color-mercury);
}
.hero-demo-eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  padding: 4px 8px; border-radius: 4px;
  margin-bottom: 8px;
}
.hero-demo-eyebrow.bad {
  color: var(--color-danger);
  background: rgba(220,38,38,0.08);
}
.hero-demo-eyebrow.good {
  color: var(--color-science-blue);
  background: var(--blue-tint);
}
.hero-demo-headline {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 600; line-height: 1.2;
  color: var(--color-text);
  letter-spacing: -0.01em;
  margin-bottom: 4px;
}
.hero-demo-sub {
  font-size: 12px; line-height: 1.4;
  color: var(--color-text-light);
  text-wrap: pretty;
}

/* Bottom-of-column tag */
.hero-demo-tag {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  padding: 6px 10px; border-radius: 6px;
  width: fit-content;
}
.hero-demo-tag-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 4px;
  font-size: 10px; font-weight: 700;
  background: currentColor;
}
.hero-demo-tag-count::before {
  content: attr(data-n);
}
.bad-tag {
  color: var(--color-danger);
  background: rgba(220,38,38,0.08);
}
.bad-tag .hero-demo-tag-count { color: #fff; }
.bad-tag .hero-demo-tag-count { background: var(--color-danger); }
.good-tag {
  color: var(--color-science-blue);
  background: var(--blue-tint);
}
.good-tag .hero-demo-tag-count { background: var(--color-science-blue); color: #fff; }

/* Legacy label kept for any other usage */
.hero-demo-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.hero-demo-label.bad { color: var(--color-danger); }
.hero-demo-label.good { color: var(--color-science-blue); }
.hero-demo-label svg { width: 14px; height: 14px; flex-shrink: 0; }

/* Mini publisher home-page tile grid */
.home-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.home-tile {
  display: flex; flex-direction: column;
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
}
.home-tile-thumb {
  width: 100%; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 700; font-size: 24px;
  font-family: 'Fraunces', serif;
  border-radius: 4px;
  margin-bottom: 8px;
  position: relative; overflow: hidden;
}
/* Varied tile thumb styles */
.thumb-photo { position: relative; }
.thumb-photo-sun { position: absolute; inset: 0; }
.thumb-photo-horizon {
  position: absolute; bottom: 0; left: 0; right: 0; height: 35%;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.25));
}
.thumb-chart svg { width: 100%; height: 100%; }
.thumb-duotone svg { width: 100%; height: 100%; }
.thumb-typo { font-family: 'Fraunces', serif; }
.thumb-typo-q { font-size: 64px; line-height: 1; font-weight: 700; margin-top: -12px; }
.thumb-label { position: relative; }
.thumb-label-text {
  font-family: var(--font-inter); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(255,255,255,0.95); color: var(--color-text);
  padding: 3px 8px; border-radius: 2px;
}
.thumb-plakard {
  background: linear-gradient(135deg, #0B2447 0%, #1D69D9 100%);
  color: #fff;
  flex-direction: column; gap: 6px;
  font-family: var(--font-inter); font-size: 11px; font-weight: 600;
  letter-spacing: 0.02em;
}
.thumb-plakard-soft {
  background: linear-gradient(135deg, oklch(0.62 0.14 250) 0%, oklch(0.45 0.16 260) 100%);
  position: relative;
}
.thumb-plakard-soft.alt {
  background: linear-gradient(135deg, oklch(0.55 0.10 200) 0%, oklch(0.38 0.08 230) 100%);
}
.thumb-plakard-soft::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 25% 30%, rgba(255,255,255,0.25), transparent 55%);
}
.thumb-plakard-glyph {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 600;
  color: rgba(255,255,255,0.95);
  position: relative; z-index: 1;
}
.plakard-chip-badge {
  width: 26px; height: 26px; border-radius: 6px;
  background: linear-gradient(135deg, #00B0FF, #1D69D9);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif; font-size: 13px; font-weight: 700;
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
}
.home-tile-kicker {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-text-xlight); font-weight: 600; margin-bottom: 4px;
}
.home-tile-title {
  font-family: 'Fraunces', serif;
  font-size: 13px; font-weight: 600; line-height: 1.25;
  color: var(--color-text);
  margin-bottom: 4px;
}
.home-tile-deck {
  font-size: 11px; line-height: 1.4;
  color: var(--color-text-light);
  margin-bottom: 4px;
}
.home-tile-meta {
  font-size: 10px; color: var(--color-text-xlight);
}
.home-tile-ad {
  margin-top: 0 !important;
  padding: 10px 8px !important;
  font-size: 10px !important;
  line-height: 1.2 !important;
  display: flex; flex-direction: column; justify-content: center;
  text-align: center;
}
.home-tile-ad .cta-fake { font-size: 9px !important; padding: 2px 6px !important; margin-top: 4px; }
.plakard-tile {
  position: relative;
  outline: 1.5px solid rgba(29,105,217,0.22);
  outline-offset: -1px;
  border-radius: 6px;
  padding: 4px;
  margin: -4px;
  background: linear-gradient(180deg, rgba(29,105,217,0.04), transparent 60%);
}
.plakard-kicker {
  display: flex !important; align-items: center; justify-content: space-between;
  gap: 6px;
}
.plakard-sponsored {
  position: absolute; top: 6px; right: 6px;
  font-size: 8px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: #fff;
  background: rgba(11,36,71,0.55);
  backdrop-filter: blur(4px);
  padding: 3px 6px; border-radius: 3px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.18);
}
.plakard-tile .sponsored-chip {
  color: var(--color-science-blue);
  background: var(--blue-tint);
  padding: 2px 6px; border-radius: 3px;
}
/* Bad ad: loud ad-network banner */
.ad-bad {
  margin-top: 0;
  background: linear-gradient(135deg, #ff4757 0%, #ffa502 50%, #7bed9f 100%);
  border-radius: 6px;
  padding: 14px 10px;
  color: white;
  font-weight: 700;
  text-align: center;
  position: relative;
  font-size: 12px;
  line-height: 1.25;
  text-shadow: 0 1px 0 rgba(0,0,0,0.15);
  box-shadow: 0 0 0 2px rgba(220,38,38,0.18), 0 6px 14px rgba(220,38,38,0.18);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 100%;
}
.ad-bad::before {
  content: 'AD'; position: absolute; top: 5px; left: 5px;
  background: rgba(0,0,0,0.55); color: #fff;
  font-size: 8px; padding: 2px 5px; border-radius: 3px; font-weight: 800;
  letter-spacing: 0.1em;
}
.ad-bad::after {
  content: '✕'; position: absolute; top: 4px; right: 6px;
  color: rgba(255,255,255,0.7); font-size: 11px; font-weight: 700;
}
.ad-bad .cta-fake {
  display: inline-block; margin-top: 6px;
  background: #fff; color: #ff4757; font-size: 10px;
  padding: 3px 10px; border-radius: 20px;
  text-shadow: none;
}
.ad-bad-banner {
  background: linear-gradient(135deg, #2a0845 0%, #d81b60 60%, #f59e0b 100%);
}
.ad-bad-banner .ad-bad-stars {
  color: #ffd60a; font-size: 11px; letter-spacing: 0.1em; margin-bottom: 4px;
  text-shadow: 0 0 6px rgba(255,214,10,0.6);
}
.ad-bad-glitch { animation: glitch 3s infinite; }
@keyframes glitch {
  0%, 92%, 100% { transform: translate(0); }
  93% { transform: translate(1px, -1px); }
  94% { transform: translate(-1px, 1px); }
  95% { transform: translate(1px, 1px); }
}

/* Good ad: native plakard */
.ad-good {
  margin-top: 10px;
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: 8px;
  padding: 12px;
  display: flex; gap: 10px;
  align-items: flex-start;
}
.ad-good .thumb {
  width: 44px; height: 44px; flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(135deg, #1D69D9, #00B0FF);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 16px;
  font-family: 'Fraunces', serif;
}
.ad-good .content { flex: 1; min-width: 0; }
.ad-good .kicker { font-size: 9px; color: var(--color-text-xlight); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 3px; display: flex; gap: 6px; align-items: center;}
.ad-good .kicker .sponsored { color: var(--color-science-blue); font-weight: 600; }
.ad-good .title { font-family: 'Fraunces', serif; font-size: 13px; font-weight: 600; color: var(--color-text); line-height: 1.25; margin-bottom: 2px; }
.ad-good .desc { font-size: 11px; color: var(--color-text-light); line-height: 1.4; }

/* Hero demo toggle */
.hero-demo-swap {
  position: absolute; bottom: 12px; left: 50%;
  transform: translateX(-50%);
  background: #fff; border: 1px solid var(--color-mercury); border-radius: var(--radius-pill);
  padding: 4px;
  display: inline-flex; gap: 2px;
  box-shadow: var(--shadow-md);
  font-size: 12px;
}
.hero-demo-swap button {
  padding: 6px 14px; border-radius: var(--radius-pill); font-weight: 500;
  color: var(--color-text-light); transition: all var(--dur-fast);
}
.hero-demo-swap button.active { background: var(--color-science-blue); color: #fff; }

/* Pointing annotations */
.annot {
  position: absolute;
  font-size: 11px;
  color: var(--color-text-light);
  font-weight: 500;
  display: flex; align-items: center; gap: 6px;
  pointer-events: none;
}
.annot svg { width: 24px; height: 24px; color: var(--color-science-blue); }

/* ---------- Feature hero (big anchor) ---------- */
.feature-hero {
  display: grid; gap: var(--space-xl);
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 900px) {
  .feature-hero { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; }
  .feature-hero.reverse > :first-child { order: 2; }
}
@media (min-width: 1200px) {
  .feature-hero { gap: 64px; }
}
.feature-hero-copy h2 { margin-bottom: 20px; }
.feature-hero-copy p { color: var(--color-text-light); font-size: 17px; margin-bottom: 20px; text-wrap: pretty; max-width: 480px; }
.feature-hero-bullets { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.feature-hero-bullets li { display: flex; gap: 12px; align-items: flex-start; }
.feature-hero-bullets svg { width: 22px; height: 22px; color: var(--color-science-blue); flex-shrink: 0; margin-top: 2px; }
.feature-hero-bullets b { font-weight: 600; color: var(--color-text); }

/* ---------- Native in the wild (3 publisher sites) ---------- */
.publisher-frame {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.publisher-frame .bar {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-mercury);
  font-size: 12px;
}
.publisher-frame .bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d1d6dc; }
.publisher-frame .bar .url { flex: 1; background: #fff; border: 1px solid var(--color-mercury); padding: 4px 10px; border-radius: 6px; font-family: var(--font-mono); color: var(--color-text-light); font-size: 11px; }

/* Three publisher mocks share a grid-based article layout */
.pub-body { padding: 24px; font-size: 14px; line-height: 1.6; }
.pub-body .pub-header { padding-bottom: 16px; margin-bottom: 20px; border-bottom: 1px solid var(--color-mercury); display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.pub-body .pub-logo { font-weight: 800; font-size: 20px; letter-spacing: -0.02em; }

/* ---- Publisher homepages: tile grid layouts ---- */

/* Shared: highlight animation for plakard-native tile */
.plakard-native {
  position: relative;
  box-shadow: 0 0 0 2px var(--color-science-blue), 0 0 0 6px var(--blue-tint);
  border-radius: 6px;
}
.plakard-native::after {
  content: 'The ad';
  position: absolute; top: -11px; right: 10px; z-index: 2;
  background: var(--color-science-blue); color: #fff;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600; line-height: 1.5;
  padding: 2px 9px; border-radius: 999px;
}

/* Brand block inside a plakard thumb */
.plakard-thumb {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.plakard-native-brand {
  display: flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,0.95);
  color: #111;
  padding: 6px 12px;
  border-radius: 999px;
  font-family: var(--font-inter);
  font-size: 12px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.plakard-native-brand.dark {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(6px);
  color: #fff;
}
.plakard-native-logo {
  width: 22px; height: 22px; border-radius: 5px;
  background: linear-gradient(135deg, #00B0FF, #1D69D9);
  color: #fff; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fraunces', serif;
}

/* ----- Morning Ledger: serif editorial home ----- */
.pub-ledger { font-family: 'Merriweather', Georgia, serif; background: #fffcf5; }
.pub-ledger .pub-logo { font-family: 'Fraunces', serif; font-weight: 700; font-style: italic; color: #1a1a1a; }

.led-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .led-grid { grid-template-columns: 1fr; } }
.led-tile .led-thumb {
  aspect-ratio: 4/3;
  margin-bottom: 10px;
  border: 1px solid #e0d4b8;
  position: relative;
  overflow: hidden;
}
.led-tile .kicker {
  font-family: var(--font-inter);
  font-size: 10px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #737373; margin-bottom: 6px;
}
.led-tile .kicker.sponsored { color: #b45309; }
.led-tile h3 {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 700;
  color: #1a1a1a;
  line-height: 1.25;
  margin-bottom: 6px;
}
.led-tile .byline {
  font-size: 11px; color: #737373; font-style: italic; font-family: var(--font-sans);
}

/* ----- Northwire Daily: chronological city bulletin ----- */
.pub-northwire { background: #f4f8f6; color: #163d37; font-family: 'Jost', sans-serif; }
.nw-masthead { border-top: 5px solid #20594e; padding: 8px 0 12px; border-bottom: 1px solid #a5bdb3; }
.nw-name { font-size: 27px; line-height: 1.1; font-weight: 700; letter-spacing: -0.035em; }
.nw-edition { margin-top: 3px; color: #45675e; font: 11px/1.4 var(--font-mono); text-transform: uppercase; letter-spacing: 0.09em; }
.nw-dispatches { list-style: none; padding: 0; margin: 14px 0 0; }
.nw-dispatches li { display: grid; grid-template-columns: 5ch minmax(0, 1fr); gap: 12px; }
.nw-dispatches time { color: #345e52; font: 12px/20px var(--font-mono); }
.nw-dispatch { position: relative; padding: 0 0 14px 13px; border-left: 1px solid #a5bdb3; }
.nw-dispatch::before { content: ''; position: absolute; top: 7px; left: -3.5px; width: 6px; height: 6px; background: #20594e; border-radius: 50%; }
.nw-dispatches li:last-child .nw-dispatch { border-left-color: transparent; padding-bottom: 0; }
.nw-dispatch h3 { font: 700 16px/1.25 'Jost', sans-serif; color: #163d37; }
.nw-dispatch p { margin-top: 3px; font-size: 13px; line-height: 1.35; color: #425d56; }

/* ----- Signal Frame: dark HN-style list ----- */
.pub-signal { background: #0f0f0f; color: #e5e5e5; font-family: 'Jost', sans-serif; }
.pub-signal .pub-header { border-bottom-color: #2a2a2a; }
.pub-signal .pub-logo { color: #fff; letter-spacing: -0.02em; }

.sf-list { display: flex; flex-direction: column; }
.sf-row {
  display: grid;
  grid-template-columns: 32px 60px 1fr;
  gap: 10px;
  align-items: flex-start;
  padding: 14px 6px;
  border-bottom: 1px solid #1f1f1f;
}
.sf-rank { color: #555; font-size: 14px; text-align: right; padding-top: 2px; font-variant-numeric: tabular-nums; }
.sf-score { color: #888; font-size: 11px; padding-top: 4px; font-variant-numeric: tabular-nums; }
.sf-sponsored-chip {
  display: inline-block;
  background: #1D69D9; color: #fff;
  font-size: 9px; font-weight: 700;
  padding: 2px 6px; border-radius: 3px;
  letter-spacing: 0.08em;
}
.sf-body .sf-cat {
  font-size: 9px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: #808080; margin-bottom: 4px;
}
.sf-body .sf-cat.sponsored { color: #00B0FF; }
.sf-row h3 {
  font-size: 15px; font-weight: 500; color: #fff;
  line-height: 1.3; margin-bottom: 4px; letter-spacing: -0.01em;
}
.sf-row .byline { font-size: 11px; color: #888; text-transform: none; letter-spacing: 0; }

/* Plakard-native row in signal list */
.sf-row.plakard-native {
  background: linear-gradient(180deg, rgba(29,105,217,0.06), transparent);
  border-left: 2px solid #1D69D9;
}

/* ---------- Plakard ad creative ---------- */
.plakard-ad-brand {
  position: absolute;
  bottom: 8px; left: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 9px 4px 4px;
  background: rgba(255,255,255,0.95);
  border-radius: 999px;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 600;
  color: #0a2342;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
  z-index: 2;
}
.plakard-ad-logo {
  width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #1D69D9, #00B0FF);
  color: #fff;
  border-radius: 4px;
  font-family: 'Fraunces', serif;
  font-size: 11px; font-weight: 700;
}

/* "Ads by Plakard" tiny label on any example ad - flows below byline so it never overlaps text */
.ads-by-plakard {
  display: block;
  margin-top: 6px;
  font-family: var(--font-inter);
  font-size: 10px;
  font-weight: 500;
  color: var(--color-text-xlight);
  letter-spacing: 0.01em;
  text-align: right;
  white-space: nowrap;
  pointer-events: none;
}
.pub-signal .ads-by-plakard { color: #9ca3af; }

/* ensure anchors */
.home-tile.plakard-tile,
.led-tile.plakard-native,
.sf-row.plakard-native { position: relative; }

/* Plakard-native tile in live examples: art is rendered by <PlakardAdArt /> */
.plakard-thumb { background: #0a2342; }

/* Smaller variant of ed-thumb inside .home-tile-thumb (hero demo) */
.home-tile-thumb .ed-ticker {
  top: 6px; left: 6px;
  padding: 2px 5px; font-size: 8px;
  letter-spacing: 0.06em;
}
.home-tile-thumb .ed-quote {
  font-size: 130px;
  bottom: -32px; right: 0;
}
.home-tile-thumb .plakard-ad-brand {
  bottom: 4px; left: 6px;
  padding: 2px 7px 2px 3px;
  font-size: 9px;
  gap: 4px;
}
.home-tile-thumb .plakard-ad-logo {
  width: 13px; height: 13px;
  font-size: 9px;
  border-radius: 3px;
}
/* Notes ad variant has light background - keep label dark */
.plakard-ad-notes { background: #f6efe2; }

/* ---------- Pricing / control rails ---------- */
.pricing-explain {
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-md);
}
@media (max-width: 720px) {
  .pricing-explain { padding: 18px; border-radius: var(--radius-md); }
}

.pricing-card {
  background: var(--color-gray-50);
  border: 1px solid var(--color-mercury);
  border-radius: var(--radius-md);
  padding: 20px;
  text-align: center;
}
.pricing-card.you { background: var(--blue-tint-soft); border-color: var(--color-science-blue); }
.pricing-card .role { font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-light); margin-bottom: 8px; }
.pricing-card.you .role { color: var(--color-science-blue); }
.pricing-card .amount { font-size: 28px; font-weight: 700; color: var(--color-text); font-family: 'Fraunces', serif; letter-spacing: -0.02em; }
.pricing-card .unit { font-size: 13px; color: var(--color-text-light); margin-top: 4px; }
.pricing-note { margin-top: 24px; font-size: 14px; color: var(--color-text-light); text-align: center; text-wrap: pretty; }

.pricing-result { margin-top: 8px; text-align: left; }
.pricing-result .unit { max-width: 60ch; }
.pricing-slider-row {
  display: flex; flex-direction: column; align-items: stretch; gap: 12px;
  margin-bottom: 20px;
}
.pricing-slider-row > div { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.pricing-slider-label {
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-text-light);
}
.pricing-slider-value {
  font-family: 'Fraunces', serif;
  font-size: 28px; font-weight: 700;
  color: var(--color-text);
  letter-spacing: -0.02em;
}
.pricing-slider {
  width: 100%;
  height: 12px;
  -webkit-appearance: none; appearance: none;
  background: transparent;
  cursor: pointer;
  accent-color: var(--color-science-blue);
}
/* WebKit */
.pricing-slider::-webkit-slider-runnable-track {
  height: 9px;
  background: var(--color-mercury);
  border-radius: 999px;
}
.pricing-slider::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 27px; height: 27px;
  margin-top: -9px;
  background: var(--color-science-blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(29,105,217,0.35);
  cursor: pointer;
  transition: transform var(--dur-fast);
}
.pricing-slider::-webkit-slider-thumb:hover { transform: scale(1.06); }
/* Firefox */
.pricing-slider::-moz-range-track {
  height: 9px;
  background: var(--color-mercury);
  border-radius: 999px;
}
.pricing-slider::-moz-range-thumb {
  width: 27px; height: 27px;
  background: var(--color-science-blue);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(29,105,217,0.35);
  cursor: pointer;
}

/* ---------- Approval step ---------- */
.approval-mock {
  background: #fff; border: 1px solid var(--color-mercury);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.approval-mock-head {
  padding: 18px 24px; display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--color-mercury);
}
.approval-mock-head h3 { font-size: 15px; font-weight: 600; line-height: inherit; letter-spacing: inherit; }
.approval-mock-head .count { font-size: 13px; color: var(--color-text-light); }
.approval-demo { margin: 0; }
.approval-demo figcaption { margin-top: 14px; text-align: center; font-size: 14px; color: var(--color-text-light); }
.approval-body { display: grid; gap: 24px; padding: 24px; align-items: start; }
@media (min-width: 560px) { .approval-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.approval-ad { padding: 12px; border: 1px solid var(--color-mercury); border-radius: var(--radius-md); }
.approval-ad-art { aspect-ratio: 5 / 3; border-radius: 6px; margin-bottom: 12px; overflow: hidden; }
.approval-ad-art .is-hidden { display: none; }
.approval-ad-art div { height: 100%; }
.sample-photo { width: 100%; height: 100%; object-fit: cover; }
.approval-ad-kind { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-light); }
.approval-ad-title { font-weight: 700; font-size: 17px; line-height: 1.25; margin: 4px 0 6px; }
.approval-ad-text { font-size: 14px; color: var(--color-text-light); }
.approval-facts { display: grid; gap: 14px; }
.approval-facts dt { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--color-text-light); }
.approval-facts dd { font-weight: 600; font-size: 16px; }
.approval-checks { grid-column: 1 / -1; padding-top: 20px; border-top: 1px solid var(--color-mercury); }
.approval-checks-title { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #15803d; margin-bottom: 10px; }
.approval-checks ul { display: grid; gap: 8px 24px; }
@media (min-width: 560px) { .approval-checks ul { grid-template-columns: 1fr 1fr; } }
.approval-checks li { display: flex; align-items: flex-start; gap: 8px; font-size: 14px; line-height: 1.4; }
.approval-checks svg { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; color: #15803d; }
.approval-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; padding: 0 24px 24px; }
.approval-choice {
  min-height: 48px; padding: 0 20px; border-radius: var(--radius-pill);
  border: 2px solid var(--color-mercury); font-weight: 600; font-size: 15px;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast);
}
.approval-choice:hover { border-color: var(--color-text); }
.approval-choice.decline { color: #b91c1c; border-color: rgba(185,28,28,0.35); }
.approval-choice.decline:hover { background: #b91c1c; border-color: #b91c1c; color: #fff; }
.approval-choice.approve { background: #15803d; border-color: #15803d; color: #fff; }
.approval-choice.approve:hover { background: #166534; border-color: #166534; }
.approval-done { padding: 32px 24px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.approval-done p { color: var(--color-text-light); }
.approval-log li {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 10px 24px; border-top: 1px solid var(--color-mercury); font-size: 14px;
}
.approval-log b { font-weight: 600; color: #15803d; }
.approval-log .declined b { color: #b91c1c; }
.approval-log .declined span { color: var(--color-text-light); text-decoration: line-through; }

@media (max-width: 879px) { .hero-title { font-size: clamp(32px, 8.4vw, 54px); } }
@media (max-width: 420px) { .hero-title br { display: none; } }
.hero-note { font-size: 13px; color: var(--color-text-light); margin-top: 12px; }

/* ---------- Facts strip ---------- */
.facts-strip {
  padding: 28px 0;
  border-top: 1px solid var(--color-mercury);
  border-bottom: 1px solid var(--color-mercury);
  background: #fff;
}
.facts-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }
@media (min-width: 800px) { .facts-row { grid-template-columns: repeat(4, 1fr); } }
.facts-row li { display: flex; flex-direction: column; gap: 2px; text-align: center; }
.facts-row b { font-family: 'Fraunces', serif; font-size: 26px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.facts-row span { font-size: 14px; color: var(--color-text-light); line-height: 1.4; }

/* ---------- How it works ---------- */
.how-steps { display: grid; gap: 20px; list-style: none; }
@media (min-width: 860px) { .how-steps { grid-template-columns: repeat(3, 1fr); } }
.how-step {
  background: #fff; border: 1px solid var(--color-mercury);
  border-radius: var(--radius-lg); padding: 28px;
}
.how-step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.how-step-num {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--color-science-blue); color: #fff; font-weight: 700; font-size: 18px;
}
.how-step-icon svg { width: 28px; height: 28px; color: var(--color-science-blue); opacity: 0.5; }
.how-step h3 { font-size: 20px; line-height: 1.25; margin-bottom: 10px; }
.how-step p { color: var(--color-text-light); }
.how-callout {
  margin-top: 24px; padding: 28px 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
  background: var(--blue-tint-soft); border: 1px solid rgba(29,105,217,0.22);
  border-radius: var(--radius-lg);
}
.how-callout > div { flex: 1 1 420px; }
.how-callout h3 { margin-bottom: 8px; }
.how-callout p { color: var(--color-text-light); font-size: 17px; max-width: 640px; text-wrap: pretty; }
@media (max-width: 520px) {
  .how-step, .how-callout { padding: 20px; }
  .how-callout .btn { width: 100%; }
}
.look-grid { display: grid; gap: 28px 24px; }
@media (min-width: 1000px) { .look-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.look-site { display: flex; flex-direction: column; gap: 14px; max-width: 520px; width: 100%; margin: 0 auto; }
.look-site .publisher-frame { flex: 1; display: flex; flex-direction: column; box-shadow: var(--shadow-md); }
.look-site .pub-body { flex: 1; padding: 20px; }
.look-site .pub-header { padding-bottom: 12px; margin-bottom: 16px; }
.look-site .led-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.look-site .led-tile.plakard-native { padding: 6px; margin: -6px; }
.look-site .sf-row { grid-template-columns: 20px 46px minmax(0, 1fr); padding: 14px 8px; }
.look-site .sf-row.plakard-native { margin: 6px 0; }
.look-site figcaption { font-size: 15px; color: var(--color-text-light); min-height: 3.2em; }
.look-site figcaption b { color: var(--color-text); font-weight: 600; }
.look-note { text-align: center; margin: 28px auto 0; max-width: 640px; font-size: 14px; color: var(--color-text-light); }

/* ---------- Earnings ---------- */
.earn-grid { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .earn-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px; } }
.earn-side h3 { margin-bottom: 4px; }
.earn-side-note { margin-top: 24px; font-size: 15px; color: var(--color-text-light); }

/* ---------- Trust ---------- */
.trust-list { max-width: 880px; margin: 0 auto; border-top: 1px solid var(--color-mercury); }
.trust-row { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--color-mercury); }
@media (min-width: 720px) { .trust-row { grid-template-columns: 240px minmax(0, 1fr); } }
.trust-row dt { font-weight: 600; font-size: 17px; }
.trust-row dd { color: var(--color-text-light); text-wrap: pretty; }
.trust-row a, .trust-demo p a, .advertiser-note a, .earn-side-note a { color: var(--color-science-blue); text-decoration: underline; }
.trust-demo {
  max-width: 880px; margin: 40px auto 0; padding: 24px 28px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  background: var(--color-gray-50); border-radius: var(--radius-md);
}
.trust-demo > div { flex: 1 1 360px; }
.trust-demo h3 { font-size: 18px; margin-bottom: 4px; }
.trust-demo p { color: var(--color-text-light); font-size: 15px; }
.advertiser-note {
  max-width: 880px; margin: 24px auto 0; text-align: center;
  color: var(--color-text-light); font-size: 15px;
}
.advertiser-note b { color: var(--color-text); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--color-mercury); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  padding: 24px 0; font-weight: 500; font-size: 17px; cursor: pointer;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  list-style: none;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q::after {
  content: '+'; font-size: 28px; font-weight: 300;
  color: var(--color-science-blue); line-height: 1;
  transition: transform var(--dur-base);
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a { padding: 0 0 24px; color: var(--color-text-light); line-height: 1.65; max-width: 700px; }

/* ---------- Final CTA ---------- */
.final-cta {
  background: var(--color-big-stone);
  border-radius: var(--radius-lg);
  padding: 64px 48px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 10%, rgba(0,176,255,0.20) 0%, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(244,153,255,0.15) 0%, transparent 45%);
  pointer-events: none;
}
.final-cta > * { position: relative; z-index: 1; }
.final-cta h2 { color: #fff; margin-bottom: 16px; font-size: clamp(28px, 4vw, 40px); }
.final-cta p { color: rgba(255,255,255,0.8); font-size: 18px; margin-bottom: 32px; max-width: 540px; margin-left: auto; margin-right: auto; text-wrap: pretty; }
.final-cta-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn-light-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.55); }
.btn-light-outline:hover { background: #fff; color: var(--color-big-stone); }
.final-cta .final-cta-note { font-size: 13px; color: rgba(255,255,255,0.7); margin: 16px auto 0; }
.final-cta-note a { color: inherit; text-decoration: underline; }
@media (max-width: 520px) {
  .final-cta { padding: 40px 20px; }
}

/* ---------- Footer ---------- */
.footer { background: #0f1a2a; color: #fff; padding: 56px 0 24px; }
.footer-grid { display: grid; gap: 32px; margin-bottom: 40px; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-logo { height: 28px; margin-bottom: 16px; }
.footer h2 { color: #fff; margin-bottom: 16px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; }
.footer-link { display: block; color: rgba(255,255,255,0.6); padding: 4px 0; font-size: 14px; cursor: pointer; transition: color var(--dur-fast); }
.footer-link:hover { color: #fff; }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.08); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: rgba(255,255,255,0.5); font-size: 13px; }

/* Reveal helper */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Hero story (animated ad-creation demo) ---------- */
.hero-story { position: relative; width: 100%; overflow: hidden; aspect-ratio: 720 / 520; }
@media (max-width: 879px) {
  .hero-story-wrap { width: 100%; max-width: 600px; margin: 0 auto; }
}
/* Hidden until HeroStory scales it to the column */
.hs-stage {
  position: absolute; left: 0; top: 0;
  width: 720px; height: 520px;
  transform-origin: top left;
  font-family: var(--font-sans);
  visibility: hidden;
}

/* Publisher site window */
.hs-site {
  position: absolute; left: 140px; top: 66px;
  width: 440px; height: 368px;
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  z-index: 3;
  will-change: transform;
}
.hs-site-bar {
  display: flex; align-items: center; gap: 6px;
  height: 30px; padding: 0 12px;
  background: var(--color-gray-50);
  border-bottom: 1px solid var(--color-mercury);
}
.hs-site-bar i { width: 8px; height: 8px; border-radius: 50%; background: #d1d6dc; }
.hs-url {
  flex: 1; margin-left: 6px;
  background: #fff; border: 1px solid var(--color-mercury);
  border-radius: 5px; padding: 2px 8px;
  font-family: var(--font-mono); font-size: 10px; color: var(--color-text-light);
}
.hs-site-body { padding: 12px 16px 14px; }
.hs-masthead {
  text-align: center;
  border-bottom: 2px solid var(--color-big-stone);
  padding-bottom: 8px; margin-bottom: 10px;
}
.hs-mast-title { font-family: 'Fraunces', serif; font-weight: 700; font-size: 20px; line-height: 1.1; letter-spacing: -0.01em; }
.hs-mast-date { font-size: 8px; text-transform: uppercase; letter-spacing: 0.14em; color: var(--color-text-xlight); margin-top: 3px; }
.hs-lead { border-bottom: 1px solid var(--color-mercury); padding-bottom: 10px; margin-bottom: 12px; }
.hs-kicker {
  font-size: 9px; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--color-science-blue); margin-bottom: 3px;
}
.hs-kicker-muted { color: var(--color-text-xlight); }
.hs-lead-title { font-family: 'Fraunces', serif; font-size: 17px; font-weight: 600; line-height: 1.2; color: var(--color-text); margin-bottom: 4px; }
.hs-lead-body { font-size: 10.5px; line-height: 1.45; color: var(--color-text-light); }
.hs-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hs-thumb { height: 86px; flex: none; border-radius: 5px; overflow: hidden; margin-bottom: 6px; position: relative; }
.hs-thumb svg { width: 100%; height: 100%; display: block; }
.hs-art-title { font-family: 'Fraunces', serif; font-size: 12px; font-weight: 600; line-height: 1.25; color: var(--color-text); }
.hs-art-meta { font-size: 9px; color: var(--color-text-xlight); margin-top: 3px; }

/* Ad slot: default invite + live ad stacked */
.hs-adslot { position: relative; border-radius: 6px; }
.hs-slot-default { position: absolute; inset: 0; display: flex; flex-direction: column; }
.hs-thumb-house {
  background: linear-gradient(135deg, #f7f3ea, #efe8d8);
  display: flex; align-items: center; justify-content: center;
}
.hs-house-frame {
  position: absolute; inset: 7px;
  border: 1px dashed #cfc4a8; border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
}
.hs-thumb .hs-slot-mark { width: 30px; height: 30px; border-radius: 7px; box-shadow: 0 2px 4px rgba(0,0,0,0.18); }
.hs-slot-cta { font-size: 9px; font-weight: 600; color: var(--color-science-blue); }
.hs-slot-live { position: absolute; inset: 0; display: flex; flex-direction: column; opacity: 0; }
.hs-slot-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; }
.hs-ads-by { font-size: 7.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-xlight); }

/* Signal wires */
.hs-wire { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; opacity: 0; pointer-events: none; }
.hs-wire-a, .hs-wire-b { stroke: rgba(29,105,217,0.35); stroke-width: 1.5; }
.hs-pulse { stroke: var(--color-picton-blue); stroke-width: 3; stroke-linecap: round; opacity: 0; filter: drop-shadow(0 0 4px rgba(0,176,255,0.8)); }

/* Server node */
.hs-server { position: absolute; left: 248px; top: 404px; width: 78px; z-index: 2; opacity: 0; }
.hs-srv-box {
  background: #101826; border: 1px solid #2a3850; border-radius: 8px;
  padding: 7px; display: flex; flex-direction: column; gap: 5px;
  box-shadow: var(--shadow-lg);
}
.hs-srv-slat { height: 14px; border-radius: 3px; background: #1a2436; display: flex; align-items: center; gap: 3px; padding: 0 6px; }
.hs-srv-slat i { width: 10px; height: 2.5px; border-radius: 2px; background: #33415c; }
.hs-led { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; background: #f4b942; }
.hs-srv-label { font-family: var(--font-mono); font-size: 8px; letter-spacing: 0.08em; color: var(--color-text-xlight); text-align: center; margin-top: 4px; }

/* Plakard Studio editor */
.hs-editor {
  position: absolute; left: 380px; top: 14px;
  width: 320px; height: 496px;
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: 14px;
  box-shadow: var(--shadow-xl);
  z-index: 3; opacity: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
}
.hs-ed-head { display: flex; align-items: center; gap: 7px; padding: 10px 90px 10px 14px; border-bottom: 1px solid var(--color-gray-100); }
.hs-ed-logo { width: 16px; height: 16px; }
.hs-ed-title { font-size: 12.5px; font-weight: 600; }
.hs-ed-chip {
  margin-left: auto;
  font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--color-warn); background: rgba(217,119,6,0.1);
  padding: 2px 7px; border-radius: var(--radius-pill);
}
.hs-ed-for { font-family: var(--font-mono); font-size: 9px; color: var(--color-text-xlight); padding: 6px 14px 0; }
.hs-ed-preview {
  margin: 8px 12px;
  padding: 10px;
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-100);
  border-radius: 10px;
}
.hs-prev-art { position: relative; height: 114px; border-radius: 6px; overflow: hidden; margin-bottom: 8px; }
.hs-art-placeholder {
  position: absolute; inset: 0;
  border: 1.5px dashed #c3cdd9; border-radius: 6px;
  background: #fff; color: #aab6c4;
  display: flex; align-items: center; justify-content: center;
}
.hs-art-placeholder svg { width: 24px; height: 24px; }
.hs-art-final { position: absolute; inset: 0; opacity: 0; }
.hs-prev-headline { font-family: 'Fraunces', serif; font-size: 14px; font-weight: 600; line-height: 1.25; min-height: 18px; color: var(--color-text); }
.hs-caret, .hs-setup-caret {
  display: inline-block; width: 1.5px; height: 13px;
  background: var(--color-science-blue);
  margin-left: 1px; vertical-align: -2px;
  visibility: hidden;
  animation: hs-blink 0.9s steps(2, start) infinite;
}
@keyframes hs-blink { 50% { opacity: 0; } }
.hs-prev-meta { font-size: 9.5px; color: var(--color-text-light); margin: 3px 0 8px; }
.hs-prev-cta {
  display: inline-block;
  font-size: 9.5px; font-weight: 600; color: #fff;
  background: var(--color-science-blue);
  padding: 4px 10px; border-radius: var(--radius-pill);
}
.hs-ed-controls { padding: 2px 14px; display: flex; flex-direction: column; gap: 8px; }
.hs-ctl { display: flex; align-items: center; gap: 8px; }
.hs-ctl-label { width: 50px; flex: none; font-size: 8.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-xlight); }
.hs-ctl-field {
  flex: 1; height: 26px;
  border: 1px solid var(--color-mercury); border-radius: 6px;
  padding: 0 8px;
  display: flex; align-items: center;
  font-size: 10px; color: var(--color-text);
  white-space: nowrap; overflow: hidden;
}
.hs-swatches, .hs-accents { display: flex; gap: 6px; }
.hs-swatch { width: 36px; height: 24px; border-radius: 5px; border: 1px solid var(--color-mercury); }
.hs-swatch-1 { background: linear-gradient(135deg, #e8edf3, #cfd8e3); }
.hs-swatch-2 { background: url('assets/samples/cabin.jpg') center / cover; }
.hs-swatch-3 { background: linear-gradient(135deg, #b65a38, #e09f3e); }
.hs-accent { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--color-mercury); }
.hs-accent-1 { background: var(--color-science-blue); }
.hs-accent-2 { background: var(--color-blue-deep); }
.hs-accent-3 { background: var(--color-success); }
.hs-ed-buy { margin-top: auto; padding: 12px 14px; border-top: 1px solid var(--color-gray-100); }
.hs-buy-meta { display: flex; align-items: center; justify-content: space-between; font-size: 9.5px; color: var(--color-text-light); margin-bottom: 7px; }
.hs-buy-meta b { color: var(--color-text); font-weight: 600; }
.hs-stepper { display: inline-flex; align-items: center; gap: 7px; }
.hs-stepper b { display: inline-block; min-width: 42px; text-align: center; color: var(--color-text); font-weight: 600; }
.hs-step {
  width: 17px; height: 17px; border-radius: 50%;
  border: 1px solid var(--color-mercury); background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; line-height: 1; color: var(--color-text-light);
}
.hs-buy-label b { font-weight: 600; }
.hs-buy-btn, .hs-publish-btn {
  position: relative; width: 100%; height: 34px;
  border-radius: var(--radius-pill);
  background: var(--color-science-blue); color: #fff;
  font-size: 12px; font-weight: 600;
  box-shadow: var(--shadow-cta);
  cursor: default; pointer-events: none;
}
.hs-buy-label, .hs-buy-done, .hs-publish-label, .hs-publish-done { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 4px; }
.hs-buy-done, .hs-publish-done { opacity: 0; }

/* Publisher portal windows (dashboard, Plakard Designer) - full scene */
.hs-dash, .hs-setup {
  position: absolute; left: 10px; top: 10px;
  width: 700px; height: 500px;
  background: #fff;
  border: 1px solid var(--color-mercury);
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  z-index: 4; opacity: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  will-change: transform;
}
.hs-dash-body { flex: 1; display: flex; min-height: 0; }
.hs-dash-side {
  width: 126px; flex: none;
  background: var(--color-gray-50);
  border-right: 1px solid var(--color-gray-100);
  padding: 10px 8px;
  display: flex; flex-direction: column; gap: 2px;
}
.hs-side-logo { display: flex; align-items: center; gap: 6px; padding: 2px 6px 10px; }
.hs-side-mark { width: 16px; height: 16px; flex: none; }
.hs-side-logo span { font-size: 9.5px; font-weight: 600; color: var(--color-text); line-height: 1.2; }
.hs-side-item {
  display: flex; align-items: center; gap: 6px;
  font-size: 9.5px; color: var(--color-text-light);
  padding: 5px 8px; border-radius: 6px;
}
.hs-side-item i { width: 8px; height: 8px; border-radius: 2px; background: currentColor; opacity: 0.45; }
.hs-side-item.active { background: var(--color-science-blue); color: #fff; font-weight: 600; }
.hs-dash-main {
  flex: 1; min-width: 0;
  padding: 10px 12px;
  background: #fafbfd;
  display: flex; flex-direction: column; gap: 8px;
  overflow: hidden;
}
.hs-dash-tabs { display: flex; align-items: center; gap: 4px; padding-right: 64px; }
.hs-tab {
  font-size: 7.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 3px 8px; border-radius: 4px;
  border: 1px solid var(--color-mercury); background: #fff; color: var(--color-text-light);
}
.hs-tab.active { background: var(--color-science-blue); border-color: var(--color-science-blue); color: #fff; }
.hs-tab-date { margin-left: auto; font-family: var(--font-mono); font-size: 7.5px; color: var(--color-text-light); border: 1px solid var(--color-mercury); background: #fff; padding: 3px 8px; border-radius: 4px; }
.hs-kpis { display: flex; gap: 8px; }
.hs-kpi { flex: 1; background: #fff; border: 1px solid var(--color-gray-100); border-radius: 8px; padding: 8px 10px; box-shadow: var(--shadow-sm); }
.hs-kpi-label { font-size: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-text-xlight); margin-bottom: 4px; }
.hs-kpi-value { font-size: 15px; font-weight: 700; color: var(--color-text); line-height: 1; }
.hs-kpi-value b { font-weight: 700; }
.hs-kpi-delta {
  display: inline-block; margin-top: 4px;
  font-size: 7px; font-weight: 700; color: #15803d;
  background: rgba(22,163,74,0.1); padding: 1px 5px; border-radius: var(--radius-pill);
}
.hs-perf { background: #fff; border: 1px solid var(--color-gray-100); border-radius: 8px; padding: 8px 10px 4px; box-shadow: var(--shadow-sm); }
.hs-perf-title { font-size: 10px; font-weight: 600; color: var(--color-text); margin-bottom: 5px; }
.hs-perf-title span { font-size: 7.5px; font-weight: 400; color: var(--color-text-xlight); margin-left: 5px; }
.hs-perf-head, .hs-perf-row {
  display: grid; grid-template-columns: 1fr 54px 40px 56px; gap: 6px; align-items: center;
  font-size: 8.5px; padding: 4px 6px;
}
.hs-perf-head { font-size: 7px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; color: var(--color-text-xlight); border-bottom: 1px solid var(--color-gray-100); }
.hs-perf-row { color: var(--color-text); border-radius: 4px; }
.hs-perf-row + .hs-perf-row { border-top: 1px solid var(--color-gray-50); }
.hs-perf-head span:not(:first-child), .hs-perf-row span:not(:first-child) { text-align: right; }
.hs-perf-row span:first-child { display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; }
.hs-chip-published { font-style: normal; font-size: 6.5px; font-weight: 600; color: var(--color-science-blue); background: rgba(29,105,217,0.12); padding: 1px 5px; border-radius: 3px; flex: none; }
.hs-dash-charts { display: flex; gap: 8px; flex: 1; min-height: 0; }
.hs-chart-card { flex: 1; min-width: 0; background: #fff; border: 1px solid var(--color-gray-100); border-radius: 8px; padding: 8px 10px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; }
.hs-chart-title { font-size: 9.5px; font-weight: 600; color: var(--color-text); }
.hs-chart-sub { font-size: 7.5px; color: var(--color-text-xlight); margin-bottom: 5px; }
.hs-chart-card svg { flex: 1; width: 100%; min-height: 0; }
.hs-bar-row { display: flex; align-items: center; gap: 6px; font-size: 8px; color: var(--color-text-light); margin-top: 9px; }
.hs-bar-name { width: 38px; flex: none; }
.hs-bar { flex: 1; height: 7px; border-radius: var(--radius-pill); background: var(--color-gray-100); overflow: hidden; display: block; }
.hs-bar-fill { display: block; height: 100%; width: 0%; border-radius: var(--radius-pill); }
.hs-bar-blue { background: var(--color-science-blue); }
.hs-bar-green { background: var(--color-success); }
.hs-bar-val { width: 28px; flex: none; text-align: right; font-weight: 600; color: var(--color-text); }

/* Plakard Designer: Default Ad preview, form, embed code */
.hs-setup-main { gap: 12px; padding: 20px 22px; }
.hs-setup-head { display: flex; align-items: center; gap: 10px; padding-right: 64px; }
.hs-setup-title { font-size: 15px; font-weight: 600; color: var(--color-text); }
.hs-setup-status { display: grid; }
.hs-setup-status > span { grid-area: 1 / 1; margin-left: 0; justify-self: start; }
.hs-chip-ready { color: #15803d; background: rgba(22,163,74,0.1); opacity: 0; }
.hs-setup-sub { font-size: 10.5px; color: var(--color-text-light); margin-top: -6px; }
.hs-setup-cols { display: flex; gap: 14px; }
.hs-setup-card, .hs-setup-form, .hs-setup-code {
  background: #fff; border: 1px solid var(--color-gray-100);
  border-radius: 8px; box-shadow: var(--shadow-sm);
}
.hs-setup-card { width: 224px; flex: none; padding: 12px; display: flex; flex-direction: column; }
.hs-setup-card .hs-thumb { height: 112px; margin-bottom: 8px; }
.hs-setup-card-title { font-size: 14px; min-height: 18px; }
.hs-setup-card .hs-art-meta { font-size: 10px; }
.hs-setup-form { flex: 1; min-width: 0; padding: 14px; display: flex; flex-direction: column; gap: 9px; }
.hs-setup-form .hs-ctl-label { width: 56px; font-size: 9px; }
.hs-setup-form .hs-ctl-field { height: 30px; font-size: 11px; }
.hs-formats { display: flex; flex-wrap: wrap; gap: 5px; }
.hs-format {
  font-size: 9.5px; padding: 4px 8px; border-radius: var(--radius-pill); white-space: nowrap;
  border: 1px solid var(--color-mercury); background: #fff; color: var(--color-text-light);
}
.hs-format.active { border-color: var(--color-science-blue); background: rgba(29,105,217,0.08); color: var(--color-science-blue); font-weight: 600; }
.hs-format-free { display: inline-flex; align-items: center; gap: 4px; }
.hs-format-free svg { width: 10px; height: 10px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.hs-publish-btn { margin-top: auto; height: 36px; font-size: 13px; }
.hs-setup-code { padding: 12px 14px; opacity: 0; }
.hs-setup-code-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.hs-setup-code-title { font-size: 12px; font-weight: 600; color: var(--color-text); }
.hs-copy-btn {
  display: inline-grid;
  font-size: 9.5px; font-weight: 600; color: var(--color-science-blue);
  border: 1px solid rgba(29,105,217,0.35); border-radius: var(--radius-pill);
  padding: 3px 11px;
}
.hs-copy-btn > span { grid-area: 1 / 1; text-align: center; }
.hs-copy-done { color: #15803d; opacity: 0; }
.hs-snippet {
  background: #101826; border-radius: 6px; padding: 8px 10px;
  font-family: var(--font-mono); font-size: 10px; line-height: 1.65; color: #c9d6ea;
  white-space: nowrap; overflow: hidden;
}

/* Pause control in the corner of the stage, kept out of the scaled design space */
.hs-pause {
  position: absolute; left: 10px; bottom: 10px; z-index: 2;
  width: 32px; height: 32px; padding: 0; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.92); color: var(--color-text);
  border: 1px solid var(--color-mercury); box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.hs-live .hs-pause { display: flex; }
.hs-pause:hover { background: #fff; }
.hs-pause:focus-visible { outline: 2px solid var(--color-science-blue); outline-offset: 2px; }
.hs-pause svg { width: 14px; height: 14px; fill: currentColor; }

/* Caption under the stage */
.hs-caption {
  display: flex; align-items: center; justify-content: center;
  min-height: 48px; margin: 14px 0 0; padding: 0 8px;
  font-size: 16px; line-height: 1.4; font-weight: 500; color: var(--color-text);
}
.hs-cap-line { display: inline-flex; align-items: center; gap: 10px; }
.hs-cap-num {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--color-science-blue); color: #fff;
  font-size: 12px; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
}
@media (max-width: 879px) {
  .hs-caption { font-size: 15px; }
}

/* Cursor + ripple */
.hs-cursor {
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  z-index: 10; opacity: 0; pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}
.hs-ripple {
  position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 50%;
  border: 2.5px solid var(--color-science-blue);
  z-index: 9; opacity: 0; pointer-events: none;
}

/* Static fallback: no GSAP - show the finished state */
.hs-static .hs-cursor, .hs-static .hs-ripple, .hs-static .hs-editor,
.hs-static .hs-server, .hs-static .hs-wire, .hs-static .hs-dash, .hs-static .hs-setup { display: none; }
.hs-static + .hs-caption { visibility: hidden; }
.hs-static .hs-slot-default { opacity: 0; }
.hs-static .hs-slot-live { opacity: 1; }
