/* ============================================================
   DeepAd marketing site — single CSS bundle
   Hand-ported from Claude Design v2 (new_alt_hero_v2.html)
   Vanilla CSS only — no preprocessor, no framework.
   ============================================================ */

:root {
  --paper:   #ffffff;
  --paper-2: #f5f5f7;
  --paper-3: #fbfbfd;
  --ink:     #1d1d1f;
  --ink-2:   #424245;
  --mute:    #6e6e73;
  --mute-2:  #86868b;
  --line:    #d2d2d7;
  --line-2:  #e8e8ed;
  --red:     #e2231a;
  --red-2:   #ff3b30;
  --bg-dark: #0b0b0d;
  --ink-dark:#f5f5f7;
  --positive:#0a8a4a;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* Section rhythm scale — 8px grid. Mobile values overridden at max-width:600px. */
  --sec-tight: 72px;
  --sec-base:  144px;
  --sec-major: 200px;
}

*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter Tight", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

body { overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--red); color: #fff; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }

.mono { font-family: var(--mono); }

/* ───────── Reveal (scroll-in) ─────────
   Default: visible (so static crawlers + reduced-motion users see content).
   When scripts/reveal.js mounts, body gets .reveal-ready and elements with
   [data-reveal] become hidden until they intersect the viewport. */
@media (prefers-reduced-motion: no-preference) {
  body.reveal-ready [data-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 800ms cubic-bezier(.2,.7,.2,1),
                transform 800ms cubic-bezier(.2,.7,.2,1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  body.reveal-ready [data-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ───────── Layout primitives ───────── */
.section {
  padding: var(--sec-base) 28px;
  background: var(--paper);
  color: var(--ink);
}
.section.dark { color: var(--ink-dark); }
.section.sec-major   { padding-top: var(--sec-major); padding-bottom: var(--sec-major); }
.section.weld-bottom { padding-bottom: var(--sec-tight); }
.section.weld-top    { padding-top: 0; }
.section-inner { max-width: 1180px; margin: 0 auto; }

@media (max-width: 600px) {
  :root {
    --sec-tight: 40px;
    --sec-base:  80px;
    --sec-major: 112px;
  }
  .section { padding-left: 18px !important; padding-right: 18px !important; }
}

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--red);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--red);
}

.display {
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.96;
  margin: 0;
  text-wrap: balance;
}
.display.h1  { font-size: clamp(56px, 7.4vw, 116px); }
.display.h2  { font-size: clamp(40px, 5.5vw, 72px); }
.display.h2-sm { font-size: clamp(40px, 4.6vw, 72px); }
.display.h2-xs { font-size: clamp(36px, 4.5vw, 56px); }
.display .mute { color: var(--mute); }

.lede {
  font-size: clamp(20px, 1.7vw, 26px);
  line-height: 1.36;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.lede .ink { color: var(--ink); }

/* ───────── Nav ───────── */
.nav {
  position: sticky; top: 0; z-index: 60; height: 52px;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,0.78);
  border-bottom: 1px solid var(--line-2);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; height: 100%; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-size: 13px; color: var(--ink);
}
.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 22px; width: auto; display: block; }
.nav-mid {
  list-style: none; display: flex; gap: 0; margin: 0; padding: 0;
  flex: 1; justify-content: center;
}
.nav-mid a {
  display: block; padding: 0 14px; line-height: 52px;
  font-size: 12.5px; color: var(--ink); opacity: 0.82;
  font-weight: 400; letter-spacing: -0.005em;
  transition: opacity .15s;
}
.nav-mid a:hover { opacity: 1; }
.nav-cta { display: flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0; }
.nav-cta .signin {
  padding: 8px 16px; color: var(--ink-2); font-weight: 500;
  letter-spacing: -0.005em; font-size: 13px;
}
.nav-cta .book {
  padding: 8px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 13px; font-weight: 500;
  letter-spacing: -0.005em;
}
@media (max-width: 860px) { .nav-mid { display: none; } }

