/*
 * Adnyro marketing site design system.
 * Scoped entirely under body.marketing-page so it can never leak into the
 * portal/admin/auth pages, which keep using app.css's --bg/--surface/etc.
 * tokens untouched. No CDN scripts, no JS framework -- fonts are the only
 * external request (Google Fonts), matching the rest of the site's
 * dependency-free approach as closely as a font service allows.
 */

@import url("https://fonts.googleapis.com/css2?family=Sora:ital,wght@0,400;0,600;0,700;0,800;1,700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

body.marketing-page {
  --mkt-bg: #07111F;
  --mkt-bg-2: #0E1B2E;
  --mkt-surface: #111827;
  --mkt-surface-elevated: #162033;
  --mkt-cyan: #20D6FF;
  --mkt-green: #6EF3A5;
  --mkt-gold: #F5B84B;
  --mkt-text: #F8FAFC;
  --mkt-text-muted: #94A3B8;
  --mkt-border: #233044;
  --mkt-success: #22C55E;
  --mkt-warning: #F59E0B;
  --mkt-danger: #EF4444;

  --mkt-font-heading: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mkt-font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mkt-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  background: var(--mkt-bg);
  color: var(--mkt-text);
  font-family: var(--mkt-font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.marketing-page * { box-sizing: border-box; }

body.marketing-page a { color: inherit; text-decoration: none; }

body.marketing-page h1,
body.marketing-page h2,
body.marketing-page h3,
body.marketing-page h4 {
  font-family: var(--mkt-font-heading);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

body.marketing-page img { max-width: 100%; display: block; }

@media (prefers-reduced-motion: reduce) {
  body.marketing-page * { animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------------ */
/* Layout helpers                                                      */
/* ------------------------------------------------------------------ */

.mkt-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.mkt-section { padding: 96px 0; position: relative; }
.mkt-section-tight { padding: 64px 0; }

@media (max-width: 720px) {
  .mkt-section { padding: 64px 0; }
  .mkt-section-tight { padding: 44px 0; }
  .mkt-container { padding: 0 20px; }
}

.mkt-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--mkt-cyan);
  margin-bottom: 16px;
}

.mkt-section-head { max-width: 720px; margin: 0 0 48px; }
.mkt-section-head.mkt-center { margin-left: auto; margin-right: auto; text-align: center; }

.mkt-section-head h2 { font-size: clamp(30px, 4vw, 46px); }
.mkt-section-head p { color: var(--mkt-text-muted); font-size: 18px; margin: 0; }

.mkt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.mkt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mkt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mkt-grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }

@media (max-width: 960px) {
  .mkt-grid-2, .mkt-grid-3, .mkt-grid-4 { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* Buttons                                                              */
/* ------------------------------------------------------------------ */

.mkt-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 10px;
  border: 1px solid transparent;
  font-family: var(--mkt-font-body);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}

.mkt-btn-primary {
  background: linear-gradient(135deg, var(--mkt-cyan), var(--mkt-green));
  color: #07111F;
  box-shadow: 0 8px 24px rgba(32, 214, 255, 0.18);
}

.mkt-btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 32px rgba(32, 214, 255, 0.28); }

.mkt-btn-ghost {
  background: rgba(248, 250, 252, 0.03);
  border-color: var(--mkt-border);
  color: var(--mkt-text);
}

.mkt-btn-ghost:hover { background: rgba(248, 250, 252, 0.07); border-color: rgba(148, 163, 184, 0.4); }

.mkt-btn-block { width: 100%; }

.mkt-btn-sm { padding: 9px 18px; font-size: 13.5px; }

.mkt-btn-row { display: flex; gap: 14px; flex-wrap: wrap; }

@media (max-width: 560px) {
  .mkt-btn-row { flex-direction: column; }
  .mkt-btn-row .mkt-btn { width: 100%; }
}

/* ------------------------------------------------------------------ */
/* Header / nav                                                        */
/* ------------------------------------------------------------------ */

.mkt-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  background: rgba(7, 17, 31, 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-logo { display: flex; align-items: center; }
.mkt-logo img { height: 30px; width: auto; }
.mkt-logo-icon-only { display: none; }

.mkt-nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.mkt-nav-links { display: flex; gap: 28px; }

.mkt-nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--mkt-text-muted);
  transition: color 0.15s ease;
}

.mkt-nav-links a:hover, .mkt-nav-links a.mkt-active { color: var(--mkt-text); }

.mkt-nav-actions { display: flex; align-items: center; gap: 12px; }

.mkt-nav-login {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--mkt-text-muted);
  padding: 10px 6px;
}

.mkt-nav-login:hover { color: var(--mkt-text); }

.mkt-menu-toggle {
  display: none;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid var(--mkt-border);
  background: transparent;
  color: var(--mkt-text);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.mkt-menu-toggle svg { width: 20px; height: 20px; }

.mkt-mobile-drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--mkt-bg);
  display: flex;
  flex-direction: column;
  padding: 20px 24px 32px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
}

.mkt-mobile-drawer.mkt-open { transform: translateX(0); }

.mkt-mobile-drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.mkt-mobile-drawer nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mkt-mobile-drawer nav a {
  padding: 16px 4px;
  font-size: 18px;
  font-weight: 600;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-mobile-drawer-actions {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 24px;
}

@media (max-width: 900px) {
  .mkt-nav-desktop { display: none; }
  .mkt-menu-toggle { display: inline-flex; }
}

/* ------------------------------------------------------------------ */
/* Hero                                                                 */
/* ------------------------------------------------------------------ */

.mkt-hero {
  padding: 88px 0 64px;
  background:
    radial-gradient(ellipse 900px 500px at 15% -10%, rgba(32, 214, 255, 0.12), transparent 60%),
    radial-gradient(ellipse 700px 500px at 100% 10%, rgba(110, 243, 165, 0.08), transparent 60%);
}

.mkt-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.mkt-hero h1 {
  font-size: clamp(38px, 4.6vw, 58px);
  margin-bottom: 22px;
  text-wrap: balance;
}

.mkt-hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: var(--mkt-green); font: 600 11px var(--mkt-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.mkt-hero-kicker span { width: 8px; height: 8px; border-radius: 50%; background: var(--mkt-green); box-shadow: 0 0 0 5px rgba(110,243,165,.12), 0 0 22px rgba(110,243,165,.7); }

.mkt-hero-sub {
  font-size: 19px;
  color: var(--mkt-text-muted);
  max-width: 540px;
  margin: 0 0 20px;
}

.mkt-trust-line {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mkt-green);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 32px;
}

.mkt-trust-line::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--mkt-green);
  box-shadow: 0 0 0 4px rgba(110, 243, 165, 0.18);
}

@media (max-width: 960px) {
  .mkt-hero-grid { grid-template-columns: 1fr; }
  .mkt-hero { padding: 48px 0 40px; text-align: left; }
  .mkt-hero-sub { max-width: 100%; }
}

/* Hero visual: advertiser -> match -> publisher -> engagement mockup */

