/* ──────────────────────────────────────────────────────────────
   Scalyr Media — shared design system
   Reference: white, mobile-first, Inter-Black headlines, narrow
   centered column, one dark strip on the VSL card.
   Used by /index.html and /call-booked.html.
   ────────────────────────────────────────────────────────────── */

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

:root {
  --bg:        #ffffff;
  --ink:       #0a0a0a;   /* headlines, primary text */
  --ink2:      #1a1a1a;   /* body */
  --ink3:      #6b7280;   /* muted / session line */
  --ink4:      #9ca3af;   /* micro */
  --line:      #ececec;
  --line2:     #dcdcdc;
  --chip:      #f3f4f6;   /* live pill background */
  --strip:     #0d0d0f;   /* dark strip on VSL card + CTA */
  --strip2:    #1a1a1c;
  --dot:       #ef4444;   /* live red dot */
  --dot-glow:  rgba(239,68,68,.55);
  --font:      'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --shadow-sm: 0 1px 2px rgba(15,15,20,.06);
  --shadow:    0 10px 40px -12px rgba(15,15,20,.18);
  --shadow-lg: 0 30px 80px -20px rgba(15,15,20,.25);
}

html { scroll-behavior: smooth; background: var(--bg); }

body {
  background: var(--bg);
  color: var(--ink2);
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

::selection { background: var(--ink); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; }

/* narrow centered column — matches the reference on desktop */
.column {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 22px 96px;
}
@media (min-width: 900px) { .column { padding-top: 72px; } }

/* ── 1. LOGO MARK ─────────────────────────────────────────── */
/* Works for either <img class="logo-mark"> or the older
   <div class="logo-mark"><svg>…</svg></div> markup. */
.logo-mark {
  width: 56px;
  height: 56px;
  border-radius: 15px;
  margin: 0 auto;
  display: block;
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}
/* Legacy div-with-SVG variant still supported */
div.logo-mark {
  background: linear-gradient(180deg, #1c1c1f, #0a0a0c);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm), inset 0 1px 0 rgba(255,255,255,.06);
}
.logo-mark svg { width: 26px; height: 26px; }

/* small variant used in the footer brand block */
.logo-mark--sm { width: 44px; height: 44px; border-radius: 12px; }
.logo-mark--sm svg { width: 20px; height: 20px; }

/* ── BRAND LABEL (small "Scalyr Media" caption under the logo mark) ─ */
/* Extra-defensive centering — display:block + width:100% forces horizontal
   centering even if a parent flex/grid rule tries to shrink-wrap it. */
.brand-label {
  display: block;
  width: 100%;
  margin: 12px auto 0;
  text-align: center;
  color: var(--ink3);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: .06em;
}
/* Also belt+suspenders for the logo mark — image tags can inherit odd flex
   defaults from a parent — explicit auto margins keep it centered. */
img.logo-mark {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* ── ATTENTION PILL — premium redesign
   ▸ Warm cream bg + subtle warm border (feels handcrafted, not Bootstrap-grey)
   ▸ Uppercase-tracked "ATTENTION" (small caps feel) + mixed-case descriptor
   ▸ Layered shadow: subtle drop + inner white highlight (chip feels like an object)
   ▸ Dot: pulsing red centre + static warm glow ring via ::before ── */
.attn-pill-wrap { display: flex; justify-content: center; }
.attn-pill {
  margin: 10px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #f6f0e8;                        /* warm off-white */
  border: 1px solid #ede4d5;                  /* subtle warm border */
  border-radius: 999px;
  padding: 8px 18px 8px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .01em;
  color: var(--ink3);
  box-shadow:
    0 1px 2px rgba(15,15,20,.05),
    inset 0 1px 0 rgba(255,255,255,.6);
  white-space: nowrap;
}
.attn-pill b {
  font-weight: 700;
  color: var(--ink);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.attn-pill .dot {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--dot);
  animation: live-pulse 1.8s ease-out infinite;
  flex-shrink: 0;
}
/* Static glow ring around the dot — keyframes only override box-shadow on
   the dot itself, so the ring lives on a pseudo-element. */
.attn-pill .dot::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1.5px solid rgba(239,68,68,.25);
  pointer-events: none;
}
@keyframes live-pulse {
  0%   { box-shadow: 0 0 0 0 var(--dot-glow); }
  70%  { box-shadow: 0 0 0 8px rgba(239,68,68,0); }
  100% { box-shadow: 0 0 0 0 rgba(239,68,68,0); }
}

/* ── 2. STEP BANNER (bookends the VSL: "Step 1 of 2" / "Step 2 of 2") ── */
.step-banner {
  margin: 40px auto 0;
  max-width: 640px;
  border-radius: 14px;
  background: var(--strip);
  color: #f4f4f5;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: var(--shadow-sm);
  letter-spacing: -.005em;
}
.step-banner b { font-weight: 700; }
.step-banner .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .04em;
  flex-shrink: 0;
}
.step-banner .step-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: .92;
  color: #f4f4f5;
}
.step-banner .step-icon svg { width: 100%; height: 100%; display: block; }

