/* ==========================================================================
   CLIP LANDING — page-specific layer
   Loads AFTER assets/site.css (verbatim copy of the bit-soft.co.uk design
   system — keep that file in sync with packages/site/assets/site.css).
   This file holds everything unique to clip.bit-soft.co.uk: the animated
   hero demo, checkout/pricing add-ons, signup forms, press-kit components.
   ========================================================================== */

:root {
  /* Aliases so the demo animation CSS (written against the original Clip
     landing tokens) keeps working on the shared system */
  --accent:      var(--red);
  --accent-h:    var(--red-h);
  --accent-glow: var(--red-glow);
}

/* --------------------------------------------------------------------------
   Centred hero (the animated demo is the visual, so copy sits centred)
   -------------------------------------------------------------------------- */
.hero--center .hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Two-line hero: the question and the gradient answer each get their own line.
   The block span stops text-wrap: balance splitting the sentence mid-thought
   ("... then what? Stop / hunting files."), and 1000px gives the question room
   to sit on ONE line at the full 4.5rem size (~840px wide) - at 800px it
   wrapped. On narrow screens each sentence still wraps naturally within its
   own block. */
.hero--center h1 { max-width: 1000px; }
.hero--center h1 .grad-text { display: block; }
.hero--center .hero-sub { margin-left: auto; margin-right: auto; }
.hero--center .hero-ctas, .hero--center .hero-foot { justify-content: center; }
.hero--center { padding-bottom: 0; }
.hero-reward {
  margin-top: .9rem;
  font-size: .9375rem;
  color: var(--muted);
  text-align: center;
}

/* ==========================================================
   HERO DEMO — Desktop Mockup (ported from original landing)
========================================================== */
.hero-demo-wrap {
  width: 100%;
  max-width: 860px;
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 0 1rem;
}
.hero-demo-outer {
  position: relative;
  width: 100%;
  filter:
    drop-shadow(0 0 60px rgba(230,57,70,.10))
    drop-shadow(0 0 120px rgba(79,142,247,.06));
}
.demo-screen {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #0d0d1e;
  border-radius: var(--r-lg);
  border: 1px solid #363670;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,.04) inset,
    0 30px 80px rgba(0,0,0,.55);
  position: relative;
}