.mkt-hero-visual {
  position: relative;
  background: linear-gradient(160deg, var(--mkt-surface), var(--mkt-bg-2));
  border: 1px solid var(--mkt-border);
  border-radius: 20px;
  padding: 22px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

/* Hero network stage: a little motion and product context before the page
   asks the visitor to read. It is intentionally CSS-only and decorative. */
.mkt-network-stage {
  min-height: 430px;
  position: relative;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mkt-signal-field { position: relative; width: min(100%, 560px); height: 420px; margin: 0 auto; border: 1px solid rgba(32,214,255,.24); border-radius: 28px; overflow: hidden; background: #030917 url("/static/img/brand/adnyro-intelligence-hero.png") center / cover no-repeat; box-shadow: 0 35px 90px rgba(0,0,0,.38), 0 0 80px rgba(32,214,255,.08); }
.mkt-signal-field::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,9,23,.18), transparent 55%, rgba(3,9,23,.12)); pointer-events: none; }
.mkt-signal-field { transform: perspective(900px) rotateY(-4deg); animation: mkt-art-hover 9s ease-in-out infinite; }
.mkt-signal-field::after { background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,.1) 48%, transparent 58%), linear-gradient(90deg, rgba(3,9,23,.18), transparent 55%, rgba(3,9,23,.12)); background-size: 240% 100%, 100% 100%; animation: mkt-art-scan 8s ease-in-out infinite; }
@keyframes mkt-art-hover { 0%, 100% { transform: perspective(900px) rotateY(-4deg) rotateX(1deg) translateY(0); } 50% { transform: perspective(900px) rotateY(2deg) rotateX(-1deg) translateY(-8px); } }
@keyframes mkt-art-scan { 0%, 100% { background-position: 120% 0, 0 0; } 52% { background-position: -30% 0, 0 0; } }
.mkt-signal-field::before { content: "AI NATIVE ENGINE"; position: absolute; top: 18px; left: 20px; z-index: 4; color: rgba(248,250,252,.75); font: 600 10px var(--mkt-font-mono); letter-spacing: .12em; }
.mkt-signal-field > .mkt-signal-line-art, .mkt-signal-field > .mkt-signal-node, .mkt-signal-field > .mkt-signal-core { display: none; }
.mkt-signal-line-art { position: absolute; height: 1px; transform-origin: left center; background: linear-gradient(90deg, transparent, rgba(32,214,255,.7), rgba(110,243,165,.6), transparent); animation: mkt-signal-travel 3.8s ease-in-out infinite; }
.mkt-signal-line-a { width: 230px; top: 47%; left: 12%; transform: rotate(-25deg); }
.mkt-signal-line-b { width: 240px; top: 47%; left: 47%; transform: rotate(-152deg); animation-delay: -1.2s; }
.mkt-signal-line-c { width: 265px; top: 55%; left: 26%; transform: rotate(27deg); animation-delay: -2.3s; }
.mkt-signal-line-art::after { content: ""; position: absolute; top: -2px; left: 0; width: 30px; height: 5px; border-radius: 50%; background: var(--mkt-cyan); filter: blur(3px); animation: mkt-signal-packet 3.8s linear infinite; }
.mkt-signal-node { position: absolute; display: grid; gap: 3px; width: 132px; padding: 14px 15px; border: 1px solid rgba(148,163,184,.26); border-radius: 14px; background: rgba(14,27,46,.78); box-shadow: 0 18px 50px rgba(0,0,0,.25); backdrop-filter: blur(9px); animation: mkt-node-breathe 5s ease-in-out infinite; }
.mkt-signal-node small { color: var(--mkt-text-muted); font: 600 10px var(--mkt-font-mono); }
.mkt-signal-node b { font: 700 15px var(--mkt-font-heading); }
.mkt-signal-node span { color: var(--mkt-cyan); font: 500 11px var(--mkt-font-mono); text-transform: uppercase; letter-spacing: .06em; }
.mkt-signal-node-a { top: 12%; left: 2%; }
.mkt-signal-node-b { top: 8%; right: 4%; animation-delay: -1.5s; }
.mkt-signal-node-c { bottom: 10%; right: 11%; animation-delay: -3s; }
.mkt-signal-core { position: absolute; top: 39%; left: 38%; display: grid; place-items: center; width: 140px; height: 140px; border: 1px solid rgba(32,214,255,.65); border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(32,214,255,.25), rgba(7,17,31,.9) 62%); box-shadow: 0 0 0 14px rgba(32,214,255,.035), 0 0 70px rgba(32,214,255,.22); animation: mkt-core-breathe 4s ease-in-out infinite; }
.mkt-signal-core strong { color: var(--mkt-text); font: 800 17px var(--mkt-font-heading); letter-spacing: .12em; }
.mkt-signal-core em { color: var(--mkt-green); font: 500 9px var(--mkt-font-mono); font-style: normal; letter-spacing: .08em; }
.mkt-core-ring { position: absolute; inset: 8px; border: 1px dashed rgba(110,243,165,.55); border-radius: 50%; animation: mkt-ring-spin 15s linear infinite; }
.mkt-signal-readout { position: absolute; z-index: 4; bottom: 18px; left: 18px; display: grid; gap: 4px; padding: 12px 15px; border-left: 2px solid var(--mkt-green); background: linear-gradient(90deg, rgba(4,12,27,.9), rgba(4,12,27,.18)); backdrop-filter: blur(8px); }
.mkt-signal-readout span, .mkt-signal-readout small { color: var(--mkt-text-muted); font: 600 10px var(--mkt-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.mkt-signal-readout strong { color: var(--mkt-green); font: 700 23px var(--mkt-font-heading); }
@keyframes mkt-signal-travel { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
@keyframes mkt-signal-packet { from { transform: translateX(0); opacity: 0; } 20% { opacity: 1; } to { transform: translateX(220px); opacity: 0; } }
@keyframes mkt-node-breathe { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes mkt-core-breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes mkt-ring-spin { to { transform: rotate(360deg); } }
@media (max-width: 560px) { .mkt-signal-field { height: 330px; transform: none; margin-bottom: 0; border-radius: 20px; animation: none; } }
@media (prefers-reduced-motion: reduce) { .mkt-signal-field, .mkt-signal-field::after { animation: none; } }

/* The hero scene is rendered locally on canvas: a small, dependency-free
   3D projection that reacts to the pointer instead of a passive image. */
.mkt-engine-stage { position: relative; width: min(100%, 600px); height: 480px; margin: 0 auto; overflow: hidden; border: 1px solid rgba(32,214,255,.28); border-radius: 30px; background: #030917; box-shadow: 0 35px 90px rgba(0,0,0,.42), 0 0 90px rgba(32,214,255,.1); perspective: 900px; }
.mkt-engine-stage canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.mkt-engine-stage::before { content: "AI NATIVE ENGINE"; position: absolute; z-index: 2; top: 20px; left: 22px; color: rgba(248,250,252,.74); font: 600 10px var(--mkt-font-mono); letter-spacing: .12em; }
.mkt-engine-stage::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(3,9,23,.12), transparent 35%, rgba(3,9,23,.36)); }
.mkt-engine-label { position: absolute; z-index: 3; display: grid; gap: 5px; padding: 11px 13px; border-left: 2px solid var(--mkt-cyan); background: rgba(3,9,23,.72); backdrop-filter: blur(7px); }
.mkt-engine-label small { color: var(--mkt-text-muted); font: 600 9px var(--mkt-font-mono); letter-spacing: .08em; }
.mkt-engine-label strong { color: var(--mkt-text); font: 600 12px var(--mkt-font-heading); }
.mkt-engine-label-source { top: 22%; left: 5%; }
.mkt-engine-label-match { top: 47%; right: 4%; border-color: var(--mkt-green); }
.mkt-engine-label-result { bottom: 17%; left: 8%; border-color: #a06bff; }
.mkt-engine-hud { position: absolute; z-index: 3; right: 20px; bottom: 18px; display: grid; gap: 5px; text-align: right; }
.mkt-engine-hud span { color: var(--mkt-green); font: 600 9px var(--mkt-font-mono); letter-spacing: .1em; }
.mkt-engine-hud span i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--mkt-green); box-shadow: 0 0 0 4px rgba(110,243,165,.12); }
.mkt-engine-hud strong { color: var(--mkt-text); font: 700 13px var(--mkt-font-mono); }
.mkt-engine-hud small { color: var(--mkt-text-muted); font: 500 9px var(--mkt-font-mono); }
@media (max-width: 560px) { .mkt-engine-stage { height: 360px; border-radius: 22px; } .mkt-engine-label { transform: scale(.82); transform-origin: left top; } .mkt-engine-label-match { transform-origin: right top; } .mkt-engine-hud { right: 14px; bottom: 14px; } }
@media (prefers-reduced-motion: reduce) { .mkt-engine-stage canvas { opacity: .9; } }

/* Conversion-first homepage rebuild */
body.marketing-home .mkt-clean-hero { padding: 120px 0 90px; background: linear-gradient(180deg, #07111f 0%, #0c1a2b 100%); }
.mkt-clean-hero-grid { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; gap: 70px; }
.mkt-clean-hero-copy h1 { max-width: 620px; margin: 16px 0 24px; font-size: clamp(52px, 7vw, 86px); line-height: .98; letter-spacing: -.06em; }
.mkt-clean-hero-copy > p { max-width: 550px; margin: 0 0 30px; color: var(--mkt-text-muted); font-size: 19px; line-height: 1.55; }
.mkt-clean-hero-scene .mkt-engine-stage { width: 100%; max-width: 620px; }
.mkt-clean-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 28px; color: var(--mkt-text-muted); font: 600 10px var(--mkt-font-mono); letter-spacing: .07em; text-transform: uppercase; }
.mkt-clean-proof i { width: 4px; height: 4px; border-radius: 50%; background: var(--mkt-cyan); }
.mkt-proof-band { border-top: 1px solid var(--mkt-border); border-bottom: 1px solid var(--mkt-border); background: #0e1b2e; }
.mkt-proof-band-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.mkt-proof-band-grid > div { display: grid; gap: 4px; padding: 24px 28px; border-right: 1px solid var(--mkt-border); }
.mkt-proof-band-grid > div:first-child { padding-left: 0; }
.mkt-proof-band-grid > div:last-child { border-right: 0; }
.mkt-proof-band strong { font: 700 15px var(--mkt-font-heading); }
.mkt-proof-band span { color: var(--mkt-text-muted); font-size: 13px; }
.mkt-clean-section { padding: 120px 0; }
.mkt-clean-audience { background: #07111f; }
.mkt-clean-heading { max-width: 670px; margin-bottom: 48px; }
.mkt-clean-heading h2 { margin: 12px 0 16px; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.045em; }
.mkt-clean-heading p { margin: 0; color: var(--mkt-text-muted); font-size: 18px; }
.mkt-path-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.mkt-path-card { position: relative; min-height: 430px; padding: 38px; overflow: hidden; border: 1px solid var(--mkt-border); border-radius: 22px; background: var(--mkt-surface); }
.mkt-path-card::after { content: ""; position: absolute; right: -80px; bottom: -110px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(32,214,255,.22), transparent 65%); pointer-events: none; }
.mkt-path-publisher::after { background: radial-gradient(circle, rgba(110,243,165,.2), transparent 65%); }
.mkt-path-number { display: block; margin-bottom: 54px; color: var(--mkt-text-muted); font: 600 11px var(--mkt-font-mono); }
.mkt-path-card h3 { max-width: 450px; margin: 12px 0 14px; font-size: 29px; letter-spacing: -.03em; }
.mkt-path-card p { max-width: 470px; margin: 0 0 24px; color: var(--mkt-text-muted); }
.mkt-path-card ul { display: grid; gap: 9px; margin: 0 0 28px; padding: 0; list-style: none; color: var(--mkt-text); font-size: 14px; }
.mkt-path-card li::before { content: "→"; margin-right: 9px; color: var(--mkt-green); }
.mkt-text-link { position: relative; z-index: 1; color: var(--mkt-cyan); font-weight: 700; }
.mkt-text-link span { display: inline-block; margin-left: 7px; transition: transform .2s ease; }
.mkt-text-link:hover span { transform: translateX(4px); }
.mkt-clean-platform { background: #0e1b2e; }
.mkt-workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 56px; }
.mkt-workflow-step { padding: 25px; border-top: 1px solid var(--mkt-cyan); background: rgba(7,17,31,.4); }
.mkt-workflow-step > span { color: var(--mkt-text-muted); font: 600 10px var(--mkt-font-mono); }
.mkt-workflow-icon { margin: 26px 0 16px; color: var(--mkt-cyan); font: 700 29px var(--mkt-font-heading); }
.mkt-workflow-step h3 { margin-bottom: 8px; font-size: 21px; }
.mkt-workflow-step p { margin: 0; color: var(--mkt-text-muted); font-size: 14px; }
.mkt-product-proof { padding: 26px; border: 1px solid var(--mkt-border); border-radius: 20px; background: #07111f; box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.mkt-product-proof-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.mkt-product-proof-head h3 { margin: 3px 0 0; font-size: 21px; }
.mkt-product-proof-body { display: grid; grid-template-columns: 1.2fr .8fr .55fr; gap: 14px; align-items: stretch; }
.mkt-article-mock, .mkt-native-mock, .mkt-score-mock { padding: 18px; border: 1px solid var(--mkt-border); border-radius: 13px; background: rgba(17,24,39,.7); }
.mkt-article-mock-image { height: 120px; margin: -18px -18px 15px; border-radius: 13px 13px 0 0; background: linear-gradient(135deg, rgba(32,214,255,.22), rgba(110,243,165,.08)), url('/static/seed/article-2.svg') center/cover; }
.mkt-article-mock > span, .mkt-native-mock > span, .mkt-score-mock > span { color: var(--mkt-text-muted); font: 600 9px var(--mkt-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.mkt-article-mock h4 { margin: 9px 0 7px; font-size: 18px; }
.mkt-article-mock p, .mkt-native-mock small, .mkt-score-mock small { color: var(--mkt-text-muted); font-size: 12px; }
.mkt-native-mock { display: grid; align-content: center; gap: 13px; border-left: 2px solid var(--mkt-cyan); background: linear-gradient(145deg, rgba(32,214,255,.11), rgba(17,24,39,.7)); }
.mkt-native-mock strong { font: 700 21px/1.15 var(--mkt-font-heading); }
.mkt-score-mock { display: grid; align-content: center; gap: 10px; border-top: 2px solid var(--mkt-green); }
.mkt-score-mock strong { color: var(--mkt-green); font: 700 46px var(--mkt-font-heading); }
.mkt-score-mock div { height: 5px; overflow: hidden; border-radius: 5px; background: rgba(148,163,184,.15); }
.mkt-score-mock div i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mkt-cyan), var(--mkt-green)); }
.mkt-clean-trust { background: #07111f; }
.mkt-trust-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 90px; align-items: start; }
.mkt-trust-list { display: grid; border-top: 1px solid var(--mkt-border); }
.mkt-trust-list > div { display: grid; grid-template-columns: 42px 1fr; column-gap: 13px; padding: 21px 0; border-bottom: 1px solid var(--mkt-border); }
.mkt-trust-list span { color: var(--mkt-cyan); font: 600 10px var(--mkt-font-mono); }
.mkt-trust-list strong { font-size: 17px; }
.mkt-trust-list p { grid-column: 2; margin: 5px 0 0; color: var(--mkt-text-muted); font-size: 13px; }
.mkt-clean-cta { padding-top: 40px; background: #07111f; }
.mkt-clean-cta-card { padding: 78px 32px; border-radius: 24px; text-align: center; background: linear-gradient(135deg, #153450, #0a1826); }
.mkt-clean-cta-card h2 { margin: 12px 0; font-size: clamp(38px, 5vw, 60px); letter-spacing: -.045em; }
.mkt-clean-cta-card p { margin: 0 auto 28px; color: var(--mkt-text-muted); font-size: 18px; }
.mkt-clean-cta-card .mkt-btn-row { justify-content: center; }
@media (max-width: 900px) { .mkt-clean-hero-grid { grid-template-columns: 1fr; gap: 52px; } .mkt-clean-hero-copy { text-align: center; } .mkt-clean-hero-copy > p { margin-left: auto; margin-right: auto; } .mkt-clean-hero-copy .mkt-btn-row, .mkt-clean-proof { justify-content: center; } .mkt-product-proof-body { grid-template-columns: 1fr 1fr; } .mkt-score-mock { grid-column: 1 / -1; } .mkt-trust-grid { gap: 45px; } }
@media (max-width: 640px) { body.marketing-home .mkt-clean-hero { padding: 74px 0 62px; } .mkt-proof-band-grid { grid-template-columns: 1fr; } .mkt-proof-band-grid > div, .mkt-proof-band-grid > div:first-child { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--mkt-border); } .mkt-proof-band-grid > div:last-child { border-bottom: 0; } .mkt-clean-section { padding: 76px 0; } .mkt-path-grid, .mkt-workflow-grid, .mkt-trust-grid, .mkt-product-proof-body { grid-template-columns: 1fr; } .mkt-path-card { min-height: 0; padding: 27px; } .mkt-path-number { margin-bottom: 38px; } .mkt-product-proof { padding: 18px; } .mkt-product-proof-head { align-items: flex-start; gap: 16px; flex-direction: column; } .mkt-score-mock { grid-column: auto; } .mkt-clean-cta-card { padding: 58px 22px; } }

/* Product-in-use hero: show the actual native experience, not an empty box. */
.mkt-clean-hero-scene { position: relative; min-height: 540px; }
.mkt-site-window { position: absolute; top: 22px; right: 0; width: 94%; overflow: hidden; border: 1px solid rgba(148,163,184,.3); border-radius: 16px; background: #f7f8fa; color: #172033; box-shadow: 0 30px 80px rgba(0,0,0,.4); transform: perspective(1200px) rotateY(-7deg) rotateX(2deg); }
.mkt-window-bar { display: flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; background: #edf0f4; color: #758096; font: 500 9px var(--mkt-font-mono); }
.mkt-window-bar > span { width: 6px; height: 6px; border-radius: 50%; background: #c6ccd5; }
.mkt-window-bar small { margin-left: 8px; font-size: 9px; }.mkt-window-bar b { margin-left: auto; color: #19a974; font-size: 8px; }
.mkt-window-nav { display: flex; align-items: center; gap: 19px; padding: 15px 22px; border-bottom: 1px solid #e3e7ed; background: #fff; font: 600 9px Inter, sans-serif; }.mkt-window-nav strong { margin-right: auto; font: 800 19px Sora, sans-serif; letter-spacing: -.06em; }.mkt-window-nav span { color: #7b8494; }
.mkt-window-body { padding: 25px 32px 30px; background: linear-gradient(180deg, #fff, #f5f7fa); }.mkt-window-kicker { color: #6b7280; font: 700 8px var(--mkt-font-mono); letter-spacing: .12em; }.mkt-window-body h3 { max-width: 370px; margin: 9px 0 6px; font-size: 29px; line-height: 1.05; letter-spacing: -.05em; }.mkt-window-body > p { margin: 0 0 17px; color: #748096; font: 400 12px Inter, sans-serif; }.mkt-window-image { height: 118px; border-radius: 9px; background: linear-gradient(135deg, rgba(22,33,65,.08), rgba(22,33,65,.02)), url('/static/img/brand/adnyro-demo-doha.png') center/cover; transition: opacity .25s ease, transform .25s ease; }
.mkt-native-placement { display: grid; grid-template-columns: 72px 1fr; gap: 13px; align-items: center; margin-top: 15px; padding: 11px; border: 1px solid #dbe2ea; border-radius: 9px; background: #fff; box-shadow: 0 5px 18px rgba(31,48,72,.08); }.mkt-native-image { height: 58px; border-radius: 6px; background: url('/static/seed/creative-1.svg') center/cover; }.mkt-native-placement small { display: block; color: #8993a2; font: 700 8px var(--mkt-font-mono); text-transform: uppercase; }.mkt-native-placement strong { display: block; margin: 4px 0; color: #1e2a3d; font: 700 13px Inter, sans-serif; }.mkt-native-placement span { color: #2688a5; font: 600 9px Inter, sans-serif; }
.mkt-phone-preview { position: absolute; z-index: 4; bottom: 0; left: 0; width: 166px; padding: 10px 9px 12px; overflow: hidden; border: 3px solid #131d2d; border-radius: 22px; background: #fff; color: #1a2434; box-shadow: 0 24px 55px rgba(0,0,0,.46); transform: rotate(-7deg); }.mkt-phone-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 8px 10px; font: 600 8px var(--mkt-font-mono); }.mkt-phone-top i { width: 42px; height: 5px; border-radius: 5px; background: #182233; }.mkt-phone-image { height: 154px; margin: 0 -1px 12px; border-radius: 11px; background: url('/static/img/brand/adnyro-demo-doha.png') center/cover; transition: opacity .25s ease, transform .25s ease; }.mkt-phone-preview small { display: block; color: #8b95a5; font: 700 7px var(--mkt-font-mono); }.mkt-phone-preview strong { display: block; margin: 6px 0; font: 700 15px/1.1 Sora, sans-serif; }.mkt-phone-preview > span { color: #13a6b8; font: 600 9px Inter, sans-serif; }.mkt-phone-bottom { display: flex; justify-content: space-around; margin-top: 14px; padding-top: 9px; border-top: 1px solid #e5e9ef; }.mkt-phone-bottom i { width: 12px; height: 5px; border-radius: 4px; background: #c8d0da; }.mkt-phone-bottom i:first-child { background: #1fb7c5; }
.mkt-demo-changing { opacity: .1; transform: translateY(4px); }
@media (max-width: 900px) { .mkt-clean-hero-scene { min-height: 475px; max-width: 620px; margin: 0 auto; } .mkt-site-window { width: 94%; } }
@media (max-width: 560px) { .mkt-clean-hero-scene { min-height: 390px; } .mkt-site-window { top: 8px; width: 95%; border-radius: 12px; transform: none; }.mkt-window-nav { gap: 8px; padding: 11px 14px; }.mkt-window-nav span { display: none; }.mkt-window-body { padding: 18px 18px 20px; }.mkt-window-body h3 { font-size: 22px; }.mkt-window-image { height: 90px; }.mkt-native-placement { grid-template-columns: 55px 1fr; gap: 9px; }.mkt-native-image { height: 48px; }.mkt-native-placement strong { font-size: 11px; }.mkt-phone-preview { width: 126px; padding: 8px 7px 10px; border-width: 2px; border-radius: 17px; }.mkt-phone-image { height: 110px; }.mkt-phone-preview strong { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .mkt-signal-line-art, .mkt-signal-line-art::after, .mkt-signal-node, .mkt-signal-core, .mkt-core-ring { animation: none; } }

.mkt-network-stage::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(32, 214, 255, 0.16), transparent 68%);
  filter: blur(4px);
  z-index: -2;
}

.mkt-orbit { position: absolute; border: 1px solid rgba(32, 214, 255, 0.16); border-radius: 50%; pointer-events: none; }
.mkt-orbit-one { width: 380px; height: 230px; transform: rotate(24deg); animation: mkt-orbit-drift 11s ease-in-out infinite; }
.mkt-orbit-two { width: 300px; height: 410px; transform: rotate(-34deg); border-color: rgba(110, 243, 165, 0.13); animation: mkt-orbit-drift 14s ease-in-out infinite reverse; }

.mkt-float-card { position: absolute; z-index: 3; display: grid; gap: 4px; min-width: 150px; padding: 12px 14px; background: rgba(17, 24, 39, 0.86); border: 1px solid rgba(148, 163, 184, 0.24); border-radius: 12px; box-shadow: 0 18px 45px rgba(0,0,0,.28); backdrop-filter: blur(12px); animation: mkt-card-drift 7s ease-in-out infinite; }
.mkt-float-card strong { font-family: var(--mkt-font-heading); font-size: 14px; }
.mkt-float-kicker { color: var(--mkt-text-muted); font: 600 10px var(--mkt-font-mono); text-transform: uppercase; letter-spacing: .06em; }
.mkt-float-card-campaign { top: 18px; right: 1%; color: var(--mkt-green); }
.mkt-float-card-match { bottom: 24px; left: 0; color: var(--mkt-cyan); animation-delay: -2.8s; }
.mkt-float-spark { display: block; width: 100%; height: 18px; margin-top: 3px; background: linear-gradient(135deg, transparent 10%, var(--mkt-green) 11% 14%, transparent 15% 30%, var(--mkt-green) 31% 34%, transparent 35% 54%, var(--mkt-green) 55% 58%, transparent 59%); opacity: .7; }
.mkt-match-pulse { width: 8px; height: 8px; margin-top: 5px; border-radius: 50%; background: var(--mkt-cyan); box-shadow: 0 0 0 0 rgba(32,214,255,.55); animation: mkt-pulse 2s infinite; }
.mkt-stage-caption { position: absolute; bottom: -2px; display: inline-flex; align-items: center; gap: 7px; color: var(--mkt-text-muted); font: 500 11px var(--mkt-font-mono); letter-spacing: .03em; }
.mkt-stage-live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mkt-green); box-shadow: 0 0 0 4px rgba(110,243,165,.13); }

@keyframes mkt-card-drift { 0%, 100% { transform: translate3d(0, 0, 0); } 50% { transform: translate3d(0, -9px, 0); } }
@keyframes mkt-orbit-drift { 0%, 100% { opacity: .65; transform: rotate(24deg) scale(1); } 50% { opacity: 1; transform: rotate(30deg) scale(1.04); } }
@keyframes mkt-pulse { 70% { box-shadow: 0 0 0 8px rgba(32,214,255,0); } 100% { box-shadow: 0 0 0 0 rgba(32,214,255,0); } }

@media (max-width: 960px) { .mkt-network-stage { min-height: 390px; } }
@media (max-width: 560px) { .mkt-network-stage { min-height: 360px; transform: scale(.94); margin: -12px 0; } .mkt-float-card { min-width: 132px; padding: 10px 11px; } .mkt-float-card-campaign { right: -2%; } .mkt-float-card-match { left: -3%; } }
@media (prefers-reduced-motion: reduce) { .mkt-orbit-one, .mkt-orbit-two, .mkt-float-card, .mkt-match-pulse { animation: none; } }

.mkt-flow-row {
  display: flex;
  align-items: stretch;
  gap: 10px;
}

.mkt-flow-card {
  flex: 1;
  background: var(--mkt-surface-elevated);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: 14px;
  min-width: 0;
}

.mkt-flow-label {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-text-muted);
  margin-bottom: 8px;
}

.mkt-flow-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  color: var(--mkt-cyan);
  font-size: 16px;
}

@media (max-width: 500px) {
  .mkt-flow-row { flex-direction: column; }
  .mkt-flow-connector { width: 100%; height: 18px; transform: rotate(90deg); }
}

.mkt-metric-tile {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  padding: 10px 12px;
  margin-top: 10px;
}

.mkt-metric-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-muted);
}

.mkt-metric-value {
  font-family: var(--mkt-font-mono);
  font-size: 19px;
  font-weight: 600;
  color: var(--mkt-text);
  margin-top: 2px;
}

.mkt-metric-value.mkt-up { color: var(--mkt-green); }

.mkt-native-card-mock {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}

.mkt-native-card-mock .mkt-thumb {
  height: 54px;
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.25), rgba(110, 243, 165, 0.15));
}

.mkt-native-card-mock .mkt-card-body { padding: 8px 10px; }

.mkt-native-card-mock .mkt-card-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mkt-text);
  margin-bottom: 4px;
}

.mkt-sponsored-tag {
  display: inline-block;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-muted);
  border: 1px solid var(--mkt-border);
  border-radius: 4px;
  padding: 1px 5px;
}

.mkt-signal-line {
  height: 2px;
  background: linear-gradient(90deg, var(--mkt-cyan), var(--mkt-green));
  border-radius: 2px;
  margin: 14px 0;
  opacity: 0.6;
  position: relative;
  overflow: hidden;
}

.mkt-signal-line::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.7), transparent);
  animation: mkt-signal-sweep 2.6s ease-in-out infinite;
}