/* ── HEADLINE (Inter Black) ───────────────────────────────── */
.headline {
  margin: 36px auto 0;
  max-width: 700px;
  text-align: center;
  font-weight: 900;
  color: var(--ink);
  font-size: clamp(34px, 6.6vw, 56px);
  line-height: 1.03;
  letter-spacing: -.038em;
}
.headline .accent { color: var(--ink); position: relative; }
.headline .hl {
  background: linear-gradient(180deg, transparent 62%, rgba(239,68,68,.16) 62%);
  padding: 0 .05em;
}
.subhead {
  margin: 20px auto 0;
  max-width: 560px;
  text-align: center;
  color: var(--ink3);
  font-size: clamp(15px, 1.9vw, 17px);
  line-height: 1.55;
  font-weight: 500;
}
.subhead strong { color: var(--ink); font-weight: 700; }

/* ── VSL CARD (dark strip + video) ────────────────────────── */
.vsl-card {
  margin: 44px auto 0;
  border-radius: 22px;
  overflow: hidden;
  background: var(--strip);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--line);
}
.vsl-strip {
  padding: 16px 20px;
  background: var(--strip);
  color: #f4f4f5;
  font-size: clamp(13.5px, 1.7vw, 15px);
  font-weight: 600;
  letter-spacing: -.005em;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 10px;
}
.vsl-strip .strip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239,68,68,.7);
  flex-shrink: 0;
}
/* Two-line variant: dot + [title, one-liner sub] on the dark strip.
   Opt-in per instance so LP1/LP2 single-line strips are untouched. */
.vsl-strip--stacked {
  align-items: flex-start;
  padding-top: 14px;
  padding-bottom: 14px;
}
.vsl-strip--stacked .strip-dot { margin-top: 6px; }
.vsl-strip--stacked .strip-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.vsl-strip--stacked .strip-sub {
  font-weight: 400;
  color: rgba(244,244,245,.62);
  font-size: 12.5px;
  line-height: 1.4;
}

.vsl-frame {
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
}
.vsl-frame video,
.vsl-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #000;
}
.vsl-frame .vsl-note {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.55);
  font-weight: 500;
  font-size: 14px;
  pointer-events: none;
  padding: 0 24px;
  text-align: center;
}
.vsl-card.has-video .vsl-note { display: none; }

/* mute toggle in the corner of the video */
.vsl-mute {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(20,20,22,.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s, transform .2s;
}
.vsl-mute:hover { background: rgba(20,20,22,.9); transform: scale(1.06); }
.vsl-mute svg { width: 18px; height: 18px; }
.vsl-mute .icon-unmuted { display: none; }
.vsl-mute.is-unmuted .icon-muted   { display: none; }
.vsl-mute.is-unmuted .icon-unmuted { display: block; }

/* ── 7. CTA BUTTON (rounded pill, dark) ───────────────────── */
.cta-wrap {
  margin: 30px auto 0;
  display: flex;
  justify-content: center;
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--strip);
  color: #fff;
  padding: 15px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -.005em;
  text-decoration: none;
  border: 1px solid #000;
  cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s;
  box-shadow: var(--shadow-sm);
}
.cta:hover { background: var(--strip2); transform: translateY(-1px); box-shadow: var(--shadow); }
.cta:active { transform: translateY(0); }
.cta .cta-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  color: var(--strip);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cta .cta-icon svg { width: 12px; height: 12px; }

.cta-micro {
  margin: 14px auto 0;
  text-align: center;
  color: var(--ink4);
  font-size: 12.5px;
  font-weight: 500;
}

/* ── Section headers used farther down each page ──────────── */
.sec-title {
  margin: 96px auto 0;
  text-align: center;
  font-weight: 800;
  color: var(--ink);
  font-size: clamp(26px, 3.6vw, 36px);
  letter-spacing: -.028em;
  line-height: 1.15;
}
.sec-sub {
  margin: 14px auto 0;
  max-width: 520px;
  text-align: center;
  color: var(--ink3);
  font-size: clamp(14.5px, 1.8vw, 16.5px);
}

/* ── Brand block + footer ─────────────────────────────────── */
.brand {
  margin: 120px auto 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.brand .brand-name {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: .12em;
  color: var(--ink);
}
.brand .brand-handle a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .15s;
}
.brand .brand-handle a:hover { border-bottom-color: currentColor; }
.brand .brand-handle {
  color: var(--ink3);
  font-weight: 500;
  font-size: 14px;
}
footer.site-foot {
  margin: 48px 0 0;
  text-align: center;
  color: var(--ink4);
  font-size: 13px;
}
footer.site-foot a {
  color: var(--ink3);
  text-decoration: none;
  font-weight: 600;
}
footer.site-foot a:hover { color: var(--ink); }

/* ── Utilities ────────────────────────────────────────────── */
.center { text-align: center; }
.mt-lg  { margin-top: 44px; }
.mt-xl  { margin-top: 72px; }