/* ───────── Hero ───────── */
.hero {
  padding-top: 120px; padding-bottom: var(--sec-major);
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
.hero-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; text-align: center; }
.hero h1 { margin-top: 28px; }
.hero .lede {
  margin: 34px auto 0; text-align: center; max-width: 680px;
  font-size: clamp(18px, 1.4vw, 22px);
}
.hero-ctas {
  margin-top: 42px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
}
.btn-pill-dark {
  padding: 13px 24px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-pill-ghost {
  padding: 13px 24px; border-radius: 999px;
  color: var(--ink); font-size: 15px; font-weight: 500;
}
@media (max-width: 600px) {
  .hero { padding-top: 80px; }
  .hero-inner { padding-left: 18px; padding-right: 18px; }
}

/* ───────── Demo section ───────── */
.demo-section { padding: 120px 28px 160px; background: var(--paper); }
.demo-head { text-align: center; max-width: 760px; margin: 0 auto 80px; }
.demo-head h2 { margin-top: 20px; }
.demo-head .lede { margin: 24px auto 0; text-align: center; }
.demo-head sup {
  font-size: .55em; font-weight: 500; color: inherit;
  margin-left: 2px; top: -.5em; position: relative;
}

/* InteractiveDemo orchestrator */
.demo-tabs {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px;
}
.demo-tab {
  padding: 12px 22px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all .25s;
}
.demo-tab::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--red);
}
.demo-tab.is-active {
  border-color: var(--ink); background: var(--ink); color: #fff;
}
.demo-tab.is-active::before { background: var(--red-2); }
.demo-replay {
  padding: 12px 18px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 14px; font-weight: 500;
  margin-left: 8px;
}

.demo-stage {
  display: grid; grid-template-columns: 1fr 1fr; gap: 36px;
  align-items: start; justify-items: center;
}
.demo-stage > div { display: flex; justify-content: center; width: 100%; }