@keyframes mkt-signal-sweep {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(400%); }
}

/* ------------------------------------------------------------------ */
/* Capability strip                                                     */
/* ------------------------------------------------------------------ */

.mkt-capability-strip {
  border-top: 1px solid var(--mkt-border);
  border-bottom: 1px solid var(--mkt-border);
  background: var(--mkt-bg-2);
  padding: 28px 0;
}

.mkt-capability-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.mkt-capability-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mkt-text-muted);
  flex: 1;
  min-width: 200px;
}

.mkt-capability-item .mkt-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--mkt-cyan);
  flex-shrink: 0;
}

/* ------------------------------------------------------------------ */
/* Cards (generic premium card used across sections)                   */
/* ------------------------------------------------------------------ */

.mkt-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 16px;
  padding: 32px;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.mkt-card:hover { border-color: rgba(32, 214, 255, 0.35); transform: translateY(-2px); }

.mkt-card-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-cyan);
  margin-bottom: 14px;
}

.mkt-card h3 { font-size: 24px; margin-bottom: 12px; }
.mkt-card p { color: var(--mkt-text-muted); font-size: 15.5px; margin: 0 0 18px; }

.mkt-check-list { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-direction: column; gap: 10px; }

.mkt-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  color: var(--mkt-text);
}

.mkt-check-list li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  background: rgba(110, 243, 165, 0.14);
  border: 1px solid rgba(110, 243, 165, 0.4);
}

