:root {
  --bg: #faf8f5;
  --bg-alt: #f2eee8;
  --surface: #ffffff;
  --ink: #16131f;
  --ink-2: #4a4558;
  --ink-3: #8a8597;
  --line: #e6e1d9;
  --brand: #7a5cff;
  --brand-bright: #9173ff;
  --brand-soft: #efeaff;
  --blue: #5b7cfa;
  --dark: #0e0c14;
  --dark-2: #1a1724;
  --dark-line: #2b2738;
  --radius: 20px;
  --shadow: 0 1px 2px rgba(22,19,31,.04), 0 12px 40px -12px rgba(22,19,31,.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.55 Inter, system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.serif { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
kbd {
  font: 600 12px/1 Inter, sans-serif; padding: 4px 7px; border-radius: 6px;
  background: var(--surface); border: 1px solid var(--line); border-bottom-width: 2px; color: var(--ink-2);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px;
  border-radius: 999px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 20px -6px rgba(22,19,31,.5); }
.btn-primary:hover { background: #2a2536; }
.btn-brand { background: linear-gradient(180deg, var(--brand-bright), var(--brand)); color: #fff; box-shadow: 0 8px 24px -8px rgba(122,92,255,.7), inset 0 1px 0 rgba(255,255,255,.25); }
.btn-brand:hover { filter: brightness(1.06); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--surface); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav > .wrap { display: flex; align-items: center; height: 68px; gap: 32px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo img { width: 30px; height: 30px; }
.nav-links { display: flex; gap: 26px; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-cta .btn { height: 38px; padding: 0 16px; font-size: 14px; }

/* Features mega menu */
[id] { scroll-margin-top: 84px; }
.nav-links { align-items: center; }
.nav-drop {
  font: inherit; color: inherit; background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 10px; margin: -8px -10px; border-radius: 999px; transition: background .15s, color .15s;
}
.nav-drop svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-drop:hover, .nav-drop[aria-expanded="true"] { color: var(--ink); background: var(--bg-alt); }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; padding: 0 0 18px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility 0s .18s;
}
.mega.open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .18s ease; }
.mega-inner {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 14px;
  box-shadow: 0 30px 70px -24px rgba(22,19,31,.35), 0 2px 6px rgba(22,19,31,.04);
  display: grid; grid-template-columns: 1fr 270px; gap: 14px;
}
.mega-cols { display: grid; grid-template-columns: 1fr 1fr 1.1fr; gap: 4px; }
.mega-col { padding: 10px 6px; }
.mega-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 0 10px 8px; }
.mi { display: flex; gap: 12px; align-items: flex-start; padding: 9px 10px; border-radius: 14px; transition: background .12s; }
.mi:hover, .mi:focus-visible { background: var(--bg); outline: none; }
.mi-ic {
  flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand); transition: background .12s, color .12s;
}
.mi:hover .mi-ic { background: var(--brand); color: #fff; }
.mi-ic svg { width: 19px; height: 19px; }
.mi b { display: block; font-size: 14.5px; font-weight: 600; color: var(--ink); line-height: 1.3; }
.mi small { display: block; font-size: 13px; color: var(--ink-3); line-height: 1.4; margin-top: 2px; }
.mega-card {
  border-radius: 18px; padding: 20px; background: var(--dark); color: #fff; display: flex; flex-direction: column; gap: 6px;
  position: relative; overflow: hidden;
}
.mega-card::before { content: ""; position: absolute; inset: auto -30% -40% -30%; height: 70%; background: radial-gradient(50% 60% at 50% 50%, rgba(145,115,255,.45), transparent); }
.mega-card > * { position: relative; }
.mega-tag { align-self: flex-start; font-size: 11.5px; font-weight: 700; background: rgba(145,115,255,.22); color: #c8b8ff; padding: 3px 10px; border-radius: 999px; }
.mega-art { display: flex; gap: 8px; margin: 18px 0 14px; }
.mega-art span { width: 44px; height: 44px; border-radius: 12px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.6); }
.mega-art span:nth-child(2) { transform: translateY(6px) rotate(4deg); }
.mega-art span:nth-child(3) { transform: rotate(-5deg); }
.mega-card b { font-size: 17px; letter-spacing: -0.02em; }
.mega-card small { font-size: 13.5px; color: #b5afc6; line-height: 1.45; }
.mega-more { margin-top: auto; padding-top: 14px; font-size: 13.5px; font-weight: 600; color: #c8b8ff; }
.mega-card:hover .mega-more { color: #fff; }

/* Mobile menu */
.burger { display: none; width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.8px; background: var(--ink); border-radius: 2px; transition: transform .2s, top .2s; }
.burger span:first-child { top: 14px; } .burger span:last-child { top: 21px; }
.burger[aria-expanded="true"] span:first-child { top: 17.5px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 17.5px; transform: rotate(-45deg); }
.sheet { display: none; border-top: 1px solid var(--line); background: var(--bg); max-height: calc(100vh - 68px); overflow-y: auto; }
.sheet.open { display: block; }
.sheet .wrap { display: flex; flex-direction: column; padding: 8px 0 24px; }
.sheet .wrap > a:not(.btn), .sheet summary { padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 17px; }
.sheet summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; }
.sheet summary::-webkit-details-marker { display: none; }
.sheet summary::after { content: "+"; font-weight: 400; color: var(--ink-3); font-size: 22px; line-height: 1; }
.sheet details[open] summary::after { content: "–"; }
.sheet .mega-cols { grid-template-columns: 1fr; padding: 4px 0 8px; }
.sheet .mega-col { padding: 8px 0 0; }
.sheet .mega-h { padding-left: 10px; }
.sheet .btn { margin-top: 20px; justify-content: center; }
@media (min-width: 961px) { .sheet { display: none !important; } }

/* ---------- Hero ---------- */
.hero { padding: 72px 0 40px; text-align: center; position: relative; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px 6px 6px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); font-size: 13.5px; color: var(--ink-2); font-weight: 500;
  box-shadow: 0 2px 8px -4px rgba(0,0,0,.08);
}
.pill b { background: var(--brand-soft); color: var(--brand); padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.hero h1 {
  font-size: clamp(44px, 7.4vw, 92px); line-height: .98; letter-spacing: -0.045em; font-weight: 800;
  margin: 26px auto 22px; max-width: 14ch;
}
.hero h1 .serif { font-size: 1.08em; color: var(--brand); letter-spacing: -0.02em; }
.hero h1 { max-width: 17ch; }
.hero h1 .serif { display: inline-block; }
.hero p.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 600px; margin: 0 auto 32px; }
.hero-ctas { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.hero-meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-3); display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.hero-meta span::before { content: "✓"; color: var(--brand); font-weight: 700; margin-right: 6px; }

/* ---------- Hero stage (Screen Studio-style animated demo) ---------- */
.stage-wrap { margin-top: 56px; position: relative; }
.stage-glow {
  position: absolute; inset: 10% 5% -6%; z-index: -1; filter: blur(60px); opacity: .55;
  background: radial-gradient(40% 60% at 30% 50%, #a48bff, transparent), radial-gradient(40% 60% at 70% 50%, #6f9bff, transparent);
}
.stage {
  border-radius: 26px; padding: clamp(14px, 4vw, 52px); position: relative; overflow: hidden;
  background: linear-gradient(135deg, #2b1f6b 0%, #5b3fd6 40%, #8d6bff 70%, #f0a9d6 100%);
  box-shadow: 0 40px 80px -30px rgba(43,31,107,.6);
}
.stage::after { /* subtle grain */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .18; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.screen {
  position: relative; border-radius: 14px; overflow: hidden; background: #fff; aspect-ratio: 16 / 9.4;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.12);
}
.zoomer { position: absolute; inset: 0; transform-origin: 72% 64%; animation: zoom 9s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes zoom {
  0%, 18% { transform: scale(1); }
  30%, 62% { transform: scale(1.75); }
  76%, 100% { transform: scale(1); }
}
.browser-bar { height: 7%; background: #f3f1f6; display: flex; align-items: center; gap: 1%; padding: 0 2%; border-bottom: 1px solid #e7e4ec; }
.browser-bar i { width: 1.1%; aspect-ratio: 1; border-radius: 50%; background: #ff5f57; }
.browser-bar i:nth-child(2) { background: #febc2e; } .browser-bar i:nth-child(3) { background: #28c840; }
.browser-bar .url { margin-left: 3%; height: 52%; width: 40%; border-radius: 6px; background: #fff; border: 1px solid #e7e4ec; }
.page { display: grid; grid-template-columns: 22% 1fr; height: 93%; }
.page aside { background: #faf9fc; border-right: 1px solid #eeebf2; padding: 5% 8%; display: flex; flex-direction: column; gap: 6%; }
.page aside span { height: 3.2%; border-radius: 4px; background: #e8e4f0; }
.page aside span:first-child { background: #d9cfff; width: 70%; }
.page main { padding: 4% 5%; display: grid; grid-template-rows: auto 1fr; gap: 6%; }
.page .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3%; }
.card-s { border-radius: 10px; border: 1px solid #eeebf2; padding: 10% 9%; display: flex; flex-direction: column; gap: 10px; }
.card-s b { height: 7px; width: 40%; border-radius: 3px; background: #e2ddeb; }
.card-s strong { height: 16px; width: 65%; border-radius: 4px; background: #c9bdfd; }
.chart { border-radius: 10px; border: 1px solid #eeebf2; position: relative; overflow: hidden; }
.chart svg { position: absolute; inset: 8% 4% 4%; width: 92%; height: 88%; }
.target-btn {
  position: absolute; right: 18%; bottom: 26%; padding: .8% 1.8%; border-radius: 8px;
  background: var(--brand); color: #fff; font-size: clamp(7px, 1vw, 12px); font-weight: 600; white-space: nowrap;
  animation: press 9s infinite;
}
@keyframes press { 0%, 40% { transform: scale(1); filter: none; } 42% { transform: scale(.92); filter: brightness(1.2); } 45%, 100% { transform: scale(1); } }
.cursor {
  position: absolute; width: 2.4%; min-width: 14px; left: 30%; top: 30%; z-index: 3;
  animation: cursor 9s cubic-bezier(.65,0,.35,1) infinite; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35));
}
@keyframes cursor {
  0% { left: 30%; top: 30%; }
  25%, 62% { left: 76.5%; top: 70%; }
  85%, 100% { left: 30%; top: 30%; }
}
.click-ring {
  position: absolute; left: 76.5%; top: 70%; width: 3%; aspect-ratio: 1; border-radius: 50%; z-index: 2;
  border: 2px solid var(--brand-bright); transform: translate(-35%, -35%) scale(0); opacity: 0;
  animation: ring 9s infinite;
}
@keyframes ring { 0%, 40% { transform: translate(-35%,-35%) scale(0); opacity: 0; } 41% { opacity: 1; } 50%, 100% { transform: translate(-35%,-35%) scale(2.6); opacity: 0; } }
.cam {
  position: absolute; left: 3.5%; bottom: 5%; width: 15%; aspect-ratio: 1; border-radius: 50%; z-index: 4;
  background: radial-gradient(circle at 50% 38%, #f3c9a7 0 17%, transparent 17.5%), radial-gradient(ellipse 34% 30% at 50% 88%, #3b3355 0 99%, transparent 100%), radial-gradient(circle at 50% 50%, #cdbfff, #8e78f0);
  border: 3px solid rgba(255,255,255,.9); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
}
.caption-chip {
  position: absolute; left: 50%; bottom: 6%; transform: translateX(-50%); z-index: 4;
  background: rgba(14,12,20,.82); color: #fff; padding: .7% 1.6%; border-radius: 10px; white-space: nowrap;
  font-size: clamp(9px, 1.5vw, 18px); font-weight: 600; backdrop-filter: blur(6px);
}
.caption-chip em { font-style: normal; color: #c8b8ff; }
.stage-tags { position: absolute; z-index: 5; display: flex; flex-direction: column; gap: 8px; top: 7%; right: 3%; }
.stage-tag {
  background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 6px 12px 6px 8px;
  font-size: 12.5px; font-weight: 600; display: flex; align-items: center; gap: 7px; box-shadow: 0 8px 20px -8px rgba(0,0,0,.35);
}
.stage-tag i { width: 18px; height: 18px; border-radius: 50%; background: var(--brand-soft); display: grid; place-items: center; font-style: normal; font-size: 11px; color: var(--brand); }

.wm {
  position: absolute; right: 2.5%; bottom: 5%; z-index: 4; display: flex; align-items: center; gap: 6px;
  color: var(--ink); font-weight: 700; font-size: clamp(8px, 1.2vw, 14px); opacity: .7;
}
.wm i { width: 1.3em; height: 1.3em; border-radius: 30%; background: linear-gradient(135deg, #7a5cff, #5b7cfa); box-shadow: 0 1px 6px rgba(0,0,0,.25); }

/* ---------- Strip ---------- */
.strip { padding: 44px 0 16px; text-align: center; color: var(--ink-3); font-size: 14px; }
.strip ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 16px; }
.strip li { font-weight: 600; color: var(--ink-2); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.strip li span { color: var(--brand); }

/* ---------- Sections ---------- */
section { padding: 96px 0; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 14px; }
.h2 { font-size: clamp(34px, 4.6vw, 56px); line-height: 1.03; letter-spacing: -0.04em; font-weight: 800; max-width: 18ch; }
.h2 .serif { color: var(--brand); }
.sub { color: var(--ink-2); font-size: 18px; max-width: 560px; margin-top: 18px; }
.center { text-align: center; } .center .h2, .center .sub { margin-inline: auto; }

/* Steps (Tella-ish "record, edit, share") */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.step .num { font-family: "Instrument Serif", serif; font-style: italic; font-size: 44px; line-height: 1; color: var(--brand); }
.step h3 { font-size: 21px; letter-spacing: -0.02em; margin: 14px 0 8px; }
.step p { color: var(--ink-2); font-size: 15.5px; }
.step .keys { margin-top: 18px; display: flex; gap: 5px; align-items: center; color: var(--ink-3); font-size: 13px; }

/* Who it's for */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 56px; text-align: left; }
.who { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow); }
.who.dark { background: var(--dark); border-color: var(--dark-line); color: #fff; }
.who-head { display: flex; gap: 14px; align-items: center; margin-bottom: 18px; }
.who-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; background: var(--brand-soft); color: var(--brand); flex: none; }
.who.dark .who-ic { background: rgba(145,115,255,.18); color: #c8b8ff; }
.who h3 { font-size: 22px; letter-spacing: -0.02em; }
.who small { color: var(--ink-3); font-size: 14px; }
.who.dark small, .who.dark > p { color: #b5afc6; }
.who > p { color: var(--ink-2); font-size: 16px; }
.who ul { list-style: none; display: grid; gap: 10px; margin-top: 22px; font-size: 15px; color: var(--ink-2); }
.who.dark ul { color: #ddd8ea; }
.who li { position: relative; padding-left: 24px; }
.who li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.who.dark li::before { color: #b29dff; }
.who li b { color: var(--ink); font-weight: 600; }
.who.dark li b { color: #fff; }

/* Client work */
.client-head { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: end; }
.client-head .sub { margin-top: 0; }
.client-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.client-grid .span-2 { min-height: 0; }
code { font: 600 .9em ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--bg-alt); padding: 1px 6px; border-radius: 6px; }
.kits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.kit { display: grid; grid-template-columns: 34px 1fr; column-gap: 12px; align-items: center; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: var(--bg); }
.kit span { grid-row: span 2; width: 34px; height: 34px; border-radius: 10px; }
.kit b { font-size: 14.5px; }
.kit small { font-size: 12.5px; color: var(--ink-3); }
.kit.on { border: 2px solid var(--brand); background: var(--brand-soft); }
.kit.on small { color: var(--brand); font-weight: 600; }
.revs { display: grid; gap: 8px; }
.revs div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 14px; border-radius: 12px; background: var(--dark-2); border: 1px solid var(--dark-line); font-size: 14.5px; }
.revs small { color: #8f89a3; white-space: nowrap; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 56px; }
.tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 300px;
}
.tile h3 { font-size: 21px; letter-spacing: -0.02em; margin-bottom: 8px; }
.tile p { color: var(--ink-2); font-size: 15px; max-width: 42ch; }
.tile .art { margin-top: auto; padding-top: 24px; }
.span-4 { grid-column: span 4; } .span-3 { grid-column: span 3; } .span-2 { grid-column: span 2; }
.tile.dark { background: var(--dark); border-color: var(--dark-line); color: #fff; }
.tile.dark p { color: #b5afc6; }
.tile.brand { background: linear-gradient(160deg, #6b4dff, #9a7bff); border: 0; color: #fff; }
.tile.brand p { color: rgba(255,255,255,.82); }

/* Timeline art */
.timeline { background: var(--dark-2); border-radius: 14px; padding: 14px; display: grid; gap: 8px; position: relative; }
.track { height: 26px; border-radius: 7px; display: flex; gap: 4px; }
.track span { border-radius: 6px; height: 100%; }
.t-video span { background: linear-gradient(90deg, #6b4dff, #8f74ff); }
.t-cam span { background: #3a8c7e; }
.t-zoom span { background: #e7a84b; height: 60%; margin-top: 5px; }
.t-cap span { background: #3d3850; height: 70%; margin-top: 4px; }
.playhead { position: absolute; top: 6px; bottom: 6px; left: 46%; width: 2px; background: var(--brand-bright); animation: play 6s linear infinite; }
.playhead::before { content: ""; position: absolute; top: -4px; left: -5px; width: 12px; height: 10px; border-radius: 3px; background: var(--brand-bright); }
@keyframes play { from { left: 6%; } to { left: 94%; } }

/* Transcript art */
.transcript { background: var(--bg-alt); border-radius: 14px; padding: 18px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
.transcript s { color: var(--ink-3); text-decoration-color: #e35d6a; text-decoration-thickness: 2px; background: #fde8ea; border-radius: 4px; padding: 0 3px; }
.transcript mark { background: var(--brand-soft); color: var(--brand); border-radius: 4px; padding: 0 3px; font-weight: 600; }

/* Capture art */
.capture-art { position: relative; height: 150px; border-radius: 14px; background: linear-gradient(135deg, #ffe6c7, #ffc6dc 50%, #c9bcff); overflow: hidden; }
.capture-art .shot { position: absolute; inset: 22px 32px; background: #fff; border-radius: 10px; box-shadow: 0 14px 30px -12px rgba(0,0,0,.35); }
.capture-art .arrow { position: absolute; right: 64px; top: 32px; width: 90px; }
.capture-art .box { position: absolute; left: 56px; top: 44px; width: 110px; height: 52px; border: 3px solid #ff4d6a; border-radius: 8px; }
.capture-art .blur { position: absolute; left: 190px; bottom: 40px; width: 120px; height: 18px; border-radius: 6px; background: repeating-linear-gradient(90deg, #cfc8dd 0 6px, #e3ddee 6px 12px); filter: blur(2px); }

/* Privacy art */
.lock { width: 64px; height: 64px; border-radius: 18px; background: rgba(255,255,255,.18); display: grid; place-items: center; margin-bottom: 18px; }
.lock svg { width: 30px; height: 30px; }
.no-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.no-list li { background: rgba(255,255,255,.16); border-radius: 999px; padding: 6px 12px; font-size: 13.5px; font-weight: 600; }
.no-list li::before { content: "✕"; margin-right: 6px; opacity: .7; }

/* Teleprompter art */
.prompter { background: #000; border-radius: 14px; padding: 18px 20px; height: 140px; overflow: hidden; position: relative; font-size: 17px; line-height: 1.5; color: #fff; font-weight: 600; }
.prompter::before, .prompter::after { content: ""; position: absolute; left: 0; right: 0; height: 40px; z-index: 1; }
.prompter::before { top: 0; background: linear-gradient(#000, transparent); }
.prompter::after { bottom: 0; background: linear-gradient(transparent, #000); }
.prompter div { animation: scrollup 10s linear infinite; }
.prompter div p { color: #fff; opacity: .5; font-size: 17px; max-width: none; }
.prompter div p:nth-child(3) { opacity: 1; }
@keyframes scrollup { from { transform: translateY(0); } to { transform: translateY(-50%); } }

/* Format chips */
.formats { display: flex; gap: 10px; align-items: flex-end; }
.formats div { border: 2px solid var(--line); border-radius: 8px; display: grid; place-items: end center; font-size: 11px; font-weight: 700; color: var(--ink-3); padding-bottom: 6px; background: var(--bg); }
.formats .on { border-color: var(--brand); color: var(--brand); background: var(--brand-soft); }

/* Feature split rows (Screen Studio-ish, dark) */
.dark-band { background: var(--dark); color: #fff; border-radius: 36px; margin: 0 16px; }
.dark-band .sub { color: #b5afc6; }
.dark-band .eyebrow { color: #b29dff; }
.dark-band .h2 .serif { color: #b29dff; }
.split { display: grid; grid-template-columns: 1fr 1.15fr; gap: 64px; align-items: center; margin-top: 72px; }
.split.flip > :first-child { order: 2; }
.split h3 { font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.split p { color: #b5afc6; font-size: 16.5px; }
.split ul { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.split li { display: flex; gap: 10px; color: #ddd8ea; font-size: 15px; }
.split li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.panel { border-radius: 22px; background: linear-gradient(160deg, #241e38, #15121f); border: 1px solid var(--dark-line); padding: 28px; aspect-ratio: 5 / 4; position: relative; overflow: hidden; }

/* Caption styles panel */
.cap-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; height: 100%; }
.cap-grid div { border-radius: 14px; background: linear-gradient(135deg, #3a2f62, #1c182a); display: grid; place-items: end center; padding-bottom: 18%; font-weight: 800; font-size: clamp(13px, 1.6vw, 18px); }
.cap-grid div:nth-child(1) span { background: #fff; color: #000; padding: 3px 8px; border-radius: 6px; }
.cap-grid div:nth-child(2) span { color: #ffe14d; text-transform: uppercase; -webkit-text-stroke: 1px #000; letter-spacing: .02em; }
.cap-grid div:nth-child(3) span { font-family: "Instrument Serif", serif; font-style: italic; font-weight: 400; font-size: 1.4em; }
.cap-grid div:nth-child(4) span { background: var(--brand); padding: 3px 9px; border-radius: 999px; }

/* Web insert panel */
.web-card { position: absolute; background: #fff; color: var(--ink); border-radius: 14px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); padding: 18px; }
.web-card.stat { left: 8%; top: 12%; width: 46%; }
.web-card.stat big { display: block; font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1; }
.web-card.stat small { color: var(--ink-3); font-size: 12px; }
.web-card.clip { right: 7%; bottom: 10%; width: 52%; transform: rotate(-2.5deg); background: #f7f1e3; font-family: Georgia, serif; }
.web-card.clip h4 { font-size: clamp(14px, 1.8vw, 19px); line-height: 1.2; margin-bottom: 8px; }
.web-card.clip i { display: block; height: 6px; background: #ddd3bd; border-radius: 3px; margin-top: 6px; }
.web-card.clip i:last-child { width: 60%; }

/* ---------- Pricing ---------- */
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; position: relative; }
.plan.featured { border: 2px solid var(--brand); box-shadow: 0 30px 60px -30px rgba(122,92,255,.55); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--brand); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }
.plan h3 { font-size: 20px; letter-spacing: -0.02em; }
.plan .for { color: var(--ink-3); font-size: 14.5px; margin-top: 4px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 24px 0 4px; }
.price strong { font-size: 54px; letter-spacing: -0.05em; font-weight: 800; line-height: 1; }
.price span { color: var(--ink-3); font-size: 14.5px; }
.renew { font-size: 13.5px; color: var(--ink-2); background: var(--bg-alt); border-radius: 10px; padding: 9px 12px; margin: 14px 0 22px; }
.plan ul { list-style: none; display: grid; gap: 11px; margin-bottom: 28px; font-size: 15px; color: var(--ink-2); }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.plan .btn { margin-top: auto; justify-content: center; width: 100%; }
.how-licence { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.how-licence div { padding: 22px 24px; border-radius: 18px; border: 1px dashed #d8d1c6; }
.how-licence h4 { font-size: 15.5px; margin-bottom: 4px; }
.how-licence p { font-size: 14.5px; color: var(--ink-2); }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; margin: 48px auto 0; }
.faq details { border-bottom: 1px solid var(--line); padding: 4px 0; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-weight: 600; font-size: 17.5px; position: relative; letter-spacing: -0.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 26px; font-weight: 400; color: var(--ink-3); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--ink-2); padding: 0 40px 22px 0; }

/* ---------- Final CTA ---------- */
.final { text-align: center; padding: 110px 0; }
/* The home page closes on a lilac band; other pages keep the plain ending. */
.final.lilac { margin: 24px 16px; border-radius: 36px; background: linear-gradient(160deg, #d6caff, #bba8ff); }
.final.lilac .eyebrow, .final.lilac .h2 .serif { color: #4b2fc0; }
.final.lilac .h2 { max-width: 20ch; }
.final.lilac .sub { color: #3c3550; }
.final.lilac .btn-ghost { border-color: rgba(22,19,31,.25); }
.final.lilac .btn-ghost:hover { background: rgba(255,255,255,.4); }
.final.lilac .ver { margin-top: 16px; color: #4a4361; font-size: 13.5px; }
.final .icon-big { width: 112px; height: 112px; margin: 0 auto 28px; filter: drop-shadow(0 20px 30px rgba(91,63,214,.4)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px) rotate(-2deg); } }

footer { border-top: 1px solid var(--line); padding: 36px 0 48px; color: var(--ink-3); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; gap: 22px; }
footer a:hover { color: var(--ink); }

/* ---------- Checkout modal (mock) ---------- */
.modal-bg { position: fixed; inset: 0; z-index: 100; background: rgba(14,12,20,.5); backdrop-filter: blur(6px); display: none; place-items: center; padding: 16px; }
.modal-bg.open { display: grid; animation: fade .2s ease; }
@keyframes fade { from { opacity: 0; } }
.modal { background: var(--surface); border-radius: 24px; width: min(440px, 100%); padding: 30px; box-shadow: 0 40px 80px -20px rgba(0,0,0,.45); animation: pop .25s cubic-bezier(.2,.9,.3,1.2); }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.modal header { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.modal header img { width: 44px; height: 44px; }
.modal header h3 { font-size: 19px; letter-spacing: -0.02em; }
.modal header small { color: var(--ink-3); font-size: 13.5px; }
.modal .x { margin-left: auto; background: var(--bg-alt); border: 0; width: 32px; height: 32px; border-radius: 50%; cursor: pointer; font-size: 18px; color: var(--ink-2); }
.line { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--ink-2); }
.line.total { color: var(--ink); font-weight: 700; font-size: 17px; border: 0; padding-top: 16px; }
.seats { display: flex; align-items: center; gap: 10px; }
.seats button { width: 28px; height: 28px; border-radius: 8px; border: 1px solid var(--line); background: var(--bg); cursor: pointer; font-size: 16px; }
.mock-note { font-size: 13px; color: var(--ink-3); text-align: center; margin-top: 14px; }
.modal .btn { width: 100%; justify-content: center; margin-top: 18px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .mega-inner { grid-template-columns: 1fr; }
  .mega-card { display: none; }
}
@media (max-width: 960px) {
  .nav-links, .mega { display: none; }
  .burger { display: block; }
  .steps, .pricing-grid, .how-licence, .who-grid, .client-head { grid-template-columns: 1fr; }
  .client-head { gap: 0; } .client-head .sub { margin-top: 18px; }
  .client-grid { grid-template-columns: 1fr; }
  .bento { grid-template-columns: 1fr; }
  .span-4, .span-3, .span-2 { grid-column: auto; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 32px; }
  .split.flip > :first-child { order: 0; }
  .stage-tags { display: none; }
  .dark-band { margin: 0; border-radius: 28px; }
}
@media (max-width: 560px) {
  section { padding: 72px 0; }
  .nav-cta .btn-ghost { display: none; }
  .kits { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
}

/* ---------- Home: what you can make ---------- */
.hero h1 { text-wrap: balance; }
#make .h2 { max-width: 24ch; }
.mk-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; margin-top: 56px; }
.mk-tile {
  grid-column: span 4; min-height: 330px; border-radius: 24px; overflow: hidden; display: flex; flex-direction: column;
  border: 1px solid rgba(22,19,31,.06); transition: transform .25s ease, box-shadow .25s ease;
}
.mk-tile:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.mk-demo { grid-column: span 7; background: #dcd2ff; }
.mk-launch { grid-column: span 5; background: #e0e7cb; }
.mk-tut { background: #f6d6cc; }
.mk-social { background: #d0ddfb; }
.mk-shot { background: #efe3c6; }
.mk-art { flex: 1; position: relative; min-height: 210px; overflow: hidden; margin-bottom: 14px; }
.mk-label { display: grid; grid-template-columns: 1fr auto; align-items: end; padding: 0 24px 22px; }
.mk-label small { grid-column: 1; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: rgba(22,19,31,.55); }
.mk-label b { grid-column: 1; font-size: 26px; letter-spacing: -0.035em; font-weight: 800; margin-top: 2px; }
.mk-go { grid-column: 2; grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-size: 18px; transition: transform .2s; }
.mk-tile:hover .mk-go { transform: translateX(4px); }
/* A small window, tilted like a print laid on the tile. */
.mk-win { position: absolute; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 22px 40px -18px rgba(22,19,31,.45), 0 0 0 1px rgba(22,19,31,.06); }
.mk-win::before { content: ""; display: block; height: 16px; border-bottom: 1px solid #ebe7f0;
  background: radial-gradient(circle at 10px 8px, #ff5f57 3px, transparent 3.5px), radial-gradient(circle at 20px 8px, #febc2e 3px, transparent 3.5px), #f3f1f6; }
.mk-demo .mk-win { left: 9%; right: 16%; top: 14%; bottom: -14%; transform: rotate(-3deg); }
.mk-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 14px 14px 0; }
.mk-stats i { height: 44px; border-radius: 8px; border: 1px solid #eeebf2; background: linear-gradient(#e2ddeb, #e2ddeb) 9px 10px / 40% 6px no-repeat, linear-gradient(#c9bdfd, #c9bdfd) 9px 24px / 62% 11px no-repeat; }
.mk-chart { display: block; width: calc(100% - 28px); height: 38%; margin: 12px 14px 0; }
.mk-ring { position: absolute; right: 22%; top: 46%; width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--brand); box-shadow: 0 0 0 8px rgba(122,92,255,.15); }
.mk-cam { position: absolute; right: 9%; bottom: 10%; width: 84px; height: 84px; border-radius: 50%; border: 4px solid #fff; box-shadow: 0 14px 30px -10px rgba(0,0,0,.45);
  background: radial-gradient(circle at 50% 38%, #f3c9a7 0 17%, transparent 17.5%), radial-gradient(ellipse 34% 30% at 50% 88%, #3b3355 0 99%, transparent 100%), radial-gradient(circle at 50% 50%, #cdbfff, #8e78f0); }
.mk-title { position: absolute; left: 14%; right: 14%; top: 14%; bottom: 8%; background: var(--dark); border-radius: 16px; transform: rotate(4deg); padding: 22px; color: #fff;
  display: flex; flex-direction: column; justify-content: center; gap: 12px; box-shadow: 0 24px 44px -18px rgba(22,19,31,.6); }
.mk-chip { align-self: flex-start; background: var(--brand); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.mk-title strong { font-size: clamp(22px, 2.3vw, 30px); line-height: 1.02; letter-spacing: -0.04em; font-weight: 800; }
.mk-title i { height: 7px; width: 55%; border-radius: 4px; background: #3a3450; }
.mk-spark { position: absolute; font-size: 22px; color: #6d8a3a; }
.mk-tut .mk-win { left: 11%; right: 11%; top: 13%; bottom: -10%; transform: rotate(-2deg); }
.mk-step { display: flex; align-items: center; gap: 10px; padding: 12px 14px 0; }
.mk-step b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 12px; }
.mk-step i { height: 8px; border-radius: 4px; background: #e8e4f0; }
.mk-cap { position: absolute; left: 50%; bottom: 22%; transform: translateX(-50%); white-space: nowrap; background: rgba(14,12,20,.86); color: #fff; padding: 6px 12px; border-radius: 9px; font-size: 13px; font-weight: 600; }
.mk-cap em { font-style: normal; color: #c8b8ff; }
.mk-phone { position: absolute; left: 50%; top: 10%; bottom: -12%; aspect-ratio: 9 / 17; transform: translateX(-50%) rotate(5deg); border-radius: 26px; border: 6px solid var(--ink); overflow: hidden;
  background: linear-gradient(170deg, #5b3fd6, #8d6bff 60%, #f0a9d6); box-shadow: 0 24px 44px -18px rgba(22,19,31,.6); }
.mk-person { position: absolute; inset: 8% 0 0; background: radial-gradient(circle at 50% 30%, #f3c9a7 0 16%, transparent 16.5%), radial-gradient(ellipse 46% 36% at 50% 100%, #2e2845 0 99%, transparent 100%); }
.mk-words { position: absolute; left: 0; right: 0; top: 64%; text-align: center; color: #fff; font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: -0.02em; text-shadow: 0 2px 6px rgba(0,0,0,.4); }
.mk-words em { font-style: normal; color: #ffd166; }
.mk-shot .mk-win { left: 10%; right: 18%; top: 14%; bottom: -10%; transform: rotate(3deg); padding: 6px 0; }
.mk-l { display: block; height: 9px; border-radius: 5px; background: #e8e4f0; margin: 12px 16px 0; }
.mk-blur { background: repeating-linear-gradient(90deg, #c8c0d8 0 8px, #e3ddee 8px 16px); filter: blur(3px); }
.mk-box { position: absolute; left: 8%; top: 52%; width: 62%; height: 30%; border: 3px solid #ff4d6a; border-radius: 8px; }
.mk-arrow { position: absolute; right: 8%; top: 22%; width: 84px; }

/* ---------- Home: social video gallery ---------- */
#reels { padding-top: 0; overflow: hidden; }
.reels-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.reels-arrows { display: flex; gap: 10px; flex: none; }
.reel-arrow { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); color: var(--ink); cursor: pointer;
  display: grid; place-items: center; box-shadow: var(--shadow); transition: transform .15s, background .15s, color .15s; }
.reel-arrow:hover { background: var(--ink); color: #fff; transform: translateY(-1px); }
.reel-arrow:active { transform: scale(.95); }
.reel-arrow svg { width: 20px; height: 20px; }
/* The row runs edge to edge and fades out at both sides, so cards drift in
   and out rather than being cut off. site.js moves scrollLeft; it never
   animates a transform, so a swipe or trackpad scroll takes over naturally. */
.reels { margin-top: 44px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; overscroll-behavior-x: contain;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.reels::-webkit-scrollbar { display: none; }
.reels-track { display: flex; gap: 18px; width: max-content; padding: 12px 18px 36px; }
.reel { flex: none; position: relative; width: clamp(168px, 17vw, 236px); aspect-ratio: 9 / 16; margin: 0; border-radius: 24px; overflow: hidden;
  background: var(--dark); box-shadow: 0 24px 44px -22px rgba(22,19,31,.55), 0 0 0 1px rgba(22,19,31,.06); transition: transform .3s ease; }
.reel:hover { transform: translateY(-6px); }
.reel video { width: 100%; height: 100%; object-fit: cover; display: block; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.3;
  background: linear-gradient(transparent, rgba(14,12,20,.75)); pointer-events: none; }
.reel-sound { position: absolute; top: 12px; right: 12px; width: 34px; height: 34px; border-radius: 50%; border: 0; cursor: pointer; display: grid; place-items: center;
  background: rgba(14,12,20,.55); color: #fff; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.reel-sound svg { width: 17px; height: 17px; }
.reel-sound .on { display: none; }
.reel.sound .reel-sound .on { display: block; }
.reel.sound .reel-sound .off { display: none; }
/* Drawn stand-ins, shown until the CMS has a video. */
.reel-drawn { background: linear-gradient(170deg, #5b3fd6, #8d6bff 60%, #f0a9d6); }
.rd-person { position: absolute; left: 0; right: 0; bottom: 0; height: 64%;
  background: radial-gradient(circle at 50% 30%, #f3c9a7 0 16%, transparent 16.5%), radial-gradient(ellipse 46% 38% at 50% 100%, #2e2845 0 99%, transparent 100%); }
.rd-cap { position: absolute; left: 0; right: 0; bottom: 15%; text-align: center; color: #fff; font-weight: 800; font-size: clamp(17px, 1.6vw, 22px);
  text-transform: uppercase; letter-spacing: -0.02em; text-shadow: 0 2px 8px rgba(0,0,0,.45); }
.rd-cap em { font-style: normal; color: #ffd166; }
.rd-win { position: absolute; left: 9%; right: 9%; top: 12%; height: 38%; background: #fff; border-radius: 12px; padding: 22px 12px 12px; display: grid; gap: 8px; align-content: start;
  box-shadow: 0 18px 30px -14px rgba(0,0,0,.45); }
.rd-win::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 14px; border-radius: 12px 12px 0 0;
  background: radial-gradient(circle at 10px 7px, #ff5f57 3px, transparent 3.5px), radial-gradient(circle at 20px 7px, #febc2e 3px, transparent 3.5px), #f3f1f6; }
.rd-win i { height: 8px; border-radius: 4px; background: #e8e4f0; }
.rd-win i:nth-child(2) { width: 70%; background: #c9bdfd; } .rd-win i:nth-child(3) { width: 55%; }
.rd-app { background: linear-gradient(170deg, #efeaff, #d9ceff); }
.rd-app .rd-win { top: 14%; height: 50%; transform: rotate(-3deg) scale(1.08); }
.rd-win b { justify-self: end; margin-top: 12px; background: var(--brand); color: #fff; font-size: 10px; padding: 5px 9px; border-radius: 7px; }
.rd-ring { position: absolute; right: 12%; top: 46%; width: 52px; height: 52px; border-radius: 50%; border: 3px solid var(--brand); box-shadow: 0 0 0 8px rgba(122,92,255,.18); }
.rd-app .rd-cap { color: var(--ink); text-shadow: none; } .rd-app .rd-cap em { color: var(--brand); }
.rd-title { background: var(--dark); display: flex; flex-direction: column; justify-content: center; gap: 12px; padding: 0 20px; color: #fff; }
.rd-title strong { font-size: clamp(28px, 2.8vw, 38px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; }
.rd-title i { height: 8px; width: 70%; border-radius: 4px; background: #2f2a40; } .rd-title i:last-child { width: 48%; }
.rd-chip { align-self: flex-start; background: var(--brand); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; }
.rd-split { background: linear-gradient(180deg, #d0ddfb 0 50%, #8e78f0 50%); }
.rd-split .rd-win { top: 8%; height: 34%; }
.rd-split .rd-person { height: 48%; }
.rd-list { background: linear-gradient(170deg, #f6d6cc, #f0a9a0); padding: 64px 16px 0; display: flex; flex-direction: column; gap: 10px; }
.rd-card { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 12px; padding: 12px; box-shadow: 0 12px 22px -14px rgba(0,0,0,.4); }
.rd-card b { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-size: 12px; }
.rd-card i { height: 8px; flex: 1; border-radius: 4px; background: #e8e4f0; }
.rd-launch { background: linear-gradient(170deg, #16131f, #3a2a7a 70%, #7a5cff); }
.rd-launch strong { position: absolute; left: 0; right: 0; top: 16%; text-align: center; color: #fff; font-size: clamp(26px, 2.5vw, 34px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; padding: 0 14px; }
.rd-launch .rd-person { height: 52%; }
.rd-spark { position: absolute; right: 14%; top: 7%; color: #ffd166; font-size: 24px; }
@media (max-width: 640px) {
  .reels-head { align-items: flex-start; flex-direction: column; }
  .reels { margin-top: 28px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent); }
  .reels-track { gap: 12px; }
}

/* ---------- Home: marquee band ---------- */
.marquee { background: linear-gradient(90deg, var(--brand), var(--brand-bright)); color: #fff; overflow: hidden; white-space: nowrap; padding: 22px 0; margin: 8px 0 96px; }
.marquee-track { display: inline-flex; align-items: center; gap: 28px; padding-right: 28px; animation: marquee 36s linear infinite;
  font-size: clamp(34px, 5.4vw, 68px); font-weight: 800; letter-spacing: -0.045em; line-height: 1.1; }
.marquee-track .serif { font-weight: 400; letter-spacing: -0.01em; font-size: 1.1em; }
.marquee-track i { font-style: normal; font-size: .5em; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Home: privacy band ---------- */
#privacy { margin-top: 24px; }
.priv { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.priv-proof { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.priv-proof span { border: 1px solid var(--dark-line); background: var(--dark-2); color: #ddd8ea; border-radius: 999px; padding: 8px 14px 8px 12px; font-size: 13.5px; font-weight: 600; }
.priv-proof span::before { content: "✓"; color: #b29dff; font-weight: 800; margin-right: 7px; }
.priv-art { position: relative; padding: 24px 0 40px; }
.priv-win { border-radius: 20px; background: linear-gradient(160deg, #241e38, #15121f); border: 1px solid var(--dark-line); padding: 22px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.7); }
.priv-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; font-size: 16px; }
.priv-lock { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(160deg, #6b4dff, #9a7bff); }
.priv-lock svg { width: 20px; height: 20px; }
.priv-file { display: grid; grid-template-columns: 30px 1fr auto; align-items: center; gap: 12px; padding: 12px 4px; border-top: 1px solid var(--dark-line); font-size: 14px; color: #ddd8ea; }
.priv-file span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.priv-file small { color: #8f88a6; font-size: 12.5px; }
.priv-file i { width: 30px; height: 30px; border-radius: 8px; }
.priv-file i.v { background: linear-gradient(135deg, #7a5cff, #5b7cfa); }
.priv-file i.p { background: linear-gradient(135deg, #ff7a59, #ffc15e); }
.priv-file i.s { background: linear-gradient(135deg, #0f9d8a, #7fd6b5); }
.priv-file i.b { background: linear-gradient(135deg, #f0a9d6, #b29dff); }
.priv-cloud { position: absolute; right: -8px; bottom: 8px; display: flex; align-items: center; gap: 8px; background: #fff; color: var(--ink); border-radius: 999px; padding: 10px 16px 10px 12px; font-weight: 700; font-size: 14px; box-shadow: 0 16px 34px -12px rgba(0,0,0,.6); }
.priv-cloud svg { width: 22px; height: 22px; color: #ff4d6a; }

@media (max-width: 960px) {
  .mk-tile, .mk-demo, .mk-launch { grid-column: span 6; }
  .mk-shot { grid-column: span 12; }
  .priv { grid-template-columns: 1fr; gap: 24px; }
  .final.lilac { margin: 24px 0; border-radius: 28px; }
}
@media (max-width: 560px) {
  .mk-grid { gap: 12px; margin-top: 36px; }
  .mk-tile, .mk-demo, .mk-launch, .mk-shot { grid-column: span 12; min-height: 290px; }
  .marquee { margin-bottom: 72px; padding: 16px 0; }
  .priv-cloud { right: 4px; }
  .final.lilac { padding: 80px 0; }
}

/* =====================================================================
   Feature pages (features/*.html, generated by build.py)
   ===================================================================== */
.mi.on { background: var(--brand-soft); }
.mi.on b { color: var(--brand); }

.fp-hero { padding: 56px 0 24px; text-align: center; }
.crumb { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); padding: 6px 14px 6px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.crumb span { color: var(--ink-3); font-weight: 400; }
.crumb-ic { width: 26px; height: 26px; border-radius: 50%; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; }
.crumb-ic svg { width: 15px; height: 15px; }
.fp-hero h1 { font-size: clamp(40px, 6.4vw, 78px); line-height: 1; letter-spacing: -0.045em; font-weight: 800; margin: 24px auto 20px; max-width: 15ch; }
.fp-hero h1 .serif { color: var(--brand); font-size: 1.06em; }
.fp-hero .lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 640px; margin: 0 auto 30px; }
.fp-section { padding: 48px 0; }
.fp-highs { margin-top: 0; text-align: left; }
.fp-highs .step h3 { margin-top: 0; }

.fp-split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 56px; align-items: center; padding: 40px 0; }
.fp-split + .fp-split { border-top: 1px solid var(--line); }
.fp-split.flip > :first-child { order: 2; }
.fp-split h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 14px; }
.fp-split p { color: var(--ink-2); font-size: 17px; }
.fp-list { list-style: none; margin-top: 20px; display: grid; gap: 10px; }
.fp-list li { position: relative; padding-left: 28px; font-size: 15.5px; color: var(--ink-2); }
.fp-list li::before { content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/11px no-repeat; }
.spec { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 10px 24px 14px; box-shadow: var(--shadow); }
.spec-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); padding: 14px 0 6px; }
.spec-row { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.spec-row:first-of-type { border-top: 0; }
.spec-row span:first-child { font-weight: 600; }
.spec-row span:last-child { color: var(--ink-2); text-align: right; }

.fp-for { margin-top: 0; }
.fp-for .who > p { font-size: 17px; }
.rel-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 24px; display: flex; flex-direction: column; gap: 6px; transition: transform .15s, box-shadow .15s; }
.rel:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.rel-ic { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 10px; }
.rel-ic svg { width: 22px; height: 22px; }
.rel b { font-size: 18px; letter-spacing: -0.02em; }
.rel small { color: var(--ink-2); font-size: 14.5px; }
.rel span { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--brand); }

/* Illustration stage and primitives */
.fv-stage { position: relative; overflow: hidden; border-radius: 26px; aspect-ratio: 16 / 9; text-align: left; box-shadow: 0 40px 80px -30px rgba(43,31,107,.55); }
.fv-capture { background: linear-gradient(135deg, #ffb88c 0%, #ff8fb8 45%, #a48bff 100%); }
.fv-record { background: linear-gradient(135deg, #2b1f6b 0%, #5b3fd6 45%, #8d6bff 75%, #f0a9d6 100%); }
.fv-edit { background: linear-gradient(135deg, #1b2a6b 0%, #5b7cfa 45%, #9173ff 80%, #e7b6ff 100%); }
.fv-stage > * { position: absolute; }
.fv-win { background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); display: flex; flex-direction: column; }
.fv-bar { height: 28px; flex: none; background: #f3f1f6; border-bottom: 1px solid #e7e4ec; display: flex; align-items: center; gap: 6px; padding: 0 12px; }
.fv-bar b { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.fv-bar b:nth-child(2) { background: #febc2e; } .fv-bar b:nth-child(3) { background: #28c840; }
.fv-url { margin-left: 12px; height: 16px; width: 40%; border-radius: 5px; background: #fff; border: 1px solid #e7e4ec; font-size: 10px; color: #8a8597; padding: 0 8px; line-height: 14px; overflow: hidden; white-space: nowrap; }
.fv-body { flex: 1; padding: 4% 5%; overflow: hidden; }
.sk { display: block; height: 8px; border-radius: 4px; background: #ebe7f2; margin-top: 10px; }
.fv-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
.fv-cards div { height: 56px; border-radius: 10px; border: 1px solid #eeebf2; background: linear-gradient(#fff, #faf9fc); }
.fv-cursor { width: 22px; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0,0,0,.35)); }
.fv-pill { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.95); color: var(--ink); border-radius: 999px; padding: 7px 8px 7px 12px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 24px -10px rgba(0,0,0,.45); white-space: nowrap; z-index: 4; }
.fv-dot { width: 8px; height: 8px; border-radius: 50%; background: #28c840; }
.fv-dot.off { background: var(--brand); }
.fv-btn { background: var(--brand); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 12.5px; }

.fv-sel { border: 2px solid #fff; border-radius: 3px; box-shadow: 0 0 0 9999px rgba(14,12,20,.38); z-index: 2; }
.fv-dim { position: absolute; left: 0; bottom: -30px; background: rgba(14,12,20,.85); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; }
.fv-loupe { width: 92px; height: 92px; border-radius: 50%; border: 3px solid #fff; z-index: 3; box-shadow: 0 10px 24px -8px rgba(0,0,0,.5);
  background: repeating-linear-gradient(0deg, transparent 0 8px, rgba(0,0,0,.08) 8px 9px), repeating-linear-gradient(90deg, transparent 0 8px, rgba(0,0,0,.08) 8px 9px), linear-gradient(135deg, #d9cfff 50%, #7a5cff 50%); }
.fv-loupe span { position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%); background: #16131f; color: #fff; font: 600 11px ui-monospace, Menlo, monospace; padding: 3px 7px; border-radius: 6px; }

.fv-tall { left: 30%; width: 40%; top: 6%; bottom: 0; background: #fff; border-radius: 12px 12px 0 0; overflow: hidden; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.fv-tall-in { animation: tall 10s linear infinite; }
.fv-sec { padding: 18px 22px 22px; border-bottom: 1px dashed #e2ddeb; }
.fv-sec .fv-cards { grid-template-columns: 1fr 1fr; }
@keyframes tall { from { transform: translateY(0); } to { transform: translateY(-50%); } }

.fv-tools { display: flex; gap: 8px; margin: -2px 0 10px; }
.fv-tools i { width: 22px; height: 22px; border-radius: 6px; background: #f0edf5; }
.fv-tools i.on { background: var(--brand); }
.fv-box { border: 4px solid #ff4d6a; border-radius: 10px; z-index: 2; }
.fv-step { width: 30px; height: 30px; border-radius: 50%; background: #ff4d6a; color: #fff; font-weight: 800; font-size: 15px; display: grid; place-items: center; z-index: 3; box-shadow: 0 4px 10px -3px rgba(0,0,0,.4); }
.fv-arrow { z-index: 2; height: auto; filter: drop-shadow(0 4px 6px rgba(0,0,0,.25)); }
.fv-sticker { background: #ffd23f; color: #16131f; font-weight: 800; font-size: 15px; padding: 6px 14px; border-radius: 999px; z-index: 3; box-shadow: 0 6px 14px -6px rgba(0,0,0,.4); }
.fv-pix { z-index: 2; border-radius: 4px; background: repeating-conic-gradient(#cfc6e0 0 25%, #e9e4f2 0 50%) 0 0 / 12px 12px; }

.fv-picked { outline: 2px dashed #fff; outline-offset: 8px; box-shadow: 0 0 0 9999px rgba(14,12,20,.38) !important; }
.fv-dialog { z-index: 1; background: #fff; border-radius: 14px; padding: 20px 22px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.45); border: 1px solid #eeebf2; }
.fv-dialog b { font-size: 17px; }
.fv-dialog p { font-size: 13.5px; color: var(--ink-2); margin: 6px 0 16px; font-family: ui-monospace, Menlo, monospace; }
.fv-dialog div { display: flex; justify-content: flex-end; gap: 8px; }
.fv-dialog span { font-size: 13px; font-weight: 600; padding: 5px 12px; border-radius: 8px; background: #f0edf5; }
.fv-dialog span.on { background: var(--brand); color: #fff; }
.fv-toast { display: flex; align-items: center; gap: 10px; z-index: 4; background: #16131f; color: #fff; font-weight: 600; font-size: 14px; padding: 10px 16px; border-radius: 12px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); white-space: nowrap; }
.fv-toast span { width: 20px; height: 20px; border-radius: 50%; background: #28c840; display: grid; place-items: center; font-size: 12px; }

.fv-bubble { aspect-ratio: 1; border-radius: 50%; z-index: 3; border: 3px solid rgba(255,255,255,.9); box-shadow: 0 14px 30px -10px rgba(0,0,0,.5);
  background: radial-gradient(circle at 50% 38%, #f3c9a7 0 17%, transparent 17.5%), radial-gradient(ellipse 34% 30% at 50% 88%, #3b3355 0 99%, transparent 100%), radial-gradient(circle at 50% 50%, #cdbfff, #8e78f0); }
.fv-recbar { display: flex; align-items: center; gap: 14px; background: rgba(22,19,31,.92); color: #fff; font: 600 14px ui-monospace, Menlo, monospace; padding: 9px 16px; border-radius: 999px; z-index: 4; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.fv-recbar i { font-style: normal; opacity: .75; font-family: Inter, sans-serif; }
.fv-rec { width: 12px; height: 12px; border-radius: 50%; background: #ff4d4d; box-shadow: 0 0 0 4px rgba(255,77,77,.25); animation: blink 1.4s infinite; }
@keyframes blink { 50% { opacity: .35; } }

.fv-band { border-radius: 16px 16px 0 0; background: linear-gradient(160deg, #cdbfff, #8e78f0); border: 3px solid #fff; border-bottom: 0; z-index: 2; }
.fv-person { z-index: 3; filter: drop-shadow(0 14px 20px rgba(0,0,0,.35));
  background: radial-gradient(circle at 50% 30%, #f3c9a7 0 21%, transparent 21.5%), radial-gradient(ellipse 50% 40% at 50% 100%, #2e2845 0 99%, transparent 100%); }
.fv-seg { display: flex; background: #f0edf5; border-radius: 10px; padding: 3px; z-index: 4; box-shadow: 0 8px 20px -10px rgba(0,0,0,.4); }
.fv-seg span { font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 8px; color: var(--ink-2); }
.fv-seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.12); }

.fv-prompter { background: rgba(0,0,0,.92); border-radius: 14px; overflow: hidden; z-index: 3; box-shadow: 0 24px 50px -16px rgba(0,0,0,.6); }
.fv-prompter-in { padding: 20px 28px; animation: tall 14s linear infinite; }
.fv-prompter p { color: rgba(255,255,255,.55); font-size: clamp(14px, 2vw, 24px); font-weight: 700; line-height: 1.5; text-align: center; }
.fv-line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; background: var(--brand-bright); opacity: .7; }

.fv-ring { border: 4px solid #ffd23f; border-radius: 50%; z-index: 2; transform: rotate(-4deg); }
.fv-hl { height: 18px; background: rgba(255,210,63,.55); border-radius: 4px; z-index: 2; }
.fv-palette { display: flex; align-items: center; gap: 8px; background: rgba(22,19,31,.92); padding: 8px 12px; border-radius: 14px; z-index: 4; box-shadow: 0 14px 30px -10px rgba(0,0,0,.5); }
.fv-palette i { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; color: #fff; font-style: normal; font-size: 14px; background: rgba(255,255,255,.08); }
.fv-palette i.on { background: var(--brand); }
.fv-palette span { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.6); }
.fv-palette b { font-size: 14px; margin-left: 4px; }

.fv-editor { inset: 6% 5%; background: #15121f; border-radius: 14px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); display: grid; grid-template-columns: 1fr 22%; grid-template-rows: 1fr auto; gap: 10px; padding: 10px; }
.fv-ed-prev { border-radius: 10px; background: linear-gradient(135deg, #3a2f62, #6b4dff 60%, #c8a2ff); display: grid; place-items: center; padding: 6%; }
.fv-ed-frame { width: 100%; height: 100%; background: #fff; border-radius: 8px; padding: 6%; box-shadow: 0 16px 30px -12px rgba(0,0,0,.5); }
.fv-ed-insp { grid-row: span 2; border-radius: 10px; background: #1f1b2c; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.fv-ed-insp span { height: 10px; width: 60%; border-radius: 4px; background: #3b3552; margin-top: 8px; }
.fv-ed-insp i { height: 22px; border-radius: 6px; background: #2a2539; }
.fv-ed-tl { position: relative; border-radius: 10px; background: #1f1b2c; padding: 10px; display: grid; gap: 6px; }
.fv-ed-tl .track { height: 16px; }

.fv-screen { inset: 7% 8%; aspect-ratio: auto; }

.fv-cap { z-index: 3; background: rgba(14,12,20,.85); color: #fff; padding: 8px 16px; border-radius: 10px; font-weight: 700; font-size: clamp(12px, 1.7vw, 19px); white-space: nowrap; }
.fv-cap em { font-style: normal; color: #ffd23f; }
.fv-script { background: #fff; border-radius: 14px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); font-size: clamp(11px, 1.3vw, 15px); line-height: 1.75; color: var(--ink-2); overflow: hidden; }
.fv-script small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
.fv-script s { color: var(--ink-3); text-decoration-color: #e35d6a; text-decoration-thickness: 2px; background: #fde8ea; border-radius: 4px; padding: 0 3px; }
.fv-script mark { background: #fff2b8; color: var(--ink); border-radius: 4px; padding: 0 3px; }
.fv-script .dim { color: var(--ink-3); margin-top: 8px; }

.fv-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; height: 62%; }
.fv-tiers div { border: 1px solid #eeebf2; border-radius: 10px; background: linear-gradient(#fff, #faf9fc); }
.fv-tiers div.on { position: relative; border: 2px solid var(--brand); background: rgba(122,92,255,.08); }
.fv-tiers div.on span { position: absolute; left: -2px; top: -24px; background: var(--brand); color: #fff; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.fv-hover { border: 2px solid var(--brand); background: rgba(122,92,255,.08); border-radius: 12px; z-index: 2; }
.fv-hover span { position: absolute; left: -2px; top: -26px; background: var(--brand); color: #fff; font-size: 11.5px; font-weight: 600; padding: 3px 8px; border-radius: 6px; white-space: nowrap; }
.fv-card-stat, .fv-card-art { background: #fff; border-radius: 14px; padding: 16px 18px; z-index: 3; box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); }
.fv-card-stat big { display: block; font-size: clamp(32px, 4.4vw, 56px); font-weight: 800; letter-spacing: -0.04em; color: var(--brand); line-height: 1; }
.fv-card-stat b { display: block; margin: 6px 0; font-size: 14px; }
.fv-card-stat small, .fv-card-art small { color: var(--ink-3); font-size: 11.5px; }
.fv-card-art { background: #f7f1e3; font-family: Georgia, serif; transform: rotate(-2deg); }
.fv-card-art b { display: block; font-size: clamp(13px, 1.5vw, 17px); line-height: 1.25; margin-bottom: 8px; }
.fv-card-art i { display: block; height: 6px; border-radius: 3px; background: #ddd3bd; margin-bottom: 6px; }
.fv-card-art small { font-family: Inter, sans-serif; }

.fv-row { display: flex; align-items: center; gap: 4%; padding: 10px 0; border-bottom: 1px solid #f0edf5; }
.fv-row .sk { margin: 0; }
.fv-row .av { width: 22px; height: 22px; border-radius: 50%; background: #e2ddeb; flex: none; }
.fv-blur { display: block; width: 34%; height: 12px; border-radius: 6px; background: repeating-linear-gradient(90deg, #b9b0cc 0 7px, #ddd6ea 7px 14px); filter: blur(3px); }
.fv-key { font-size: 13px; font-weight: 700; color: var(--ink); width: 18%; }
.fv-pixel { display: block; width: 60%; height: 16px; border-radius: 4px; background: repeating-conic-gradient(#b9b0cc 0 25%, #e3ddee 0 50%) 0 0 / 10px 10px; }

.fv-lower { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 12px; padding: 10px 16px 10px 10px; z-index: 3; box-shadow: 0 18px 36px -14px rgba(0,0,0,.5); }
.fv-lower span { width: 6px; align-self: stretch; border-radius: 3px; background: var(--brand); }
.fv-lower b { display: block; font-size: 15px; }
.fv-lower small { color: var(--ink-3); font-size: 12.5px; }
.fv-wm { display: flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 700; font-size: 13px; opacity: .75; z-index: 3; }
.fv-wm i { width: 18px; height: 18px; border-radius: 30%; background: linear-gradient(135deg, #7a5cff, #5b7cfa); }
.fv-kit { background: #fff; border-radius: 16px; padding: 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); font-size: 13px; }
.fv-kit small { font-size: 11px; font-weight: 700; letter-spacing: .08em; color: var(--brand); }
.fv-kit b { display: block; font-size: 18px; margin: 4px 0 12px; }
.fv-sw { display: flex; gap: 8px; margin-bottom: 12px; }
.fv-sw span { width: 34px; height: 34px; border-radius: 10px; }
.fv-kit p { color: var(--ink-2); padding: 6px 0; border-top: 1px solid var(--line); }
.fv-kit em { display: block; margin-top: 10px; font-style: normal; font-weight: 600; color: var(--brand); }

.fv-formats { inset: 12% 6% 26%; display: flex; align-items: center; justify-content: center; gap: 4%; }
.fv-formats div { position: relative; max-height: 100%; background: linear-gradient(135deg, #fff, #efeaff); border-radius: 12px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); }
.fv-formats div::before { content: ""; position: absolute; inset: 14% 12% 30%; border-radius: 6px; background: linear-gradient(135deg, #7a5cff, #f0a9d6); opacity: .8; }
.fv-formats span { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); font-weight: 800; font-size: 14px; color: var(--brand); }
.fv-progress { width: min(380px, 70%); background: rgba(22,19,31,.92); color: #fff; border-radius: 14px; padding: 12px 16px; font-size: 13.5px; font-weight: 600; z-index: 4; }
.fv-progress div { height: 6px; border-radius: 3px; background: rgba(255,255,255,.15); margin-top: 8px; overflow: hidden; }
.fv-progress i { display: block; height: 100%; width: 68%; border-radius: 3px; background: linear-gradient(90deg, var(--brand-bright), #f0a9d6); animation: prog 4s ease-in-out infinite; }
@keyframes prog { from { width: 8%; } to { width: 96%; } }


/* "Everything in …" inventory on feature pages */
.cat-title { margin-bottom: 22px; }
.cat-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.cat-chips a { font-size: 13.5px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 7px 14px; border-radius: 999px; transition: background .12s, color .12s, border-color .12s; }
.cat-chips a:hover { color: var(--brand); border-color: #d9cfff; background: var(--brand-soft); }
.cat-group { padding: 34px 0 6px; border-top: 1px solid var(--line); margin-top: 18px; }
.cat-head { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 4px 12px; margin-bottom: 18px; }
.cat-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.cat-count { font-size: 12.5px; font-weight: 700; color: var(--brand); background: var(--brand-soft); padding: 2px 9px; border-radius: 999px; }
.cat-head p { grid-column: 1 / -1; color: var(--ink-2); font-size: 15.5px; max-width: 720px; }
.cat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.cat-item { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; }
.cat-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.cat-top b { font-size: 15px; letter-spacing: -0.01em; }
.cat-top kbd { flex: none; }
.cat-item small { display: block; margin-top: 4px; color: var(--ink-2); font-size: 13.5px; line-height: 1.45; }
@media (max-width: 1100px) { .cat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 800px) { .cat-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid { grid-template-columns: 1fr; } }

@media (max-width: 960px) {
  .fp-split, .fp-split.flip { grid-template-columns: 1fr; gap: 28px; }
  .fp-split.flip > :first-child { order: 0; }
  .rel-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* The illustrations are drawn for a wide stage; on a phone give them more height. */
  .fv-stage { aspect-ratio: 4 / 3.4; }
  .fv-pill, .fv-toast, .fv-recbar, .fv-palette { transform: scale(.82) !important; transform-origin: center; }
  .fv-pill[style*="translateX"], .fv-toast, .fv-recbar, .fv-palette, .fv-progress { left: 50% !important; translate: -50% 0; transform: scale(.82) !important; }
  .fv-kit, .fv-script, .fv-card-art, .fv-loupe { display: none; }
  .fv-win[style*="width"] { width: 88% !important; }
  .fv-card-stat { width: 44% !important; right: 4% !important; }
}

/* =====================================================================
   Catalog visuals (visuals.py): item thumbnails, spotlights, key lists
   ===================================================================== */
.cat-grid.thumbs { grid-template-columns: repeat(4, 1fr); }
.cat-item.has-th { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.cat-item.has-th .cat-body { padding: 14px 16px 16px; }
.th { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #ece8f3; border-bottom: 1px solid var(--line); }
.th > * { position: absolute; }
.th-light { background: #f3f0f8; }
.th-video { background: linear-gradient(135deg, #2c2547, #4b3c8f 55%, #8a6fd8); }
.th-dark { background: #1b1726; }
.th-edit { background: linear-gradient(135deg, #1b2a6b, #5b7cfa 55%, #9173ff); }
.th .sk { height: 4px; margin-top: 5px; border-radius: 2px; }

/* mini window */
.mw { inset: 18% 20%; background: #fff; border-radius: 6px; padding: 7% 8%; box-shadow: 0 8px 18px -8px rgba(0,0,0,.45); }
.mw.full { inset: 12% 10%; box-shadow: 0 2px 6px rgba(0,0,0,.08); }
.mw.lift { box-shadow: 0 14px 24px -8px rgba(0,0,0,.45); outline: 2px solid var(--brand); outline-offset: 3px; }
.mw.tallpage { inset: 6% 32% -10%; }
.dash { border: 2px dashed var(--brand); border-radius: 3px; box-shadow: 0 0 0 999px rgba(14,12,20,.18); }
.mon { inset: 14% 22% 20%; background: #2a2539; border-radius: 6px; padding: 3px; }
.mon::after { content: ""; position: absolute; left: 40%; right: 40%; bottom: -14%; height: 10%; background: #2a2539; border-radius: 0 0 3px 3px; }
.mon .mw { position: absolute; }
.mon.two { inset: 22% 52% 26% 6%; }
.mon.two.r { inset: 22% 6% 26% 52%; }
.bezel { inset: 15% 17%; border-radius: 9px; background: rgba(255,255,255,.35); }

/* screen-and-camera layouts */
.th-diag { background: linear-gradient(135deg, #5966f2, #8c40d9); }
.th-diag i { position: absolute; border-radius: 4px; }
.th-diag i.s { background: #fff repeating-linear-gradient(180deg, transparent 0 7px, #ebe7f2 7px 9px); box-shadow: 0 4px 10px -4px rgba(0,0,0,.4); }
.th-diag i.c { background: radial-gradient(circle at 50% 36%, #f3c9a7 0 18%, transparent 19%), radial-gradient(ellipse 36% 30% at 50% 92%, #3b3355 0 99%, transparent 100%), #9de0cf; }
.th-diag i.o { border-radius: 50%; border: 2px solid #fff; }
.th-diag i.tilt-l { transform: rotate(-6deg); } .th-diag i.tilt-r { transform: rotate(5deg); }
.th-diag i.ptr { background: none; width: 0; height: 0; border-left: 7px solid transparent; border-right: 7px solid transparent; border-bottom: 14px solid #16131f; transform: rotate(-30deg); }
.split-frame { inset: 12% 14%; background: #fff; border-radius: 6px; overflow: hidden; }
.split-frame.portrait { inset: 8% 38%; }
.split-frame i.pane { border: 2px solid #fff; border-radius: 6px; }

/* transitions: A holds, the change plays, B holds */
.tr { background: #1b1726; }
.tr i { position: absolute; inset: 0; display: grid; place-items: center; font: 800 28px Inter, sans-serif; font-style: normal; color: rgba(255,255,255,.9); }
.tr .a { background: linear-gradient(135deg, #3a3550, #24202f); }
.tr .b { background: linear-gradient(135deg, #7a5cff, #f0a9d6); }
.tr.cut .b { animation: tr-cut 3s steps(1) infinite; }
@keyframes tr-cut { 0% { opacity: 0; } 50% { opacity: 1; } }
.tr.dissolve .b { animation: tr-fade 3s ease-in-out infinite; }
@keyframes tr-fade { 0%, 25% { opacity: 0; } 65%, 100% { opacity: 1; } }
.tr.dip::after { content: ""; position: absolute; inset: 0; opacity: 0; animation: tr-dip 3s ease-in-out infinite; }
.tr.dip-black::after { background: #000; } .tr.dip-white::after { background: #fff; }
.tr.dip .b { animation: tr-cut-mid 3s steps(1) infinite; }
@keyframes tr-dip { 0%, 20% { opacity: 0; } 45% { opacity: 1; } 70%, 100% { opacity: 0; } }
@keyframes tr-cut-mid { 0% { opacity: 0; } 45% { opacity: 1; } }
.tr.slide .b { animation: tr-slide 3s cubic-bezier(.65,0,.35,1) infinite; }
.tr.l { --dx: 100%; --dy: 0; } .tr.r { --dx: -100%; --dy: 0; } .tr.u { --dx: 0; --dy: 100%; } .tr.d { --dx: 0; --dy: -100%; }
@keyframes tr-slide { 0%, 25% { transform: translate(var(--dx), var(--dy)); } 65%, 100% { transform: none; } }
.tr.push .b { animation: tr-slide 3s cubic-bezier(.65,0,.35,1) infinite; }
.tr.push .a { animation: tr-push-out 3s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes tr-push-out { 0%, 25% { transform: none; } 65%, 100% { transform: translate(calc(var(--dx) * -1), 0); } }
.tr.wipe .b { animation: 3s ease-in-out infinite; }
.tr.wl .b { animation-name: tr-wl; } .tr.wr .b { animation-name: tr-wr; } .tr.wu .b { animation-name: tr-wu; } .tr.wd .b { animation-name: tr-wd; }
@keyframes tr-wl { 0%, 25% { clip-path: inset(0 0 0 100%); } 65%, 100% { clip-path: inset(0); } }
@keyframes tr-wr { 0%, 25% { clip-path: inset(0 100% 0 0); } 65%, 100% { clip-path: inset(0); } }
@keyframes tr-wu { 0%, 25% { clip-path: inset(100% 0 0 0); } 65%, 100% { clip-path: inset(0); } }
@keyframes tr-wd { 0%, 25% { clip-path: inset(0 0 100% 0); } 65%, 100% { clip-path: inset(0); } }
.tr.wipe .b { box-shadow: none; }
.tr.zin .b { animation: tr-zin 3s ease-out infinite; }
@keyframes tr-zin { 0%, 25% { transform: scale(1.8); opacity: 0; } 65%, 100% { transform: none; opacity: 1; } }
.tr.zout .a { z-index: 1; animation: tr-zout 3s ease-in infinite; }
@keyframes tr-zout { 0%, 25% { transform: none; opacity: 1; } 65%, 100% { transform: scale(1.8); opacity: 0; } }
/* focus blur: the picture goes soft, swaps in the middle while it is softest, and sharpens */
.tr.focus i { animation: tr-focus 3s ease-in-out infinite; }
.tr.focus .b { animation-name: tr-focus-b; }
@keyframes tr-focus { 0%, 20% { filter: blur(0); } 45% { filter: blur(9px); } 70%, 100% { filter: blur(0); } }
@keyframes tr-focus-b { 0%, 20% { filter: blur(0); opacity: 0; } 38% { opacity: 0; } 45% { filter: blur(9px); } 52% { opacity: 1; } 70%, 100% { filter: blur(0); opacity: 1; } }

/* title designs */
.t { left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-weight: 800; white-space: nowrap; text-align: center; font-size: 18px; line-height: 1.15; }
.t small { display: block; font-size: .6em; font-weight: 500; color: #cfc8e6; }
.t-plain { font-weight: 600; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.t-opener { font-size: 17px; letter-spacing: .08em; text-shadow: 0 4px 14px rgba(0,0,0,.5); }
.t-lower-third { left: 8%; top: auto; bottom: 14%; transform: none; text-align: left; font-size: 13px; background: rgba(15,17,25,.88); padding: 6px 12px 6px 14px; border-radius: 6px; border-left: 4px solid #9173ff; }
.t-subtitle-bar { top: auto; bottom: 12%; transform: translateX(-50%); font-size: 12px; font-weight: 600; background: rgba(0,0,0,.7); padding: 4px 10px; border-radius: 6px; }
.t-bold-callout { color: #ffd91a; font-size: 20px; -webkit-text-stroke: 1.5px #111; paint-order: stroke fill; text-shadow: 0 3px 6px rgba(0,0,0,.6); }
.t-quote { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; font-size: 19px; text-shadow: 0 3px 10px rgba(0,0,0,.6); }
.t-neon { color: #ccffff; font-size: 22px; text-shadow: 0 0 6px #26d9ff, 0 0 14px #26d9ff, 0 0 24px #26d9ff; }
.t-gradient { font-size: 20px; background: linear-gradient(180deg, #ffbf4d, #735aff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.t-typed { font-family: ui-monospace, Menlo, monospace; font-weight: 500; font-size: 15px; }
.t-typed::after { content: "▍"; animation: blink 1s steps(1) infinite; }
.t-badge, .t-badge.brand { font-size: 11px; letter-spacing: .12em; color: #0d0f14; background: #ffd933; padding: 4px 10px; border-radius: 999px; top: 22%; left: 78%; }
.t-badge.brand { background: #7a5cff; color: #fff; }
.t-end-card { font-size: 15px; font-weight: 700; letter-spacing: .03em; }
.t-wipe { font-size: 19px; -webkit-text-stroke: 1px #111; paint-order: stroke fill; animation: wipe-in 2.6s ease-out infinite; }
@keyframes wipe-in { 0% { clip-path: inset(0 100% 0 0); } 40%, 100% { clip-path: inset(0); } }
.t-outlined { font-size: 20px; -webkit-text-stroke: 3px #1a1a1f; paint-order: stroke fill; }
.t-caption-plate { top: auto; bottom: 16%; transform: translateX(-50%); font-size: 12px; font-weight: 600; color: #14171f; background: rgba(255,255,255,.94); padding: 5px 10px; border-radius: 7px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.t-rotating-words { font-size: 15px; white-space: nowrap; text-shadow: 0 2px 8px rgba(0,0,0,.4); }
.t-rotating-words .roll { display: inline-flex; flex-direction: column; align-items: flex-start; vertical-align: middle; line-height: 1.15; }
.t-rotating-words .roll i { font-style: normal; opacity: .45; filter: blur(1.2px); font-size: .8em; }
.t-counter { font-size: 24px; font-weight: 800; color: #b9a6ff; font-variant-numeric: tabular-nums; line-height: 1; text-align: center; }
.t-counter small { display: block; font-size: 10px; font-weight: 600; color: #fff; letter-spacing: .04em; margin-top: 3px; }
.t-search-bar { top: auto; bottom: 16%; transform: translateX(-50%); font-size: 11px; font-weight: 500; color: #33363d; background: #fff; padding: 6px 14px 6px 26px; border-radius: 999px; box-shadow: 0 4px 12px rgba(0,0,0,.3); }
.t-search-bar .mag { position: absolute; left: 10px; top: 50%; width: 7px; height: 7px; margin-top: -5px; border: 1.6px solid #8a8d94; border-radius: 50%; }
.t-search-bar .caret { display: inline-block; width: 1px; height: 1em; margin-left: 1px; vertical-align: -2px; background: #33363d; animation: blink 1s steps(1) infinite; }
.t-spoken-words { left: 64%; top: 34%; font-size: 15px; font-weight: 900; text-shadow: 0 2px 8px rgba(0,0,0,.5); }
.t-spoken-words .unsaid { opacity: .18; }
.t-tab { top: auto; bottom: 0; transform: translateX(-50%); font-size: 12px; font-weight: 700; background: #6b4cf2; padding: 6px 14px 8px; border-radius: 9px 9px 0 0; }

/* caption looks (and the brand one) */
.cap-s { left: 50%; bottom: 14%; transform: translateX(-50%); white-space: nowrap; font-weight: 700; font-size: 12.5px; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
.cap-s em { font-style: normal; }
.cap-karaoke em { color: #ffd23f; }
.cap-clean { font-weight: 600; -webkit-text-stroke: .5px rgba(0,0,0,.6); }
.cap-bold { color: #ffd23f; text-transform: uppercase; font-weight: 900; -webkit-text-stroke: 1.5px #000; paint-order: stroke fill; font-size: 12px; }
.cap-boxed { background: rgba(14,12,20,.85); padding: 4px 9px; border-radius: 7px; text-shadow: none; }
.cap-typewriter { font-family: ui-monospace, Menlo, monospace; font-weight: 600; animation: type 3s steps(26) infinite; overflow: hidden; }
@keyframes type { 0% { max-width: 0; } 70%, 100% { max-width: 100%; } }
.cap-highlight em { background: #7a5cff; padding: 1px 4px; border-radius: 4px; }
.cap-neon { color: #c8f6ff; text-shadow: 0 0 6px #26d9ff, 0 0 12px #26d9ff; }
.cap-drop-shadow { text-shadow: 2px 2px 0 rgba(0,0,0,.85); }
.cap-underline em { box-shadow: inset 0 -3px 0 #ffd23f; }
.cap-bubble { background: #fff; color: #16131f; text-shadow: none; padding: 4px 10px; border-radius: 999px; }
.cap-ticker { background: #16131f; text-transform: uppercase; letter-spacing: .12em; font-size: 9px; padding: 4px 10px; border-radius: 3px; text-shadow: none; }
.cap-impact { color: #ffd23f; font-size: 11.5px; font-weight: 900; -webkit-text-stroke: 2px #000; paint-order: stroke fill; text-shadow: 3px 3px 0 #000; text-transform: uppercase; }
.cap-whisper { font-weight: 400; font-size: 11px; opacity: .65; }
.cap-slide { animation: cap-rise 2.4s ease-out infinite; }
@keyframes cap-rise { 0% { transform: translate(-50%, 10px); opacity: 0; } 30%, 100% { transform: translate(-50%, 0); opacity: 1; } }
.cap-retro { color: #f6e7c8; background: #6b4226; padding: 4px 10px; border-radius: 4px; text-shadow: 2px 2px 0 #c0712f; }
.cap-subtle-bar { background: rgba(14,12,20,.75); padding: 4px 9px; border-radius: 4px; text-shadow: none; }
.cap-subtle-bar em { color: #6fb6ff; }
.cap-brand { font-family: Inter, sans-serif; }
.cap-brand em { color: #b9a6ff; }
.emph-none em {}
.emph-recolour em { color: #ffd23f; }
.emph-box em { background: #7a5cff; padding: 1px 4px; border-radius: 4px; }
.emph-underline em { box-shadow: inset 0 -3px 0 #ffd23f; }

/* screenshot text styles */
.ts { left: 50%; top: 52%; transform: translate(-50%, -50%); font-size: 15px; font-weight: 700; white-space: nowrap; color: #fff; }
.ts-halo { text-shadow: 0 0 2px #000, 0 0 2px #000, 0 2px 6px rgba(0,0,0,.5); }
.ts-plain { color: #ff4d6a; font-weight: 600; }
.ts-outlined { font-weight: 900; -webkit-text-stroke: 3px #16131f; paint-order: stroke fill; }
.ts-shadowed { text-shadow: 0 3px 8px rgba(0,0,0,.65); }
.ts-dark-plate { background: rgba(22,19,31,.9); padding: 4px 10px; border-radius: 7px; }
.ts-light-plate { background: rgba(255,255,255,.96); color: #16131f; padding: 4px 10px; border-radius: 7px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.ts-sticker { background: #ffd23f; color: #16131f; padding: 4px 12px; border-radius: 999px; box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.ts-marker { color: #16131f; background: linear-gradient(transparent 45%, rgba(255,210,63,.75) 45% 90%, transparent 90%); }
.ts-typewriter { font-family: ui-monospace, Menlo, monospace; font-weight: 500; background: #16131f; padding: 4px 9px; border-radius: 4px; }
.ts-heavy { font-weight: 900; font-size: 17px; -webkit-text-stroke: 2.5px #000; paint-order: stroke fill; text-shadow: 0 3px 6px rgba(0,0,0,.6); }

/* tools */
.th-tool { background: #f3f0f8; display: grid; place-items: center; }
.th-tool svg { position: static; width: 46%; height: auto; }
.th-tool.th-dark svg path[stroke="#ff4d6a"], .th-tool.th-dark svg rect[stroke="#ff4d6a"], .th-tool.th-dark svg ellipse { stroke: #ffd23f; }
.th-tool.th-dark svg path[stroke="#c9c3d6"] { stroke: #4b4560; }

/* arrangements, canvases, cut-outs */
.th i.pic { background: #fff repeating-linear-gradient(180deg, transparent 0 6px, #ebe7f2 6px 8px); border-radius: 4px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.5); }
.cv { left: 50%; top: 50%; transform: translate(-50%, -50%); height: 74%; max-width: 70%; border: 2px solid var(--brand); background: var(--brand-soft); border-radius: 5px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--brand); }
.th-cut { background: linear-gradient(135deg, #5966f2, #8c40d9); }
.th-cut .band { background: linear-gradient(160deg, #cdbfff, #8e78f0); border: 2px solid #fff; border-bottom: 0; border-radius: 10px 10px 0 0; }
.th-cut .person { background: radial-gradient(circle at 50% 30%, #f3c9a7 0 21%, transparent 21.5%), radial-gradient(ellipse 50% 40% at 50% 100%, #2e2845 0 99%, transparent 100%); filter: drop-shadow(0 6px 8px rgba(0,0,0,.4)); }
.th-cut .updown { left: 18%; top: 30%; color: #fff; font-size: 30px; }

/* web cards */
.art-card { inset: 12% 22%; background: #fff; border-radius: 6px; padding: 7%; overflow: hidden; box-shadow: 0 6px 14px -6px rgba(0,0,0,.35); }
.art-card .pic { display: block; width: 100%; border-radius: 3px; background: linear-gradient(135deg, #9fd3ff, #c9bdfd); }
.art-card .hl { display: block; height: 4px; border-radius: 2px; background: #d6d0e2; margin-top: 5px; }
.art-card .hl.big { height: 7px; background: #16131f; }
.art-card .hl.light { background: #fff; }
.art-card .row { display: flex; gap: 8%; }
.art-card .ini { width: 18px; height: 18px; border-radius: 4px; background: #7a5cff; color: #fff; font-size: 10px; font-weight: 800; display: grid; place-items: center; flex: none; margin-right: 8px; }
.art-card .banner { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; padding: 6px 8px; background: #16131f; }
.art-card .banner .hl.big { background: #fff; }
.art-card .clip { background: #f7f1e3; margin: -7%; padding: 10%; height: 130%; transform: rotate(-3deg); }
.mini-tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; height: 60%; }
.mini-tiers i { border: 1px solid #eeebf2; border-radius: 4px; }
.mini-tiers i.on { border: 2px solid var(--brand); background: rgba(122,92,255,.08); }
.quote-card { inset: 22% 12%; background: #fff; border-radius: 8px; padding: 8px 12px; font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-size: 15px; line-height: 1.3; color: #16131f; display: grid; place-items: center; text-align: center; }
.quote-card mark { background: #fff2b8; }
.stat-card { inset: 20% 26%; background: #fff; border-radius: 8px; display: grid; place-content: center; text-align: center; }
.stat-card big { font-size: 28px; font-weight: 800; color: var(--brand); letter-spacing: -0.04em; line-height: 1; }
.stat-card small { font-size: 10px; color: var(--ink-2); }
.post-card { inset: 14% 18%; background: #fff; border-radius: 8px; padding: 8px 10px; }
.post-card .row { display: flex; align-items: center; gap: 6px; }
.post-card .av { width: 16px; height: 16px; border-radius: 50%; background: #7a5cff; }
.post-card .hl { display: block; height: 4px; border-radius: 2px; background: #d6d0e2; margin-top: 6px; }
.post-card small { display: block; margin-top: 6px; font-size: 8.5px; color: var(--ink-3); }

/* fitting */
.vert { left: 50%; top: 8%; bottom: 8%; aspect-ratio: 9 / 16; transform: translateX(-50%); background: linear-gradient(135deg, #5966f2, #8c40d9); border-radius: 6px; overflow: hidden; }
.vert .mw { position: absolute; padding: 4%; }
.vert i { position: absolute; border-radius: 3px; }
.vert i.s { background: #fff; } .vert i.c { background: #9de0cf; }

/* brand places */
.th .bg { inset: 0; }
.lt { left: 8%; bottom: 16%; display: flex; flex-direction: column; background: #fff; color: #16131f; font-size: 12px; font-weight: 800; padding: 5px 10px 5px 14px; border-radius: 6px; }
.lt span { position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: #7a5cff; border-radius: 6px 0 0 6px; }
.lt small { font-weight: 500; color: var(--ink-3); font-size: 9.5px; }
.t-op { left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 17px; font-weight: 900; letter-spacing: .1em; }
.t-end { left: 50%; top: 50%; transform: translate(-50%, -50%); color: #fff; font-size: 14px; text-align: center; }
.t-end small { display: block; color: #b9a6ff; font-size: 10px; font-weight: 500; }
.wm-dot { right: 8%; bottom: 10%; width: 12px; height: 12px; border-radius: 30%; background: #fff; opacity: .85; }

/* ----- Spotlight groups ----- */
.cat-group.spot { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.cat-group.spot.flip .spot-visual { order: 2; }
.spot-visual { position: relative; aspect-ratio: 4 / 3; border-radius: 22px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(43,31,107,.55); }
.spot-visual > * { position: absolute; }
.spot-list { display: grid; gap: 2px; }
.spot-row { padding: 11px 0; border-bottom: 1px solid var(--line); }
.spot-row:last-child { border-bottom: 0; }
.spot-row > div { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.spot-row b { font-size: 15.5px; }
.spot-row small { display: block; color: var(--ink-2); font-size: 14px; margin-top: 2px; }

.sp-chip { background: rgba(255,255,255,.95); color: var(--ink); font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); white-space: nowrap; z-index: 4; }
.sp-chip.dark { background: #16131f; color: #fff; font-family: ui-monospace, Menlo, monospace; }
.sp-loupe { width: 34%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 4px solid #fff; z-index: 3; box-shadow: 0 16px 30px -10px rgba(0,0,0,.5);
  background: repeating-linear-gradient(0deg, transparent 0 13px, rgba(0,0,0,.1) 13px 14px), repeating-linear-gradient(90deg, transparent 0 13px, rgba(0,0,0,.1) 13px 14px), linear-gradient(135deg, #fff 0 34%, #d9cfff 34% 60%, #7a5cff 60%); }
.sp-loupe .cross { position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; transform: translate(-50%, -50%); border: 2px solid #ff4d6a; }
.sp-x { color: var(--ink-3); padding: 0 4px; }
.sp-qa { display: flex; gap: 8px; z-index: 3; }
.sp-qa-shot { width: 120px; height: 84px; background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 14px 28px -10px rgba(0,0,0,.55); border: 2px solid #fff; }
.sp-qa-btns { display: flex; flex-direction: column; gap: 4px; }
.sp-qa-btns span { background: rgba(22,19,31,.9); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; }
.sp-qa-btns span.on { background: var(--brand); }
.sp-abs { z-index: 2; }
.sp-card { background: #fff; border-radius: 14px; padding: 16px 18px; box-shadow: 0 24px 50px -18px rgba(0,0,0,.5); z-index: 2; }
.sp-card > small { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: .08em; color: var(--brand); margin-bottom: 8px; }
.sp-pixtext { font: 600 13px ui-monospace, Menlo, monospace; color: #16131f; filter: blur(.6px); image-rendering: pixelated; background: #f3f0f8; padding: 10px; border-radius: 8px; }
.sp-mono { font: 500 13px ui-monospace, Menlo, monospace; color: #16131f; padding: 10px; border: 1px solid var(--line); border-radius: 8px; }
.caret { display: inline-block; width: 2px; height: 14px; background: var(--brand); vertical-align: middle; animation: blink 1s steps(1) infinite; }
.sp-arrow { color: #fff; font-size: 30px; z-index: 3; }
.sp-panel { background: #1b1726; color: #fff; border-radius: 16px; padding: 16px 18px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); font-size: 12.5px; z-index: 2; }
.sp-panel.light { background: #fff; color: var(--ink); }
.sp-cam { height: 86px; border-radius: 10px; margin-bottom: 8px; background: radial-gradient(circle at 50% 40%, #f3c9a7 0 13%, transparent 13.5%), radial-gradient(ellipse 22% 34% at 50% 100%, #3b3355 0 99%, transparent 100%), linear-gradient(160deg, #cdbfff, #8e78f0); }
.sp-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 7px 0; border-top: 1px solid rgba(127,120,150,.2); }
.sp-row span { opacity: .8; }
.sp-row b { font-weight: 600; }
.tog { width: 30px; height: 18px; border-radius: 999px; background: #4b4560; position: relative; }
.sp-panel.light .tog { background: #d9d4e4; }
.tog::after { content: ""; position: absolute; left: 2px; top: 2px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.tog.on { background: var(--brand) !important; } .tog.on::after { left: 14px; }
.sl { flex: 1; height: 4px; border-radius: 2px; background: linear-gradient(90deg, var(--brand) var(--v), #e2ddeb var(--v)); max-width: 46%; }
.sp-rec { margin-top: 10px; text-align: center; background: #ff4d4d; border-radius: 10px; padding: 8px; font-weight: 700; }
.sp-readout { margin-top: 10px; background: var(--brand-soft); color: var(--brand); border-radius: 8px; padding: 8px 10px; }
.sp-tl { background: #15121f; border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 10px; justify-content: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sp-lane { display: grid; grid-template-columns: 62px 1fr; align-items: center; gap: 8px; color: #b5afc6; font-size: 11.5px; font-weight: 600; }
.sp-lane > div { height: 30px; background: #1f1b2c; border-radius: 6px; display: flex; align-items: center; padding: 0 4px; }
.sp-lane > div > i { display: block; height: 70%; border-radius: 4px; }
.wave { gap: 2px; }
.wave i { flex: 1; background: #7a5cff; border-radius: 1px; }
.wave.alt i { background: #3a8c7e; } .wave.dim i { background: #e7a84b; }
.sp-badges { display: flex; gap: 6px; justify-content: flex-end; }
.sp-badges span { font-size: 10px; font-weight: 800; letter-spacing: .06em; color: #b5afc6; background: #2a2539; padding: 3px 8px; border-radius: 5px; }
.sp-badges span.on { background: #e7a84b; color: #16131f; }
.sp-read { padding: 14px 20px; display: flex; flex-direction: column; justify-content: center; height: 100%; }
.sp-read p { color: #fff; font-size: clamp(14px, 2vw, 22px); font-weight: 700; text-align: center; line-height: 1.6; }
.sp-scroll { animation: tall 8s ease-in-out infinite alternate; }
.sp-scroll.slow { animation-duration: 10s; }
.sp-target { border-color: var(--brand) !important; position: relative; }
.sp-stuck { display: block; width: 34%; margin: -30px 0 0 34%; }
.sp-tracked { outline: 2px dashed #ff4d6a; outline-offset: 3px; }
.sp-lib { background: #15121f; border-radius: 14px; padding: 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sp-tabs { display: flex; gap: 4px; margin-bottom: 10px; }
.sp-tabs span { font-size: 11px; font-weight: 600; color: #b5afc6; padding: 4px 9px; border-radius: 6px; }
.sp-tabs span.on { background: #2a2539; color: #fff; }
.sp-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; height: calc(100% - 36px); }
.sp-tiles div { position: relative; border-radius: 8px; background: linear-gradient(135deg, #2c2547, #4b3c8f 55%, #8a6fd8); overflow: hidden; }
.sp-tiles .t { position: absolute; font-size: 14px; }
.sp-tiles .t-lower-third { font-size: 10px; }
.sp-legend { position: absolute; right: 18px; top: 14px; font-size: 11px; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.sp-legend i { width: 9px; height: 9px; border-radius: 50%; background: #ff4d6a; }
.sp-actions { display: flex; gap: 6px; margin-top: 12px; }
.sp-actions span { font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 7px; background: #f0edf5; color: var(--ink); }
.sp-actions span.on { background: var(--brand); color: #fff; }
.sp-chap { display: flex; gap: 14px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.sp-chap b { font-family: ui-monospace, Menlo, monospace; color: var(--brand); width: 38px; }
.sp-copy { margin-top: 10px; text-align: center; background: #ff0033; color: #fff; font-weight: 700; font-size: 13px; padding: 8px; border-radius: 10px; }
.sp-post { background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 24px 50px -16px rgba(0,0,0,.55); font-size: 13px; z-index: 2; }
.sp-post .row { display: flex; gap: 8px; align-items: center; margin-bottom: 8px; }
.sp-post .av { width: 28px; height: 28px; border-radius: 50%; background: linear-gradient(135deg, #7a5cff, #5b7cfa); }
.sp-post small { display: block; color: var(--ink-3); font-size: 11.5px; }
.sp-post .src { margin-top: 8px; }
.sp-passage { margin: 10px 0; font-size: 13px; font-weight: 600; }
.sp-passage mark { background: #fff2b8; padding: 2px 4px; border-radius: 3px; }
.sp-video { border-radius: 14px; background: linear-gradient(135deg, #2c2547, #4b3c8f 55%, #8a6fd8); box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sp-corner { position: absolute; width: 16px; height: 16px; border-radius: 50%; border: 2px dashed rgba(255,255,255,.5); }
.sp-corner.tl { left: 14px; top: 14px; } .sp-corner.tr { right: 14px; top: 14px; } .sp-corner.bl { left: 14px; bottom: 14px; }
.sp-corner.br { right: 14px; bottom: 14px; width: auto; height: auto; border: 0; display: flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; font-size: 14px; opacity: .85; }
.sp-corner.br i { width: 18px; height: 18px; border-radius: 30%; background: #fff; }
.sp-file { background: #fff; border-radius: 16px; padding: 18px 22px; text-align: center; box-shadow: 0 30px 60px -20px rgba(0,0,0,.6); }
.sp-file i { display: block; width: 54px; height: 64px; margin: 0 auto 10px; border-radius: 8px; background: linear-gradient(135deg, #7a5cff, #5b7cfa); clip-path: polygon(0 0, 72% 0, 100% 24%, 100% 100%, 0 100%); }
.sp-file b { display: block; font-size: 14px; } .sp-file small { color: var(--ink-3); font-size: 12px; }
.sp-btns { display: flex; gap: 8px; }
.sp-btns span { background: rgba(255,255,255,.9); color: var(--ink); font-size: 12.5px; font-weight: 600; padding: 6px 14px; border-radius: 8px; }
.sp-btns span.on { background: #16131f; color: #fff; }
.sp-titlebar { display: flex; align-items: center; gap: 6px; background: #1b1726; color: #fff; border-radius: 10px; padding: 10px 14px; font-size: 12px; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); }
.sp-titlebar b { width: 10px; height: 10px; border-radius: 50%; background: #ff5f57; }
.sp-titlebar b:nth-child(2) { background: #febc2e; } .sp-titlebar b:nth-child(3) { background: #28c840; }
.sp-titlebar span { margin-left: 8px; opacity: .7; }
.sp-titlebar em { margin-left: auto; font-style: normal; font-weight: 600; color: #c8b8ff; }

/* ----- Key lists ----- */
.key-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 18px 24px; }
.key-row { display: flex; align-items: center; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.key-cap { flex: none; min-width: 64px; text-align: center; font: 700 14px Inter, sans-serif; padding: 9px 10px; border-radius: 10px; background: linear-gradient(#fff, #f3f0f8); border: 1px solid var(--line); border-bottom-width: 3px; color: var(--ink); white-space: nowrap; }
.key-row b { display: block; font-size: 15px; }
.key-row small { color: var(--ink-2); font-size: 13.5px; }

/* Detail rows inside the inventory get a panel, so they read as a pause between lists */
.fp-split.band { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px 44px; margin: 34px 0 10px; }
.fp-split.band + .cat-group { border-top: 0; }
.fp-split.band .spec { box-shadow: none; background: var(--bg); }

@media (max-width: 1100px) { .cat-grid.thumbs { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 960px) {
  .cat-group.spot { grid-template-columns: 1fr; gap: 24px; }
  .cat-group.spot.flip .spot-visual { order: 0; }
  .key-list { grid-template-columns: 1fr; }
  .fp-split.band { padding: 28px 22px; }
}
@media (max-width: 800px) { .cat-grid.thumbs { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .cat-grid.thumbs { grid-template-columns: 1fr 1fr; } .cat-item.has-th .cat-body { padding: 10px 12px 12px; } }

.th .handle { position: absolute; width: 8px; height: 8px; background: #fff; border: 2px solid var(--brand); border-radius: 2px; }

/* fixes and the prose-section spotlights */
.th > i.pic { background: #fff repeating-linear-gradient(180deg, transparent 0 6px, #ebe7f2 6px 8px); }
.th i.pic:not(.th > i.pic) { background: linear-gradient(135deg, #9fd3ff, #c9bdfd); box-shadow: none; }
.art-card .pic { min-height: 22px; }
.quote-card { font-size: 12.5px; inset: 18% 10%; }
.th-ts .mw::after { content: ""; position: absolute; left: 8%; right: 8%; top: 40%; height: 46%; border-radius: 4px; background: linear-gradient(135deg, #5b7cfa, #c9bdfd 60%, #ffd2b0); }
.th-ts .ts { z-index: 2; top: 62%; }
.key-cap.none { color: var(--brand); background: var(--brand-soft); border-color: #e2d9ff; }
.fp-split.band .spot-visual { width: 100%; }

.sp-frame { inset: 10% 12%; border-radius: 14px; background: linear-gradient(135deg, #ffb88c, #ff8fb8 45%, #a48bff); padding: 9%; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.sp-frame-pic { position: relative; height: 100%; background: #fff; border-radius: 12px; padding: 7%; outline: 8px solid rgba(255,255,255,.4); box-shadow: 0 20px 40px -12px rgba(0,0,0,.45); }
.sp-chat { inset: 10% 14% 10% 22%; background: #fff; border-radius: 14px; padding: 14px 16px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); font-size: 12.5px; }
.sp-chat-h { font-weight: 700; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 10px; }
.sp-msg { display: flex; gap: 10px; margin-bottom: 12px; }
.sp-msg .av { width: 26px; height: 26px; border-radius: 8px; background: #e7a84b; flex: none; }
.sp-msg .av.me { background: #7a5cff; }
.sp-msg p { color: var(--ink-2); }
.sp-drop { width: 150px; height: 90px; border: 2px dashed var(--brand); border-radius: 10px; padding: 10px; margin-top: 6px; background: var(--brand-soft); }
.sp-dragging { position: absolute; left: 6%; bottom: 14%; transform: rotate(-6deg); z-index: 3; }
.sp-photo { inset: 8%; border-radius: 14px; background: linear-gradient(135deg, #5b7cfa, #c9bdfd 55%, #ffd2b0); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.spot-visual .ts { transform: translate(-50%, -50%); font-size: 18px; z-index: 2; }
.sp-two { inset: 10% 6%; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sp-two > div { display: flex; flex-direction: column; gap: 8px; }
.sp-lab { align-self: flex-start; font-size: 12px; font-weight: 700; color: #fff; background: rgba(0,0,0,.3); padding: 4px 10px; border-radius: 999px; }
.sp-lab.rec::before { content: "● "; color: #ff4d4d; }
.sp-mini { position: relative; flex: 1; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
.sp-skel { padding: 14px; }
.sp-mini-prompter { position: absolute; left: 10%; right: 10%; top: 38%; background: #000; border-radius: 8px; padding: 8px; z-index: 2; }
.sp-mini-prompter p { color: #fff; font-size: 11px; font-weight: 700; text-align: center; }
.sp-mini-qa { position: absolute; left: 8%; bottom: 10%; width: 34%; height: 26%; border-radius: 6px; background: #f3f0f8; border: 2px solid #fff; box-shadow: 0 6px 14px -6px rgba(0,0,0,.5); }
.sp-mini-recbar { position: absolute; right: 8%; bottom: 10%; background: #16131f; color: #fff; font: 600 10px ui-monospace, Menlo, monospace; padding: 4px 8px; border-radius: 999px; }
.sp-big-palette { transform: translate(-50%, -50%) scale(1.25) !important; }
.sp-rows { padding: 14px; display: grid; gap: 10px; }
.sp-rows div { display: flex; align-items: center; gap: 8px; }
.sp-rows .av { width: 18px; height: 18px; border-radius: 50%; background: #e2ddeb; flex: none; }
.sp-rows i { width: 22%; height: 6px; border-radius: 3px; background: #ebe7f2; }
.sp-rows b { font-size: 10.5px; font-weight: 600; color: var(--ink-2); }
.sp-rows b.gone { width: 50%; height: 10px; border-radius: 3px; background: repeating-conic-gradient(#b9b0cc 0 25%, #e3ddee 0 50%) 0 0 / 8px 8px; }
.sp-strips { left: 8%; top: 14%; width: 30%; display: grid; gap: 8px; }
.sp-strips div { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 10px 20px -10px rgba(0,0,0,.5); }
.sp-strips div:nth-child(2) { transform: translateX(10px); } .sp-strips div:nth-child(3) { transform: translateX(20px); }
.sp-stitched { right: 8%; top: 10%; bottom: 10%; width: 32%; background: #fff; border-radius: 10px; padding: 12px; box-shadow: 0 20px 40px -14px rgba(0,0,0,.5); }
@media (max-width: 640px) {
  /* Spotlights are drawn for a 4:3 box; on a phone give them room so panels aren't clipped. */
  .spot-visual { aspect-ratio: auto; min-height: 380px; }
  .sp-panel { width: 86% !important; }
  .sp-chat { inset: 8% 6%; }
}

/* The lede takes exactly the headline's width: the wrapper is sized by the h1,
   and the paragraph's zero width stops it from widening the wrapper itself. */
.hero-head { display: grid; width: fit-content; max-width: 100%; margin: 0 auto; }
.hero-head .lede { width: 0; min-width: 100%; max-width: none; margin: 0 0 32px; }

/* Single monthly plan */
.one-plan { display: grid; grid-template-columns: 1.4fr 1fr; max-width: 900px; margin: 56px auto 0; text-align: left; background: var(--surface); border: 2px solid var(--brand); border-radius: 28px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(122,92,255,.55); }
.op-main { padding: 36px; }
.op-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.op-head h3 { font-size: 22px; letter-spacing: -0.02em; }
.op-head .for { color: var(--ink-3); font-size: 14.5px; margin-top: 4px; }
.one-plan .price strong { font-size: 64px; }
.one-plan ul { list-style: none; display: grid; gap: 11px; margin: 4px 0 28px; font-size: 15px; color: var(--ink-2); }
.one-plan li { display: flex; gap: 10px; }
.one-plan li::before { content: "✓"; color: var(--brand); font-weight: 800; }
.op-ctas { display: flex; gap: 10px; flex-wrap: wrap; }
.op-team { background: var(--dark); color: #fff; padding: 36px; display: flex; flex-direction: column; gap: 12px; }
.op-team h4 { font-size: 19px; letter-spacing: -0.02em; }
.op-team p { color: #b5afc6; font-size: 15px; }
.op-team .btn { margin-top: auto; align-self: flex-start; background: #fff; color: var(--ink); }
/* a pint, drawn: the glass tapers, the beer fills it, the foam sits on top */
.pint { position: relative; width: 46px; height: 64px; flex: none; clip-path: polygon(0 0, 100% 0, 88% 100%, 12% 100%); background: rgba(122,92,255,.08); border-radius: 3px; }
.pint .beer { position: absolute; left: 0; right: 0; bottom: 0; height: 78%; background: linear-gradient(180deg, #f7c548, #e59a1c); }
.pint .foam { position: absolute; left: 0; right: 0; top: 6%; height: 18%; z-index: 1; background: #fffaf0; border-radius: 40% 40% 0 0; }
@media (max-width: 760px) { .one-plan { grid-template-columns: 1fr; } .op-main, .op-team { padding: 28px 22px; } }

.op-team-list { list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: #ddd8ea; margin-bottom: 20px; }
.op-team-list li { display: flex; gap: 10px; }
.op-team-list li::before { content: "✓"; color: #b29dff; font-weight: 800; }

/* Use cases menu: five columns, text only */
.mega-inner.uc { grid-template-columns: 1fr; }
.mega-inner.uc .mega-cols { grid-template-columns: repeat(5, 1fr); }
.mi.plain { padding: 8px 10px; }
.mi.plain b { font-size: 14px; }
.sheet .mega-inner.uc .mega-cols, .sheet .mega-cols { grid-template-columns: 1fr; }
@media (max-width: 1120px) { .mega-inner.uc .mega-cols { grid-template-columns: repeat(3, 1fr); } }

/* Use-case pages */
.uc-how { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.uc-steps { list-style: none; display: grid; gap: 14px; }
.uc-step { display: flex; gap: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 24px; }
.uc-n { flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--brand-soft); color: var(--brand); font-family: "Instrument Serif", serif; font-style: italic; font-size: 26px; display: grid; place-items: center; }
.uc-step h3 { font-size: 18px; letter-spacing: -0.02em; margin-bottom: 4px; }
.uc-step p { color: var(--ink-2); font-size: 15px; }
.uc-step a { display: inline-block; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--brand); }
.uc-more { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 28px; font-size: 14px; color: var(--ink-3); }
.uc-more a { font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 6px 12px; border-radius: 999px; }
.uc-more a:hover { color: var(--brand); border-color: #d9cfff; }
@media (max-width: 960px) { .uc-how { grid-template-columns: 1fr; gap: 24px; } }

/* Use-case long form */
.uc-problem { max-width: 860px; margin: 0 auto; text-align: center; padding: 40px 44px; background: var(--dark); color: #fff; border-radius: 28px; }
.uc-problem h2 { font-size: clamp(26px, 3.2vw, 38px); letter-spacing: -0.035em; line-height: 1.1; margin-bottom: 14px; }
.uc-problem p { color: #c9c3d8; font-size: 17px; max-width: 640px; margin: 0 auto; }
.uc-block { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding: 44px 0; border-top: 1px solid var(--line); }
.uc-block:first-of-type { border-top: 0; }
.uc-block.flip .spot-visual { order: 2; }
.uc-block h3 { font-size: clamp(24px, 2.6vw, 30px); letter-spacing: -0.03em; line-height: 1.12; margin: 14px 0 12px; }
.uc-block p { color: var(--ink-2); font-size: 16.5px; }
.uc-feat { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--brand); background: var(--brand-soft); padding: 5px 12px 5px 6px; border-radius: 999px; }
.uc-feat-ic { width: 22px; height: 22px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.uc-feat-ic svg { width: 13px; height: 13px; }
.uc-scenario { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 40px 44px; }
.uc-scenario ol { list-style: none; position: relative; display: grid; gap: 4px; }
.uc-scenario ol::before { content: ""; position: absolute; left: 7px; top: 10px; bottom: 10px; width: 2px; background: #e2d9ff; }
.uc-scenario li { position: relative; padding: 10px 0 10px 32px; }
.uc-scenario li::before { content: ""; position: absolute; left: 0; top: 15px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--brand); }
.uc-scenario li span { display: block; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); }
.uc-scenario li p { color: var(--ink); font-size: 16px; margin-top: 2px; }
.uc-faq { margin: 18px 0 0; max-width: 860px; }
@media (max-width: 960px) {
  .uc-block, .uc-scenario { grid-template-columns: 1fr; gap: 24px; }
  .uc-block.flip .spot-visual { order: 0; }
  .uc-problem, .uc-scenario { padding: 28px 22px; }
}

.uc-roles { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin-top: 22px; }
.uc-roles small { font-size: 13px; color: var(--ink-3); margin-right: 4px; }
.uc-roles span { font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
.uc-setup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.uc-setup .h2 { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 22px; }
.uc-setup .spec-row span:first-child { white-space: nowrap; }
.uc-tips { list-style: none; counter-reset: tip; display: grid; gap: 12px; }
.uc-tips li { counter-increment: tip; position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px 18px 62px; }
.uc-tips li::before { content: counter(tip); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-weight: 800; font-size: 14px; display: grid; place-items: center; }
.uc-tips b { font-size: 16px; letter-spacing: -0.01em; }
.uc-tips p { color: var(--ink-2); font-size: 14.5px; margin-top: 3px; }
@media (max-width: 960px) { .uc-setup { grid-template-columns: 1fr; gap: 36px; } .uc-setup .spec-row span:first-child { white-space: normal; } }

/* Footer sign-up */
footer .signup { display: grid; grid-template-columns: 1fr auto; gap: 12px 32px; align-items: center; padding-bottom: 28px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
footer .signup b { display: block; color: var(--ink); font-size: 16px; }
footer .signup small { font-size: 14px; }
footer .signup form { display: flex; gap: 8px; }
footer .signup input { height: 46px; width: 260px; max-width: 100%; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); padding: 0 18px; font: inherit; color: var(--ink); }
footer .signup input:focus { outline: 2px solid var(--brand-bright); outline-offset: 1px; }
footer .signup-note { grid-column: 1 / -1; font-size: 13px; color: var(--brand); }
@media (max-width: 760px) { footer .signup { grid-template-columns: 1fr; } footer .signup form { flex-direction: column; } footer .signup input { width: 100%; } }

/* About */
.about-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 56px; align-items: start; }
.about-text p { font-size: 18px; color: var(--ink-2); margin-bottom: 16px; }
.about-text p:last-child { color: var(--ink); font-weight: 600; }
.pint-story { display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; background: var(--dark); color: #fff; border-radius: 28px; padding: 48px; }
.pint-story .h2 { color: #fff; margin-bottom: 14px; max-width: 20ch; }
.pint-story .h2 .serif { color: #c8b8ff; }
.pint-story p { color: #c9c3d8; font-size: 17px; max-width: 620px; }
.pint.big { width: 120px; height: 168px; }
@media (max-width: 860px) { .about-story, .pint-story { grid-template-columns: 1fr; gap: 24px; } .pint-story { padding: 32px 24px; } }

/* Changelog */
.cl { max-width: 860px; display: grid; gap: 16px; }
.cl-rel { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px 32px; }
.cl-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px; }
.cl-head h2 { font-size: 24px; letter-spacing: -0.03em; }
.cl time { color: var(--ink-3); font-size: 14px; white-space: nowrap; }
.cl-sec { margin-top: 14px; }
.cl-tag { display: inline-block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; background: var(--bg-alt); color: var(--ink-2); }
.cl-tag.added { background: #e3f7ec; color: #1b7a47; } .cl-tag.changed { background: var(--brand-soft); color: var(--brand); } .cl-tag.fixed { background: #fff1dc; color: #9a5b00; }
.cl-sec ul { list-style: none; display: grid; gap: 10px; }
.cl-sec li { position: relative; padding-left: 18px; color: var(--ink-2); font-size: 15.5px; }
.cl-sec li::before { content: ""; position: absolute; left: 2px; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--brand-bright); }
.cl-sec li b { color: var(--ink); }
.cl-old { padding: 0; }
.cl-old summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; padding: 18px 32px; font-weight: 700; font-size: 17px; }
.cl-old summary::-webkit-details-marker { display: none; }
.cl-old summary::after { content: "+"; margin-left: 14px; color: var(--ink-3); font-weight: 400; }
.cl-old[open] summary::after { content: "–"; }
.cl-old summary span { flex: 1; }
.cl-old[open] { padding-bottom: 24px; }
.cl-old .cl-sec { padding: 0 32px; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.contact-card h3 { font-size: 20px; letter-spacing: -0.02em; margin-bottom: 12px; }
.contact-card p { color: var(--ink-2); }
.contact-card a { color: var(--brand); font-weight: 600; }
@media (max-width: 960px) { .contact-grid { grid-template-columns: 1fr; } }

/* "More" dropdown: a small panel under its own button, not full width */
.drop-wrap { position: relative; display: inline-flex; }
.mega.dropdown { left: -12px; right: auto; top: calc(100% + 22px); width: 300px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 30px 70px -24px rgba(22,19,31,.35); }
.mega.dropdown::before { content: ""; position: absolute; left: 0; right: 0; top: -24px; height: 24px; }

/* Legal pages */
.legal-hero h1 { max-width: none; }
.legal-date { color: var(--ink-3); font-size: 14px; margin-top: -14px; }
.legal { display: grid; grid-template-columns: 240px 1fr; gap: 56px; align-items: start; }
.legal-toc { position: sticky; top: 92px; font-size: 14px; }
.legal-toc b { display: block; margin-bottom: 10px; }
.legal-toc ol { list-style: none; display: grid; gap: 7px; counter-reset: t; }
.legal-toc li { counter-increment: t; }
.legal-toc li a { color: var(--ink-2); }
.legal-toc li a::before { content: counter(t) ". "; color: var(--ink-3); }
.legal-toc a:hover { color: var(--brand); }
.legal-links { display: grid; gap: 6px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.legal-links a { color: var(--brand); font-weight: 600; }
.legal-body { max-width: 760px; }
.legal-body section { padding: 8px 0 26px; scroll-margin-top: 90px; }
.legal-body h2 { display: flex; align-items: center; gap: 12px; font-size: 22px; letter-spacing: -0.02em; margin-bottom: 12px; }
.legal-body h2 span { width: 30px; height: 30px; flex: none; border-radius: 9px; background: var(--brand-soft); color: var(--brand); font-size: 14px; display: grid; place-items: center; }
.legal-body p, .legal-body li { color: var(--ink-2); font-size: 16px; line-height: 1.65; }
.legal-body p + p { margin-top: 12px; }
.legal-body ul { margin: 10px 0 0 20px; display: grid; gap: 6px; }
.legal-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-body b { color: var(--ink); }
.legal-table { width: 100%; border-collapse: collapse; margin: 6px 0 14px; font-size: 14.5px; }
.legal-table th, .legal-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.legal-table thead th { color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.legal-table.company th { width: 34%; color: var(--ink); }
.legal-form { margin-top: 12px; padding: 16px 18px; background: var(--surface); border: 1px dashed #d8d1c6; border-radius: 14px; font-size: 15px; line-height: 1.8; color: var(--ink-2); }
mark.ph { background: #fff2b8; color: #6b4e00; padding: 1px 5px; border-radius: 5px; font-weight: 600; }
.legal-draft { background: #fff7db; border: 1px solid #f1d98a; color: #6b4e00; border-radius: 14px; padding: 14px 18px; margin-bottom: 22px; font-size: 14.5px; }
footer .legal-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; }
footer .legal-row nav { display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 860px) { .legal { grid-template-columns: 1fr; gap: 24px; } .legal-toc { position: static; } }

/* Pricing and checkout legal lines */
.op-legal { margin-top: 14px; font-size: 13px; color: var(--ink-3); }
.op-legal a, .co-waiver a { color: var(--brand); text-decoration: underline; }
.co-renew { font-size: 13.5px; color: var(--ink-2); margin-top: 10px; }
.co-waiver { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: 13.5px; color: var(--ink-2); line-height: 1.45; cursor: pointer; }
.co-waiver input { margin-top: 2px; width: 16px; height: 16px; flex: none; accent-color: var(--brand); }
#co-continue:disabled { opacity: .45; cursor: not-allowed; filter: grayscale(.4); }

/* "hidden" must win over display rules like .line { display: flex } */
[hidden] { display: none !important; }

/* ---------- CMS (cms_build.py) ---------- */
/* A drawing replaced with a picture in the visual editor. The drawing's own
   class still sets the box, so the picture takes its size and shape. */
.cms-media > .cms-img { display: block; width: 100%; height: auto; }
.th.cms-media > .cms-img, .spot-visual.cms-media > .cms-img, .mega-art.cms-media > .cms-img { position: absolute; inset: 0; height: 100%; }
.mega-art.cms-media { position: relative; height: 56px; border-radius: 12px; overflow: hidden; }

/* Blog */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.blog-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .2s, box-shadow .2s; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.blog-card-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.blog-cover-none { background: linear-gradient(135deg, #5966f2, #8c40d9 60%, #ff7a59); }
.blog-card-body { display: grid; gap: 8px; padding: 20px 22px 24px; }
.blog-card-body small { color: var(--ink-3); font-size: 13px; }
.blog-card-body b { font-size: 19px; line-height: 1.25; letter-spacing: -0.015em; }
.blog-card-body span { color: var(--ink-2); font-size: 15px; }
.blog-empty { text-align: center; color: var(--ink-3); padding: 40px 0 80px; }
.blog-head h1 { max-width: 20ch; font-size: clamp(36px, 5vw, 60px); }
.blog-meta { color: var(--ink-3); font-size: 14px; margin-top: -14px; }
.blog-cover { max-width: 980px; margin-bottom: 40px; }
.blog-cover .blog-hero-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.blog-cover .blog-cover-none { display: none; }
.blog-back { max-width: 720px; padding: 32px 0 80px; }

/* Long-form text from the CMS: posts and pages */
.prose { max-width: 720px; margin: 0 auto; padding-bottom: 40px; font-size: 18px; line-height: 1.7; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); margin-top: 1.6em; }
.prose h3 { font-size: 22px; line-height: 1.3; letter-spacing: -0.015em; color: var(--ink); margin-top: 1.4em; }
.prose a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: 20px; color: var(--ink); font-size: 1.08em; }
.prose pre { background: var(--dark); color: #eae6f5; padding: 18px 20px; border-radius: 12px; font: 14px/1.6 ui-monospace, Menlo, monospace; overflow-x: auto; }
.prose code { font: .9em ui-monospace, Menlo, monospace; background: var(--bg-alt); padding: 1px 6px; border-radius: 5px; }
.prose pre code { background: none; padding: 0; }
.prose img { border-radius: 12px; height: auto; }
.prose figure { margin-top: 1.6em; }
.prose figcaption { text-align: center; color: var(--ink-3); font-size: 14px; margin-top: 10px; }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
@media (max-width: 960px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .blog-grid { grid-template-columns: 1fr; } .prose { font-size: 17px; } }
.t-explainer-headline { font-size: 16px; font-weight: 900; color: #16131f; background: #f4f1ea; padding: 8px 12px; border-radius: 8px; }
.t-explainer-headline .hl { background: #c6f432; border-radius: 6px; padding: 0 4px; }