/* PromptStage */
.prompt-card {
  width: 100%; max-width: 560px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 14px;
  padding: 24px 26px;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 60px -30px rgba(0,0,0,0.18);
  transition: transform .5s ease;
}
.prompt-card.saving { transform: scale(0.985); }
.prompt-head {
  display: flex; align-items: center; gap: 10px; margin-bottom: 18px;
}
.prompt-head .arrow { color: var(--mute); font-size: 18px; }
.prompt-head .title { font-weight: 500; font-size: 16px; color: var(--ink); }
.prompt-body { border-top: 1px solid var(--line-2); padding-top: 18px; }
.prompt-domain {
  border: 1px solid var(--line); border-radius: 8px; padding: 10px 12px;
  font-size: 13px; color: var(--ink-2);
}
.prompt-input {
  margin-top: 14px;
  border: 1px solid var(--line); border-radius: 8px; padding: 14px 14px 12px;
  position: relative; min-height: 88px;
  transition: border-color .3s;
}
.prompt-input.active { border: 1.5px solid var(--red); }
.prompt-input .label {
  position: absolute; top: -8px; left: 12px; padding: 0 6px;
  font-size: 11px; color: var(--mute);
  background: #fff; transition: color .3s;
}
.prompt-input.active .label { color: var(--red); }
.prompt-text {
  font-size: 18px; line-height: 1.35; color: var(--ink); min-height: 44px;
}
.prompt-cursor {
  display: inline-block; width: 2px; height: 18px; background: var(--ink);
  margin-left: 1px; vertical-align: -3px; animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.prompt-meta {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px;
}
.prompt-meta .cell {
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px;
  font-size: 13px; color: var(--ink-2);
}
.prompt-meta .cell .key { font-size: 10px; color: var(--mute); }
.prompt-actions {
  display: flex; justify-content: flex-end; align-items: center; gap: 18px; margin-top: 18px;
}
.prompt-cancel { color: var(--red); font-size: 14px; font-weight: 500; }
.prompt-deploy {
  background: var(--red); color: #fff;
  padding: 8px 18px; border-radius: 999px; font-size: 14px; font-weight: 500;
  transition: background .25s, transform .2s, box-shadow .2s;
}
.prompt-deploy.saving {
  transform: scale(0.94);
  box-shadow: 0 0 0 6px rgba(226,35,26,0.18);
}
.prompt-deploy.saved { background: #34c759; }

/* ScanStage */
.scan-card {
  position: relative; width: 100%; max-width: 560px; aspect-ratio: 5 / 4;
  background: #fff; border: 1px solid var(--line-2); border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 60px -30px rgba(0,0,0,0.18);
}
.scan-chrome {
  height: 34px; border-bottom: 1px solid var(--line-2); background: var(--paper-3);
  display: flex; align-items: center; gap: 6px; padding: 0 12px;
}
.scan-chrome .dot { width: 8px; height: 8px; border-radius: 999px; }
.scan-chrome .dot.r { background: #ff5f57; }
.scan-chrome .dot.y { background: #febc2e; }
.scan-chrome .dot.g { background: #28c840; }
.scan-chrome .url {
  margin-left: 14px; flex: 1; height: 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line-2);
  font-size: 11px; color: var(--mute); display: flex; align-items: center;
  padding: 0 10px; font-family: var(--mono);
}
.scan-chrome .url .glass { opacity: 0.6; }
.scan-chrome .url .q { margin-left: 8px; }

.scan-body { position: absolute; inset: 34px 0 0 0; overflow: hidden; background: #fff; }
.scan-beam {
  position: absolute; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  box-shadow: 0 0 22px var(--red);
  top: 0%;
}
.scan-overlay {
  position: absolute; left: 0; right: 0; top: 0; height: 0%;
  background: linear-gradient(180deg, rgba(226,35,26,0.04), rgba(226,35,26,0.10));
  pointer-events: none;
}
.scan-flag-pill {
  position: absolute; top: 14px; right: 14px;
  background: var(--red); color: #fff;
  padding: 6px 11px; border-radius: 999px; font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase;
  box-shadow: 0 8px 24px -6px rgba(226,35,26,0.45);
  display: none;
}
.scan-card.is-flagged .scan-flag-pill {
  display: block;
  animation: flagPulse .9s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes flagPulse {
  0% { transform: scale(0.85); opacity: 0; }
  60% { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

/* SerpCutout (built into ScanStage) */
.serp-cutout {
  width: 100%; height: 100%; overflow: hidden;
  background: #fff; padding: 14px 18px 18px;
  filter: saturate(0.5);
  transition: filter .35s ease;
  font-size: 11px; color: #202124; line-height: 1.35;
  font-family: Arial, sans-serif;
}
.scan-card.is-flagged .serp-cutout { filter: saturate(1); }
.serp-meta { font-size: 10px; color: #5f6368; margin-bottom: 6px; }
.serp-sponsored { font-size: 10px; color: #202124; font-weight: 700; margin-bottom: 6px; }
.serp-rows { display: flex; flex-direction: column; gap: 10px; }
.serp-row {
  position: relative;
  padding-left: 0;
  border-left: 2px solid transparent;
  transition: border-color .25s, padding .25s;
}
.serp-row.has-flag-shown { padding-left: 10px; border-left: 2px solid var(--red); }
.serp-brandline { display: flex; align-items: center; gap: 6px; margin-bottom: 1px; }
.serp-favicon {
  width: 14px; height: 14px; border-radius: 999px; background: #dde1e6;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 8px; color: #5f6368; font-weight: 700;
}
.serp-brand-meta { display: flex; flex-direction: column; line-height: 1.1; }
.serp-brand { font-size: 10px; color: #202124; }
.serp-url { font-size: 9px; color: #5f6368; }
.serp-title { color: #1a0dab; font-size: 13px; font-weight: 400; margin-top: 2px; line-height: 1.25; }
.serp-desc { color: #4d5156; font-size: 10px; margin-top: 2px; }
.serp-flag {
  margin-top: 6px;
  display: none;
  align-items: center; gap: 6px;
  background: var(--red); color: #fff;
  padding: 4px 8px; border-radius: 6px; font-size: 9px; font-weight: 600;
  letter-spacing: 0.02em;
  box-shadow: 0 6px 16px -4px rgba(226,35,26,0.45);
  max-width: 100%;
}
.serp-flag::before { content: "●"; flex-shrink: 0; }
.serp-row.has-flag-shown .serp-flag {
  display: inline-flex;
  animation: flagBadge .5s cubic-bezier(.2,.7,.2,1) both;
}
@keyframes flagBadge {
  0% { opacity: 0; transform: translateX(8px) scale(0.9); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
.serp-organic {
  margin-top: 14px; padding-top: 10px; border-top: 1px solid #ebebeb;
  display: flex; flex-direction: column; gap: 10px;
}

/* ResultsStage */
.results-card {
  width: 100%; max-width: 760px; background: #fff;
  border: 1px solid var(--line-2); border-radius: 14px; overflow: hidden;
  box-shadow: 0 1px 0 rgba(0,0,0,0.02), 0 24px 60px -30px rgba(0,0,0,0.18);
  opacity: 0; transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease;
  margin: 36px auto 0;
}
.results-card.is-active { opacity: 1; transform: translateY(0); }
.results-head {
  padding: 18px 22px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 12px;
}
.results-head .icon {
  width: 28px; height: 28px; border-radius: 8px; background: rgba(226,35,26,0.10);
  display: inline-flex; align-items: center; justify-content: center;
}
.results-head .icon-inner { width: 12px; height: 12px; border: 1.5px solid var(--red); border-radius: 2px; }
.results-head .title { font-size: 14px; font-weight: 600; color: var(--ink); }
.results-head .subtitle { font-size: 11px; color: var(--mute); }

.results-meta {
  padding: 10px 22px; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; gap: 14px; font-size: 12px;
}
.results-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
}
.results-pill::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--red);
}
.results-meta .updated { color: var(--mute); }
.results-meta .spacer { flex: 1; }
.results-meta .export { color: var(--red); font-weight: 500; }

.results-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.results-table th {
  padding: 10px 22px 8px; font-weight: 500; font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--mute); text-align: left;
  border-bottom: 1px solid var(--line-2);
}
.results-table td {
  padding: 12px 22px;
  border-bottom: 1px solid var(--line-2);
}
.results-table .ad-title { color: #1a0dab; font-weight: 500; }
.results-table .ad-adv { color: var(--mute); font-size: 11px; }
.results-table .issue { color: var(--ink-2); }
.results-table .loc { color: var(--ink-2); }
.results-table .when { color: var(--mute); }

.results-card.is-active tbody tr {
  animation: rowIn .5s cubic-bezier(.2,.7,.2,1) both;
}
.results-card.is-active tbody tr:nth-child(1) { animation-delay: 0ms; }
.results-card.is-active tbody tr:nth-child(2) { animation-delay: 120ms; }
.results-card.is-active tbody tr:nth-child(3) { animation-delay: 240ms; }
@keyframes rowIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.demo-legend {
  margin-top: 48px; display: flex; justify-content: center; gap: 42px;
  font-size: 14px; color: var(--mute); flex-wrap: wrap;
}
.demo-legend-item { display: flex; align-items: center; gap: 11px; }
.demo-legend-num {
  width: 24px; height: 24px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff;
  color: var(--mute);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 600; transition: all .3s;
}
.demo-legend-item.is-on .demo-legend-num {
  border-color: var(--red); background: var(--red); color: #fff;
}
.demo-legend-item.is-on .demo-legend-label { color: var(--ink); font-weight: 500; }

@media (max-width: 820px) {
  .demo-stage { grid-template-columns: 1fr; gap: 24px; }
  .results-table { font-size: 11px; }
  .results-table td, .results-table th { padding: 10px 14px; }
  .results-hide-mobile { display: none; }
}
@media (max-width: 520px) {
  .results-hide-sm { display: none; }
}

/* ───────── Product line ───────── */
.product-head { padding: 140px 28px 60px; background: var(--paper); }
.product-head-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.product-head h2 { margin-top: 18px; }

.product-grid-section { padding: 0 28px 100px; background: var(--paper); }
.product-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px;
}
.product-card {
  background: var(--paper-2); border-radius: 24px;
  padding: 44px 36px 0;
  display: flex; flex-direction: column;
  min-height: 520px; overflow: hidden; position: relative;
  transition: transform .3s ease;
  height: 100%;
}
.product-card:hover { transform: translateY(-4px); }
.product-card .module {
  font-size: 14px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--red); margin: 0 0 14px;
}
.product-card .name {
  font-size: 34px; font-weight: 700; letter-spacing: -.025em;
  line-height: 1.05; margin: 0 0 14px; color: var(--ink);
}
.product-card .desc {
  font-size: 15px; color: var(--ink-2); line-height: 1.5;
  margin: 0 0 20px; flex-shrink: 0;
}
.product-card .more {
  font-size: 14px; font-weight: 500; color: var(--red);
  margin-bottom: 18px; display: inline-flex; align-items: center; gap: 4px;
}
.product-card .art {
  margin-top: auto; align-self: stretch; width: 100%;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.25);
  border: 1px solid var(--line-2); border-bottom: 0;
  background: #fff;
}
@media (max-width: 1000px) {
  .product-grid { grid-template-columns: 1fr; }
}

/* MiniSerps inside product cards */
.mini-serp {
  width: 100%; background: #fff;
  font-family: Arial, sans-serif;
  color: #202124; font-size: 11px; line-height: 1.35;
  padding: 14px 16px 18px;
  display: flex; flex-direction: column; gap: 10px;
}
.mini-serp .search {
  display: flex; align-items: center; gap: 8px;
  background: #f1f3f4; border-radius: 999px;
  padding: 7px 12px; font-size: 11px; color: #202124;
}
.mini-serp .search .q { flex: 1; color: #202124; }
.mini-serp .search .badge {
  background: var(--red); color: #fff;
  font-size: 9px; font-weight: 600; padding: 2px 6px;
  border-radius: 4px; letter-spacing: .02em; white-space: nowrap;
}
.mini-serp .rows { display: flex; flex-direction: column; gap: 8px; }
.mini-ad { padding-left: 0; border-left: 2px solid transparent; }
.mini-ad.flagged { padding-left: 8px; border-left: 2px solid var(--red); }
.mini-ad-line {
  display: flex; align-items: center; gap: 6px; margin-bottom: 1px;
}
.mini-ad-line .sponsored { font-size: 9px; font-weight: 700; color: #202124; margin-right: 2px; }
.mini-ad-line .favicon {
  width: 12px; height: 12px; border-radius: 999px; background: #dde1e6;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 8px; color: #5f6368; font-weight: 700;
}
.mini-ad-line .url { font-size: 9px; color: #5f6368; }
.mini-ad-title { color: #1a0dab; font-size: 11.5px; font-weight: 400; margin-top: 1px; line-height: 1.25; }
.mini-ad-desc { color: #4d5156; font-size: 10px; margin-top: 1px; }
.mini-ad-flag {
  margin-top: 5px;
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--red); color: #fff;
  padding: 3px 7px; border-radius: 5px;
  font-size: 8.5px; font-weight: 600; letter-spacing: .02em;
  box-shadow: 0 6px 16px -6px rgba(226,35,26,0.45);
  max-width: 100%;
}
.mini-ad-flag::before { content: "●"; }

/* ───────── Highlights mosaic ───────── */
.highlights { padding: 120px 28px 100px; background: var(--paper); }
.highlights-inner { max-width: 1280px; margin: 0 auto; }
.highlights-head { text-align: center; max-width: 900px; margin: 0 auto 56px; }
.highlights-head h2 { margin-top: 18px; }
.highlights-grid {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px;
}
.tile {
  border-radius: 24px; padding: 36px;
  min-height: 380px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
  background: var(--paper-2); color: var(--ink);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s;
}
.tile:hover { transform: translateY(-2px); box-shadow: 0 20px 50px -20px rgba(0,0,0,.12); }
.tile.tall { min-height: 480px; }
.tile.span-2 { grid-column: span 2; }
.tile.span-3 { grid-column: span 3; }
.tile.span-6 { grid-column: span 6; }
.tile.dark   { background: #1d1d1f; color: #f5f5f7; }
.tile.accent { background: linear-gradient(135deg, #ff3b30 0%, #e60000 100%); color: #ffffff; }
.tile.rose   { background: #fff7f6; color: var(--ink); }

.tile-meta {
  font-size: 12px; font-weight: 600; letter-spacing: .12em;
  text-transform: uppercase; color: #86868b;
  margin-bottom: 14px;
}
.tile.dark   .tile-meta { color: #a1a1a6; }
.tile.accent .tile-meta { color: rgba(255,255,255,0.85); }
.tile.rose   .tile-meta { color: var(--red); }

.tile h3 {
  font-size: 28px; font-weight: 600; letter-spacing: -.02em;
  line-height: 1.1; margin: 0 0 8px; text-wrap: balance;
}
.tile.tall h3 { font-size: 42px; }
.tile.dark h3 { color: #f5f5f7; }
.tile.accent h3 { color: #fff; }
.tile.rose h3 { font-size: 36px; }

.tile-sub {
  font-size: 15px; line-height: 1.45;
  margin: 0; max-width: 34ch; color: #515154;
}
.tile.dark   .tile-sub { color: #a1a1a6; }
.tile.accent .tile-sub { color: rgba(255,255,255,0.92); }

.tile-cta {
  margin-top: auto; padding-top: 24px;
  font-size: 14px; font-weight: 500;
  display: inline-flex; align-items: center; gap: 4px;
  position: relative; z-index: 1;
  color: var(--red);
}
.tile.dark .tile-cta, .tile.accent .tile-cta { color: #fff; }

.tile em.red {
  color: #ff453a; font-style: normal;
}

/* GlobeArt (decorative on Coverage tile) */
.globe-art {
  position: absolute; right: -60px; bottom: -120px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), rgba(255,255,255,0) 50%),
    conic-gradient(from 90deg, #ff6b6b, #ff3b30, #e60000, #a00000, #ff6b6b);
  box-shadow: inset -20px -30px 80px rgba(0,0,0,.4);
  opacity: .85; pointer-events: none;
}
.globe-art::before, .globe-art::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
}
.globe-art::before {
  background: repeating-conic-gradient(from 0deg, transparent 0deg 30deg, rgba(255,255,255,.08) 30deg 30.5deg);
}
.globe-art::after {
  background: repeating-linear-gradient(transparent, transparent 26px, rgba(255,255,255,.08) 26px, rgba(255,255,255,.08) 27px);
}

/* LatencyEvidenceArt (Latency tile) */
.latency-art {
  margin-top: 28px; flex: 1;
  display: flex; align-items: flex-end; justify-content: center;
  position: relative; width: 100%;
}
.latency-panel {
  width: 100%; max-width: 440px;
  background: linear-gradient(180deg, #1c1c1e 0%, #0e0e10 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 18px 18px 16px;
  box-shadow: 0 30px 60px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,0.02);
  font-family: "Inter Tight", -apple-system, sans-serif;
}
.latency-head {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px;
}
.latency-live {
  display: flex; align-items: center; gap: 8px;
}
.latency-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ff453a;
  box-shadow: 0 0 0 3px rgba(255,69,58,.18);
  animation: pulseDot 1.6s ease-in-out infinite;
}
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 3px rgba(255,69,58,.18); }
  50%      { box-shadow: 0 0 0 6px rgba(255,69,58,.05); }
}
.latency-live-label {
  font-size: 11px; font-weight: 600; color: #f5f5f7;
  letter-spacing: .04em; text-transform: uppercase;
}
.latency-now { font-family: var(--mono); font-size: 10px; color: #86868b; }

.latency-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px;
  margin-bottom: 8px;
  opacity: 0;
}
.latency-row:last-of-type { margin-bottom: 0; }
.latency-art.is-visible .latency-row {
  animation: alertIn .55s cubic-bezier(.2,.8,.2,1) forwards;
}
.latency-art.is-visible .latency-row:nth-of-type(1) { animation-delay: 0.20s; }
.latency-art.is-visible .latency-row:nth-of-type(2) { animation-delay: 0.65s; }
.latency-art.is-visible .latency-row:nth-of-type(3) { animation-delay: 1.10s; }
@keyframes alertIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
.latency-sev {
  width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0;
}
.latency-row .body { flex: 1; min-width: 0; }
.latency-row .label {
  font-size: 12px; font-weight: 600; color: #f5f5f7;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.latency-row .meta {
  font-size: 10px; color: #86868b;
  font-family: var(--mono); margin-top: 2px;
}
.latency-status {
  font-size: 10px; font-weight: 500;
  padding: 3px 7px; border-radius: 5px; flex-shrink: 0;
}
.latency-status.red    { color: #ff453a; background: rgba(255,69,58,0.08); border: 1px solid rgba(255,69,58,0.20); }
.latency-status.amber  { color: #ff9f0a; background: rgba(255,159,10,0.08); border: 1px solid rgba(255,159,10,0.20); }
.latency-status.green  { color: #30d158; background: rgba(48,209,88,0.08); border: 1px solid rgba(48,209,88,0.20); }
.latency-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 14px; padding-top: 11px;
  border-top: 1px solid rgba(255,255,255,0.06);
  font-size: 10px; color: #6e6e73;
  font-family: var(--mono);
}
.latency-foot .stream { color: #30d158; }

@media (max-width: 760px) {
  .highlights-grid { grid-template-columns: repeat(2, 1fr); }
  .highlights-grid > * { grid-column: span 2 !important; }
}
@media (max-width: 480px) {
  .highlights-grid { grid-template-columns: 1fr; }
  .highlights-grid > * { grid-column: 1 !important; }
}

/* ───────── Compare table ───────── */
.compare { padding: 120px 28px; background: var(--paper); }
.compare-inner { max-width: 1080px; margin: 0 auto; }
.compare-head { text-align: center; margin-bottom: 60px; }
.cmp-grid {
  display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 0;
  border-top: 1px solid var(--line);
}
.cmp-head {
  padding: 24px 22px; border-bottom: 1px solid var(--line);
  font-size: 13px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--ink);
  display: flex; align-items: center; gap: 8px;
}
.cmp-head.brand { color: var(--red); }
.cmp-cell {
  padding: 24px 22px; border-bottom: 1px solid var(--line);
  font-size: 15px;
  display: flex; align-items: center; gap: 8px;
}
.cmp-cell.label   { color: var(--ink); font-weight: 600; }
.cmp-cell.legacy  { color: var(--ink-2); font-weight: 400; }
.cmp-cell.deepad  { color: var(--positive); font-weight: 600; }
.cmp-mobile-tag { display: none; }

@media (max-width: 760px) {
  .cmp-grid { grid-template-columns: 1fr; border-top: none; }
  .cmp-head { display: none; }
  .cmp-cell.label {
    padding: 22px 0 10px;
    border-bottom: none;
    font-size: 13px;
    text-transform: uppercase; letter-spacing: .08em;
    color: var(--mute); font-weight: 600;
  }
  .cmp-cell.legacy, .cmp-cell.deepad {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 88px 1fr; gap: 14px;
    align-items: start;
  }
  .cmp-cell.legacy { border-bottom: 1px dashed var(--line-2); }
  .cmp-mobile-tag {
    display: inline-block;
    font-size: 10px; font-weight: 600;
    text-transform: uppercase; letter-spacing: .06em;
    padding: 4px 8px; border-radius: 4px;
    background: var(--paper-2); color: var(--mute);
    line-height: 1; align-self: center; text-align: center;
  }
  .cmp-mobile-tag.brand { background: var(--ink); color: #fff; }
}

/* ───────── Big CTA ───────── */
.cta {
  padding: 120px 28px;
  background: var(--paper-3);
  border-top: 1px solid var(--line);
}
.cta-inner { text-align: center; max-width: 900px; margin: 0 auto; }
.cta h2 { margin: 0 auto 20px; max-width: 18ch; }
.cta h2 em {
  font-style: normal;
  background: linear-gradient(180deg, #ff3b30, #e60000);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.cta .lede { margin: 0 auto 32px; text-align: center; max-width: 50ch; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
}
.cta-secondary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 14px 28px; border-radius: 999px;
  color: var(--red);
  font-size: 17px; font-weight: 500; letter-spacing: -.01em;
}

/* ───────── Footer ───────── */
.footer {
  background: var(--paper-2);
  padding: 48px 22px 32px;
  font-size: 12px; color: var(--mute);
  border-top: 1px solid var(--line);
}
.footer-inner { max-width: 1280px; margin: 0 auto; }
.footer-disclaimers {
  padding-bottom: 28px; border-bottom: 1px solid var(--line);
  display: flex; flex-direction: column; gap: 14px;
}
.footer-disclaimer {
  font-size: 12px; line-height: 1.55; color: var(--mute);
}
.footer-disclaimer.with-sup { display: flex; gap: 6px; }
.footer-disclaimer sup { color: inherit; font-weight: 600; line-height: 1; }
.ftr-grid {
  padding: 34px 0 30px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  border-bottom: 1px solid var(--line);
}
.ftr-col h4 {
  font-size: 12px; font-weight: 600; color: var(--ink);
  margin: 0 0 14px; letter-spacing: -.005em;
}
.ftr-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 9px;
}
.ftr-col a { color: var(--mute); transition: color .15s; }
.ftr-col a:hover { color: var(--ink); }

.ftr-bottom {
  margin-top: 24px; display: flex; align-items: center; gap: 16px;
}
.ftr-bottom img { height: 22px; width: auto; opacity: .85; display: block; }
.ftr-legal {
  display: flex; gap: 14px; font-size: 12px; color: var(--mute); margin-left: 28px;
}
.ftr-legal a { color: var(--mute); transition: color .15s; }
.ftr-legal a:hover { color: var(--ink); }
.ftr-legal .sep { opacity: .5; }
.ftr-copy { margin-left: auto; font-size: 12px; color: var(--mute); }

@media (max-width: 760px) {
  .ftr-grid { grid-template-columns: repeat(2, 1fr); }
  .ftr-bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .ftr-bottom .ftr-legal { margin-left: 0; }
  .ftr-bottom .ftr-copy  { margin-left: 0; }
}

/* ───────── Demo (booking) page ───────── */
.dp-form-hero {
  padding-top: 96px; padding-bottom: 48px;
  background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
}
.dp-form-hero-inner {
  max-width: 880px; margin: 0 auto; padding: 0 28px; text-align: center;
}
.dp-form-hero h1 {
  font-size: clamp(44px, 6vw, 84px); font-weight: 600;
  letter-spacing: -0.04em; line-height: 1.02;
  margin: 0; color: var(--ink);
}
.dp-form-hero p {
  margin: 24px auto 0; max-width: 620px;
  font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5;
  color: var(--ink-2); letter-spacing: -0.005em;
}
.dp-form-section {
  padding-top: 24px; padding-bottom: 120px;
  background: #fafafa;
}
.dp-form-wrap { max-width: 880px; margin: 0 auto; padding: 0 28px; }
.dp-form-card {
  background: #fff;
  border-radius: 24px;
  border: 1px solid var(--line-2);
  padding: 56px 56px 60px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 40px rgba(0,0,0,0.04);
}

.dp-form { max-width: 760px; margin: 0 auto; padding: 0 8px; }
.dp-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 20px 18px; }
.dp-field {
  display: flex; flex-direction: column; gap: 8px;
}
.dp-field.span-6  { grid-column: span 6; }
.dp-field.span-12 { grid-column: span 12; }
.dp-field-label {
  font-size: 13px; font-weight: 500; letter-spacing: -0.005em;
  color: var(--ink-2);
}
.dp-field-label .req { color: var(--red); margin-left: 3px; }

.dp-input, .dp-select {
  height: 48px; padding: 0 16px;
  border-radius: 12px; background: #fff;
  border: 1px solid var(--line);
  font-size: 15px; color: var(--ink);
  font-family: inherit; letter-spacing: -0.005em;
  outline: none; width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.dp-input:focus, .dp-select:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px rgba(29,29,31,0.06);
}
.dp-select {
  appearance: none; -webkit-appearance: none; -moz-appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'><path d='M3 5l4 4 4-4' fill='none' stroke='%236e6e73' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.dp-agency {
  margin-top: 32px; padding: 18px 20px;
  border-radius: 12px; background: var(--paper-2);
  border: 1px solid var(--line-2);
}
.dp-consent { margin-top: 24px; }
.dp-checkbox {
  display: flex; gap: 12px; align-items: flex-start; cursor: pointer;
  font-size: 13px; line-height: 1.55; color: var(--ink-2);
  letter-spacing: -0.005em;
  position: relative;
}
.dp-checkbox input {
  position: absolute; opacity: 0; pointer-events: none;
}
.dp-checkbox .box {
  flex-shrink: 0; margin-top: 2px;
  width: 18px; height: 18px; border-radius: 5px;
  background: #fff;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: all .15s;
}
.dp-checkbox input:checked + .box {
  background: var(--ink); border-color: var(--ink);
}
.dp-checkbox .box svg { display: none; }
.dp-checkbox input:checked + .box svg { display: block; }
.dp-checkbox .strong { color: var(--ink); font-weight: 500; }

.dp-privacy {
  margin-top: 20px; font-size: 12px; line-height: 1.6;
  color: var(--mute); letter-spacing: -0.003em;
}
.dp-privacy a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }

.dp-submit {
  margin-top: 36px; display: flex; justify-content: flex-start;
}
.dp-submit button {
  padding: 14px 32px; border-radius: 999px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  transition: opacity .15s;
}
.dp-submit button:hover { opacity: .86; }

.dp-success {
  max-width: 560px; margin: 0 auto; text-align: center;
  padding: 60px 24px;
}
.dp-success-icon {
  width: 64px; height: 64px; margin: 0 auto 24px;
  border-radius: 50%; background: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.dp-success h2 {
  font-size: clamp(28px, 3.4vw, 40px); font-weight: 600;
  letter-spacing: -0.025em; margin: 0 0 14px; color: var(--ink);
}
.dp-success p {
  font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 0;
  letter-spacing: -0.005em;
}

@media (max-width: 640px) {
  .dp-grid > .dp-field { grid-column: span 12; }
  .dp-form-section { padding-bottom: 80px; }
  .dp-form-card { padding: 32px 22px 36px; border-radius: 18px; }
}
@media (max-width: 600px) {
  .dp-form-hero { padding-top: 64px; padding-bottom: 32px; }
}

/* ───────── Placeholder pages (privacy / terms) ───────── */
.placeholder {
  max-width: 720px; margin: 0 auto;
  padding: 120px 28px 160px; text-align: center;
}
.placeholder h1 {
  font-size: clamp(36px, 4.5vw, 56px); font-weight: 600;
  letter-spacing: -0.035em; margin: 0 0 18px; color: var(--ink);
}
.placeholder p {
  font-size: 17px; line-height: 1.55; color: var(--ink-2); margin: 0;
}
.placeholder a {
  color: var(--red); margin-top: 24px; display: inline-block;
}