/* Small utility cards (capability/use-case grids) */

.mkt-mini-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: 20px;
  font-weight: 600;
  font-size: 14.5px;
  text-align: center;
}

/* ------------------------------------------------------------------ */
/* Product module cards                                                 */
/* ------------------------------------------------------------------ */

.mkt-module-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 14px;
  padding: 26px;
}

.mkt-module-name {
  font-family: var(--mkt-font-heading);
  font-weight: 700;
  font-size: 17px;
  color: var(--mkt-cyan);
  margin-bottom: 10px;
}

.mkt-module-card p { color: var(--mkt-text-muted); font-size: 14.5px; margin: 0; }

/* Three-step network story */
.mkt-network-loop { display: grid; grid-template-columns: 1fr 54px 1fr 54px 1fr; align-items: stretch; gap: 0; }
.mkt-loop-card { position: relative; min-height: 230px; padding: 28px; background: var(--mkt-surface); border: 1px solid var(--mkt-border); border-radius: 18px; overflow: hidden; transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.mkt-loop-card::after { content: ""; position: absolute; inset: auto -25% -55% 15%; height: 150px; background: radial-gradient(ellipse, rgba(32,214,255,.13), transparent 68%); pointer-events: none; }
.mkt-loop-card:hover { transform: translateY(-6px); border-color: rgba(32,214,255,.55); box-shadow: 0 22px 45px rgba(0,0,0,.22); }
.mkt-loop-card-featured { background: linear-gradient(145deg, rgba(32,214,255,.12), var(--mkt-surface) 58%); border-color: rgba(32,214,255,.35); }
.mkt-loop-index { color: var(--mkt-text-muted); font: 600 11px var(--mkt-font-mono); letter-spacing: .08em; }
.mkt-loop-icon { margin: 26px 0 14px; color: var(--mkt-cyan); font: 700 27px var(--mkt-font-heading); }
.mkt-loop-card h3 { font-size: 21px; margin-bottom: 9px; }
.mkt-loop-card p { max-width: 245px; margin: 0; color: var(--mkt-text-muted); font-size: 14.5px; }
.mkt-loop-tag { position: absolute; bottom: 22px; color: var(--mkt-green); font: 600 10px var(--mkt-font-mono); text-transform: uppercase; letter-spacing: .06em; }
.mkt-loop-connector { display: grid; place-items: center; color: var(--mkt-cyan); }
.mkt-loop-connector span { position: absolute; width: 42px; height: 1px; background: linear-gradient(90deg, transparent, var(--mkt-cyan), transparent); }
.mkt-loop-connector i { position: relative; z-index: 1; padding: 4px; background: var(--mkt-bg); font-style: normal; font-size: 20px; animation: mkt-connector-pulse 2.5s ease-in-out infinite; }
@keyframes mkt-connector-pulse { 0%, 100% { opacity: .45; transform: translateX(-3px); } 50% { opacity: 1; transform: translateX(3px); } }
@media (max-width: 900px) { .mkt-network-loop { grid-template-columns: 1fr; gap: 14px; } .mkt-loop-connector { height: 28px; transform: rotate(90deg); } .mkt-loop-connector span { width: 34px; } }
@media (prefers-reduced-motion: reduce) { .mkt-loop-connector i { animation: none; } }

/* ------------------------------------------------------------------ */
/* Tabs (Platform showcase)                                             */
/* ------------------------------------------------------------------ */

.mkt-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--mkt-border);
  margin-bottom: 32px;
}