/* Window chrome bar */
.demo-chrome {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 28px;
  background: #1a1a34;
  border-bottom: 1px solid #2c2c54;
  display: flex; align-items: center;
  padding: 0 10px; gap: 6px; z-index: 10;
}
.demo-chrome-dots { display: flex; gap: 5px; align-items: center; }
.demo-chrome-dots span { width: 9px; height: 9px; border-radius: 50%; display: block; }
.dot-r { background: #FF5F57; }
.dot-y { background: #FFBD2E; }
.dot-g { background: #28C840; }
.demo-chrome-title {
  flex: 1; text-align: center;
  font-size: .5625rem; color: #4a4a80;
  font-family: 'Space Grotesk', sans-serif; font-weight: 500;
  margin-right: 38px;
}

/* Desktop canvas */
.demo-desktop {
  position: absolute;
  top: 28px; left: 0; right: 0; bottom: 0;
  background: linear-gradient(140deg, #0e0e24 0%, #131328 60%, #0e1828 100%);
  overflow: hidden;
}
.demo-desktop::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 22% 30%, rgba(79,142,247,.06) 0%, transparent 60%),
    radial-gradient(ellipse 45% 45% at 72% 72%, rgba(51,51,102,.22) 0%, transparent 60%);
  pointer-events: none;
}

/* Background App: Calendar window */
.demo-bg-app {
  position: absolute;
  top: 7%; left: 3%;
  width: 50%; height: 72%;
  background: #1c1c36;
  border-radius: 8px;
  border: 1px solid #2d2d55;
  overflow: hidden;
  box-shadow: 0 6px 24px rgba(0,0,0,.45);
}
.bg-app-chrome {
  height: 20px; background: #222240;
  border-bottom: 1px solid #2d2d55;
  display: flex; align-items: center;
  padding: 0 7px; gap: 4px;
}
.bg-app-chrome span { width: 6px; height: 6px; border-radius: 50%; display: block; }
.ac-r { background: #FF5F57; }
.ac-y { background: #FFBD2E; }
.ac-g { background: #28C840; }
.bg-cal-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 5px 8px;
  border-bottom: 1px solid #252548;
}
.cal-month { height: 6px; width: 38%; background: #3a3a68; border-radius: 2px; }
.cal-nav { display: flex; gap: 3px; }
.cal-nav span { width: 8px; height: 6px; background: #333360; border-radius: 1px; }
.bg-cal-days {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; padding: 5px 6px 3px;
}
.cal-day-hdr { height: 7px; background: #2a2a50; border-radius: 1px; opacity: .7; }
.cal-day-hdr.wknd { background: #332a50; }
.bg-cal-grid {
  display: grid; grid-template-columns: repeat(7, 1fr);
  gap: 2px; padding: 0 6px 5px;
}
.cal-cell {
  height: 22px; background: #202040;
  border-radius: 3px; position: relative; overflow: hidden;
}
.cal-cell.today { background: #2a1a22; border: 1px solid rgba(230,57,70,.35); }
.cal-cell .cn {
  position: absolute; top: 2px; left: 3px;
  width: 8px; height: 4px; background: #3a3a65; border-radius: 1px;
}
.cal-cell.today .cn { background: rgba(230,57,70,.6); }
.cal-cell .ce {
  position: absolute; bottom: 3px; left: 2px; right: 2px;
  height: 3px; border-radius: 1px;
}
.ev-r  { background: rgba(230,57,70,.7); }
.ev-b  { background: rgba(79,142,247,.7); }
.ev-g  { background: rgba(40,200,64,.5); }

/* Snipping Tool overlay + selection rectangle */
.demo-snip-overlay {
  position: absolute; inset: 0;
  background: rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .35s ease;
  z-index: 20;
}
.demo-snip-overlay.on { opacity: 1; }

.demo-selection {
  position: absolute;
  top: 11%; left: 6%;
  width: 0; height: 0;
  border: 1.5px solid rgba(255,255,255,.9);
  box-shadow: 0 0 0 2000px rgba(0,0,0,.45);
  border-radius: 1px;
  opacity: 0;
  transition: opacity .1s ease,
              width 1.15s cubic-bezier(.25,.1,.1,1),
              height 1.15s cubic-bezier(.25,.1,.1,1);
  z-index: 21;
}
.demo-selection.drawn { opacity: 1; width: 47%; height: 60%; }

/* Corner handles */
.sel-h { position: absolute; width: 7px; height: 7px; background: #fff; border-radius: 1px; }
.sel-h.tl { top: -1px; left: -1px; }
.sel-h.tr { top: -1px; right: -1px; }
.sel-h.bl { bottom: -1px; left: -1px; }
.sel-h.br { bottom: -1px; right: -1px; }
.sel-dims {
  position: absolute; bottom: -15px; left: 0;
  font-size: .35rem; color: rgba(255,255,255,.7);
  font-family: monospace; white-space: nowrap;
}

/* Crosshair cursor */
.demo-crosshair {
  position: absolute;
  top: 30%; left: 28%;
  width: 18px; height: 18px;
  pointer-events: none; opacity: 0;
  z-index: 22;
  transition: opacity .25s ease,
              top 1.15s cubic-bezier(.25,.1,.1,1),
              left 1.15s cubic-bezier(.25,.1,.1,1);
}
.demo-crosshair.on { opacity: 1; }
.demo-crosshair.at-start { top: 11%; left: 6%; }
.demo-crosshair.at-end   { top: 71%; left: 53%; }
.ch-h, .ch-v { position: absolute; background: #fff; }
.ch-h { height: 1.5px; width: 100%; top: 50%; transform: translateY(-50%); }
.ch-v { width: 1.5px; height: 100%; left: 50%; transform: translateX(-50%); }
.ch-gap {
  position: absolute;
  width: 5px; height: 5px;
  background: #0e0e24;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

/* Capture flash */
.demo-flash {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.9);
  opacity: 0; pointer-events: none; z-index: 25;
}
.demo-flash.fire { animation: do-flash .45s ease-out forwards; }
@keyframes do-flash {
  0%  { opacity: 0; }
  12% { opacity: .85; }
  100%{ opacity: 0; }
}

/* Clip Tray */
.demo-tray {
  position: absolute;
  bottom: 5%; left: 50%;
  transform: translateX(-50%);
  width: 46%; height: 15%;
  background: rgba(14,14,28,.92);
  backdrop-filter: blur(16px);
  border-radius: 10px;
  border: 1px solid rgba(56,56,112,.8);
  box-shadow:
    0 4px 20px rgba(0,0,0,.5),
    0 0 0 1px rgba(255,255,255,.04) inset;
  display: flex; align-items: center;
  padding: 0 8px; gap: 6px; z-index: 30;
}
.tray-logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .45rem; font-weight: 700;
  color: rgba(240,240,245,.35);
  letter-spacing: -.02em;
  padding-right: 6px;
  border-right: 1px solid rgba(56,56,112,.55);
  flex-shrink: 0; position: relative;
}
.tl-dot { color: var(--accent); }
.tray-slots { display: flex; gap: 5px; flex: 1; align-items: center; }
.tray-slot {
  flex: 1; max-width: 38px;
  aspect-ratio: 4/3;
  border-radius: 5px;
  background: rgba(42,42,80,.5);
  border: 1px solid rgba(56,56,112,.4);
  overflow: hidden; position: relative;
}
.tray-slot.filled {
  background: linear-gradient(135deg, #1c2a4a 0%, #1a1a34 100%);
}
.tray-slot.filled::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.06) 0%, transparent 60%);
}
.ts-l {
  position: absolute; height: 1.5px; border-radius: 1px; left: 10%; right: 10%;
}
.ts-l.bl { background: rgba(79,142,247,.5); }
.ts-l.pu { background: rgba(180,100,230,.5); }
.ts-l.gn { background: rgba(40,200,64,.4); }

/* NEW thumbnail slot */
.tray-slot.new {
  opacity: 0;
  transform: translateY(6px) scale(.8);
  background: linear-gradient(135deg, #2a1218 0%, #1a1228 100%);
  border-color: rgba(230,57,70,.45);
  box-shadow: 0 0 10px rgba(230,57,70,.18);
  transition: opacity .4s ease, transform .5s cubic-bezier(.34,1.56,.64,1);
}
.tray-slot.new.arrived { opacity: 1; transform: translateY(0) scale(1); }
.thumb-inner { position: absolute; inset: 0; background: #1c1c36; overflow: hidden; }
.thumb-row { display: flex; gap: 1px; padding: 1px; }
.thumb-cell { flex: 1; height: 4px; background: #252548; border-radius: .5px; }
.thumb-cell.ev  { background: rgba(230,57,70,.5); }
.thumb-cell.ev2 { background: rgba(79,142,247,.4); }
.tray-slot.new.lifted {
  opacity: .28;
  transform: scale(.9);
  transition: opacity .2s ease, transform .2s ease;
}

/* Drag Ghost */
.demo-drag-ghost {
  position: absolute;
  width: 7.5%; aspect-ratio: 4/3;
  z-index: 50; pointer-events: none; opacity: 0;
  bottom: 18%; left: 38%;
  transform: rotate(-4deg) scale(1.1);
  transition:
    opacity .22s ease,
    bottom .88s cubic-bezier(.4,0,.2,1),
    left .88s cubic-bezier(.4,0,.2,1),
    transform .22s ease;
}
.demo-drag-ghost.on { opacity: 1; }
.drag-thumb-body {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, #1c1c36 30%, #252545 100%);
  border-radius: 4px;
  border: 1.5px solid rgba(230,57,70,.55);
  box-shadow: 0 6px 22px rgba(0,0,0,.55), 0 0 10px rgba(230,57,70,.14);
  overflow: hidden; position: relative;
}
.drag-thumb-body::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,.07) 0%, transparent 50%);
}
.drag-cursor-svg {
  position: absolute;
  bottom: -10px; right: -6px;
  width: 14px; height: 14px;
}
/* Position states */
.demo-drag-ghost.to-email {
  bottom: 19%; left: 65%;
  transform: rotate(-1.5deg) scale(1.05);
}
.demo-drag-ghost.to-vscode {
  bottom: 22%; left: 72%;
  transform: rotate(-1.5deg) scale(1.05);
}
.demo-drag-ghost.dropped {
  opacity: 0; transform: scale(.5);
  transition: opacity .2s ease, transform .2s ease;
}

/* Email Compose Window */
.demo-email-win {
  position: absolute;
  top: 5%; right: -56%;
  width: 46%; height: 82%;
  background: #f0f0f8;
  border-radius: 8px;
  border: 1px solid #c8c8dc;
  overflow: hidden;
  box-shadow: 0 14px 44px rgba(0,0,0,.55);
  transition: right .44s cubic-bezier(.4,0,.2,1), opacity .38s ease;
  opacity: 0; z-index: 40;
}
.demo-email-win.open { right: 3%; opacity: 1; }
.email-chrome {
  height: 22px; background: #e4e4f0;
  border-bottom: 1px solid #c8c8dc;
  display: flex; align-items: center;
  padding: 0 7px; gap: 5px;
}
.ec-dot { width: 7px; height: 7px; border-radius: 50%; }
.ec-r { background: #FF5F57; }
.ec-y { background: #FFBD2E; }
.ec-g { background: #28C840; }
.email-chrome-title {
  flex: 1; text-align: center;
  font-size: .45rem; color: #7070a0;
  font-family: 'Space Grotesk', sans-serif;
  margin-right: 26px;
}
.email-body {
  padding: 7px 8px; height: calc(100% - 22px);
  display: flex; flex-direction: column; gap: 3px;
}
.email-field {
  display: flex; align-items: center; gap: 4px;
  padding-bottom: 3px; border-bottom: 1px solid #ddddf0;
}
.ef-label {
  font-size: .4rem; font-weight: 600;
  color: #8888b8; font-family: 'Space Grotesk', sans-serif;
  width: 22px; flex-shrink: 0;
}
.ef-val { font-size: .4rem; color: #444466; }
.email-compose-area {
  flex: 1; padding-top: 4px;
  display: flex; flex-direction: column; gap: 2.5px;
}
.email-text-line { height: 2.5px; border-radius: 1px; background: #e0e0f0; }
.email-drop-row {
  display: flex; gap: 3px; margin-top: auto;
}
.email-attach-zone {
  flex: 1; padding: 4px 3px; border: 1px dashed #c0c0dc;
  border-radius: 5px; min-height: 28px;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 1.5px;
  transition: border-color .25s, background .25s;
  position: relative;
}
.email-attach-zone.drag-over { border-color: var(--accent); background: rgba(230,57,70,.05); }
.email-attach-zone.success   { border-style: solid; border-color: #28C840; background: rgba(40,200,64,.04); }
.zone-label { font-size: .35rem; color: #9999c0; font-family: 'DM Sans', sans-serif; text-align: center; }
.zone-sub { font-size: .28rem; color: #b8b8d8; font-family: 'DM Sans', sans-serif; }
.email-attachment {
  display: flex; align-items: center; gap: 3px;
  padding: 2px 5px;
  background: #eeeef8; border-radius: 3px;
  border: 1px solid #ccccee;
  opacity: 0; transform: scale(.75) translateY(3px);
  transition: opacity .28s ease, transform .32s cubic-bezier(.34,1.56,.64,1);
  position: absolute;
}
.email-attachment.show { opacity: 1; transform: scale(1) translateY(0); }
.attach-file-icon {
  width: 9px; height: 11px;
  background: var(--accent); border-radius: 1px 3px 1px 1px;
  position: relative; flex-shrink: 0;
}
.attach-filename { font-size: .375rem; color: #444466; font-family: 'Space Grotesk', sans-serif; font-weight: 600; }

/* VS Code Window */
.demo-vscode-win {
  position: absolute;
  top: 5%; right: -56%;
  width: 46%; height: 82%;
  background: #1e1e2e; border-radius: 8px;
  border: 1px solid #323250; overflow: hidden;
  box-shadow: 0 14px 44px rgba(0,0,0,.55);
  transition: right .44s cubic-bezier(.4,0,.2,1), opacity .38s ease;
  opacity: 0; z-index: 40;
}
.demo-vscode-win.open { right: 3%; opacity: 1; }
.vscode-chrome {
  height: 22px; background: #2a2a3c;
  border-bottom: 1px solid #383858;
  display: flex; align-items: center;
  padding: 0 7px; gap: 5px;
}
.vscode-chrome-title {
  flex: 1; text-align: center;
  font-size: .4375rem; color: #6060a0;
  font-family: 'Space Grotesk', sans-serif;
  margin-right: 26px;
}
.vscode-layout { display: flex; height: calc(100% - 22px); }
.vscode-sidebar {
  width: 28%; background: #191929;
  border-right: 1px solid #323250;
  padding: 6px 5px;
  display: flex; flex-direction: column; gap: 2.5px;
}
.vs-f { height: 4.5px; border-radius: 1px; background: #303058; }
.vs-f.active { background: #4a4a80; }
.vs-f.i1 { margin-left: 7px; }
.vs-f.i2 { margin-left: 14px; }
.vscode-editor { flex: 1; padding: 5px 6px; overflow: hidden; }
.vs-l { height: 3.5px; border-radius: 1px; margin-bottom: 2.5px; }
.vs-l.kw    { background: #c792ea; width: 28%; }
.vs-l.fn    { background: #82aaff; width: 44%; }
.vs-l.str   { background: #c3e88d; width: 56%; }
.vs-l.cm    { background: #546e7a; width: 68%; }
.vs-l.punct { background: #89ddff; width: 20%; }
.vs-l.blank { height: 5px; background: transparent; }
.vscode-img-drop {
  width: 100%; aspect-ratio: 16/10;
  background: #1c1c36; border-radius: 4px;
  border: 1px solid #383858; margin-top: 4px;
  opacity: 0; transform: scale(.88) translateY(4px);
  transition: opacity .35s ease, transform .42s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.vscode-img-drop.show { opacity: 1; transform: scale(1) translateY(0); }
.vid-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 1px; padding: 3px; }
.vid-cell { height: 5px; background: #252548; border-radius: .5px; }
.vid-cell.ev  { background: rgba(230,57,70,.5); }
.vid-cell.ev2 { background: rgba(79,142,247,.4); }
.vid-cap {
  position: absolute; bottom: 2px; right: 3px;
  font-size: .3rem; color: rgba(255,255,255,.2); font-family: monospace;
}

/* VS Code main + terminal layout */
.vscode-main {
  flex: 1; display: flex; flex-direction: column;
  overflow: hidden;
}
.vscode-terminal {
  height: 32%; background: #0d0d1a;
  border-top: 1px solid #2a2a44;
  padding: 3px 5px;
  display: flex; flex-direction: column; gap: 1.5px;
  overflow: hidden;
}
.vt-tabs {
  display: flex; gap: 6px; margin-bottom: 1.5px;
  border-bottom: 1px solid #222238; padding-bottom: 1.5px;
}
.vt-tab {
  font-size: .3rem; color: #5a5a8a;
  font-family: 'Space Grotesk', sans-serif;
  padding-bottom: .5px;
}
.vt-tab.active { color: #c0c0e0; border-bottom: 1px solid var(--accent); }
.vt-line {
  display: flex; align-items: center; gap: 2px;
}
.vt-prompt { font-size: .3rem; color: var(--accent); font-family: monospace; flex-shrink: 0; }
.vt-cmd { font-size: .3rem; color: #8080b0; font-family: monospace; }
.vt-out { font-size: .3rem; color: #5a7a5a; font-family: monospace; }
.vt-dim { font-size: .3rem; color: #3a3a60; font-family: monospace; }
.vt-cursor {
  display: inline-block;
  width: .25rem; height: .32rem;
  background: var(--accent); opacity: .8;
  animation: cursor-blink 1.1s step-end infinite;
}
@keyframes cursor-blink { 0%,100%{opacity:.8} 50%{opacity:0} }
.vt-path { font-size: .3rem; color: #82aaff; font-family: monospace; overflow: hidden; white-space: nowrap; }
#demo-vscode-path { display: none; }
#demo-vscode-path.show { display: flex; }

/* VS Code sidebar file tree */
.vs-folder { display: flex; align-items: center; gap: 1.5px; margin-bottom: .5px; }
.vs-fi { width: 4px; height: 4px; border-radius: 1px; flex-shrink: 0; }
.vs-fi.folder { background: #c8a44a; }
.vs-fi.file   { background: #4a7cc8; }
.vs-fi.file-md { background: #6a9a6a; }
.vs-fi.file-ts { background: #4a8abf; }
.vs-fname { height: 3.5px; border-radius: 1px; background: #303058; flex: 1; }
.vs-fname.active { background: #4a4a80; }

/* --------------------------------------------------------------------------
   Steps — 4-up variant (How it works)
   -------------------------------------------------------------------------- */
.steps--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .steps--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .steps--4 { grid-template-columns: 1fr; } }

/* --------------------------------------------------------------------------
   Email signup forms (Netlify Forms + Loops)
   -------------------------------------------------------------------------- */
.signup-row { display: flex; gap: .6rem; }
.email-input {
  flex: 1;
  min-height: 48px;
  padding: .75rem 1.25rem;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  color: var(--text);
  font-family: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  font-size: .9375rem;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.email-input::placeholder { color: var(--faint); }
.email-input:focus {
  border-color: var(--faint);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, .14);
}
.form-note { font-size: .8125rem; color: var(--faint); margin-top: .8rem; }
.form-success {
  padding: 1.25rem 1.5rem;
  background: rgba(93, 211, 158, .08);
  border: 1px solid rgba(93, 211, 158, .3);
  border-radius: var(--r-md);
  color: #90e8a8;
  font-size: 1rem;
  text-align: left;
}
.form-junk-note {
  margin-top: .875rem;
  padding: .75rem 1rem;
  background: rgba(255, 200, 0, .08);
  border: 1px solid rgba(255, 200, 0, .3);
  border-radius: var(--r-md);
  color: #ffd966;
  font-size: .9rem;
  display: flex;
  gap: .5rem;
  align-items: flex-start;
}
.form-junk-note strong { color: #ffe599; }
@media (max-width: 560px) { .signup-row { flex-direction: column; } }

/* --------------------------------------------------------------------------
   Pricing add-ons — buy buttons inside the shared price cards
   -------------------------------------------------------------------------- */
.price-card .btn { margin-top: 1.25rem; width: 100%; }
.pricing-shared { max-width: 780px; margin: clamp(2rem, 4.5vw, 3rem) auto 0; }
.pricing-shared-hd {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.25rem;
}
.pricing-shared-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .7rem 2.5rem;
}
.pricing-shared-list li {
  display: flex; gap: .65rem; align-items: baseline;
  color: var(--muted); font-size: .96rem;
}
.pricing-shared-list svg { flex: none; transform: translateY(2px); color: var(--red); }
@media (max-width: 640px) { .pricing-shared-list { grid-template-columns: 1fr; } }
.pricing-note { text-align: center; color: var(--faint); font-size: .8125rem; margin-top: 1.75rem; }

/* --------------------------------------------------------------------------
   Beam teaser — product card + inline waitlist form
   -------------------------------------------------------------------------- */
.beam-card { max-width: 880px; margin: 0 auto; }
.beam-card .signup-row { max-width: 460px; }
.beam-card .app-shot--beam { width: min(220px, 60%); }
.beam-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
@media (max-width: 760px) {
  .beam-grid { grid-template-columns: 1fr; }
  .beam-grid .product-visual { order: -1; }
}

/* --------------------------------------------------------------------------
   Press kit components
   -------------------------------------------------------------------------- */
.press-hero { padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(2rem, 4vw, 3rem); }
.press-hero h1 { font-size: clamp(2.2rem, 4.5vw, 3.2rem); margin: .8rem 0 1rem; }
.press-hero p { color: var(--muted); max-width: 38rem; }
.blurb-stack { display: grid; gap: 1.1rem; }
.blurb-label {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--red);
  margin-bottom: .6rem;
}
.blurb-text { color: var(--muted); font-size: .9875rem; user-select: all; }
.logo-assets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 240px));
  gap: 1.1rem;
}
.logo-preview {
  display: grid; place-items: center;
  background: var(--bg-alt);
  border-radius: var(--r-sm);
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.logo-asset-name { font-family: 'Space Grotesk', sans-serif; font-weight: 600; font-size: .9375rem; margin-bottom: .5rem; }
.logo-download-link { color: var(--blue); font-size: .9rem; font-weight: 600; }
.logo-download-link:hover { text-decoration: underline; }
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.1rem;
}
@media (max-width: 700px) { .screenshots-grid { grid-template-columns: 1fr; } }
.screenshot-card { display: grid; align-content: center; justify-items: center; gap: .8rem; min-height: 180px; }
.screenshot-card img { width: 100%; height: auto; }
.screenshot-card span { color: var(--faint); font-size: .875rem; text-align: center; }
.screenshot-card svg { width: 40px; height: 40px; color: var(--faint); }
.key-facts-table { width: 100%; border-collapse: collapse; }
.key-facts-table th, .key-facts-table td {
  text-align: left;
  padding: .8rem 1rem .8rem 0;
  border-bottom: 1px solid var(--border);
  font-size: .9375rem;
  vertical-align: top;
}
.key-facts-table th { color: var(--faint); font-weight: 600; white-space: nowrap; width: 11rem; }
.key-facts-table td { color: var(--text); }
.key-facts-table a { color: var(--blue); }
.key-facts-table a:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Waitlist page
   -------------------------------------------------------------------------- */
.counter-line { text-align: center; color: var(--muted); font-size: 1rem; }
.counter-line b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem;
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* --------------------------------------------------------------------------
   Reduced motion — hide the demo's animated stages, show final state
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .demo-snip-overlay,
  .demo-crosshair,
  .demo-selection,
  .demo-flash,
  .demo-drag-ghost,
  .demo-email-win,
  .demo-vscode-win { display: none !important; }
  .tray-slot.new { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================
   TRY IT LIVE — interactive Clip simulation (index.html #try)
   Behaviour mirrors docs/SPEC-CURRENT.md: red screenshot badge,
   click = Copied! overlay, 3-option right-click menu, 30s
   auto-hide (paused while dragging), max 3 thumbnails.
========================================================== */
.tryit { max-width: 920px; margin: 0 auto; }

/* Toolbar: step chips + snip button */
.tryit-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.tryit-steps { list-style: none; display: flex; gap: .5rem; flex-wrap: wrap; padding: 0; }
.tryit-steps li {
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8125rem; font-weight: 500;
  color: var(--faint);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: .35rem .95rem .35rem .45rem;
  transition: color .2s ease, border-color .2s ease;
}
.tryit-steps li b {
  display: grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  font-size: .7rem; font-weight: 700;
}
.tryit-steps li.on { color: var(--text); border-color: rgba(230,57,70,.55); }
.tryit-steps li.on b { background: var(--red); color: #fff; }
.tryit-steps li.done { color: #5dd39e; border-color: rgba(93,211,158,.4); }
.tryit-steps li.done b { background: rgba(93,211,158,.18); color: #5dd39e; }
/* step 1 IS the snip button — no chip frame around it */
.tryit-steps li.li-btn { border: none; padding: 0; background: none; }

#try-snip-btn { position: relative; }
#try-snip-btn.pulse::after {
  content: "";
  position: absolute; inset: -4px;
  border-radius: 999px;
  border: 2px solid rgba(230,57,70,.55);
  animation: try-pulse 1.8s ease-out infinite;
  pointer-events: none;
}
@keyframes try-pulse {
  0%   { opacity: .9; transform: scale(1); }
  70%  { opacity: 0;  transform: scale(1.12); }
  100% { opacity: 0;  transform: scale(1.12); }
}

/* The screen */
.try-screen {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid #363670;
  overflow: hidden;
  background: #0d0d1e;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 30px 80px rgba(0,0,0,.55);
  filter: drop-shadow(0 0 60px rgba(230,57,70,.08));
}
.try-desktop {
  position: relative;
  aspect-ratio: 16 / 10;
  background: linear-gradient(140deg, #10102a 0%, #141432 55%, #101c30 100%);
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
}
.try-desktop::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 24% 28%, rgba(79,142,247,.07) 0%, transparent 60%),
    radial-gradient(ellipse 50% 45% at 74% 70%, rgba(142,108,240,.08) 0%, transparent 60%);
  pointer-events: none;
}
.try-desktop.snipping { cursor: crosshair; touch-action: none; }

/* Hint bubble */
.try-hint {
  position: absolute;
  top: 4%; left: 50%;
  transform: translateX(-50%);
  z-index: 60;
  background: rgba(14,14,28,.92);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: .35rem 1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.6rem, 1.6vw, .8125rem);
  color: var(--muted);
  white-space: nowrap;
  transition: opacity .3s ease;
  pointer-events: none;
}
.try-hint.gone { opacity: 0; }

/* Generic fake window */
.try-window {
  position: absolute;
  background: #1c1c36;
  border: 1px solid #2d2d55;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,.45);
}
.try-win-chrome {
  height: clamp(16px, 3.2%, 24px);
  min-height: 16px;
  background: #222240;
  border-bottom: 1px solid #2d2d55;
  display: flex; align-items: center;
  padding: 2px 8px; gap: 5px;
}
.try-win-chrome i { width: 7px; height: 7px; border-radius: 50%; display: block; flex: none; }
.try-win-chrome .r { background: #FF5F57; }
.try-win-chrome .y { background: #FFBD2E; }
.try-win-chrome .g { background: #28C840; }
.try-win-title {
  flex: 1; text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.42rem, 1.15vw, .58rem);
  color: #6a6aa0;
  margin-right: 28px;
  white-space: nowrap; overflow: hidden;
}

/* Report window (snip target) */
.try-report { top: 7%; left: 3%; width: 46%; height: 74%; }
.try-report-body { padding: 4% 6% 5%; height: calc(100% - 20px); display: flex; flex-direction: column; }
.try-report-hd {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(.55rem, 1.5vw, .8rem);
  color: #d8d8ee;
  letter-spacing: -.01em;
}
.try-report-sub { font-size: clamp(.4rem, 1vw, .55rem); color: #7a7aa8; margin-top: 1%; }
.try-chart {
  flex: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 6%;
  margin-top: 6%;
  padding-bottom: 2%;
  border-bottom: 1px solid #30305c;
}
.try-bar { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 4px; }
.try-bar i {
  display: block;
  border-radius: 3px 3px 0 0;
  background: linear-gradient(180deg, #4f8ef7, #3a6cc4);
}
.try-bar.hot i { background: linear-gradient(180deg, #E63946, #b32833); }
.try-bar b {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: clamp(.35rem, .95vw, .5rem);
  color: #9a9ac8;
  text-align: center;
}
.try-chart-legend {
  display: flex; justify-content: space-between;
  padding-top: 3%;
  font-size: clamp(.35rem, .9vw, .5rem);
  color: #62628e;
}

/* Mail window (drop target) */
.try-mail { top: 9%; right: 3%; width: 44%; height: 76%; background: #f0f0f8; border-color: #c8c8dc; }
.try-mail .try-win-chrome { background: #e4e4f0; border-color: #c8c8dc; }
.try-mail .try-win-title { color: #7070a0; }
.try-mail-body {
  padding: 3% 4%;
  height: calc(100% - 20px);
  display: flex; flex-direction: column; gap: 2%;
}
.try-mail-field {
  display: flex; align-items: center; gap: 5px;
  padding-bottom: 2%;
  border-bottom: 1px solid #ddddf0;
}
.try-mail-field b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.38rem, 1vw, .55rem);
  font-weight: 600; color: #8888b8;
  width: 14%; flex: none;
}
.try-mail-field span { font-size: clamp(.38rem, 1vw, .55rem); color: #444466; white-space: nowrap; overflow: hidden; }
.try-mail-text { flex: 1; padding-top: 2%; font-size: clamp(.4rem, 1.05vw, .58rem); color: #55557a; line-height: 1.7; }
.try-attach-zone {
  border: 1.5px dashed #b8b8d8;
  border-radius: 6px;
  min-height: 22%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 2px;
  text-align: center;
  transition: border-color .2s ease, background .2s ease, transform .15s ease;
  position: relative;
}
.try-attach-zone .zl { font-size: clamp(.42rem, 1.1vw, .6rem); color: #8888b0; font-weight: 500; }
.try-attach-zone .zs { font-size: clamp(.34rem, .85vw, .48rem); color: #b0b0d0; }
.try-attach-zone.drag-over {
  border-color: var(--red);
  background: rgba(230,57,70,.06);
  transform: scale(1.015);
}
.try-attach-zone.success { border-style: solid; border-color: #28C840; background: rgba(40,200,64,.05); }
.try-attachment {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 3px 8px;
  background: #eeeef8;
  border: 1px solid #ccccee;
  border-radius: 4px;
  animation: try-chip-in .35s cubic-bezier(.34,1.56,.64,1);
}
@keyframes try-chip-in { from { opacity: 0; transform: scale(.7) translateY(4px); } }
.try-attachment .fi {
  width: 9px; height: 11px; flex: none;
  background: var(--red);
  border-radius: 1px 3px 1px 1px;
}
.try-attachment .fn {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.38rem, .95vw, .52rem);
  font-weight: 600; color: #444466;
  white-space: nowrap;
}

/* Taskbar */
.try-taskbar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 8.5%;
  min-height: 26px;
  background: rgba(16,16,32,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid #26264c;
  display: flex; align-items: center;
  padding: 0 1.5%;
  gap: 1.2%;
  z-index: 40;
}
.try-tb-start { color: #7a9cf0; display: grid; place-items: center; }
.try-tb-start svg { width: clamp(12px, 2.2vw, 17px); height: auto; }
.try-tb-search {
  width: 18%;
  height: 55%;
  background: #1e1e3c;
  border: 1px solid #2c2c54;
  border-radius: 999px;
  display: flex; align-items: center;
  padding: 0 3%;
  gap: 4px;
  color: #55558a;
  font-size: clamp(.35rem, .9vw, .5rem);
}
.try-tb-icons { display: flex; gap: 1.2%; flex: 1; }
.try-tb-icons i {
  display: block;
  width: clamp(14px, 2.6vw, 20px);
  aspect-ratio: 1;
  border-radius: 4px;
  background: #23234a;
  border: 1px solid #2e2e58;
}
.try-tb-icons i:nth-child(1) { background: linear-gradient(135deg, #2a4a7a, #23234a); }
.try-tb-icons i:nth-child(2) { background: linear-gradient(135deg, #7a3a3a, #23234a); }
.try-tb-icons i:nth-child(3) { background: linear-gradient(135deg, #2a6a4a, #23234a); }
.try-tb-right { display: flex; align-items: center; gap: 6px; margin-left: auto; }
#try-tray-icon {
  display: grid; place-items: center;
  width: clamp(18px, 3vw, 26px);
  aspect-ratio: 1;
  border-radius: 5px;
  color: #d0d0e8;
  cursor: pointer;
  transition: background .15s ease;
}
#try-tray-icon:hover { background: rgba(255,255,255,.08); }
#try-tray-icon svg { width: 70%; height: 70%; }
.try-clock {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.36rem, .95vw, .52rem);
  color: #8a8ab8;
  text-align: right;
  line-height: 1.35;
  white-space: nowrap;
}

/* The Clip tray — mirrors the real 480x116 frameless window */
.try-tray {
  position: absolute;
  right: 1.5%;
  bottom: 10.5%;
  width: min(44%, 340px);
  height: 13%;
  min-height: 44px;
  background: rgba(13,13,26,.96);
  border: 1px solid rgba(56,56,112,.85);
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.04) inset;
  display: flex; align-items: center;
  padding: 0 2.5%;
  gap: 2.5%;
  z-index: 50;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.try-tray.show { opacity: 1; transform: none; pointer-events: auto; }
.try-tray-brand {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(.5rem, 1.4vw, .75rem);
  letter-spacing: -.02em;
  color: #F0F0F5;
  flex: none;
}
.try-tray-brand .dot { color: var(--red); text-shadow: 0 0 8px var(--red-glow); }
.try-tray-divider {
  width: 1px;
  height: 55%;
  flex: none;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--red), var(--violet), var(--blue));
  opacity: .3;
}
.try-tray-slots { display: flex; gap: 3%; flex: 1; align-items: center; min-width: 0; height: 72%; }
.try-tray-empty {
  font-size: clamp(.38rem, 1vw, .55rem);
  color: #55558a;
  white-space: nowrap;
}
.try-thumb {
  position: relative;
  height: 100%;
  aspect-ratio: 3/2;
  border-radius: 8px;
  border: 1.5px solid rgba(230,57,70,.55);
  overflow: hidden;
  cursor: grab;
  flex: none;
  background: #1c1c36;
  animation: try-thumb-in .45s cubic-bezier(.34,1.56,.64,1);
  touch-action: none;
}
@keyframes try-thumb-in { from { opacity: 0; transform: translateY(8px) scale(.75); } }
.try-thumb:active { cursor: grabbing; }
.try-thumb.lifted { opacity: .28; }
.try-thumb .snip-view { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
/* source badge — dark rounded square, top-left, scissors = screenshot
   (matches the real app render) */
.try-thumb .src-badge {
  position: absolute;
  top: 6%; left: 4%;
  width: clamp(11px, 30%, 20px);
  aspect-ratio: 1;
  border-radius: 22%;
  background: rgba(14,14,28,.88);
  border: 1px solid rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  color: #f0f0f5;
  z-index: 2;
}
.try-thumb .src-badge svg { width: 62%; height: 62%; }
.try-thumb .copied-overlay {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(13,13,26,.82);
  color: #5dd39e;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.38rem, 1vw, .55rem);
  font-weight: 700;
  opacity: 0;
  transition: opacity .15s ease;
  z-index: 3;
  pointer-events: none;
}
.try-thumb .copied-overlay.show { opacity: 1; }
.try-tray-close {
  flex: none;
  display: grid; place-items: center;
  width: clamp(14px, 2.2vw, 20px);
  aspect-ratio: 1;
  border-radius: 4px;
  color: #55558a;
  font-size: clamp(.5rem, 1.2vw, .7rem);
  line-height: 1;
  cursor: pointer;
  transition: color .15s ease, background .15s ease;
}
.try-tray-close:hover { color: #d0d0e8; background: rgba(255,255,255,.08); }

/* Snip overlay + selection */
.try-overlay {
  position: absolute; inset: 0;
  z-index: 70;
  background: rgba(0,0,0,.45);
  cursor: crosshair;
  display: none;
  touch-action: none;
}
.try-overlay.on { display: block; }
.try-overlay.selecting { background: transparent; }
.try-sel {
  position: absolute;
  border: 1.5px solid rgba(255,255,255,.95);
  box-shadow: 0 0 0 4000px rgba(0,0,0,.45);
  display: none;
  pointer-events: none;
}
.try-sel.on { display: block; }
.try-sel i { position: absolute; width: 7px; height: 7px; background: #fff; border-radius: 1px; }
.try-sel i.tl { top: -4px; left: -4px; }
.try-sel i.tr { top: -4px; right: -4px; }
.try-sel i.bl { bottom: -4px; left: -4px; }
.try-sel i.br { bottom: -4px; right: -4px; }
.try-sel .dims {
  position: absolute;
  bottom: -18px; left: 0;
  font-family: monospace;
  font-size: .55rem;
  color: rgba(255,255,255,.85);
  white-space: nowrap;
}
.try-flash {
  position: absolute; inset: 0;
  background: rgba(255,255,255,.9);
  opacity: 0;
  pointer-events: none;
  z-index: 75;
}
.try-flash.fire { animation: do-flash .45s ease-out forwards; }

/* Drag ghost (fixed, follows pointer) */
.try-ghost {
  position: fixed;
  z-index: 9999;
  pointer-events: none;
  border-radius: 5px;
  border: 1.5px solid rgba(230,57,70,.6);
  box-shadow: 0 10px 30px rgba(0,0,0,.55), 0 0 14px rgba(230,57,70,.2);
  overflow: visible;
  transform: rotate(-3deg);
  background: #1c1c36;
}
.try-ghost .snip-view { position: absolute; inset: 0; overflow: hidden; border-radius: 4px; }
.try-ghost.returning { transition: left .3s ease, top .3s ease, opacity .3s ease; opacity: 0; }
.try-ghost .drag-cursor {
  position: absolute;
  bottom: -12px; right: -8px;
  width: 16px; height: 16px;
  z-index: 2;
}

/* Context menu (spec: Open / Copy file path / Open in Explorer) */
.try-menu {
  position: absolute;
  z-index: 90;
  min-width: 150px;
  background: #1e1e3a;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  box-shadow: 0 14px 40px rgba(0,0,0,.55);
  padding: 4px;
  display: none;
}
.try-menu.on { display: block; }
.try-menu button {
  display: block;
  width: 100%;
  text-align: left;
  padding: .45rem .8rem;
  border-radius: 5px;
  font-size: .8125rem;
  color: var(--text);
  transition: background .12s ease;
}
.try-menu button:hover { background: rgba(255,255,255,.07); }

/* Toast */
.try-toast {
  position: absolute;
  top: 4%;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  z-index: 95;
  background: rgba(14,14,28,.95);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(.65rem, 1.6vw, .8125rem);
  color: var(--text);
  white-space: nowrap;
  max-width: 94%;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.try-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.try-toast b { color: #5dd39e; }

/* Post-demo CTA */
.tryit-done {
  margin-top: 1.5rem;
  text-align: center;
  padding: 1.75rem 1.5rem;
  border: 1px solid rgba(93,211,158,.35);
  border-radius: var(--r-lg);
  background: rgba(93,211,158,.05);
}
.tryit-done h3 { margin-bottom: .4rem; }
.tryit-done p { color: var(--muted); font-size: .96rem; margin-bottom: 1.2rem; }
.tryit-done .hero-ctas { justify-content: center; }
.tryit-note {
  margin-top: .9rem;
  text-align: center;
  color: var(--faint);
  font-size: .8125rem;
}
.tryit-note code {
  font-family: monospace;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .1rem .4rem;
  font-size: .78rem;
}

@media (max-width: 640px) {
  .tryit-toolbar { justify-content: center; }
  .try-hint { top: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  #try-snip-btn.pulse::after { animation: none; display: none; }
  .try-thumb { animation: none; }
  .try-attachment { animation: none; }
}

/* ===========================================================================
   Hero real-app demo showcase — the looping GIF of Clip on a real desktop.
   Framed in the same "screen" language as .try-screen so the real demo and
   the interactive demo below read as one family.
   =========================================================================== */
.hero-demo {
  margin: clamp(2.75rem, 6vw, 4.25rem) auto 0;
  /* Fills the page's content column instead of breaking out of it: the demo
     lines up with everything else rather than straddling it, and needs no
     centring hack. The 128vh cap keeps the frame under ~72vh tall, so a short
     laptop viewport never has it swallow the screen. */
  width: 100%;
  max-width: 128vh;
}
.hero-demo-frame {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid #363670;
  overflow: hidden;
  background: #0d0d1e;
  line-height: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 34px 90px rgba(0,0,0,.6);
  filter: drop-shadow(0 0 66px rgba(230,57,70,.11));
  transition: transform .4s cubic-bezier(.22,.9,.32,1), filter .4s ease, border-color .4s ease;
}
.hero-demo-frame:hover {
  transform: translateY(-5px);
  border-color: var(--border-2);
  filter: drop-shadow(0 0 88px rgba(230,57,70,.17));
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo-frame { transition: none; }
  .hero-demo-frame:hover { transform: none; }
}
/* Hero demo is 16:9 (1600x900 source, evergreen 45s loop). Both the video and
   its no-video <img> fallback share the ratio so the frame never shifts. */
.hero-demo-frame img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

.hero-demo-frame video,
.hero-demo-vid {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
}

/* ---------------------------------------------------------------
   Demo lightbox — "Watch full size" affordance + native <dialog>
--------------------------------------------------------------- */

/* Sits on the frame, always legible over the dark footage. Only ever
   shown when site.js has confirmed <dialog> support. */
.hero-demo-expand {
  position: absolute;
  /* Top-right, NOT bottom-right: the Clip tray — the thing the demo is
     actually demonstrating — lives in the bottom-right corner of the
     footage for the whole 45s, and this button covered it. */
  right: .8rem;
  top: .8rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .55rem .95rem;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: .8rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(18, 18, 31, .78);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  line-height: 1;
  transition: background .18s ease, border-color .18s ease, transform .14s ease;
}
.hero-demo-expand:hover {
  background: var(--red);
  border-color: var(--red);
  transform: translateY(-2px);
}
.hero-demo-expand[hidden] { display: none; }

/* Whole frame is clickable once the lightbox is wired up. */
.hero-demo-frame.is-zoomable { cursor: zoom-in; }

/* Scroll lock is declarative, so it cannot outlive the dialog: there is no
   event to miss and no saved value to restore. If :has() is unsupported the
   page merely scrolls behind the modal — never locks open. */
html:has(.demo-lightbox[open]) { overflow: hidden; }

.demo-lightbox {
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  padding: 0;
  border: none;
  background: transparent;
  overflow: hidden;
  /* Centres the video and leaves the rest as click-to-close target. */
  display: none;
  place-items: center;
}
.demo-lightbox[open] { display: grid; }
.demo-lightbox::backdrop {
  background: rgba(8, 8, 16, .91);
  backdrop-filter: blur(9px);
}
.demo-lightbox-vid {
  display: block;
  width: min(94vw, calc(84dvh * 16 / 9));
  height: auto;
  aspect-ratio: 16 / 9;
  border-radius: var(--r-md);
  border: 1px solid var(--border-2);
  background: #0d0d1e;
  box-shadow: 0 40px 110px rgba(0, 0, 0, .7);
}
.demo-lightbox-close {
  position: fixed;
  top: 1.1rem;
  right: 1.1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--text);
  background: rgba(30, 30, 58, .9);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  transition: background .18s ease, border-color .18s ease, transform .14s ease;
}
.demo-lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: scale(1.06);
}
.demo-lightbox-hint {
  position: fixed;
  bottom: 1.15rem;
  left: 50%;
  transform: translateX(-50%);
  margin: 0;
  font-size: .78rem;
  color: var(--muted);
  pointer-events: none;
}
.demo-lightbox-hint kbd {
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: .72rem;
  padding: .1rem .4rem;
  border: 1px solid var(--border-2);
  border-radius: 5px;
  background: rgba(30, 30, 58, .8);
}

@media (max-width: 640px) {
  .demo-lightbox-vid { width: 96vw; }
  .demo-lightbox-hint { display: none; }
  .hero-demo-expand { font-size: .74rem; padding: .48rem .8rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-demo-expand:hover,
  .demo-lightbox-close:hover { transform: none; }
}

.hero-demo-cap {
  margin-top: 1.05rem;
  text-align: center;
  font-size: .84rem;
  color: var(--muted);
  letter-spacing: .005em;
}
.hero-demo-cap kbd {
  display: inline-block;
  font-family: 'Space Grotesk', system-ui, sans-serif;
  font-size: .72rem;
  font-weight: 500;
  color: var(--text);
  background: var(--surface-2);
  border: 1px solid var(--border-2);
  border-bottom-width: 2px;
  border-radius: 6px;
  padding: .12em .5em;
  margin: 0 .1em;
  line-height: 1.35;
}

/* one-shot reveal on load — subtle rise + settle, matching the site's spring feel */
@keyframes hero-demo-in {
  from { opacity: 0; transform: translateY(20px) scale(.984); }
  to   { opacity: 1; transform: none; }
}
.hero-demo.reveal-up {
  animation: hero-demo-in .72s cubic-bezier(.22,.9,.32,1) .12s both;
}
@media (prefers-reduced-motion: reduce) {
  .hero-demo.reveal-up { animation: none; }
}

/* ==========================================================================
   CONVERSION PASS (2026-07-23) — announce bar, before/after, feature
   checklist, mid CTA rail, FAQ, slim signup, 3-col pricing
   ========================================================================== */

/* Announcement bar — the dated launch offer, first thing on the page */
.announce {
  position: relative;
  z-index: var(--z-content);
  text-align: center;
  padding: .6rem 1.25rem;
  background: linear-gradient(90deg, rgba(230, 57, 70, .16), rgba(142, 108, 240, .10) 60%, rgba(79, 142, 247, .10));
  border-bottom: 1px solid rgba(230, 57, 70, .28);
}
.announce p { font-size: .875rem; color: var(--muted); }
.announce b { color: var(--text); font-weight: 600; }
.announce a {
  color: var(--red);
  font-weight: 600;
  margin-left: .35rem;
  border-bottom: 1px solid rgba(230, 57, 70, .45);
  transition: border-color .15s ease;
}
.announce a:hover { border-color: var(--red); }

/* Hero price-anchor microline under the CTAs */
.hero-offer {
  margin-top: 1.15rem;
  font-size: .9375rem;
  color: var(--muted);
}
.hero-offer b { color: var(--text); font-weight: 600; }

/* Before / after — the compressed pain section */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; align-items: stretch; }
.ba-col h3 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.ba-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--faint);
  border: 1px solid var(--border-2);
  border-radius: 999px;
  padding: .28rem .65rem;
  white-space: nowrap;
}
.ba-tag--red {
  color: var(--red);
  border-color: rgba(230, 57, 70, .4);
  background: rgba(230, 57, 70, .08);
}
.ba-list { list-style: none; display: grid; gap: .85rem; }
.ba-list li {
  display: flex;
  gap: .7rem;
  align-items: baseline;
  color: var(--muted);
  font-size: .9875rem;
}
.ba-list svg { flex: none; transform: translateY(2px); }
.ba--old { opacity: .82; }
.ba--old .ba-list svg { color: var(--faint); }
.ba--old .ba-list li { color: var(--faint); }
.ba--new { border-color: rgba(230, 57, 70, .38); }
.ba--new .ba-list svg { color: var(--red); }
@media (max-width: 760px) { .ba { grid-template-columns: 1fr; } }

/* Feature checklist — "Also in the box" (kills the 11-card soup) */
.feat-more { margin-top: 1.6rem; }
.feat-more-hd {
  font-family: 'Space Grotesk', sans-serif;
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--faint);
  margin-bottom: 1rem;
}
.feat-more-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .7rem 2rem;
}
.feat-more-list li {
  display: flex;
  gap: .65rem;
  align-items: baseline;
  color: var(--muted);
  font-size: .9375rem;
}
.feat-more-list svg { flex: none; transform: translateY(2px); color: var(--red); }
@media (max-width: 720px) { .feat-more-list { grid-template-columns: 1fr; } }

/* Mid-page CTA rail — slim, between features and stats */
.cta-rail {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
  flex-wrap: wrap;
  padding: 1.7rem 2rem;
  border: 1px solid rgba(230, 57, 70, .35);
  border-radius: var(--r-lg);
  background:
    radial-gradient(70% 120% at 8% 0%, rgba(230, 57, 70, .13), transparent 60%),
    linear-gradient(180deg, rgba(30, 30, 58, .85), rgba(20, 20, 40, .9));
}
.cta-rail-hd {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.cta-rail-sub { color: var(--muted); font-size: .9375rem; margin-top: .3rem; max-width: 34rem; }
.cta-rail .hero-ctas { flex: none; }

/* FAQ — native details/summary accordion */
.faq { max-width: 780px; }
.faq details {
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: rgba(255, 255, 255, .02);
  margin-bottom: .75rem;
  transition: border-color .18s ease;
}
.faq details[open] { border-color: var(--border-2); background: rgba(255, 255, 255, .035); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.35rem;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 1.0125rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq-x {
  position: relative;
  flex: none;
  width: 16px;
  height: 16px;
  transition: transform .22s ease;
}
.faq-x::before, .faq-x::after {
  content: "";
  position: absolute;
  background: var(--red);
  border-radius: 2px;
  top: 50%;
  left: 50%;
}
.faq-x::before { width: 16px; height: 2px; transform: translate(-50%, -50%); }
.faq-x::after  { width: 2px; height: 16px; transform: translate(-50%, -50%); }
.faq details[open] .faq-x { transform: rotate(45deg); }
.faq .faq-a { padding: 0 1.35rem 1.2rem; color: var(--muted); font-size: .9875rem; max-width: 60ch; }

/* Slim signup — demoted below the final CTA */
.signup-slim {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 460px);
  gap: 1.25rem 3rem;
  align-items: center;
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .02);
}
.signup-slim-hd { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
.signup-slim-sub { color: var(--muted); font-size: .9375rem; margin-top: .35rem; }
@media (max-width: 760px) { .signup-slim { grid-template-columns: 1fr; } }

/* Pricing — 3 tiers, 3 columns (site.css default is 4) */
.pricing--3 { grid-template-columns: repeat(3, 1fr); max-width: 980px; margin-inline: auto; }
@media (max-width: 1020px) { .pricing--3 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 860px)  { .pricing--3 { grid-template-columns: 1fr; max-width: 420px; } }

/* Launch badge on the hot card — offer is dated, not "launch week" */
.price-card--hot::after { content: "Launch offer"; }

/* Pricing footnote links */
.pricing-note a { color: var(--blue); border-bottom: 1px solid rgba(79, 142, 247, .35); }
.pricing-note a:hover { border-color: var(--blue); }

/* Static CTA after the try-it demo — for skimmers who don't finish it.
   The adjacent-sibling rule hides it once tryit.js reveals #try-done,
   so demo completers only ever see the payoff CTA. */
.try-static-cta {
  text-align: center;
  margin-top: 2.2rem;
  display: grid;
  justify-items: center;
  gap: .9rem;
}
.try-static-cta p {
  color: var(--muted);
  font-size: 1.0125rem;
  max-width: 34rem;
}
.try-static-note { color: var(--faint); font-size: .8125rem; }
#try-done:not([hidden]) + .try-static-cta { display: none; }

/* Anchor arrival — the big sections carry clamp(4rem,9vw,7rem) top padding,
   which reads as a huge dead gap under the nav when you jump to them. A
   negative scroll-margin lets the jump eat into that empty padding, landing
   the heading a comfortable ~2rem below the nav instead. Natural scrolling
   is unaffected. */
#try, #how, #features, #pricing, #faq, #use-cases, #why {
  scroll-margin-top: calc(-1 * clamp(1.75rem, 4.5vw, 3.5rem));
}
