/* Static, overlap-free Montserrat Black for outlined type: the variable font's overlapping contours show through -webkit-text-stroke. */
@font-face { font-family: "Montserrat Outline"; src: url("/assets/fonts/montserrat-black.woff2") format("woff2"); font-weight: 900; font-display: swap; }
/* LaunchFrame storefront. Broadcast control-room look: ink, chroma blue, tally red. No inline styles (strict CSP). */
:root {
  --ink: #06081a; --ink-2: #0b0f2a; --ink-3: #121740; --line: rgba(255, 255, 255, .09); --line-2: rgba(255, 255, 255, .16);
  --text: #eef1ff; --muted: #9aa3c7; --blue: #3d5cff; --blue-2: #7c8fff; --pink: #ff4fb3; --red: #ff3b4e; --lime: #c9ff45;
  --r: 18px; --r-sm: 10px; --shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  --display: "Archivo", system-ui, sans-serif; --mono: ui-monospace, "SF Mono", Menlo, monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; background: var(--ink); color: var(--text);
  font: 400 17px/1.6 var(--display); font-stretch: 100%;
  background-image:
    radial-gradient(900px 600px at 85% -10%, rgba(61, 92, 255, .22), transparent 60%),
    radial-gradient(700px 500px at -10% 30%, rgba(255, 79, 179, .10), transparent 60%),
    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' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
  background-attachment: fixed;
}
a { color: var(--blue-2); text-underline-offset: 3px; }
a:hover { color: #fff; }
img, svg, video { max-width: 100%; }
:focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(1240px, 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.measure { max-width: 68ch; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--lime); color: #000; padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
kbd { font: 600 12px var(--mono); background: rgba(255, 255, 255, .08); border: 1px solid var(--line-2); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; }

h1, h2, h3 { font-family: var(--display); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(42px, 6.2vw, 84px); font-weight: 900; font-stretch: 112%; }
h2 { font-size: clamp(30px, 3.6vw, 50px); font-weight: 850; font-stretch: 108%; }
h3 { font-size: 21px; font-weight: 800; }
h1 em { font-style: normal; background: linear-gradient(100deg, var(--blue-2), var(--pink) 60%, #ffb36b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h-small { font-size: 20px; }
.lede { font-size: clamp(18px, 1.5vw, 21px); color: #c9cff0; max-width: 58ch; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 700 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-2); margin: 0 0 16px; }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.section-head h2 { margin: 0; }

/* ---------- buttons & forms ---------- */
.btn {
  --b: var(--blue); display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer;
  font: 800 16px/1 var(--display); letter-spacing: .01em; color: #fff; text-decoration: none; padding: 15px 22px; border-radius: 999px;
  background: linear-gradient(180deg, color-mix(in srgb, var(--b) 85%, #fff) , var(--b));
  box-shadow: 0 10px 30px -8px color-mix(in srgb, var(--b) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s;
}
.btn:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.08); box-shadow: 0 16px 40px -8px color-mix(in srgb, var(--b) 80%, transparent), inset 0 1px 0 rgba(255, 255, 255, .35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn:disabled { opacity: .6; cursor: progress; transform: none; }
.btn-lg { font-size: 18px; padding: 18px 28px; }
.btn-sm { font-size: 14px; padding: 10px 16px; }
.btn-ghost { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 22px; }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search] {
  width: 100%; font: 500 16px var(--display); color: var(--text); background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 13px 14px; transition: border-color .15s, box-shadow .15s;
}
input:focus { outline: none; border-color: var(--blue-2); box-shadow: 0 0 0 4px rgba(61, 92, 255, .25); }
label { font-weight: 700; font-size: 14px; }
.row { display: flex; gap: 10px; margin-top: 8px; }
.row input { flex: 1; min-width: 0; }
.hp { position: absolute; left: -5000px; width: 1px; height: 1px; opacity: 0; }
.form-result { margin-top: 10px; font-weight: 600; min-height: 1.2em; }
.form-result.error { color: #ff8a95; }
.subscribe { margin-top: 18px; }
.file-list { list-style: none; padding: 0; margin: 12px 0; display: grid; gap: 8px; }
.file-list a { display: flex; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: 12px; background: rgba(61, 92, 255, .14); border: 1px solid rgba(61, 92, 255, .4); color: #fff; text-decoration: none; font-weight: 700; }
.file-list a:hover { background: rgba(61, 92, 255, .25); }
.ticks { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 30px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--lime); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/70% no-repeat, linear-gradient(#000, #000); -webkit-mask-composite: xor; mask-composite: exclude; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a, .chips button { font: 700 14px var(--display); color: var(--text); text-decoration: none; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); cursor: pointer; }
.chips a:hover, .chips button:hover, .chips [aria-selected=true] { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ---------- header & footer ---------- */
.site-head { position: sticky; top: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.site-head::before { content: ""; position: absolute; inset: 0 calc(50% - 50vw); z-index: -1; background: rgba(6, 8, 26, .72); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); border-bottom: 1px solid var(--line); }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 900 22px/1 var(--display); font-stretch: 118%; letter-spacing: -.02em; color: #fff; text-decoration: none; }
.logo::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px rgba(255, 59, 78, .2), 0 0 16px var(--red); }
.site-head nav { display: flex; align-items: center; gap: 22px; }
.site-head nav a:not(.btn) { color: #cdd3f5; text-decoration: none; font-weight: 700; font-size: 15px; }
.site-head nav a:not(.btn):hover { color: #fff; }
@media (max-width: 720px) { .site-head nav a:not(.btn) { display: none; } }
.site-foot { display: grid; grid-template-columns: 1.3fr 2fr; gap: 30px; padding-block: 50px 40px; border-top: 1px solid var(--line); margin-top: 40px; }
.site-foot .logo { margin-bottom: 10px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 10px 22px; align-content: start; }
.site-foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.site-foot nav a:hover { color: #fff; }
.site-foot > p { grid-column: 1 / -1; margin: 0; }
@media (max-width: 720px) { .site-foot { grid-template-columns: 1fr; } }

/* ---------- monitor (16:9 program output) ---------- */
.monitor {
  position: relative; aspect-ratio: 16 / 9; container-type: inline-size; overflow: hidden; border-radius: 14px; isolation: isolate;
  background: #05060f; border: 1px solid var(--line-2);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, .02), var(--shadow);
}
.scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #0b0c12; }
.scene-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.scene::after { content: ""; position: absolute; inset: 0; background: radial-gradient(120% 90% at 50% 40%, transparent 55%, rgba(0, 0, 0, .35)); pointer-events: none; }
.monitor[data-foot=alpha] .scene { background: repeating-conic-gradient(#2a2e45 0 25%, #1c1f33 0 50%) 0 0 / 28px 28px; }
.monitor[data-foot=alpha] .scene-media, .monitor[data-foot=alpha] .scene::after { display: none; }
@keyframes drift { to { transform: translate(-12%, 10%) scale(1.15); } }
.safe { position: absolute; inset: 5% 5%; border: 1px dashed rgba(255, 255, 255, .45); opacity: 0; pointer-events: none; transition: opacity .2s; }
.safe::after { content: ""; position: absolute; inset: 5.5% 5.5%; border: 1px dashed rgba(255, 255, 255, .3); }
.show-safe .safe { opacity: 1; }
.hud { position: absolute; inset: 0 0 auto; display: flex; justify-content: space-between; padding: 2.2cqw 2.4cqw; font: 700 max(10px, 1.35cqw) var(--mono); color: rgba(255, 255, 255, .8); pointer-events: none; text-shadow: 0 1px 2px rgba(0, 0, 0, .6); }
.hud-pgm { display: inline-flex; align-items: center; gap: .6em; letter-spacing: .15em; }
.tally { display: inline-block; width: .7em; height: .7em; min-width: 8px; min-height: 8px; border-radius: 50%; background: #5a5f7a; }
.is-live .tally, .hero .eyebrow .tally { background: var(--red); box-shadow: 0 0 10px var(--red); animation: blink 1.6s steps(2, start) infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- live graphics (1920x1080 space; --u = 1/1920 of the monitor width) ---------- */
.g {
  --u: calc(100cqw / 1920); --primary: #fff; --secondary: #121419; --accent: #3d5cff; --op: .94;
  position: absolute; inset: 0; color: var(--primary); font-family: "Montserrat", Arial, sans-serif; line-height: 1.15; pointer-events: none;
}
.g-subscribe { --accent: #ff2d3d; }
.g-stat { --accent: #00d18f; }
.g.is-off { visibility: hidden; }
.g [data-anim=fade] { opacity: var(--p, 1); }
.g [data-anim=rise] { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 30 * var(--u))); }
.g [data-anim=grow-x] { transform: scaleX(var(--p, 1)); transform-origin: left center; }
.g [data-anim=grow-y] { transform: scaleY(var(--p, 1)); transform-origin: center; }
.g [data-anim=pop] { transform: scale(var(--p, 1)); transform-origin: center; }
.g [data-anim=pop-soft] { opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * 30 * var(--u))) scale(calc(1 - (1 - var(--p, 1)) * .08)); }
.g [data-anim=draw] { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 1)); }
.g .u { display: inline-block; white-space: pre; opacity: var(--p, 1); transform: translateY(calc((1 - var(--p, 1)) * var(--rise, 40) * var(--u))); filter: blur(calc((1 - min(var(--p, 1), 1)) * 7 * var(--u))); }
.g .bg { position: absolute; inset: 0; background: var(--secondary); opacity: calc(var(--p, 1) * 1.5); }
.g.no-bg .bg { display: none; }

/* Glide */
.gl { position: absolute; left: calc(150 * var(--u)); top: calc(800 * var(--u)); display: grid; justify-items: start; isolation: isolate; }
.gl-panel { position: absolute; inset: calc(-28 * var(--u)); z-index: -1; border-radius: calc(16 * var(--u)); background: var(--secondary); opacity: 0; }
.g.show-panel .gl-panel { opacity: var(--op); }
.gl-name { font-weight: 800; font-size: calc(76 * var(--u)); letter-spacing: -.01em; line-height: 1.05; --rise: 46; text-shadow: 0 calc(4 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .45); }
.gl-line { display: block; width: 42%; min-width: calc(40 * var(--u)); height: calc(8 * var(--u)); margin-top: calc(14 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--accent); }
.gl-title { margin-top: calc(16 * var(--u)); font-weight: 600; font-size: calc(32 * var(--u)); letter-spacing: .08em; opacity: .88; --rise: 24; text-shadow: 0 calc(3 * var(--u)) calc(24 * var(--u)) rgba(0, 0, 0, .45); }

/* Pill */
.pl { position: absolute; left: calc(150 * var(--u)); top: calc(820 * var(--u)); display: flex; flex-direction: column; align-items: flex-start; }
.pl-row { position: relative; display: inline-flex; align-items: center; gap: calc(22 * var(--u)); padding: calc(22 * var(--u)) calc(38 * var(--u)) calc(22 * var(--u)) calc(24 * var(--u)); isolation: isolate; }
.pl-bg { position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--secondary); opacity: var(--op); box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .35); }
.pl-dot { width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: var(--accent); flex: none; }
.pl-name { font-weight: 800; font-size: calc(52 * var(--u)); line-height: 1; letter-spacing: -.005em; --rise: 30; }
.pl-tag { position: relative; margin: calc(12 * var(--u)) 0 0 calc(40 * var(--u)); padding: calc(12 * var(--u)) calc(22 * var(--u)); isolation: isolate; }
.pl-tagbg { position: absolute; inset: 0; z-index: -1; border-radius: calc(12 * var(--u)); background: var(--accent); }
.pl-tagtx { display: block; font-weight: 600; font-size: calc(26 * var(--u)); letter-spacing: .09em; }

/* Headline */
.hl { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 calc(120 * var(--u)); }
.hl-kick { font-weight: 600; font-size: calc(30 * var(--u)); letter-spacing: .38em; color: var(--accent); --rise: 20; }
.hl-head { margin-top: calc(36 * var(--u)); font-weight: 800; font-size: calc(132 * var(--u)); line-height: 1; letter-spacing: -.02em; --rise: 70; }
.hl-swoosh { width: calc(380 * var(--u)); height: calc(10 * var(--u)); margin-top: calc(30 * var(--u)); border-radius: calc(5 * var(--u)); background: var(--accent); transform-origin: center !important; }
.hl-sub { margin-top: calc(34 * var(--u)); font-weight: 500; font-size: calc(42 * var(--u)); opacity: .82; --rise: 26; }

/* Countdown */
.cd-ring { position: absolute; left: calc(660 * var(--u)); top: calc(170 * var(--u)); width: calc(600 * var(--u)); height: calc(600 * var(--u)); transform: rotate(-90deg); overflow: visible; }
.cd-ring circle { fill: none; stroke-width: 15; }
.cd-track { stroke: var(--primary); opacity: .18; }
.g .cd-prog { stroke: var(--accent); stroke-linecap: round; stroke-dashoffset: calc(1 - var(--ring, 1) * var(--p, 1)); }
.cd-clock { position: absolute; left: 0; right: 0; top: calc(380 * var(--u)); text-align: center; font-weight: 800; font-size: calc(150 * var(--u)); line-height: 1.2; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.cd-label, .cd-live { position: absolute; left: 0; right: 0; top: calc(826 * var(--u)); text-align: center; font-weight: 600; font-size: calc(40 * var(--u)); letter-spacing: .42em; --rise: 20; }
.cd-live { color: var(--accent); opacity: 0; transform: scale(calc(.7 + .3 * var(--zero, 0))); }
.is-zero .cd-live { opacity: 1; }
.is-zero .cd-label { opacity: 0; }

/* Subscribe */
.sb { position: absolute; left: calc(960 * var(--u)); top: calc(900 * var(--u)); transform: translate(-50%, -50%); }
.sb-btn { position: relative; display: inline-flex; align-items: center; gap: calc(22 * var(--u)); height: calc(104 * var(--u)); padding: 0 calc(62 * var(--u)) 0 calc(44 * var(--u)); isolation: isolate; transform: scale(var(--dip, 1)); }
.sb-bg { position: absolute; inset: 0; z-index: -1; border-radius: calc(52 * var(--u)); background: var(--accent); transform-origin: center !important; box-shadow: 0 calc(16 * var(--u)) calc(44 * var(--u)) rgba(0, 0, 0, .35); }
.sb-done { background: var(--secondary); opacity: 0; transition: opacity .12s; }
.clicked .sb-done { opacity: 1; }
.sb-icon { position: relative; width: calc(40 * var(--u)); height: calc(40 * var(--u)); flex: none; }
.sb-icon svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.sb-play path { fill: var(--primary); }
.sb-check path { fill: none; stroke: var(--accent); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--check, 0)); opacity: 0; }
.clicked .sb-play { opacity: 0; }
.clicked .sb-check path { opacity: 1; }
.sb-tx { display: grid; font-weight: 800; font-size: calc(40 * var(--u)); letter-spacing: .12em; line-height: 1; }
.sb-a, .sb-b { grid-area: 1 / 1; }
.sb-b { opacity: 0; }
.clicked .sb-a { opacity: 0; }
.clicked .sb-b { opacity: 1; }
.sb-cursor { position: absolute; left: 68%; top: calc(50% + 18 * var(--u)); width: calc(38 * var(--u)); opacity: var(--co, 1); transform: translate(calc(var(--cx, 0) * var(--u)), calc(var(--cy, 0) * var(--u))); overflow: visible; filter: drop-shadow(0 calc(4 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, .5)); }
.sb-cursor path { fill: #fff; stroke: #111; stroke-width: 2.5; stroke-linejoin: round; }

/* Quote */
.qt { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 0 calc(260 * var(--u)); }
.qt-mark { display: block; height: calc(150 * var(--u)); font-weight: 800; font-size: calc(280 * var(--u)); line-height: .9; color: var(--accent); }
.qt-text { margin: 0; max-width: calc(1400 * var(--u)); font-weight: 600; font-size: calc(64 * var(--u)); line-height: 1.22; letter-spacing: -.005em; --rise: 36; }
.qt-author { margin-top: calc(56 * var(--u)); font-weight: 800; font-size: calc(32 * var(--u)); letter-spacing: .3em; color: var(--accent); --rise: 16; }

/* Callout */
.co-svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.co-svg line { stroke: var(--accent); stroke-width: 5; stroke-linecap: round; }
.co-dot, .co-pulse { position: absolute; left: calc(var(--tx, 760) * var(--u)); top: calc(var(--ty, 620) * var(--u)); border-radius: 50%; }
.co-dot { width: calc(22 * var(--u)); height: calc(22 * var(--u)); margin: calc(-11 * var(--u)) 0 0 calc(-11 * var(--u)); background: var(--accent); }
.co-pulse { width: calc(34 * var(--u)); height: calc(34 * var(--u)); margin: calc(-17 * var(--u)) 0 0 calc(-17 * var(--u)); border: calc(4 * var(--u)) solid var(--accent); animation: pulse 1.25s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .9; } to { transform: scale(2.6); opacity: 0; } }
.co-label { position: absolute; left: calc((var(--tx, 760) + 300) * var(--u)); top: calc((var(--ty, 620) - 230) * var(--u)); transform: translateY(-50%); display: inline-flex; align-items: center; padding: calc(20 * var(--u)) calc(30 * var(--u)) calc(20 * var(--u)) calc(38 * var(--u)); isolation: isolate; }
.co-bg { position: absolute; inset: 0; z-index: -1; border-radius: calc(12 * var(--u)); background: var(--secondary); opacity: var(--op); }
.co-stripe { position: absolute; left: 0; top: 0; bottom: 0; width: calc(8 * var(--u)); border-radius: calc(4 * var(--u)); background: var(--accent); }
.co-text { font-weight: 800; font-size: calc(38 * var(--u)); line-height: 1; --rise: 20; white-space: nowrap; }
.co-handle { position: absolute; z-index: 5; left: calc(var(--tx, 760) / 1920 * 100%); top: calc(var(--ty, 620) / 1080 * 100%); width: 44px; height: 44px; margin: -22px 0 0 -22px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .8); background: rgba(255, 255, 255, .08); cursor: grab; touch-action: none; }
.co-handle:hover, .dragging .co-handle { background: rgba(255, 255, 255, .2); border-style: solid; }
.dragging .co-handle { cursor: grabbing; }

/* Stat */
.st { position: absolute; left: calc(150 * var(--u)); top: calc(700 * var(--u)); display: inline-grid; justify-items: start; min-width: calc(492 * var(--u)); padding: calc(28 * var(--u)) calc(36 * var(--u)) calc(34 * var(--u)); isolation: isolate; }
.st-bg { position: absolute; inset: 0; z-index: -1; border-radius: calc(20 * var(--u)); background: var(--secondary); opacity: var(--op); box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .35); }
.st-label { font-weight: 600; font-size: calc(28 * var(--u)); letter-spacing: .2em; color: var(--accent); --rise: 16; }
.st-row { display: flex; gap: calc(6 * var(--u)); margin-top: calc(12 * var(--u)); font-weight: 800; font-size: calc(120 * var(--u)); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.st-track { display: block; width: 100%; height: calc(12 * var(--u)); margin-top: calc(28 * var(--u)); border-radius: calc(6 * var(--u)); overflow: hidden; background: color-mix(in srgb, var(--primary) 20%, transparent); }
.st-fill { display: block; height: 100%; width: calc(var(--fill, .78) * 100%); border-radius: inherit; background: var(--accent); }

/* Social handle */
.hd { position: absolute; left: calc(150 * var(--u)); top: calc(950 * var(--u)); display: inline-flex; align-items: center; gap: calc(18 * var(--u)); padding: calc(12 * var(--u)) calc(32 * var(--u)) calc(12 * var(--u)) calc(12 * var(--u)); isolation: isolate; }
.hd-bg { position: absolute; inset: 0; z-index: -1; border-radius: 999px; background: var(--secondary); opacity: var(--op); box-shadow: 0 calc(12 * var(--u)) calc(30 * var(--u)) rgba(0, 0, 0, .35); }
.hd-badge { display: block; width: calc(58 * var(--u)); height: calc(58 * var(--u)); border-radius: 50%; overflow: hidden; background: var(--accent); }
.hd-badge svg { display: block; width: 100%; height: 100%; fill: var(--primary); }   /* profile icon, cut by the circle like an avatar placeholder */
.hd-text { font-weight: 800; font-size: calc(42 * var(--u)); line-height: 1; --rise: 0; }

/* ---------- hero & switcher console ---------- */
.hero { padding-block: clamp(30px, 6vw, 80px) clamp(40px, 6vw, 70px); }
.hero-head { text-align: center; max-width: 1000px; margin-inline: auto; }
.hero-head .lede { margin-inline: auto; max-width: 720px; }
.hero-head .actions { justify-content: center; }
.hero-stage { margin-top: clamp(28px, 4vw, 48px); }
.hero-stage .console { max-width: 1240px; margin-inline: auto; }
.hero .proof { justify-content: center; margin-top: 26px; }
.proof { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 0; margin: 0; color: #c9cff0; font-weight: 700; font-size: 15px; }
.proof li::before { content: "\2713"; color: var(--lime); margin-right: 8px; }
.console { position: relative; padding: 16px; border-radius: 26px; background: linear-gradient(180deg, #151a44, #0c1030); border: 1px solid var(--line-2); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); }
.console::before { content: ""; position: absolute; inset: -1px; border-radius: inherit; padding: 1px; background: linear-gradient(140deg, rgba(124, 143, 255, .8), transparent 40%, rgba(255, 79, 179, .5)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; }
.console-top { display: flex; justify-content: space-between; align-items: center; padding: 2px 6px 12px; font: 700 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.onair { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.console .monitor { border-radius: 12px; }
.takes { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; margin-top: 14px; }
@media (max-width: 900px) { .takes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.take {
  position: relative; display: grid; place-items: center; gap: 4px; padding: 10px 4px 9px; cursor: pointer; color: #cfd5f7;
  font: 800 12px var(--display); letter-spacing: .02em; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(180deg, #232a5c, #171c44); box-shadow: 0 4px 0 #0a0d24, inset 0 1px 0 rgba(255, 255, 255, .12);
  transition: transform .08s, box-shadow .08s, background .15s, color .15s;
}
.take kbd { background: none; border: 0; padding: 0; font-size: 11px; color: var(--muted); }
.take { min-width: 0; } .tk-name { max-width: 100%; overflow-wrap: anywhere; line-height: 1.15; }
.take:hover { color: #fff; background: linear-gradient(180deg, #2c3570, #1d2352); }
.take:active { transform: translateY(3px); box-shadow: 0 1px 0 #0a0d24, inset 0 1px 0 rgba(255, 255, 255, .12); }
.take[aria-pressed=true] { color: #fff; background: linear-gradient(180deg, #ff5463, #d61f33); border-color: #ff8793; box-shadow: 0 4px 0 #6d0914, 0 0 24px rgba(255, 59, 78, .55), inset 0 1px 0 rgba(255, 255, 255, .4); }
.take[aria-pressed=true] kbd { color: #ffe1e4; }
.console-bottom { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px; margin-top: 14px; }
.live-name { display: grid; gap: 6px; flex: 1 1 220px; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.live-name input { font-weight: 700; text-transform: none; letter-spacing: 0; }
.scene-bar { display: flex; flex-wrap: wrap; gap: 6px; }
.scene-bar button { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; cursor: pointer; border-radius: 999px; color: #cfd5f7; font: 700 12px var(--display); background: rgba(255, 255, 255, .05); border: 1px solid var(--line); }
.scene-bar button[aria-pressed=true] { color: #fff; border-color: var(--blue-2); background: rgba(61, 92, 255, .25); }
.sw { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); }
.sw { background: #333 center / cover; }
.sw-alpha { background: repeating-conic-gradient(#8a8fa8 0 25%, #4b4f66 0 50%) 0 0 / 7px 7px; }
.console-hint { margin: 12px 4px 0; }

/* ---------- ticker ---------- */
.ticker { overflow: hidden; border-block: 1px solid var(--line); background: linear-gradient(90deg, rgba(61, 92, 255, .18), rgba(255, 79, 179, .12)); }
.ticker-track { display: flex; width: max-content; animation: ticker 36s linear infinite; }
.ticker span { padding: 16px 28px; font: 800 17px var(--display); font-stretch: 112%; letter-spacing: .02em; white-space: nowrap; text-transform: uppercase; }
.ticker span::after { content: "\2726"; margin-left: 56px; color: var(--lime); }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ---------- product cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.card { display: grid; gap: 12px; color: var(--text); text-decoration: none; padding: 12px 12px 16px; border-radius: 20px; background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); border: 1px solid var(--line); transition: transform .25s cubic-bezier(.2, .8, .2, 1), border-color .25s, box-shadow .25s; }
.card:hover, .card:focus-visible { color: var(--text); transform: translateY(-6px); border-color: rgba(124, 143, 255, .55); box-shadow: 0 30px 60px -24px rgba(61, 92, 255, .6); }
.card .monitor { border-radius: 12px; box-shadow: none; }
.card-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 0 4px; }
.card-name { font-weight: 850; font-size: 19px; letter-spacing: -.01em; }
.card-price { font: 800 15px var(--mono); color: var(--lime); }
.card--free .card-price { color: #0b0f2a; background: var(--lime); padding: 3px 9px; border-radius: 999px; }
.card-blurb { padding: 0 4px; color: var(--muted); font-size: 15px; line-height: 1.4; }

/* ---------- any-length demo ---------- */
.split-sec { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 900px) { .split-sec { grid-template-columns: 1fr; } }
.lengths { display: grid; gap: 14px; }
.lr { display: grid; grid-template-columns: minmax(0, 1fr) 82px; grid-template-rows: auto auto; gap: 8px 14px; align-items: center; }
.lr .monitor { grid-row: 1; border-radius: 10px; box-shadow: none; }
.lr-label { grid-column: 2; grid-row: 1; margin: 0; font-size: 15px; color: var(--muted); }
.lr-label b { display: block; font: 800 26px var(--mono); color: #fff; }
.lr-bar { grid-column: 1; grid-row: 2; position: relative; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.lr-in, .lr-out { position: absolute; top: 0; bottom: 0; width: var(--in, 20%); background: repeating-linear-gradient(135deg, rgba(201, 255, 69, .55) 0 6px, rgba(201, 255, 69, .25) 6px 12px); }
.lr-in { left: 0; } .lr-out { right: 0; }
.lr-head { position: absolute; top: -2px; bottom: -2px; left: var(--head, 0%); width: 3px; background: var(--red); box-shadow: 0 0 8px var(--red); }
.lr.done .lr-head { opacity: .3; }

/* ---------- bundle band ---------- */
.band { position: relative; overflow: hidden; background: linear-gradient(120deg, #2b44ff, #6b3bff 55%, #d63aa6); }
.band::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .06) 0 1px, transparent 1px 80px); }
.band-inner { position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .9fr); gap: 40px; align-items: center; padding-block: clamp(50px, 7vw, 90px); }
@media (max-width: 860px) { .band-inner { grid-template-columns: 1fr; } }
.band .eyebrow { color: var(--lime); }
.band .ticks li::before { background: var(--lime); }
.band-buy { padding: 28px; border-radius: 24px; background: rgba(6, 8, 26, .55); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .2); }
.band-buy .btn { --b: #111; width: 100%; background: #fff; color: #11164a; box-shadow: 0 12px 30px -8px rgba(0, 0, 0, .5); }
.band-buy .btn:hover { color: #11164a; }
.price { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; }
.price-now { font: 900 clamp(44px, 5vw, 64px)/1 var(--display); font-stretch: 112%; letter-spacing: -.03em; }
.price-was { font: 700 22px var(--mono); color: rgba(255, 255, 255, .55); }
.save-badge { display: inline-block; margin: 0 0 18px; padding: 6px 12px; border-radius: 999px; background: var(--lime); color: #0b0f2a; font-weight: 900; }
.ways-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 10px; }
.way { display: inline-flex; border-radius: 999px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .35); }
.way i { width: 14px; height: 22px; }
.way-signal .w1 { background: #fff; } .way-signal .w2 { background: #121419; } .way-signal .w3 { background: #3d5cff; }
.way-ember .w1 { background: #fff; } .way-ember .w2 { background: #1a1210; } .way-ember .w3 { background: #ff6a2b; }
.way-mint .w1 { background: #fff; } .way-mint .w2 { background: #0f1a17; } .way-mint .w3 { background: #19d39b; }
.way-paper .w1 { background: #15171c; } .way-paper .w2 { background: #fff; } .way-paper .w3 { background: #3d5cff; }

/* ---------- free template, steps, faq, guides ---------- */
.free { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 60px); align-items: center; }
@media (max-width: 860px) { .free { grid-template-columns: 1fr; } }
.free .live-name { margin: 6px 0 16px; }
.steps ol { list-style: none; padding: 0; margin: 30px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps li { position: relative; padding: 26px; border-radius: var(--r); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.step-n { display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 16px; border-radius: 14px; font: 900 22px var(--display); background: linear-gradient(135deg, var(--blue), var(--pink)); }
.steps p { color: #c9cff0; margin: 0; }
.faq { display: grid; gap: 10px; margin-top: 20px; }
.faq details { border-radius: 14px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 50px 18px 20px; font-weight: 800; font-size: 17px; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%); font: 700 24px var(--mono); color: var(--blue-2); transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: #c9cff0; }
.guide-list { list-style: none; padding: 0; display: grid; gap: 12px; margin-top: 24px; }
.guide-list a { display: grid; gap: 4px; padding: 20px 22px; border-radius: 16px; text-decoration: none; color: var(--text); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: border-color .2s, transform .2s; }
.guide-list a:hover { border-color: rgba(124, 143, 255, .55); transform: translateX(4px); color: var(--text); }
.about p { max-width: 70ch; color: #c9cff0; }

/* ---------- product page ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 24px; font-size: 14px; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.product { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 28px; align-items: start; padding-top: 22px; }
@media (max-width: 1040px) { .product { grid-template-columns: 1fr; } }
.buy-card { position: sticky; top: 90px; padding: 26px; border-radius: 24px; background: linear-gradient(180deg, #151a44, #0d1133); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.buy-card h1 { font-size: clamp(34px, 3.6vw, 48px); }
.buy-card .lede { font-size: 17px; }
.buy-card > .btn, .buy-card .btn-lg { width: 100%; }
.upsell { display: grid; gap: 2px; margin-top: 16px; padding: 14px 16px; border-radius: 14px; text-decoration: none; color: var(--text); background: linear-gradient(120deg, rgba(61, 92, 255, .25), rgba(214, 58, 166, .2)); border: 1px solid rgba(124, 143, 255, .45); }
.upsell span { color: #c9cff0; font-size: 14px; }
.upsell:hover { color: #fff; border-color: #fff; }
.bundle-wall { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bundle-wall .monitor { border-radius: 10px; box-shadow: none; }
@media (max-width: 640px) { .bundle-wall { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.two-col { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.specs { display: grid; grid-template-columns: auto 1fr; gap: 12px 18px; margin: 58px 0 0; padding: 24px; border-radius: 18px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); }
.specs dt { color: var(--muted); font-weight: 700; }
.specs dd { margin: 0; font-weight: 700; }
.buy-bar { display: none; }
@media (max-width: 1040px) {
  .buy-bar { position: fixed; z-index: 45; left: 12px; right: 12px; bottom: 12px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 18px; border-radius: 999px; background: rgba(12, 16, 48, .88); backdrop-filter: blur(12px); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
  .buy-card { position: static; }
}

/* ---------- playground (Essential Graphics in the browser) ---------- */
.playground { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 16px; padding: 14px; border-radius: 24px; background: #0d1030; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
@media (max-width: 1240px) { .playground { grid-template-columns: 1fr; } }
.pg-stage { display: grid; gap: 12px; align-content: start; min-width: 0; }
.transport { display: flex; align-items: center; gap: 10px; }
.tp-btn { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 12px; cursor: pointer; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .06); color: #fff; }
.tp-btn:hover { background: rgba(255, 255, 255, .14); }
.i-play { width: 0; height: 0; border-left: 12px solid #fff; border-block: 8px solid transparent; margin-left: 3px; }
.i-pause { display: none; width: 12px; height: 14px; border-inline: 4px solid #fff; }
.is-playing .i-play { display: none; }
.is-playing .i-pause { display: block; }
.i-restart { width: 14px; height: 14px; border: 3px solid #fff; border-right-color: transparent; border-radius: 50%; }
.timeline { position: relative; flex: 1; height: 40px; border-radius: 10px; background: #1a1f45; overflow: hidden; }
.timeline input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; z-index: 3; }
.tl-in, .tl-out { position: absolute; top: 0; bottom: 0; width: var(--in, 18%); background: repeating-linear-gradient(135deg, rgba(201, 255, 69, .5) 0 6px, rgba(201, 255, 69, .2) 6px 12px); }
.tl-in { left: 0; } .tl-out { right: 0; width: var(--out, 18%); }
.tl-head { position: absolute; top: 0; bottom: 0; left: var(--head, 0%); width: 3px; background: var(--red); box-shadow: 0 0 10px var(--red); z-index: 2; }
.timeline:has(input:focus-visible) { outline: 3px solid var(--lime); }
.tp-tc { font: 700 14px var(--mono); color: var(--muted); min-width: 108px; text-align: right; }
.pg-under { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; }
.pg-under p { margin: 0; }
.len { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.len input { accent-color: var(--lime); width: 150px; }
.len output { font: 800 14px var(--mono); color: #fff; min-width: 36px; }
.len-note { flex-basis: 100%; }
.eg { display: grid; gap: 12px; align-content: start; padding: 14px; border-radius: 16px; background: #1b1b1e; border: 1px solid #2c2c31; font-size: 13px; }
.eg-head { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 800; font-size: 13px; letter-spacing: .04em; color: #e8e8ea; }
.eg-head .muted { font-weight: 600; color: #8e8e95; }
.eg-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 8px var(--lime); }
.eg-row { display: grid; gap: 6px; font-weight: 600; font-size: 12px; color: #b9b9c0; }
.eg-row input[type=text], .eg-row input[type=number] { font-size: 14px; padding: 9px 10px; border-radius: 8px; background: #111114; border-color: #34343b; }
.eg-check { grid-template-columns: 1fr auto; align-items: center; }
.eg-check input { width: 18px; height: 18px; accent-color: var(--blue); }
.eg-colors { grid-template-columns: 1fr auto auto auto; align-items: center; gap: 8px; }
.swatch { position: relative; width: 32px; height: 32px; border-radius: 8px; overflow: hidden; border: 1px solid #3c3c44; cursor: pointer; }
.swatch input { position: absolute; inset: -6px; width: calc(100% + 12px); height: calc(100% + 12px); border: 0; padding: 0; cursor: pointer; background: none; }
.eg-ways { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; }
.eg-ways button { display: flex; align-items: center; gap: 8px; padding: 7px 8px; border-radius: 8px; cursor: pointer; font: 700 12px var(--display); color: #d6d6dc; background: #25252a; border: 1px solid #34343b; }
.eg-ways button[aria-pressed=true], .eg-ways button:hover { border-color: var(--blue-2); color: #fff; }
.eg-ways .way i { width: 9px; height: 16px; }
.eg-range { grid-template-columns: 1fr auto; }
.eg-range input { grid-column: 1 / -1; accent-color: var(--blue); }
.eg-range output { grid-column: 2; grid-row: 1; font: 700 12px var(--mono); color: #fff; }
.eg-hint { margin: 0; padding: 10px; border-radius: 8px; background: #25252a; color: #c9c9d0; font-size: 12px; line-height: 1.45; }

/* ---------- category, article, success, admin ---------- */
.page-head { padding-block: 26px 30px; }
.article { padding-block: 20px 40px; }
.article h1 { font-size: clamp(34px, 4.4vw, 56px); }
.article h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 1.6em; }
.article p, .article li { color: #d5daf5; }
.article pre { overflow: auto; padding: 16px; border-radius: 12px; background: #0b0e27; border: 1px solid var(--line); }
.article code { font-family: var(--mono); font-size: 14px; }
.downloads { margin: 18px 0 30px; }
.admin { padding-block: 24px 60px; }
.admin h1 { font-size: clamp(28px, 4vw, 40px); }
.admin-login { max-width: 420px; display: grid; gap: 10px; }
.ad-token { margin-top: 18px; }
.ad-token summary { cursor: pointer; }
.ad-token form { display: grid; gap: 10px; margin-top: 10px; }
.ad-keep { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.ad-keep input { width: auto; }
.admin-body { display: grid; gap: 18px; }
.admin-body[hidden], .admin-login[hidden] { display: none; }
.admin-body > *, .ad-bar > * { min-width: 0; }
.admin { overflow-x: clip; }
.ad-bar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.ad-tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; max-width: 100%; }
.ad-tabs button { flex: none; font: 700 14px var(--display); color: var(--muted); background: none; border: 0; border-bottom: 2px solid transparent; padding: 10px 12px; cursor: pointer; min-height: 44px; }
.ad-tabs [aria-selected=true] { color: var(--text); border-bottom-color: var(--red); }
.ad-actions { display: flex; gap: 8px; }
.ad-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ad-tile { display: grid; gap: 4px; padding: 16px 18px; background: var(--ink); }
.ad-tile strong { font: 800 clamp(22px, 6vw, 28px)/1.1 var(--display); color: var(--text); }
.ad-tile .muted { font-size: 13px; }
.ad-label, .ad-h { font: 600 11px/1.2 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0; }
.ad-h { margin: 6px 0 10px; }
.ad-feed ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.ad-ev { display: grid; grid-template-columns: 150px 1fr auto; gap: 4px 14px; padding: 12px 2px; border-bottom: 1px solid var(--line); font-size: 15px; }
.ad-ev-type { font-weight: 700; }
.ad-ev.sale .ad-ev-type { color: var(--red); }
.ad-ev.warn .ad-ev-type { color: var(--muted); }
.ad-ev-who { grid-column: 2; font-size: 14px; overflow-wrap: anywhere; }
.ad-ev-when { grid-column: 3; grid-row: 1; font: 500 13px var(--mono); text-align: right; white-space: nowrap; }
.ad-links { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: baseline; }
.ad-links .ad-h { flex-basis: 100%; }
.ad-links a { color: var(--text); font-weight: 600; }
.ad-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.ad-table table { width: 100%; border-collapse: collapse; font-size: 14px; }
.ad-table th, .ad-table td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.ad-table th { position: sticky; top: 0; background: var(--ink); font: 600 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ad-table .num { text-align: right; font-family: var(--mono); }
.ad-table a, .ad-ev a { color: var(--text); }
@media (max-width: 640px) {
  .ad-ev { grid-template-columns: 1fr auto; }
  .ad-ev-what, .ad-ev-who { grid-column: 1 / -1; }
  .ad-ev-when { grid-column: 2; }
  .ad-actions { width: 100%; }
  .ad-actions .btn { flex: 1 1 0; min-width: 0; padding-inline: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .scene i { animation: none !important; }
}

/* ---------- packs ---------- */
.pack-creator { --pk: #3d5cff; --pk2: #ff4fb3; }
.pack-church { --pk: #c9a45c; --pk2: #f7f1e6; }
.pack-livestream { --pk: #8b5cff; --pk2: #00e5ff; }
.packs { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.pack {
  position: relative; isolation: isolate; display: grid; gap: 10px; align-content: end; min-height: 460px; padding: 28px; overflow: hidden; border-radius: 24px;
  color: var(--text); text-decoration: none; background: #0b0f2a;
  border: 1px solid color-mix(in srgb, var(--pk) 45%, transparent); transition: transform .25s cubic-bezier(.2, .8, .2, 1), box-shadow .25s;
}
.pack-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.pack::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(6, 8, 20, .05) 20%, rgba(6, 8, 20, .65) 55%, color-mix(in srgb, var(--pk) 30%, #060814) 100%); }
.pack:hover { color: var(--text); transform: translateY(-6px); box-shadow: 0 30px 70px -25px var(--pk); }
.pack:hover .pack-img { transform: scale(1.06); }
.pack-price { margin-top: 8px !important; }
.pack-n { font: 800 13px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--pk2); }
.pack-church .pack-n { color: var(--pk); }
.pack-name { font: 900 34px/1 var(--display); font-stretch: 112%; letter-spacing: -.02em; }
.pack-church .pack-name { font-family: "Playfair Display", Georgia, serif; font-stretch: 100%; font-weight: 600; }
.pack-livestream .pack-name { font-family: "Unbounded", var(--display); font-stretch: 100%; font-weight: 800; font-size: 28px; }
.pack-intro { color: #c9cff0; font-size: 15px; line-height: 1.45; }
.pack-price { margin-top: auto; font: 900 40px/1 var(--display); letter-spacing: -.02em; }
.pack-price small { display: block; margin-top: 4px; font: 700 13px var(--display); color: var(--muted); letter-spacing: 0; }
.pack-sec .section-head h2 { background: linear-gradient(100deg, #fff, var(--pk2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pack-sec.pack-church .section-head h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-stretch: 100%; background: linear-gradient(100deg, #f7f1e6, #c9a45c); -webkit-background-clip: text; background-clip: text; }
.pack-sec.pack-livestream .section-head h2 { font-family: "Unbounded", var(--display); font-weight: 800; font-stretch: 100%; letter-spacing: -.01em; }
.pack-sec .card:hover { border-color: color-mix(in srgb, var(--pk) 70%, transparent); box-shadow: 0 30px 60px -24px color-mix(in srgb, var(--pk) 70%, transparent); }
.pack-head { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, .7fr); gap: 30px; align-items: end; padding: 34px; margin: 18px 0 30px; border-radius: 26px; background: linear-gradient(150deg, color-mix(in srgb, var(--pk) 35%, #0b0f2a), #0b0f2a 75%); border: 1px solid color-mix(in srgb, var(--pk) 45%, transparent); }
@media (max-width: 860px) { .pack-head { grid-template-columns: 1fr; } }
.pack-head .eyebrow { color: var(--pk2); }
.pack-church.pack-head .eyebrow { color: var(--pk); }
.pack-church.pack-head h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-stretch: 100%; }
.pack-livestream.pack-head h1 { font-family: "Unbounded", var(--display); font-weight: 900; font-stretch: 100%; font-size: clamp(36px, 5vw, 66px); }
.pack-buy { padding: 22px; border-radius: 20px; background: rgba(6, 8, 26, .55); border: 1px solid var(--line-2); }
.pack-buy .btn { width: 100%; }
.pack-buy > a.small { display: block; margin-top: 12px; color: #c9cff0; }

/* rendered previews and placeholders */
.monitor--video video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
/* The poster sits over the video until the video draws frames (engine.js adds .is-live): iPhones blank a video's own
   poster as soon as it starts loading, which showed black tiles. Over the video, not hiding it: Safari won't autoplay a
   video it thinks is invisible. */
.pv-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .35s; }
.is-live .pv-cover { opacity: 0; }
/* a phone preview (data-sm) of a "thumb" card is already cropped to what the card shows, and so is its poster */
.thumb video.sm { transform: none; object-position: 50% 50%; }
@media (hover: none) { .thumb picture .pv-cover { transform: none; object-position: 50% 50%; } }
.monitor--soon { display: grid; place-content: center; gap: 8px; text-align: center; padding: 20px; background: radial-gradient(90% 90% at 70% 20%, color-mix(in srgb, var(--pk, #3d5cff) 45%, #0b0f2a), #05060f 75%); }
.soon-name { font: 900 clamp(18px, 3.4cqw, 34px)/1.05 var(--display); font-stretch: 110%; letter-spacing: -.02em; }
.pack-church .soon-name { font-family: "Playfair Display", Georgia, serif; font-weight: 600; font-stretch: 100%; color: #f7f1e6; }
.pack-livestream .soon-name { font-family: "Unbounded", var(--display); font-stretch: 100%; font-weight: 800; }
.soon-tag { justify-self: center; font: 700 11px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); border: 1px solid rgba(255, 255, 255, .2); padding: 4px 8px; border-radius: 999px; }
.render-stage { display: grid; gap: 12px; padding: 14px; border-radius: 24px; background: #0d1030; border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.render-stage p { margin: 0 4px; }
/* vertical (9:16) renders: the product page shows the whole frame, as tall as the screen allows */
.render-stage--tall { justify-items: center; }
.render-stage--tall p { justify-self: stretch; }
.monitor--tall { aspect-ratio: 9 / 16; width: min(100%, calc(min(78vh, 780px) * 9 / 16)); }
.wall-item { display: grid; gap: 6px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 14px; }
.wall-item:hover { color: #fff; }
.wall-item .monitor { transition: transform .2s; }
.wall-item:hover .monitor { transform: translateY(-3px); }
.upsell--alt { background: rgba(255, 255, 255, .04); border-color: var(--line-2); margin-top: 10px; }

/* the web countdown mirrors the Livestream pack's Starting Soon (Unbounded, violet) */
.g-countdown { --accent: #8b5cff; --secondary: #0d0b1a; }
.g-countdown .cd-clock, .g-countdown .cd-label, .g-countdown .cd-live { font-family: "Unbounded", "Montserrat", sans-serif; }
.g-countdown .cd-clock { font-weight: 700; }
.g-countdown .cd-label, .g-countdown .cd-live { font-weight: 600; font-size: calc(38 * var(--u)); letter-spacing: .36em; }

/* ---------- Signature pack live graphics (same layouts as the AE comps, 1920 design units) ---------- */
.g-glass { --accent: #d7ff3d; } .g-flap { --primary: #f5f2e8; --secondary: #3b404c; --accent: #ffcf3d; }
.g-decode { --accent: #58f0c8; } .g-stack { --accent: #d7ff3d; } .g-sweep { --primary: #fff8ec; --secondary: #14100c; --accent: #ff9a3d; }
.g-ink { --primary: #121419; --secondary: #d7ff3d; --accent: #ff5a36; }
.sg-src { display: none; }
.sg-glass { position: absolute; left: calc(150 * var(--u)); top: calc(760 * var(--u)); }
.sg-pane { position: relative; overflow: hidden; padding: calc(28 * var(--u)) calc(43 * var(--u)); border-radius: calc(28 * var(--u));
  backdrop-filter: blur(calc(30 * var(--u))) saturate(1.5) brightness(1.1); -webkit-backdrop-filter: blur(calc(30 * var(--u))) saturate(1.5) brightness(1.1);
  background: linear-gradient(135deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .06));
  box-shadow: inset 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .45), 0 calc(30 * var(--u)) calc(80 * var(--u)) rgba(0, 0, 0, .3);
  clip-path: inset(0 calc((1 - var(--pw, 1)) * 100%) 0 0 round calc(28 * var(--u))); }
.sg-sheen { position: absolute; top: -50%; bottom: -50%; left: 0; width: 30%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: translateX(calc(var(--sh, -1) * 520%)) skewX(-18deg); mix-blend-mode: overlay; }
.sg-gn { display: block; font: 800 calc(84 * var(--u))/1 "Montserrat"; letter-spacing: -.02em; --rise: 26; }
.sg-gt { display: block; margin-top: calc(16 * var(--u)); font: 600 calc(30 * var(--u)) "Montserrat"; letter-spacing: .12em; opacity: calc(var(--p, 1) * .85); }
.sg-flap { position: absolute; inset: 0; }
.sg-row { position: absolute; left: 0; right: 0; top: calc(404 * var(--u)); display: flex; justify-content: center; gap: calc(7 * var(--u)); }
.sg-row.sg-sm { top: calc(571 * var(--u)); gap: calc(4 * var(--u)); }
.sg-tile { position: relative; display: grid; place-items: center; width: calc(96 * var(--u)); height: calc(132 * var(--u)); border-radius: calc(10 * var(--u));
  background: var(--secondary); opacity: var(--in, 0); overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .3), 0 calc(8 * var(--u)) calc(18 * var(--u)) rgba(0, 0, 0, .55); }
.sg-sm .sg-tile { width: calc(56 * var(--u)); height: calc(78 * var(--u)); border-radius: calc(6 * var(--u)); }
.sg-tile::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: max(1px, calc(3 * var(--u))); background: rgba(0, 0, 0, .7); }
.sg-tile span { font: 800 calc(98 * var(--u))/1 "Montserrat"; color: var(--primary); transform: scaleY(var(--sy, 1)); }
.sg-sm .sg-tile span { font-size: calc(57 * var(--u)); color: var(--accent); }
.sg-decode { position: absolute; left: calc(150 * var(--u)); top: calc(390 * var(--u)); }
.sg-k { display: block; font: 600 calc(28 * var(--u)) "Montserrat"; letter-spacing: .3em; color: var(--accent); opacity: var(--p, 1); }
.sg-h { position: relative; margin-top: calc(14 * var(--u)); font: 900 calc(150 * var(--u) * var(--fit, 1))/1 "Unbounded", "Montserrat"; letter-spacing: -.03em; white-space: pre; }
.sg-r, .sg-b { position: absolute; left: 0; top: 0; mix-blend-mode: screen; opacity: calc(var(--rgb, 0) * .9); }
.sg-r { color: #ff2e5b; transform: translateX(calc(var(--rgb, 0) * 14 * var(--u))); }
.sg-b { color: #2ecbff; transform: translateX(calc(var(--rgb, 0) * -14 * var(--u))); }
.sg-bar { display: block; width: calc(520 * var(--u)); height: calc(8 * var(--u)); margin-top: calc(22 * var(--u)); background: var(--accent); transform-origin: left; transform: scaleX(var(--p, 1)); }
.sg-dim { position: absolute; inset: 0; background: #000; opacity: calc(var(--p, 1) * .55); }
.sg-stack { position: absolute; left: 50%; top: 50%; width: calc(1000 * var(--u)); transform: translate(-50%, -50%) rotate(-4deg); }
.sg-ln { display: block; white-space: nowrap; font: 900 calc(100 * var(--u))/0.86 "Montserrat"; letter-spacing: -.035em; text-transform: uppercase; transform-origin: 50% 0; }
.sg-ln > span { display: inline-block; position: relative; left: 50%; transform: translateX(-50%) scale(var(--sc, 1)) translateX(calc((1 - var(--p, 1)) * 150%)); transform-origin: 50% 0; opacity: min(1, calc(var(--p, 1) * 3)); }
.sg-ln:nth-child(odd) > span { transform: translateX(-50%) scale(var(--sc, 1)) translateX(calc((1 - var(--p, 1)) * -150%)); }
.sg-ol > span { font-family: "Montserrat Outline", "Montserrat"; color: transparent; -webkit-text-stroke: calc(3 * var(--u)) var(--primary); letter-spacing: .01em; }
.sg-hl > span { color: var(--secondary); background: var(--accent); padding: 0 .08em; }
.sg-sweep { position: absolute; inset: 0; opacity: var(--out, 1); filter: blur(calc((1 - var(--out, 1)) * 10px)); }
.sg-sw { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.sg-ttl { font: 600 calc(170 * var(--u) * var(--fit, 1))/1 "Playfair Display", Georgia, serif; letter-spacing: -.01em;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(var(--rv, 1) * 120% - 20%), transparent calc(var(--rv, 1) * 120%)); mask-image: linear-gradient(90deg, #000 calc(var(--rv, 1) * 120% - 20%), transparent calc(var(--rv, 1) * 120%)); }
.sg-rule { display: block; width: calc(180 * var(--u)); height: max(1px, calc(2 * var(--u))); margin: calc(26 * var(--u)) 0 calc(18 * var(--u)); background: var(--accent); transform: scaleX(var(--p, 1)); }
.sg-sub { font: italic 400 calc(46 * var(--u)) "Playfair Display", Georgia, serif; color: var(--accent); letter-spacing: .02em; opacity: var(--p, 1); }
.sg-streak { position: absolute; left: 0; right: 0; top: calc(466 * var(--u)); height: calc(6 * var(--u)); background: radial-gradient(closest-side, #fff, rgba(255, 210, 150, .9) 20%, rgba(255, 160, 80, .3) 55%, transparent);
  -webkit-mask-image: radial-gradient(40% 100% at calc(var(--rv, 1) * 120% - 10%) 50%, #000, transparent); mask-image: radial-gradient(40% 100% at calc(var(--rv, 1) * 120% - 10%) 50%, #000, transparent); opacity: var(--so, 0); }
.sg-flare { position: absolute; top: calc(470 * var(--u)); left: calc(var(--rv, 1) * 120% - 10%); width: calc(360 * var(--u)); height: calc(360 * var(--u)); transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(255, 240, 210, .95), color-mix(in srgb, var(--accent) 40%, transparent) 30%, transparent 70%); mix-blend-mode: screen; opacity: var(--so, 0); }
.sg-leak { position: absolute; inset: 0; background: radial-gradient(45% 65% at calc(var(--rv, 1) * 100%) 40%, color-mix(in srgb, var(--accent) 50%, transparent), transparent 70%); mix-blend-mode: screen; opacity: var(--so, 0); }
.sg-ink { position: absolute; left: calc(150 * var(--u)); top: calc(720 * var(--u)); }
.sg-ink svg { position: absolute; left: 0; top: 0; overflow: visible; }
.sg-back { fill: var(--accent); } .sg-front { fill: var(--secondary); }
.sg-it { position: relative; padding: calc(48 * var(--u)) calc(78 * var(--u)); color: var(--primary); }
.sg-in { display: block; font: 900 calc(78 * var(--u))/1 "Montserrat"; letter-spacing: -.02em; --rise: 40; }
.sg-itt { display: block; margin-top: calc(14 * var(--u)); font: 600 calc(32 * var(--u)) "Montserrat"; opacity: calc(var(--p, 1) * .75); }

/* ---------- rendered video frame (home showreel, product renders) ---------- */
.reel { position: relative; overflow: hidden; border-radius: 22px; border: 1px solid var(--line-2); box-shadow: var(--shadow); background: #000; aspect-ratio: 16 / 9; }
.reel video { display: block; width: 100%; height: 100%; object-fit: cover; }
.about-reel iframe { display: block; width: 100%; height: 100%; border: 0; }

.site-head .btn-sm { white-space: nowrap; }
@media (max-width: 420px) { .site-head .btn-sm { padding-inline: 12px; font-size: 13px; } }
/* small phones: logo and the Unlimited button must both fit inside the 16px gutters */
@media (max-width: 400px) { .site-head { gap: 10px; } .site-head .logo { font-size: 14px; gap: 8px; } .site-head .logo-mark { width: 22px; height: 22px; } .site-head .btn-sm { padding-inline: 10px; font-size: 12px; } }

/* =====================================================================================================
   DESIGN SYSTEM v3: editorial broadcast. Ink and paper, one signal red, hairlines, mono metadata.
   Overrides the earlier layers above; tokens first, then components.
   ===================================================================================================== */
:root {
  --ink: #0c0c0d; --ink-2: #141416; --ink-3: #1c1c1f; --paper: #f3f0e8;
  --line: rgba(243, 240, 232, .09); --line-2: rgba(243, 240, 232, .17);
  --text: #f3f0e8; --muted: #9c988f; --blue: #f3f0e8; --blue-2: #cfcac0; --pink: #ff3b2f; --red: #ff3b2f; --lime: #f3f0e8;
  --r: 14px; --shadow: 0 40px 80px -40px rgba(0, 0, 0, .8);
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; --serif: "Playfair Display", Georgia, serif;
}
body { background: var(--ink); background-image: none; font-size: 17px; letter-spacing: -.005em; }
::selection { background: var(--red); color: #fff; }
a { color: var(--text); }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
h1 { font-weight: 700; font-stretch: 100%; letter-spacing: -.045em; line-height: .95; font-size: clamp(46px, 7vw, 104px); }
h1 em { font-style: normal; background: none; color: inherit; -webkit-text-fill-color: currentColor; }
h2 { font-weight: 700; font-stretch: 100%; letter-spacing: -.035em; font-size: clamp(32px, 4vw, 56px); }
h3 { font-weight: 700; letter-spacing: -.02em; }
.lede { color: var(--muted); }
.eyebrow, .kicker { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.rec { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: blink 1.6s steps(2, start) infinite; }
@media (prefers-reduced-motion: reduce) { .rec { animation: none; } }

/* buttons: solid paper, hairline ghost, no glow */
.btn { --b: var(--paper); border-radius: 8px; color: var(--ink); background: var(--paper); box-shadow: none; font-weight: 700; letter-spacing: -.01em; }
.btn:hover { color: var(--ink); background: #fff; transform: none; filter: none; box-shadow: none; }
.btn-ghost { color: var(--text); background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }
.btn-ghost:hover { color: var(--text); background: rgba(243, 240, 232, .06); box-shadow: inset 0 0 0 1px rgba(243, 240, 232, .35); }
.link-arrow { font: 500 14px var(--mono); color: var(--text); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 3px; }
.link-arrow::after { content: " \2192"; }
.link-arrow:hover { border-color: var(--text); }
input[type=text], input[type=email], input[type=password], input[type=number], input[type=search] { background: var(--ink); border-radius: 8px; border-color: var(--line-2); }
input:focus { border-color: var(--paper); box-shadow: none; }

/* header + logo */
.site-head::before { background: rgba(12, 12, 13, .82); border-bottom-color: var(--line); }
.logo { gap: 10px; font: 700 17px/1 var(--display); font-stretch: 125%; letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.logo::before { content: none; }
.logo-mark { width: 26px; height: 26px; flex: none; overflow: visible; }
.lm-l { fill: none; stroke: currentColor; stroke-width: 3.6; stroke-linecap: square; }
.lm-f { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: square; opacity: .5; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.lm-rec { fill: var(--red); }
.logo:hover .lm-f { transform: translate(-2px, 2px); }
.logo:hover .lm-rec { animation: blink 1s steps(2, start) infinite; }
.site-head nav a:not(.btn) { color: var(--muted); font-weight: 500; }
.site-head nav a:not(.btn):hover { color: var(--text); }
.site-foot .logo { margin-bottom: 14px; }
/* footer links in labelled groups: 4 columns on desktop, 2 on phones, Browse first and full width on small phones */
.site-foot .foot-nav { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 26px 24px; align-content: start; }
.foot-col { display: flex; flex-direction: column; gap: 9px; min-width: 0; }
.foot-h { margin: 0 0 4px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text); opacity: .55; }
.site-foot .foot-nav a { font-weight: 500; font-size: 15px; line-height: 1.3; }
@media (max-width: 900px) { .site-foot .foot-nav { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) {
  .site-foot { gap: 34px; padding-block: 40px 32px; }
  .site-foot > div > .muted { font-size: 14px; line-height: 1.55; max-width: 46ch; }
  .site-foot .foot-nav a { padding-block: 3px; }      /* taller tap targets */
  .site-foot > p { font-size: 12px; line-height: 1.5; }
}
@media (max-width: 420px) { .site-foot .foot-browse { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; } .foot-browse .foot-h { grid-column: 1 / -1; } }

/* hero */
/* tight top so the headline, buttons and the top of the showreel share the first screen at 1440x900 */
.hero { padding-block: clamp(28px, 3vw, 44px) clamp(30px, 5vw, 60px); }
.hero-head { max-width: 1100px; }
.hero-head h1 { margin-bottom: .32em; }
.hero-head .lede { font-size: clamp(18px, 1.4vw, 20px); margin-block: 0; }
.hero-head .actions { margin: clamp(20px, 2vw, 26px) 0 0; }
.hero .proof { margin: 22px auto 0; gap: 8px 28px; color: var(--muted); font: 500 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero .proof li::before { content: "\2014"; color: var(--red); margin-right: 10px; }

/* program console: a piece of hardware, not a glowing card */
.console { background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 14px; }
.console::before { content: none; }
.console-top { color: var(--muted); font-family: var(--mono); }
.take { background: var(--ink-3); border: 1px solid var(--line); box-shadow: 0 3px 0 #050506; color: var(--muted); font: 600 12px var(--display); border-radius: 8px; }
.take kbd { font-family: var(--mono); }
.take:hover { color: var(--text); background: #232327; }
.take:active { box-shadow: 0 1px 0 #050506; }
.take[aria-pressed=true] { color: #fff; background: var(--red); border-color: #ff6a5f; box-shadow: 0 3px 0 #7d140d, 0 0 0 1px rgba(255, 59, 47, .4); }
.scene-bar button { border-radius: 8px; color: var(--muted); background: transparent; border-color: var(--line); font-family: var(--display); font-weight: 600; }
.scene-bar button[aria-pressed=true] { color: var(--text); border-color: var(--line-2); background: var(--ink-3); }
.live-name { font-family: var(--mono); font-weight: 500; letter-spacing: .12em; }
.monitor { border-color: var(--line); box-shadow: none; background: #000; }
.tally { background: #3a3a3f; }

/* section headings: number, title, action on one baseline */
.sec-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 22px; margin-bottom: clamp(24px, 3vw, 40px); padding-top: 22px; border-top: 1px solid var(--line); }
.sec-top h2 { margin: 0; flex: 1 1 auto; }
.sec-top .muted { flex-basis: 100%; margin: 0; max-width: 60ch; }
.sec-n { font: 500 13px var(--mono); color: var(--red); letter-spacing: .1em; align-self: flex-start; padding-top: .9em; }
.section { padding-block: clamp(40px, 6vw, 80px); }

/* pack index */
.pack-index { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.pk { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); color: var(--text); text-decoration: none; transition: border-color .25s; }
.pk:hover { color: var(--text); border-color: var(--line-2); }
.pk-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #000; }
.pk-media img, .pk-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s, transform 1.2s cubic-bezier(.2, .8, .2, 1); }
.pk-media video { opacity: 0; }
.pk:hover .pk-media video, .pk:focus-visible .pk-media video { opacity: 1; }
/* Touch screens play the preview while the tile is on screen (engine.js); Safari won't play an invisible video, so the
   video shows from the start and its poster covers the moment before playback. */
/* the tile's image stays over the video until the video draws a frame (engine.js .is-live) */
.pk-media img { z-index: 1; }
.pk:hover .pk-media.is-live img, .pk:focus-visible .pk-media.is-live img { opacity: 0; }
@media (hover: none) { .pk-media video { opacity: 1; } .pk-media.is-live img { opacity: 0; } }
.pk:hover .pk-media img, .pk:hover .pk-media video { transform: scale(1.03); }
.pk-body { display: grid; gap: 10px; align-content: start; padding: 20px 22px 22px; }
.pk-count { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pk-name { font: 700 28px/1.05 var(--display); letter-spacing: -.03em; }
.pk-church .pk-name { font: 600 30px/1.05 var(--serif); letter-spacing: -.01em; }
.pk-livestream .pk-name { font: 800 24px/1.1 "Unbounded", var(--display); letter-spacing: -.01em; }
.pk-intro { color: var(--muted); font-size: 15px; line-height: 1.5; }
.pk-foot { display: flex; justify-content: space-between; align-items: baseline; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); }
.pk-foot b { font: 600 18px var(--mono); }
.pk-go { font: 500 13px var(--mono); color: var(--muted); transition: color .2s; }
.pk-go::after { content: " \2192"; display: inline-block; transition: transform .25s; }
.pk:hover .pk-go { color: var(--text); }
.pk:hover .pk-go::after { transform: translateX(4px); }
.pk-feature { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); grid-template-rows: none; }
.pk-feature .pk-media { aspect-ratio: auto; min-height: 360px; }
.pk-feature .pk-body { padding: clamp(24px, 3vw, 40px); align-content: center; }
.pk-feature .pk-name { font-size: clamp(34px, 3.6vw, 52px); }
/* Rows of three on a 6-column grid; build.mjs marks cards that sit two to a row (pk-w2) or alone (pk-w1), so a new
   pack never leaves an orphan card. A pack released in the last week carries an explicit "New" label. */
.pack-index { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.pack-index > .pk { grid-column: span 2; }
.pack-index > .pk-w2 { grid-column: span 3; }
.pack-index > .pk-w1, .pack-index > .pk-feature { grid-column: 1 / -1; }
.pk-new { display: inline-block; margin-right: 10px; padding: 3px 7px 2px; border-radius: 5px; background: var(--red); color: #fff; letter-spacing: .12em; }
.pk-soon { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.pk-retro-tech .pk-name { font-family: var(--mono); font-weight: 600; letter-spacing: -.04em; }
/* phones and tablets: two compact cards to a row (styles near the end of the file); the feature card spans the row */
@media (max-width: 900px) {
  .pack-index { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .pack-index > .pk, .pack-index > .pk-w2, .pack-index > .pk-w1 { grid-column: auto; }
  .pack-index > .pk-feature { grid-column: 1 / -1; }
  /* an odd last card (build.mjs marks it pk-m1) fills its row side by side: preview left, details right */
  .pack-index > .pk-m1 { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; column-gap: 0; }
  .pk-m1 .pk-body { align-content: center; }
  .pk-feature { grid-template-columns: 1fr; }
  .pk-feature .pk-media { min-height: 0; aspect-ratio: 16 / 10; }
}

/* values: three columns under one hairline */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; }
.value { padding: 22px 28px 0 0; border-top: 1px solid var(--line); }
.value + .value { padding-left: 28px; border-left: 1px solid var(--line); }
.value h3 { font-size: 22px; margin: 18px 0 10px; }
.value p { margin: 0; color: var(--muted); font-size: 15.5px; }
@media (max-width: 800px) { .values { grid-template-columns: 1fr; } .value + .value { border-left: 0; padding-left: 0; } .value { padding-bottom: 20px; } }

/* offer: the one inverted block on the page */
.offer { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr); gap: 30px 60px; align-items: end; margin-block: clamp(30px, 5vw, 60px);
  padding: clamp(28px, 5vw, 64px); border-radius: 18px; background: var(--paper); color: var(--ink); }
.offer h2 { color: var(--ink); margin: 0 0 12px; }
.offer .kicker { color: #6d6a63; }
.offer .muted { color: #5e5b55; margin: 0; }
.offer .btn { width: 100%; background: var(--ink); color: var(--paper); }
.offer .btn:hover { background: #000; color: #fff; }
.offer .form-result, .offer .small { color: #5e5b55; }
@media (max-width: 800px) { .offer { grid-template-columns: 1fr; } }

/* cards, faq, product pages: flatter surfaces */
.card { background: var(--ink-2); border-radius: 14px; padding: 10px 10px 16px; }
.card:hover, .card:focus-visible { transform: none; border-color: var(--line-2); box-shadow: none; }
.card .monitor { border-radius: 8px; }
.card-name { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.card-price { font: 500 14px var(--mono); color: var(--text); }
.card--free .card-price { background: var(--red); color: #fff; }
.faq details { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { padding: 20px 50px 20px 0; font-weight: 600; letter-spacing: -.01em; }
.faq summary::after { right: 4px; color: var(--muted); font-family: var(--mono); font-weight: 400; }
.faq details p { padding: 0 0 20px; color: var(--muted); max-width: 70ch; }
.buy-card { background: var(--ink-2); border-color: var(--line); box-shadow: none; border-radius: 16px; }
.upsell { background: none; border: 1px solid var(--line-2); border-radius: 10px; }
.upsell:hover { border-color: var(--text); }
.specs { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 22px 0 0; }
.price-now { font-weight: 700; font-stretch: 100%; letter-spacing: -.04em; }
.price-was { font-family: var(--mono); font-weight: 400; }
.save-badge { background: var(--red); color: #fff; border-radius: 6px; font-weight: 700; }
/* "includes" list: plain hairline rows in the house style (no icon circles) */
.ticks { gap: 0; margin: 16px 0; border-top: 1px solid var(--line); }
.ticks li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.ticks li::before { content: none; }
.pack-sec .section-head h2, .pack-head h1 { background: none; -webkit-text-fill-color: currentColor; color: var(--text); }
.buy-bar { background: rgba(20, 20, 22, .92); border-color: var(--line-2); }
.buy-bar .btn { border-radius: 999px; padding-inline: 22px; }   /* pill inside the pill bar */
/* long pack names truncate; the button never wraps to two lines */
.buy-bar > span { min-width: 0; }
.buy-bar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.buy-bar .btn { flex: none; white-space: nowrap; }
.free { padding-top: 22px; border-top: 1px solid var(--line); }
.reel { border-radius: 14px; border-color: var(--line); box-shadow: none; }
/* home showreel: full-width frame under the hero copy; mono tag top left, Pause/Play + Sound chips top right */
.hero-reel { margin-top: clamp(24px, 3vw, 40px); border-color: var(--line-2); }
.reel-tag, .reel-ctrls { position: absolute; z-index: 1; top: clamp(10px, 1.3vw, 18px); margin: 0; }
.reel-tag { left: clamp(10px, 1.3vw, 18px); pointer-events: none; }
.reel-ctrls { right: clamp(10px, 1.3vw, 18px); display: flex; gap: 8px; }
.reel-tag, .reel-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 8px 11px;
  border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); background: rgba(12, 12, 13, .58); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; }
.reel-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.reel-btn { position: relative; cursor: pointer; transition: background-color .2s, border-color .2s; }
.reel-btn::after { content: ""; position: absolute; inset: -8px -4px; } /* bigger touch target, same look; stops at the 8px gap */
.reel-btn:hover { background: rgba(12, 12, 13, .82); border-color: rgba(243, 240, 232, .35); }
.reel-play { min-width: 5.8em; } /* same width for PAUSE and PLAY so the chip doesn't jump */
.reel-sound[aria-pressed=true] { color: #fff; background: var(--red); border-color: var(--red); }
@media (max-width: 520px) {
  .reel-ctrls { gap: 6px; }
  .reel-tag, .reel-btn { padding: 7px 8px; font-size: 11px; letter-spacing: .08em; }
  .reel-btn::after { inset: -8px -3px; }
}
.site-foot { border-top-color: var(--line); }
/* pack page banner: the pack's showcase render behind the title */
.pack-head { position: relative; isolation: isolate; overflow: hidden; min-height: min(62vh, 560px); align-items: end; padding: clamp(24px, 4vw, 48px); border-radius: 18px; background: #000; border: 1px solid var(--line); }
.ph-media { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.pack-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 8, 9, .92) 0%, rgba(8, 8, 9, .6) 45%, rgba(8, 8, 9, .15) 100%), linear-gradient(0deg, rgba(8, 8, 9, .7), transparent 50%); }
.pack-head .eyebrow, .pack-church.pack-head .eyebrow { color: #cfcac0; }
.pack-head .lede { color: #d8d4cb; }
.pack-buy { background: rgba(12, 12, 13, .72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line-2); border-radius: 14px; }
.pack-buy > a.small { color: #cfcac0; }
@media (max-width: 860px) { .pack-head::before { background: linear-gradient(0deg, rgba(8, 8, 9, .92) 30%, rgba(8, 8, 9, .35)); } }
/* split-flap: dark housing behind each row, like a real board */
.sg-row { left: 50%; right: auto; transform: translateX(-50%); padding: calc(16 * var(--u)) calc(22 * var(--u)); border-radius: calc(17 * var(--u)); background: rgba(13, 14, 17, .94); box-shadow: 0 calc(16 * var(--u)) calc(40 * var(--u)) rgba(0, 0, 0, .5); }
.sg-row:empty { display: none; }
.sg-row.sg-sm { padding: calc(12 * var(--u)) calc(14 * var(--u)); border-radius: calc(10 * var(--u)); }



.hero-head h1 { font-size: clamp(42px, 6vw, 88px); max-width: 15ch; margin-inline: auto; }

/* hero headline: one phrase set in a signal-red highlight that sweeps in on load */
.hl-mark { display: inline-block; white-space: nowrap; color: #fff; padding: 0 .14em .04em; margin-left: -.02em; border-radius: .08em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--red), var(--red)) no-repeat 0 0 / 0% 100%; animation: hl-sweep .9s .35s cubic-bezier(.7, 0, .2, 1) forwards; }
@keyframes hl-sweep { to { background-size: 100% 100%; } }
@media (prefers-reduced-motion: reduce) { .hl-mark { animation: none; background-size: 100% 100%; } }
.hero-head h1 { max-width: 17ch; }
.try-sec .console { max-width: 1240px; margin-inline: auto; }

/* search landing pages and the free page */
.lp-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr); gap: 24px clamp(28px, 5vw, 70px); align-items: end; padding-block: clamp(20px, 4vw, 48px) clamp(28px, 4vw, 44px); }
.lp-head h1 { font-size: clamp(40px, 5.6vw, 80px); max-width: 16ch; margin: 0 0 18px; }
.lp-head .lede { margin: 0; }
.lp-head .actions { margin-top: 26px; }
.lp-copy { grid-column: 1; }
.lp-form { padding: 22px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-2); }
.lp-preview { margin-bottom: clamp(20px, 3vw, 36px); }
.lp-preview video { display: block; width: 100%; height: auto; border-radius: 16px; background: #0c0c0d; }
.lp-preview-tall { display: none; }
@media (max-width: 600px) { .lp-preview-wide { display: none; } .lp-preview-tall { display: block; max-width: 360px; margin: 0 auto; } }
.lp-demo { margin-bottom: clamp(20px, 3vw, 36px); }
.lp-demo-note { margin: 12px 2px 0; }
.lp-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 80px); align-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.lp-article { padding-top: 0; max-width: 70ch; }
.lp-article h2 { font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.025em; }
.lp-article h2:first-child { margin-top: .4em; }
.lp-article li + li { margin-top: 6px; }
.lp-aside { position: sticky; top: 90px; display: grid; gap: 14px; }
.lp-card { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: 14px; border: 1px solid var(--line); background: var(--ink-2); }
.lp-card .eyebrow { margin: 0; }
.lp-card p { margin: 0; }
.lp-card-n { font: 700 22px/1.15 var(--display); letter-spacing: -.02em; }
.lp-card .btn { width: 100%; justify-content: center; }
.lp-card--free { border-color: rgba(255, 59, 47, .35); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.topics .guide-list { margin-top: 0; }
.topics-h { margin-top: 48px; }
.render-sec .reel { max-width: 1100px; }
@media (max-width: 900px) {
  .lp-head, .lp-body { grid-template-columns: 1fr; }
  .lp-aside { position: static; }
}
/* admin traffic */
.tr-chart { display: flex; align-items: flex-end; gap: 3px; height: 120px; margin: 18px 0 28px; padding-bottom: 1px; border-bottom: 1px solid var(--line-2); }
.tr-chart span { flex: 1; min-width: 3px; height: var(--h); min-height: 1px; background: var(--red); border-radius: 2px 2px 0 0; }
.tr-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 12px 36px; }
.tr-block table { width: 100%; }

/* ---------- LaunchFrame Unlimited: join box, /unlimited/, /library/ ---------- */
.join { display: grid; gap: 12px; }
.join .price { margin: 6px 0 0; }
.join .btn { width: 100%; }
.price-per { font: 500 16px var(--mono); color: var(--muted); }
.plan-note { margin: 0; }
.plan-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); }
.plan-toggle button { display: inline-flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px; min-height: 42px; padding: 8px 10px; border: 0; border-radius: 7px;
  background: transparent; color: var(--muted); font: 500 12px/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.plan-toggle button:hover { color: var(--text); }
.plan-toggle button[aria-pressed=true] { background: var(--paper); color: var(--ink); }
.plan-save { padding: 3px 6px; border-radius: 5px; background: var(--red); color: #fff; font-size: 10px; letter-spacing: .06em; }
/* the same box on the paper offer block */
.offer .plan-toggle { border-color: rgba(12, 12, 13, .2); }
.offer .plan-toggle button { color: #5e5b55; }
.offer .plan-toggle button:hover { color: var(--ink); }
.offer .plan-toggle button[aria-pressed=true] { background: var(--ink); color: var(--paper); }
.offer .price-per { color: #5e5b55; }
.offer a:not(.btn) { color: var(--ink); }
.offer .link-arrow { border-color: rgba(12, 12, 13, .25); }
.offer .link-arrow:hover { border-color: var(--ink); }
.offer .offer-alt { margin-top: 14px; }
.offer-more { display: inline-block; margin-top: 20px; }
/* "Or get everything with Unlimited" under product and pack buy boxes */
.unl-link { display: block; margin-top: 14px; font: 500 13px/1.4 var(--mono); color: var(--muted); text-decoration: none; }
.unl-link::after { content: " \2192"; }
.unl-link:hover { color: var(--text); }
.pack-buy > a.unl-link { margin-top: 8px; color: #cfcac0; }
/* /unlimited/ */
.unl-head { align-items: center; }
.unl-join { display: grid; gap: 14px; }
.unl-member { margin: 0; }
.unl-inc { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr)); gap: 0 28px; }
.unl-inc li { display: grid; gap: 8px; align-content: start; padding: 22px 0; border-top: 1px solid var(--line); }
.unl-inc b { font: 700 20px/1.15 var(--display); letter-spacing: -.02em; }
.unl-inc b::before { content: ""; display: block; width: 8px; height: 8px; margin-bottom: 14px; border-radius: 50%; background: var(--red); }
.unl-inc span { color: var(--muted); font-size: 15.5px; }
.unl-compare { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 14px; }
.unl-pick { border-color: rgba(255, 59, 47, .45); }
/* packs only: a template's card names its pack, the buy box sells the pack, a how-to callout where a pack needs one */
.card-price.card-pack { flex: none; color: var(--muted); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.pack-note { margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; border: 1px solid rgba(255, 59, 47, .45); color: var(--muted); font-size: 15px; line-height: 1.55; }
.pack-note a { color: var(--text); white-space: nowrap; }
.pack-note a::after { content: " \2192"; }
.pack-head + .pack-note { max-width: 860px; margin: 18px 0 0; }
.pack-buy .price .price-per { font-size: 14px; }
/* SHOW_UNRELEASED preview builds only */
.preview-flag { margin-block: 14px 0; padding: 10px 14px; border-radius: 10px; border: 1px dashed var(--red); font: 500 13px/1.5 var(--mono); color: var(--text); }
/* home hero: the code-built sizzle (sizzle.js, sizzle.css) as a full-bleed cinematic band under the header, about 2.4-2.6:1
   on desktop (41.7vw, capped by viewport height so it stays a band on short laptops) and 4:3 on phones; the reel re-lays
   itself out for the band. The poster holds its first frame until the canvas starts, and is all that shows without JS.
   No visible chrome: the one control, Pause, appears on keyboard focus (sizzle.css, .lfs-skip). */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.hero.hero-full { padding: 0; }
.hero-sizzle { width: 100%; aspect-ratio: auto; height: clamp(300px, min(41.7vw, 68svh), 760px); border: 0; border-radius: 0; }
.hero-sizzle .lfs-host { position: absolute; inset: 0; }
.lfs-poster { position: absolute; inset: 0; z-index: 1; display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
@media (max-width: 600px) { .hero-sizzle { height: auto; aspect-ratio: 4 / 3; } }
/* guides: figures (renders and stills) and the FAQ block */
.article figure { margin: 26px 0 30px; }
.article figure img { display: block; width: 100%; height: auto; border-radius: 10px; border: 1px solid var(--line); background: #000; }
.article figcaption { margin-top: 10px; color: var(--muted); font-size: 14px; line-height: 1.5; }
.article .faq { margin-top: 8px; }
/* "<template> is free on its own" under a pack's buy box; "One of the N templates in the <pack>" under a free template's form */
.pack-free { margin: 12px 0 0; }
.pack-free a { color: var(--text); }
/* /free/ with four templates: 4 across, 2 x 2 on tablets, 1 on phones */
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .grid-4 { grid-template-columns: 1fr; } }

/* ?diag playback report (engine.js) */
.diag { position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 9999; margin: 0; padding: 12px; font: 13px/1.5 ui-monospace, monospace; color: #0c0c0d; background: #f3f0e8; border: 2px solid #ff3b2f; border-radius: 10px; white-space: pre-wrap; }

/* founding price line: plain type in the house style (mono label, no box) */
.founding-note { margin: 18px 0 0; color: var(--text); font-size: 15px; line-height: 1.5; max-width: 58ch; }
.founding-note b { display: block; margin-bottom: 4px; font: 600 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.founding-note.small { font-size: 13px; margin-top: 12px; }
.founding-note [data-founding-left]:not(:empty) { color: var(--muted); white-space: nowrap; }

/* header: Browse (/templates/) with a search glyph; on phones the glyph alone, a 40px target beside the Unlimited button */
.nav-browse { display: inline-flex; align-items: center; gap: 7px; }
.i-search { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: square; }
@media (max-width: 1000px) { .site-head nav a.nav-sig { display: none; } }
@media (max-width: 720px) {
  .site-head nav { gap: 8px; }
  .site-head nav a.nav-browse { display: inline-flex; justify-content: center; width: 40px; height: 40px; color: var(--text); }
  .nav-browse span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .nav-browse .i-search { width: 19px; height: 19px; }
}
/* the logo never shrinks: squeezed, its wide display type draws past its box and over the search glyph (WebKit) */
.site-head .logo { flex: none; }
/* 390-440 px phones (iPhone Pro and Pro Max): logo, search glyph and the Unlimited button share 350-400 px */
@media (max-width: 440px) {
  .site-head { gap: 8px; }
  .site-head .logo { font-size: 14px; gap: 8px; letter-spacing: .01em; }
  .site-head .logo-mark { width: 22px; height: 22px; }
  .site-head nav { gap: 2px; }
  .site-head nav a.nav-browse { width: 36px; }
  .site-head .btn-sm { padding-inline: 10px; font-size: 12.5px; }
}
/* 375 px phones (SE, mini): logo, search glyph and the Unlimited button share 343 px */
@media (max-width: 389px) {
  .site-head { gap: 8px; }
  .site-head .logo { font-size: 12.5px; gap: 7px; letter-spacing: 0; }
  .site-head .logo-mark { width: 20px; height: 20px; }
  .site-head nav { gap: 2px; }
  .site-head nav a.nav-browse { width: 36px; }
}
/* the smallest phones (320 px): the logo and the Unlimited button give up a little more room */
@media (max-width: 359px) {
  .site-head { gap: 6px; }
  .site-head .logo { font-size: 10.5px; gap: 6px; }
  .site-head .logo-mark { width: 18px; height: 18px; }
  .site-head nav a.nav-browse { width: 32px; }
  .site-head .btn-sm { padding-inline: 8px; font-size: 11px; }
}

/* pack index on phones: compact cards (preview, count, name, price); small cards drop the intro and the "View pack" cue */
@media (max-width: 600px) {
  .pack-index { gap: 10px; }
  .pk:not(.pk-feature) { border-radius: 10px; }
  .pk:not(.pk-feature) .pk-body { gap: 5px; padding: 10px 11px 11px; }
  .pk:not(.pk-feature) .pk-count { font-size: 11px; letter-spacing: .08em; line-height: 1.3; }
  .pk:not(.pk-feature) .pk-new { margin-right: 6px; padding: 2px 5px 1px; }
  .pk:not(.pk-feature) .pk-name { font-size: 16px; line-height: 1.15; letter-spacing: -.02em; }
  .pk:not(.pk-feature) .pk-intro, .pk:not(.pk-feature) .pk-go { display: none; }
  .pk:not(.pk-feature) .pk-foot { padding-top: 8px; }
  .pk:not(.pk-feature) .pk-foot b { font-size: 13px; }
  .pk-feature .pk-body { gap: 8px; padding: 16px 16px 18px; }
  .pk-feature .pk-name { font-size: 30px; }
  .pk-feature .pk-intro { font-size: 14px; }
}
/* home: the way into the browse page, under the pack index */
.browse-all { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 18px; margin-top: 16px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); text-decoration: none; transition: border-color .25s; }
.browse-all:hover { color: var(--text); border-color: var(--line-2); }
.ba-k { font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.ba-t { flex: 1 1 auto; font: 700 20px/1.2 var(--display); letter-spacing: -.02em; }
.ba-go { font: 500 13px var(--mono); color: var(--muted); }
.ba-go::after { content: " \2192"; }
.browse-all:hover .ba-go { color: var(--text); }
@media (max-width: 600px) { .browse-all { margin-top: 10px; padding: 16px; } .ba-t { flex-basis: 100%; font-size: 18px; } }

/* ---------- browse: /templates/ (search, filter chips, pack and sort; app.js filters the cards in place) ---------- */
.br-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px 40px; align-items: end; padding-block: 24px 26px; }
.br-head h1 { font-size: clamp(42px, 6vw, 84px); margin: 0 0 16px; }
.br-head .lede { margin: 0; }
.br-views { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; min-width: 280px; padding: 4px; border-radius: 10px; border: 1px solid var(--line-2); }
.br-views button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 8px 12px; border: 0; border-radius: 7px;
  background: transparent; color: var(--muted); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.br-views button:hover { color: var(--text); }
.br-views button[aria-pressed=true] { background: var(--paper); color: var(--ink); }
.br-views button[aria-pressed=true] .chip-n { color: #6d6a63; }
.browse[data-view=packs] .br-tools, .browse[data-view=packs] .br-grid, .browse[data-view=packs] .br-empty, .browse[data-view=templates] .br-packs { display: none; }
.br-packs { padding-top: 22px; border-top: 1px solid var(--line); }

.br-tools { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "search search" "type type" "use use" "format format" "pack pack" "status sort";
  column-gap: 24px; margin-bottom: 22px; }
.br-search { grid-area: search; margin-bottom: 12px; }
.br-search input { min-height: 54px; padding-left: 46px; font-size: 17px; -webkit-appearance: none; appearance: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%239c988f' stroke-width='1.8'%3E%3Ccircle cx='8.5' cy='8.5' r='5.75'/%3E%3Cpath d='M12.8 12.8l4.7 4.7'/%3E%3C/svg%3E") no-repeat 16px 50% / 18px; }
.br-search input::-webkit-search-cancel-button { cursor: pointer; }
.br-search input::-webkit-search-decoration { -webkit-appearance: none; }
.br-g { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 8px 14px; padding-block: 9px; border-top: 1px solid var(--line); }
.br-g-type { grid-area: type; } .br-g-use { grid-area: use; } .br-g-format { grid-area: format; } .br-g-pack { grid-area: pack; } .br-g-sort { grid-area: sort; }
.br-label { font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.br-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 40px; padding: 0 13px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent;
  color: var(--text); font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; cursor: pointer; transition: background-color .2s, border-color .2s, opacity .2s; }
.chip:hover { border-color: rgba(243, 240, 232, .4); }
.chip-n { color: var(--muted); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.chip[aria-pressed=true] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.chip[aria-pressed=true] .chip-n { color: #6d6a63; }
.chip.is-zero:not([aria-pressed=true]) { opacity: .38; }
.br-select { width: min(100%, 340px); min-height: 44px; padding: 0 40px 0 14px; border-radius: 8px; border: 1px solid var(--line-2); color: var(--text); cursor: pointer;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; -webkit-appearance: none; appearance: none;
  background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%23f3f0e8' stroke-width='1.6'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 14px center / 11px; }
.br-select:focus { outline: none; border-color: var(--paper); }
/* iOS Safari zooms the page into any form field under 16px when it's tapped */
@media (hover: none) { .br-select { font-size: 16px; letter-spacing: .04em; } }
.br-select:focus-visible { outline: 2px solid var(--red); outline-offset: 2px; }
.br-g-sort { grid-template-columns: auto auto; border-top: 0; padding-top: 14px; justify-content: end; }
.br-g-sort .br-select { width: auto; min-width: 150px; }
.br-status { grid-area: status; display: flex; align-items: center; gap: 4px 16px; padding-top: 14px; }
.br-count { margin: 0; font: 500 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.br-clear { min-height: 40px; padding: 0 2px; border: 0; background: none; color: var(--text); cursor: pointer; font: 500 12px var(--mono); letter-spacing: .12em; text-transform: uppercase;
  text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 4px; }
.br-clear:hover { text-decoration-color: var(--text); }
.br-toggle { display: none; }
.br-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.br-grid > [hidden] { display: none; }
/* the pack name sits under the template name: side by side it squeezes long names onto three lines */
.br-grid .card { grid-template-columns: minmax(0, 1fr); align-content: start; }
.br-grid .card-meta { flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.br-grid .card-price.card-pack { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.br-empty { padding: 40px 0 10px; border-top: 1px solid var(--line); }
.br-empty p { margin: 0 0 16px; color: var(--muted); }

@media (max-width: 720px) {
  .br-head { grid-template-columns: 1fr; gap: 16px; padding-block: 10px 16px; }
  .br-head .eyebrow { margin-bottom: 12px; }
  .br-head h1 { margin-bottom: 10px; }
  .br-head .lede { font-size: 16px; line-height: 1.5; }
  .br-views { min-width: 0; }
  .br-views button { min-height: 38px; }
  .br-tools { grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "search search" "type type" "toggle status" "use use" "format format" "pack pack" "sort sort"; column-gap: 12px; margin-bottom: 14px; }
  .br-search { margin-bottom: 10px; }
  .br-search input { min-height: 50px; }
  .br-g { grid-template-columns: minmax(0, 1fr); padding-block: 12px; }   /* minmax: WebKit grew a plain 1fr to fit the unwrapped chip row (320 px overflow) */
  /* the type chips are the one row always on screen: a single line that scrolls sideways to the screen edges */
  .br-g-type { padding-block: 0 10px; border-top: 0; }
  .br-g-type .br-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .br-g-type .br-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .br-g-type .br-chips::-webkit-scrollbar { display: none; }
  .br-toggle { grid-area: toggle; display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--line-2);
    background: transparent; color: var(--text); font: 500 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
  .br-toggle[aria-expanded=true] { background: var(--paper); border-color: var(--paper); color: var(--ink); }
  .br-active { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--red); color: #fff; font-size: 11px; letter-spacing: 0; }
  .br-active[hidden] { display: none; }
  .br-status { justify-content: flex-end; padding-top: 0; }
  .br-count { text-align: right; }
  /* Filters panel: use, format, pack and sort open under the bar */
  .br-g-use, .br-g-format, .br-g-pack, .br-g-sort { display: none; }
  .br-tools[data-open] .br-g-use, .br-tools[data-open] .br-g-format, .br-tools[data-open] .br-g-pack, .br-tools[data-open] .br-g-sort { display: grid; }
  .br-tools[data-open] .br-g-use { margin-top: 12px; }
  .br-g-sort { grid-template-columns: 1fr; justify-content: stretch; padding-top: 12px; border-top: 1px solid var(--line); }
  .br-g-sort .br-select, .br-select { width: 100%; }
}
/* phones: two template cards to a row, name and pack only */
@media (max-width: 600px) {
  .br-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .br-grid .card { gap: 8px; padding: 6px 6px 11px; border-radius: 10px; }
  .br-grid .card .monitor { border-radius: 6px; }
  .br-grid .card-meta { gap: 4px; padding: 0 3px; }
  .br-grid .card-name { font-size: 15px; line-height: 1.2; letter-spacing: -.015em; }
  .br-grid .card-price { font-size: 12px; }
  .br-grid .card-price.card-pack { font-size: 11px; letter-spacing: .08em; }
  .br-grid .card--free .card-price { padding: 2px 7px; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
  .br-grid .card-blurb { display: none; }
}

/* ---------- signed in: member.js marks <html> from the lf_member hint cookie; build.mjs ("signed in") documents the attributes.
   Signed out, everything below is hidden and the page is exactly as before. The per-pack rules for buyers are in thumbs.css. ---------- */
html:not([data-signed-in]) [data-show="signed-in"], html[data-signed-in] [data-hide="signed-in"],
html:not([data-member]) [data-show="member"], html[data-member] [data-hide="member"],
html[data-member] [data-hide="has"], html[data-member] [data-show="owns"],
html:not([data-member]):not([data-owns]) [data-show="has"], html:not([data-owns]) [data-show="owns"] { display: none !important; }
/* "Download in your library" in place of a pack's buy button; "You're a member" in place of the join box on /unlimited/ */
.in-lib, .unl-in { display: grid; gap: 10px; }
.in-lib-k { margin: 0; font: 500 11px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.in-lib .btn, .unl-in .btn { width: 100%; }
.in-lib p.small, .unl-in p.small { margin: 0; }
.buy-card .in-lib { margin-top: 4px; }

/* ---------- /library/: the store's own cards (the browse grid, 2-up on phones), grouped by pack in pack order ---------- */
.library { padding-block: 18px 70px; }
.library [hidden] { display: none !important; }   /* app.js shows and hides parts with the attribute; class display rules mustn't win */
.lib-head h1 { margin: 0 0 20px; font-size: clamp(40px, 5vw, 72px); }
.lib-welcome { margin: 0 0 20px; padding: 18px 20px; border-radius: 12px; border: 1px solid var(--line-2); background: var(--ink-2); }
.lib-welcome .kicker { margin-bottom: 8px; color: var(--red); }
.lib-welcome p:last-child { margin: 0; }
.lib-status:empty { display: none; }
.lib-status.error { color: #ff8a95; font-weight: 600; }
.lib-signin { max-width: 600px; padding: 22px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--ink-2); }
.lib-signin > p:first-child { margin-top: 0; }
@media (max-width: 480px) { .lib-signin .row { flex-direction: column; } }   /* phones: a full-width email field over the button */
/* the member panel: who, plan, renewal and the account buttons on one hairline-ruled row; stacked on phones */
.lib-account { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 40px; padding: 14px 0; border-block: 1px solid var(--line); }
.lib-plan { display: flex; flex-wrap: wrap; gap: 10px 40px; margin: 0; min-width: 0; }
.lib-plan > div { min-width: 0; }
.lib-plan dt { margin: 0 0 3px; font: 500 11px/1.3 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.lib-plan dd { margin: 0; font-size: 16px; font-weight: 600; line-height: 1.35; overflow-wrap: anywhere; }
.lib-actions { display: flex; gap: 8px; }
.lib-actions .btn { min-height: 40px; }
.lib-actions .btn[hidden] { display: none; }
.lib-note { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-2); font-size: 15px; line-height: 1.5; }
.lib-note--warn { border-color: rgba(255, 59, 47, .6); }
[data-lib-result]:empty { display: none; }
.lib-yours { margin: 28px 0 0; }
/* search and the pack filter: the browse page's search box and chips */
.lib-tools { margin: 22px 0 0; }
.lib-tools[hidden] { display: none; }
.lib-tools .br-search { margin-bottom: 10px; }
.lib-chips { padding-block: 10px; border-top: 1px solid var(--line); }
.lib-chips .chip[hidden] { display: none; }
.lib-tools .br-status { padding-top: 2px; }
/* a pack: count, name and the whole-pack download over its cards */
.lib-pack { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.lib-pack[hidden], .lib-grid > [hidden] { display: none; }
.lib-pack-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "count act" "name act" "msg msg"; align-items: end; gap: 6px 24px; margin-bottom: 16px; }
.lib-count { grid-area: count; margin: 0; font: 500 12px/1.3 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.lib-count .pk-new { margin-right: 8px; }
.lib-pack-name { grid-area: name; margin: 0; font-size: clamp(26px, 3vw, 40px); line-height: 1.05; }
.lib-pack-name a { color: var(--text); text-decoration: none; }
.lib-pack-name a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.lib-pack-dl { grid-area: act; min-height: 40px; white-space: nowrap; }
.lib-pack-msg { grid-area: msg; }
/* a card: preview and name (to the template page), then Download */
.lib-card { grid-template-rows: 1fr auto; align-content: stretch; }
.lib-card-link { display: grid; gap: 12px; align-content: start; min-width: 0; color: var(--text); text-decoration: none; }
.lib-card-link:hover { color: var(--text); }
.lib-act { display: grid; gap: 8px; padding: 2px 4px 0; }
.lib-dl { width: 100%; min-height: 40px; }
.lib-dl[hidden], .lib-inpack[hidden], .lib-pack-dl[hidden] { display: none; }
.lib-inpack { display: flex; align-items: center; min-height: 40px; margin: 0; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.lib-msg { font-size: 13px; line-height: 1.45; color: var(--muted); }
.lib-msg:empty { display: none; }
.lib-msg.error { color: #ff8a95; }
.lib-msg .file-list { margin: 6px 0 0; gap: 6px; }
.lib-msg .file-list a { align-items: center; min-height: 40px; padding: 8px 10px; border-radius: 8px; background: transparent; border: 1px solid var(--line-2); font-size: 13px; font-weight: 600; }
.lib-msg .file-list a:hover { background: rgba(243, 240, 232, .06); }
.lib-msg .file-list a span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-msg .file-list .muted { flex: none; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; }
.lib-card .lib-msg .file-list .muted { display: none; }
/* not a member: a quiet Unlimited offer, then the packs they don't have yet */
.lib-more { margin-top: clamp(44px, 6vw, 80px); }
.lib-upsell { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 18px 48px; padding-top: 22px; border-top: 1px solid var(--line); }
.lib-upsell h2 { margin: 0 0 12px; font-size: clamp(30px, 3.6vw, 48px); }
.lib-upsell .muted { margin: 0; max-width: 58ch; }
.lib-upsell .btn { min-height: 46px; padding-inline: 26px; }
.lib-buy { margin-top: clamp(40px, 5vw, 64px); }
.pack-index > .pk[hidden] { display: none; }
.obs-badge { display: inline-flex; align-items: center; width: fit-content; margin: 12px 0 0; padding: 7px 9px; border: 1px solid var(--red); border-radius: 6px;
  color: var(--text); font: 500 11px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.obs-badge::before { content: ""; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--red); }
.obs-callout { border-top: 1px solid var(--line); }
.obs-setup .lede { color: var(--muted); }
.obs-setup code { color: var(--paper); }
@media (max-width: 720px) {
  .lib-account { display: grid; gap: 14px; }
  .lib-plan { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
  .lib-plan > div:first-child { grid-column: 1 / -1; }
  .lib-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .lib-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding-inline: 20px; scroll-padding-inline: 20px; scrollbar-width: none; overscroll-behavior-x: contain; }
  .lib-chips::-webkit-scrollbar { display: none; }
  .lib-upsell { grid-template-columns: 1fr; }
  .lib-upsell .btn { width: 100%; }
}
@media (max-width: 600px) {
  .lib-pack { margin-top: 22px; padding-top: 16px; }
  .lib-pack-head { grid-template-columns: minmax(0, 1fr); grid-template-areas: "count" "name" "act" "msg"; gap: 6px; margin-bottom: 12px; }
  .lib-pack-name { font-size: 26px; }
  .lib-pack-dl { justify-self: start; margin-top: 6px; }
  .lib-act { padding: 0 2px; }
  .lib-dl { padding-inline: 8px; font-size: 13px; }
  .lib-inpack { font-size: 10px; letter-spacing: .08em; }
}