.mkt-tab-btn {
  background: transparent;
  border: none;
  color: var(--mkt-text-muted);
  font-family: var(--mkt-font-body);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 18px;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.mkt-tab-btn:hover { color: var(--mkt-text); }
.mkt-tab-btn.mkt-active { color: var(--mkt-cyan); border-bottom-color: var(--mkt-cyan); }

.mkt-tab-panel { display: none; }
.mkt-tab-panel.mkt-active { display: block; animation: mkt-fade-in 0.2s ease; }

@keyframes mkt-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 700px) {
  .mkt-tabs { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .mkt-tab-btn { flex-shrink: 0; }
}

/* Dashboard mockup used inside tab panels */

.mkt-dashboard-mock {
  background: linear-gradient(160deg, var(--mkt-surface), var(--mkt-bg-2));
  border: 1px solid var(--mkt-border);
  border-radius: 16px;
  padding: 24px;
}

.mkt-dashboard-mock-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.mkt-dashboard-mock-head h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-muted);
  margin: 0;
  font-family: var(--mkt-font-body);
  font-weight: 600;
}

.mkt-ui-kicker { display: block; margin-bottom: 5px; color: var(--mkt-cyan); font: 600 9px var(--mkt-font-mono); letter-spacing: .1em; text-transform: uppercase; }
.mkt-live-badge { display: inline-flex; align-items: center; gap: 7px; color: var(--mkt-green); font: 600 10px var(--mkt-font-mono); text-transform: uppercase; letter-spacing: .06em; }
.mkt-live-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--mkt-green); box-shadow: 0 0 0 4px rgba(110,243,165,.12); }
.mkt-widget-preview { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(220px, .8fr); gap: 16px; padding: 18px; border: 1px solid var(--mkt-border); border-radius: 14px; background: #0a1422; }
.mkt-widget-article { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: center; padding: 15px; border: 1px solid var(--mkt-border); border-radius: 11px; background: rgba(17,24,39,.75); }
.mkt-widget-article-image { min-height: 125px; border-radius: 8px; background: linear-gradient(135deg, rgba(32,214,255,.25), rgba(110,243,165,.08)), url('/static/seed/article-2.svg') center/cover; }
.mkt-widget-category { color: var(--mkt-text-muted); font: 600 9px var(--mkt-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.mkt-widget-article h3 { margin: 9px 0 7px; font-size: 18px; }
.mkt-widget-article p { margin: 0; color: var(--mkt-text-muted); font-size: 12px; line-height: 1.5; }
.mkt-widget-rail { display: grid; align-content: center; gap: 10px; padding: 18px; border-left: 2px solid var(--mkt-cyan); background: linear-gradient(145deg, rgba(32,214,255,.11), rgba(32,214,255,.02)); }
.mkt-widget-rail strong { font: 700 20px/1.15 var(--mkt-font-heading); }
.mkt-widget-rail small { color: var(--mkt-text-muted); font-size: 11px; }
.mkt-ranking-list { display: grid; gap: 8px; }
.mkt-ranking-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) 42px 58px; gap: 12px; align-items: center; padding: 15px 14px; border: 1px solid var(--mkt-border); border-radius: 10px; background: rgba(17,24,39,.72); }
.mkt-ranking-row.mkt-ranking-winner { border-color: rgba(110,243,165,.5); background: linear-gradient(90deg, rgba(110,243,165,.09), rgba(17,24,39,.7)); }
.mkt-ranking-rank { color: var(--mkt-text-muted); font: 600 11px var(--mkt-font-mono); }
.mkt-ranking-main { min-width: 0; }
.mkt-ranking-main strong { display: block; overflow: hidden; color: var(--mkt-text); font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.mkt-ranking-bar { height: 5px; margin-top: 9px; overflow: hidden; border-radius: 5px; background: rgba(148,163,184,.14); }
.mkt-ranking-bar i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--mkt-cyan), var(--mkt-green)); }
.mkt-ranking-row b { color: var(--mkt-green); font: 700 17px var(--mkt-font-heading); text-align: right; }
.mkt-ranking-row small { color: var(--mkt-text-muted); font: 500 9px var(--mkt-font-mono); }
.mkt-panel-note { margin: 18px 0 0; color: var(--mkt-text-muted); font-size: 13px; }
@media (max-width: 700px) { .mkt-widget-preview { grid-template-columns: 1fr; } .mkt-widget-article { grid-template-columns: 92px 1fr; } .mkt-widget-article-image { min-height: 92px; } .mkt-ranking-row { grid-template-columns: 24px minmax(0,1fr) 35px; } .mkt-ranking-row small { display: none; } }

.mkt-kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 18px; }

@media (max-width: 700px) {
  .mkt-kpi-row { grid-template-columns: repeat(2, 1fr); }
}

.mkt-chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 96px;
  padding: 8px 0;
}

.mkt-chart-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--mkt-cyan), rgba(32, 214, 255, 0.15));
  border-radius: 3px 3px 0 0;
}

.mkt-mock-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 6px; }
.mkt-mock-table th {
  text-align: left;
  color: var(--mkt-text-muted);
  font-weight: 500;
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 8px 10px;
  border-bottom: 1px solid var(--mkt-border);
}
.mkt-mock-table td { padding: 9px 10px; border-bottom: 1px solid var(--mkt-border); font-family: var(--mkt-font-mono); font-size: 12.5px; }
.mkt-mock-table tr:last-child td { border-bottom: none; }

/* ------------------------------------------------------------------ */
/* Comparison table (+ mobile stacked cards)                            */
/* ------------------------------------------------------------------ */

.mkt-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 16px;
  overflow: hidden;
}

.mkt-compare-table th, .mkt-compare-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 15px;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-compare-table thead th {
  font-family: var(--mkt-font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-text-muted);
  background: var(--mkt-bg-2);
}

.mkt-compare-table thead th:last-child { color: var(--mkt-cyan); }

.mkt-compare-table td:first-child { color: var(--mkt-text-muted); }
.mkt-compare-table td:last-child { color: var(--mkt-text); font-weight: 600; }
.mkt-compare-table tr:last-child td { border-bottom: none; }

.mkt-compare-cards { display: none; flex-direction: column; gap: 14px; }

.mkt-compare-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: 18px 20px;
}

.mkt-compare-card .mkt-old { color: var(--mkt-text-muted); font-size: 13.5px; margin-bottom: 6px; text-decoration: line-through; text-decoration-color: rgba(148, 163, 184, 0.4); }
.mkt-compare-card .mkt-new { color: var(--mkt-text); font-weight: 600; font-size: 15px; }

@media (max-width: 720px) {
  .mkt-compare-table { display: none; }
  .mkt-compare-cards { display: flex; }
}

/* ------------------------------------------------------------------ */
/* Integration steps                                                    */
/* ------------------------------------------------------------------ */

.mkt-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .mkt-steps { grid-template-columns: 1fr; }
}

.mkt-step-num {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(32, 214, 255, 0.12);
  border: 1px solid rgba(32, 214, 255, 0.3);
  color: var(--mkt-cyan);
  font-family: var(--mkt-font-mono);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.mkt-code-block {
  background: #050B14;
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
  padding: 20px 22px;
  font-family: var(--mkt-font-mono);
  font-size: 13px;
  color: var(--mkt-green);
  overflow-x: auto;
  white-space: pre;
}

.mkt-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--mkt-border);
  border-radius: 12px;
}

.mkt-docs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  white-space: nowrap;
}

.mkt-docs-table th,
.mkt-docs-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-docs-table th {
  font-family: var(--mkt-font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--mkt-text-muted);
  background: var(--mkt-surface);
}

.mkt-docs-table tbody tr:last-child td {
  border-bottom: none;
}

.mkt-docs-table tbody tr:hover td {
  background: rgba(32, 214, 255, 0.04);
}

/* ------------------------------------------------------------------ */
/* Final CTA banner                                                     */
/* ------------------------------------------------------------------ */

.mkt-cta-banner {
  background: linear-gradient(135deg, rgba(32, 214, 255, 0.1), rgba(110, 243, 165, 0.06));
  border: 1px solid var(--mkt-border);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
}

.mkt-cta-banner h2 { font-size: clamp(28px, 4vw, 42px); }
.mkt-cta-banner p { color: var(--mkt-text-muted); font-size: 17px; max-width: 560px; margin: 0 auto 32px; }

@media (max-width: 600px) {
  .mkt-cta-banner { padding: 44px 24px; border-radius: 18px; }
}

/* ------------------------------------------------------------------ */
/* Footer                                                               */
/* ------------------------------------------------------------------ */

.mkt-footer {
  border-top: 1px solid var(--mkt-border);
  background: var(--mkt-bg-2);
  padding: 56px 0 28px;
}

.mkt-footer-top {
  display: grid;
  grid-template-columns: 1.2fr repeat(4, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

@media (max-width: 800px) {
  .mkt-footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .mkt-footer-top { grid-template-columns: 1fr; }
}

.mkt-footer-brand img { height: 26px; margin-bottom: 12px; }

.mkt-footer-desc { color: var(--mkt-text-muted); font-size: 14px; max-width: 280px; }

.mkt-footer-col h5 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--mkt-text-muted);
  margin-bottom: 14px;
}

.mkt-footer-col { display: flex; flex-direction: column; gap: 10px; }
.mkt-footer-col a { color: var(--mkt-text); font-size: 14.5px; }
.mkt-footer-col a:hover { color: var(--mkt-cyan); }

.mkt-footer-bottom {
  border-top: 1px solid var(--mkt-border);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--mkt-text-muted);
}

/* ------------------------------------------------------------------ */
/* Forms (contact page)                                                 */
/* ------------------------------------------------------------------ */

.mkt-form-group { margin-bottom: 18px; }

.mkt-form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--mkt-text-muted);
}

.mkt-form-group input,
.mkt-form-group select,
.mkt-form-group textarea {
  width: 100%;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 10px;
  padding: 13px 14px;
  color: var(--mkt-text);
  font-family: var(--mkt-font-body);
  font-size: 15px;
}

.mkt-form-group input:focus,
.mkt-form-group select:focus,
.mkt-form-group textarea:focus {
  outline: none;
  border-color: var(--mkt-cyan);
}

.mkt-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

@media (max-width: 600px) {
  .mkt-form-row { grid-template-columns: 1fr; }
}

.mkt-field-error { color: var(--mkt-danger); font-size: 12.5px; margin-top: 6px; }

.mkt-form-success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  border-radius: 12px;
  padding: 20px 22px;
  color: var(--mkt-text);
  margin-bottom: 24px;
}

/* ------------------------------------------------------------------ */
/* Resources cards                                                      */
/* ------------------------------------------------------------------ */

.mkt-resource-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 14px;
  padding: 26px;
  height: 100%;
}

.mkt-resource-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--mkt-gold);
  margin-bottom: 12px;
}

/* ------------------------------------------------------------------ */
/* Simple page hero (used on non-home marketing pages)                  */
/* ------------------------------------------------------------------ */

.mkt-page-hero {
  padding: 72px 0 48px;
  text-align: center;
  background: radial-gradient(ellipse 800px 400px at 50% -20%, rgba(32, 214, 255, 0.12), transparent 60%);
}

.mkt-page-hero h1 { font-size: clamp(32px, 4.6vw, 52px); max-width: 760px; margin: 0 auto 18px; }
.mkt-page-hero p { color: var(--mkt-text-muted); font-size: 18px; max-width: 620px; margin: 0 auto; }

.mkt-strong-line {
  font-family: var(--mkt-font-heading);
  font-size: clamp(22px, 3vw, 30px);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  color: var(--mkt-text);
}

/* ------------------------------------------------------------------ */
/* Typographic accent -- italic Sora for emphasis words inside          */
/* headlines, mixed with the bold upright weight (h1/h2 stay bold,      */
/* only the wrapped word(s) go italic) for a less generic-SaaS feel.    */
/* ------------------------------------------------------------------ */

.mkt-accent {
  font-style: italic;
  font-weight: 700;
  background: linear-gradient(120deg, var(--mkt-cyan), var(--mkt-green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ------------------------------------------------------------------ */
/* Scroll-reveal -- IntersectionObserver (marketing.js) toggles         */
/* .mkt-visible when an element enters the viewport. Elements are       */
/* visible-by-default (progressive enhancement: JS-disabled or a        */
/* slow-scanning bot still sees full content, never a hidden page).     */
/* ------------------------------------------------------------------ */

.mkt-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mkt-reveal.mkt-visible {
  opacity: 1;
  transform: translateY(0);
}

.mkt-reveal-stagger.mkt-visible .mkt-reveal-item {
  transition-delay: calc(var(--mkt-stagger-i, 0) * 80ms);
}

@media (prefers-reduced-motion: reduce) {
  .mkt-reveal { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------------ */
/* Homepage art direction: each chapter has its own visual rhythm.     */
/* ------------------------------------------------------------------ */
body.marketing-home .mkt-header { background: rgba(4, 9, 18, .84); }
body.marketing-home .mkt-hero { min-height: 680px; display: grid; align-items: center; padding-top: 110px; background: radial-gradient(ellipse 900px 600px at 85% 25%, rgba(32,214,255,.11), transparent 60%), radial-gradient(ellipse 800px 600px at 0% 100%, rgba(110,243,165,.08), transparent 60%), var(--mkt-bg); }
body.marketing-home .mkt-hero-grid { max-width: 1240px; }
body.marketing-home .mkt-hero h1 { max-width: 600px; font-size: clamp(54px, 7vw, 92px); letter-spacing: -.055em; line-height: .97; }
body.marketing-home .mkt-hero-sub { max-width: 500px; font-size: 18px; }
body.marketing-home .mkt-btn-primary { border-radius: 999px; padding-left: 28px; padding-right: 28px; }
body.marketing-home .mkt-btn-ghost { border-radius: 999px; }

.mkt-signal-marquee { position: relative; overflow: hidden; border-top: 1px solid rgba(32,214,255,.22); border-bottom: 1px solid rgba(32,214,255,.22); background: #0a1826; color: var(--mkt-text); }
.mkt-signal-marquee::before, .mkt-signal-marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.mkt-signal-marquee::before { left: 0; background: linear-gradient(90deg, #0a1826, transparent); }
.mkt-signal-marquee::after { right: 0; background: linear-gradient(270deg, #0a1826, transparent); }
.mkt-signal-marquee-track { display: flex; width: max-content; gap: 38px; padding: 16px 0; animation: mkt-marquee 32s linear infinite; font: 600 11px var(--mkt-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.mkt-signal-marquee-track span { display: inline-flex; align-items: center; gap: 38px; white-space: nowrap; }
.mkt-signal-marquee-track i { color: var(--mkt-cyan); font-style: normal; }
@keyframes mkt-marquee { to { transform: translateX(-50%); } }

.mkt-observatory { position: relative; padding: 145px 0 128px; overflow: hidden; background: linear-gradient(180deg, #0a1826 0%, #07111f 100%); }
.mkt-observatory::before { content: "SIGNAL"; position: absolute; top: 54px; right: -30px; color: rgba(248,250,252,.025); font: 800 clamp(130px, 23vw, 340px)/.8 var(--mkt-font-heading); letter-spacing: -.08em; pointer-events: none; }
.mkt-observatory-head { max-width: 680px; position: relative; z-index: 2; }
.mkt-observatory-head h2 { max-width: 620px; font-size: clamp(38px, 5vw, 64px); letter-spacing: -.045em; }
.mkt-observatory-head p { max-width: 520px; color: var(--mkt-text-muted); font-size: 18px; }
.mkt-observatory-map { position: relative; height: 460px; margin-top: 70px; border: 1px solid rgba(148,163,184,.2); border-radius: 28px; overflow: hidden; background: radial-gradient(circle at 50% 50%, rgba(32,214,255,.11), transparent 30%), #07111f; box-shadow: inset 0 0 80px rgba(32,214,255,.04), 0 35px 80px rgba(0,0,0,.24); }
.mkt-map-grid { position: absolute; inset: 0; opacity: .42; background-image: linear-gradient(rgba(148,163,184,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(148,163,184,.08) 1px, transparent 1px); background-size: 42px 42px; transform: perspective(500px) rotateX(58deg) scale(1.5) translateY(70px); transform-origin: center bottom; }
.mkt-map-beam { position: absolute; height: 1px; transform-origin: left center; background: linear-gradient(90deg, transparent, var(--mkt-cyan), var(--mkt-green), transparent); opacity: .7; }
.mkt-map-beam::after { content: ""; position: absolute; left: 0; top: -3px; width: 7px; height: 7px; border-radius: 50%; background: var(--mkt-green); box-shadow: 0 0 16px var(--mkt-green); animation: mkt-map-packet 3.4s linear infinite; }
.mkt-map-beam-one { width: 340px; left: 26%; top: 50%; transform: rotate(-25deg); }
.mkt-map-beam-two { width: 310px; left: 49%; top: 50%; transform: rotate(27deg); animation-delay: -1.2s; }
.mkt-map-beam-three { width: 280px; left: 49%; top: 50%; transform: rotate(152deg); animation-delay: -2.1s; }
@keyframes mkt-map-packet { from { transform: translateX(0); opacity: 0; } 18% { opacity: 1; } to { transform: translateX(330px); opacity: 0; } }
.mkt-map-node { position: absolute; display: grid; gap: 6px; min-width: 150px; padding: 16px 18px; border: 1px solid rgba(148,163,184,.25); border-radius: 14px; background: rgba(14,27,46,.8); backdrop-filter: blur(12px); box-shadow: 0 20px 45px rgba(0,0,0,.25); }
.mkt-map-node small { color: var(--mkt-text-muted); font: 600 9px var(--mkt-font-mono); letter-spacing: .1em; }
.mkt-map-node strong { font: 700 15px var(--mkt-font-heading); }
.mkt-map-node span { color: var(--mkt-cyan); font: 500 10px var(--mkt-font-mono); text-transform: uppercase; letter-spacing: .05em; }
.mkt-map-node-source { top: 19%; left: 7%; }
.mkt-map-node-context { top: 18%; right: 7%; }
.mkt-map-node-result { bottom: 13%; right: 14%; }
.mkt-map-node-core { top: 33%; left: 40%; min-width: 185px; border-color: rgba(32,214,255,.56); background: radial-gradient(circle at 50% 0%, rgba(32,214,255,.2), rgba(14,27,46,.9) 68%); text-align: center; box-shadow: 0 0 0 12px rgba(32,214,255,.035), 0 0 70px rgba(32,214,255,.2); }
.mkt-map-node-core strong { font-size: 19px; }
.mkt-map-core-dot { width: 7px; height: 7px; margin: 3px auto 0; border-radius: 50%; background: var(--mkt-green); box-shadow: 0 0 0 6px rgba(110,243,165,.12), 0 0 18px var(--mkt-green); }
.mkt-map-readout { position: absolute; bottom: 20px; left: 22px; display: grid; gap: 5px; }
.mkt-map-readout span, .mkt-map-readout small { color: var(--mkt-text-muted); font: 600 9px var(--mkt-font-mono); letter-spacing: .08em; text-transform: uppercase; }
.mkt-map-readout strong { font: 600 12px var(--mkt-font-mono); }
.mkt-map-readout strong i { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: var(--mkt-green); }

body.marketing-home .mkt-audience-chapter { background: var(--mkt-bg); }
body.marketing-home .mkt-audience-chapter .mkt-card { border-radius: 24px; min-height: 420px; padding: 42px; background: linear-gradient(145deg, rgba(22,32,51,.94), rgba(14,27,46,.68)); }
body.marketing-home .mkt-audience-chapter .mkt-card::before { content: "01"; display: block; margin-bottom: 38px; color: rgba(32,214,255,.5); font: 600 11px var(--mkt-font-mono); }
body.marketing-home .mkt-audience-chapter .mkt-card + .mkt-card::before { content: "02"; color: rgba(110,243,165,.55); }
body.marketing-home .mkt-platform-chapter { background: #050b14 !important; }
body.marketing-home .mkt-platform-chapter .mkt-dashboard-mock { border-radius: 24px; box-shadow: 0 25px 70px rgba(0,0,0,.25); }
body.marketing-home .mkt-network-loop-section { background: linear-gradient(180deg, #07111f, #0e1b2e); }
body.marketing-home .mkt-network-loop-section .mkt-loop-card { border-radius: 22px; }
body.marketing-home .mkt-cta-banner { border-radius: 28px; padding: 80px 32px; background: radial-gradient(circle at 50% 0%, rgba(32,214,255,.2), transparent 52%), linear-gradient(145deg, #13283d, #0a1826); }

@media (max-width: 720px) {
  body.marketing-home .mkt-hero { min-height: auto; padding: 72px 0 60px; }
  body.marketing-home .mkt-hero h1 { font-size: clamp(52px, 15vw, 76px); }
  .mkt-observatory { padding: 86px 0 70px; }
  .mkt-observatory-map { height: 540px; margin-top: 48px; }
  .mkt-map-grid { transform: perspective(450px) rotateX(58deg) scale(1.8) translateY(110px); }
  .mkt-map-beam-one { width: 220px; left: 24%; top: 48%; transform: rotate(-42deg); }
  .mkt-map-beam-two { width: 210px; left: 48%; top: 49%; transform: rotate(44deg); }
  .mkt-map-beam-three { width: 190px; left: 49%; top: 49%; transform: rotate(156deg); }
  .mkt-map-node { min-width: 128px; padding: 12px 13px; }
  .mkt-map-node strong { font-size: 13px; }
  .mkt-map-node-source { top: 10%; left: 5%; }
  .mkt-map-node-context { top: 10%; right: 5%; }
  .mkt-map-node-core { top: 39%; left: 50%; min-width: 158px; transform: translateX(-50%); }
  .mkt-map-node-result { bottom: 17%; right: 5%; }
  .mkt-map-readout { bottom: 18px; left: 16px; }
  body.marketing-home .mkt-audience-chapter .mkt-card { min-height: 0; padding: 28px; }
}
@media (prefers-reduced-motion: reduce) { .mkt-signal-marquee-track, .mkt-map-beam::after { animation: none; } }

/* JS-disabled fallback: without marketing.js, no element ever gains
   .mkt-visible -- the `scripting` media feature matches browsers/crawlers
   that don't run JS at all, so content is never permanently hidden for
   them (a timed animation fallback would still race a slow real browser). */
@media (scripting: none) {
  .mkt-reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------------ */
/* Realistic device-frame mockup -- a phone silhouette showing a        */
/* genuine-looking content feed with one native card blended in,        */
/* clearly labeled. Used in hero sections instead of abstract KPI       */
/* tiles as the primary visual (KPI tiles read as real-time platform    */
/* claims; a labeled example placement reads as an honest product demo).*/
/* ------------------------------------------------------------------ */

.mkt-device-frame {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  background: #0c1420;
  border: 1px solid var(--mkt-border);
  border-radius: 32px;
  padding: 14px 12px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.03);
  animation: mkt-float 6s ease-in-out infinite;
}

@keyframes mkt-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .mkt-device-frame { animation: none; }
}

.mkt-device-notch {
  width: 70px;
  height: 18px;
  background: #0c1420;
  border-radius: 0 0 14px 14px;
  margin: 0 auto 6px;
  position: relative;
  z-index: 2;
}

.mkt-device-screen {
  background: var(--mkt-surface);
  border-radius: 20px;
  overflow: hidden;
  padding: 14px 12px;
}

.mkt-device-feed-item {
  display: flex;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--mkt-border);
}

.mkt-device-feed-item:last-child { border-bottom: none; }

.mkt-device-feed-thumb {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: var(--mkt-surface-elevated);
  flex-shrink: 0;
}

.mkt-device-feed-text { flex: 1; min-width: 0; }

.mkt-device-feed-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--mkt-text-muted);
  line-height: 1.3;
  margin-bottom: 4px;
}

.mkt-device-feed-item.mkt-native .mkt-device-feed-thumb {
  background: linear-gradient(135deg, var(--mkt-cyan), var(--mkt-green));
}

.mkt-device-feed-item.mkt-native .mkt-device-feed-title { color: var(--mkt-text); }

/* ------------------------------------------------------------------ */
/* Publisher-page placement-preview gallery -- 4 real placement          */
/* configurations (numbers verified against models.PLACEMENT_TYPE_       */
/* DEFAULTS), illustrated with the marketing site's own visual language  */
/* rather than the widget's literal CSS -- see app.css's                 */
/* .wizard-preview-mockup for the pixel-accurate version used inside the */
/* publisher placement builder itself.                                   */
/* ------------------------------------------------------------------ */

.mkt-preview-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.mkt-preview-card {
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 14px;
  padding: 18px;
  display: flex;
  flex-direction: column;
}

.mkt-preview-card-label {
  font-family: var(--mkt-font-heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--mkt-text);
  margin-bottom: 12px;
}

.mkt-preview-card-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin-bottom: 12px;
}

.mkt-preview-card-caption {
  font-size: 13px;
  color: var(--mkt-text-muted);
  margin: 0 0 4px;
}

.mkt-preview-card-meta {
  font-size: 11px;
  color: var(--mkt-text-muted);
  opacity: 0.75;
}

.mkt-preview-article { width: 100%; }

.mkt-preview-text-line {
  height: 8px;
  border-radius: 4px;
  background: var(--mkt-surface-elevated);
  margin-bottom: 8px;
}

.mkt-preview-article .mkt-native-card-mock { margin: 14px 0; }

/* Mobile-feed mockup -- compact modifier layered onto the existing
   device-frame pattern above, so it fits a gallery cell instead of a
   hero column. */
.mkt-device-frame-compact { max-width: 210px; padding: 10px 9px; }
.mkt-device-frame-compact .mkt-device-notch { width: 50px; height: 13px; border-radius: 0 0 10px 10px; }
.mkt-device-frame-compact .mkt-device-screen { border-radius: 15px; padding: 10px 9px; }
.mkt-device-frame-compact .mkt-device-feed-item { padding: 7px 0; gap: 8px; }
.mkt-device-frame-compact .mkt-device-feed-thumb { width: 34px; height: 34px; border-radius: 7px; }
.mkt-device-frame-compact .mkt-device-feed-title { font-size: 10.5px; margin-bottom: 2px; }
.mkt-device-frame-compact .mkt-sponsored-tag { font-size: 8px; }

.mkt-preview-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 175px;
  margin: 0 auto;
}

.mkt-preview-sidebar .mkt-native-card-mock { margin-top: 0; }

.mkt-preview-carousel-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

.mkt-preview-carousel { display: flex; gap: 10px; }

.mkt-preview-carousel .mkt-native-card-mock { flex: 0 0 92px; margin-top: 0; }

.mkt-preview-carousel-fade {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 36px;
  background: linear-gradient(90deg, transparent, var(--mkt-surface));
  pointer-events: none;
}

/* ------------------------------------------------------------------ */
/* Documentation page                                                   */
/* ------------------------------------------------------------------ */

.mkt-docs-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: start;
}

.mkt-docs-toc {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mkt-docs-toc a {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--mkt-text-muted);
}

@media (max-width: 900px) {
  .mkt-docs-layout { grid-template-columns: 1fr; }

  /* The sticky sidebar only makes sense next to a tall second column --
     once the layout collapses to one column, sticky positioning makes the
     TOC float in place while content scrolls underneath it, overlapping
     both. A horizontal scrollable pill row reads better on a phone anyway. */
  .mkt-docs-toc {
    position: static;
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .mkt-docs-toc a {
    flex-shrink: 0;
    background: var(--mkt-surface);
    border: 1px solid var(--mkt-border);
  }
}

.mkt-docs-toc a:hover { background: var(--mkt-surface); color: var(--mkt-text); }

.mkt-docs-section {
  padding-bottom: 56px;
  margin-bottom: 56px;
  border-bottom: 1px solid var(--mkt-border);
  scroll-margin-top: 96px;
}

.mkt-docs-section:last-child { border-bottom: none; margin-bottom: 0; }

.mkt-docs-section h2 { font-size: 26px; }
.mkt-docs-section h3 { font-size: 18px; margin-top: 28px; }
.mkt-docs-section p, .mkt-docs-section li { color: var(--mkt-text-muted); font-size: 15.5px; line-height: 1.7; }
.mkt-docs-section li { margin-bottom: 6px; }

.mkt-docs-section code {
  font-family: var(--mkt-font-mono);
  font-size: 0.9em;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 5px;
  padding: 2px 6px;
  color: var(--mkt-cyan);
}

.mkt-legal-updated {
  color: var(--mkt-text-muted);
  font-size: 13.5px;
  margin-bottom: 32px;
}

.mkt-docs-step {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.mkt-docs-step .mkt-step-num { flex-shrink: 0; margin-bottom: 0; }

.mkt-docs-step-body h4 { font-family: var(--mkt-font-body); font-size: 15.5px; font-weight: 700; color: var(--mkt-text); margin-bottom: 6px; }
.mkt-docs-step-body p { margin: 0; }

.mkt-docs-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-left: 10px;
  vertical-align: middle;
}

.mkt-docs-badge-soon {
  background: rgba(245, 184, 75, 0.12);
  color: var(--mkt-gold);
  border: 1px solid rgba(245, 184, 75, 0.3);
}

.mkt-theme-swatch-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0; }

.mkt-theme-swatch {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--mkt-surface);
  border: 1px solid var(--mkt-border);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: var(--mkt-font-mono);
  font-size: 12.5px;
}

.mkt-theme-swatch-color {
  width: 14px;
  height: 14px;
  border-radius: 4px;
  border: 1px solid var(--mkt-border);
}
