/* Smartflow Studio — site.
   The same language as the product: the entrance's night, glass and live production wall (studio/static/studio/login.css)
   and the app's interface (app.css, dark): square corners, 1px lines, Space Grotesk titles, Inter text, caps tracked
   labels and buttons. Round only what is round in life (a play button, an avatar, a dot). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 300 700; font-display: swap; src: url(/assets/fonts/space-grotesk-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* the entrance */
  --bg: #05070d;
  --ink: #f4f6fb;
  --muted: #9aa3b5;
  --faint: #6b7385;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glass: rgba(10, 14, 24, 0.74);
  --brand: #0a5cd6;
  --brand-hover: #2a72e6;
  --accent: #5b9dff;
  --violet: #7c3aed;
  --ok: #34d399;
  --warn: #fbbf24;
  --err: #f87171;
  /* the app's dark interface (for its replicas) */
  --app-bg: #0a0a0a;
  --app-surface: #111111;
  --app-surface-2: #1a1a1a;
  --app-border: #262626;
  --app-border-strong: #3a3a3a;
  --app-text: #f8f8f8;
  --app-muted: #a3a3a3;
  --app-accent: #60a5fa;
  --app-brand: #004aad;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Space Grotesk", "Inter", ui-sans-serif, system-ui, sans-serif;
  --wrap: 1240px;
  --gutter: clamp(16px, calc(4vw / var(--zoom, 1)), 32px);
}
/* The site's scale on computers: the look of the browser at 90% (more air on the sides, finer type), at 100%.
   Phones and tablets keep 100%. Screen units (vw, vh) are divided by --zoom so they keep filling the screen. */
@media (min-width: 1024px) {
  :root { --zoom: 0.9; }
  html { zoom: var(--zoom); }
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 15px/1.55 var(--font); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: #8fbaff; text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::selection { background: rgba(91, 157, 255, 0.35); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--brand); color: #fff; padding: 10px 14px; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: min(var(--wrap), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--narrow { width: min(860px, 100% - 2 * var(--gutter)); }

/* ---- type ---- */
.eyebrow { display: flex; align-items: center; gap: 12px; color: var(--accent); font: 600 12px/1 var(--font); letter-spacing: 0.32em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; flex: none; }
.head--center .eyebrow { justify-content: center; }
.title { font: 600 clamp(34px, calc(4.6vw / var(--zoom, 1)), 60px)/1.03 var(--display); letter-spacing: -0.035em; }
.title em, .hero-title em, .grad {
  font-style: normal; background: linear-gradient(92deg, #ffffff 0%, #8fbaff 45%, #5b9dff 70%, #a78bfa 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lead { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 58ch; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.caps { font: 600 11px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }

/* ---- buttons: as inside the Studio (square, caps, tracked) ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 50px; padding: 0 24px; border: 1px solid transparent;
  font: 600 13px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; cursor: pointer; white-space: nowrap;
  transition: background 0.2s, border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 10px 30px -10px rgba(10, 92, 214, 0.65); }
.btn--primary:hover { background: var(--brand-hover); color: #fff; }
.btn--line { background: rgba(255, 255, 255, 0.03); color: var(--ink); border-color: var(--line-strong); }
.btn--line:hover { background: rgba(255, 255, 255, 0.08); color: #fff; border-color: rgba(255, 255, 255, 0.3); }
.btn--sm { height: 38px; padding: 0 16px; font-size: 12px; }
.btn--block { width: 100%; }
.btn i { font-size: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.link { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.link i { transition: transform 0.2s; }
.link:hover i { transform: translateX(4px); }

/* ---- navigation ---- */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 50; border-bottom: 1px solid transparent; transition: background 0.3s, border-color 0.3s; }
.nav.is-scrolled { background: rgba(5, 7, 13, 0.82); border-color: var(--line); backdrop-filter: blur(16px) saturate(130%); -webkit-backdrop-filter: blur(16px) saturate(130%); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__brand { display: flex; align-items: center; gap: 14px; color: var(--ink); }
.nav__brand img { height: 26px; width: auto; }
.nav__product { font: 600 11px/1 var(--font); letter-spacing: 0.32em; text-transform: uppercase; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line-strong); }
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__links > a:not(.btn) { color: var(--muted); font-size: 14px; font-weight: 500; position: relative; }
.nav__links > a:not(.btn):hover, .nav__links > a[aria-current="page"] { color: var(--ink); }
.nav__links > a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -27px; height: 2px; background: var(--accent); }
.nav__cta { display: flex; gap: 10px; align-items: center; }
.nav__toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line-strong); background: transparent; color: var(--ink); cursor: pointer; }
@media (max-width: 960px) {
  .nav { background: rgba(5, 7, 13, 0.82); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
  .nav__toggle { display: grid; place-items: center; }
  .nav__links { position: fixed; inset: 72px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 24px; background: rgba(5, 7, 13, 0.98); border-bottom: 1px solid var(--line); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s, transform 0.2s, visibility 0.2s; }
  .nav__links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__links > a:not(.btn) { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .nav__links > a[aria-current="page"]::after { display: none; }
  .nav__cta { flex-direction: column; align-items: stretch; margin-top: 18px; }
  .nav__cta .btn { height: 48px; }
}

/* ---- the live wall (the entrance's, studio/static/studio/login.css) ---- */
.wall { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.wall-glow { position: absolute; inset: -20%; background:
  radial-gradient(40% 38% at 72% 42%, rgba(10, 92, 214, 0.42), transparent 70%),
  radial-gradient(30% 30% at 88% 88%, rgba(124, 58, 237, 0.22), transparent 70%),
  radial-gradient(35% 35% at 12% 10%, rgba(14, 165, 233, 0.14), transparent 70%);
  will-change: transform; animation: glow 18s ease-in-out infinite alternate; }
@keyframes glow { to { transform: translate3d(-3%, 2%, 0) scale(1.06); } }
.wall-stage { position: absolute; top: -12%; right: -6%; width: calc(78vw / var(--zoom, 1)); height: 124%; display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px;
  perspective: 1400px; transform-style: preserve-3d; transform: rotateX(18deg) rotateY(-22deg) rotateZ(8deg) translate3d(var(--px, 0px), var(--py, 0px), 0);
  transition: transform 1.2s cubic-bezier(.2, .7, .2, 1); }
.wall-col { display: flex; flex-direction: column; gap: 22px; will-change: transform; animation: drift var(--dur, 40s) linear infinite; }
.wall-col:nth-child(even) { animation-direction: reverse; }
@keyframes drift { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.wall-shade { position: absolute; inset: 0; background:
  linear-gradient(90deg, var(--bg) 0%, rgba(5, 7, 13, 0.96) 36%, rgba(5, 7, 13, 0.45) 64%, rgba(5, 7, 13, 0.6) 100%),
  linear-gradient(0deg, var(--bg) 0%, transparent 24%, transparent 80%, rgba(5, 7, 13, 0.7) 100%); }
.wall-grain { position: absolute; inset: 0; opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }
body.paused .wall, body.paused .wall *, .wall.is-off, .wall.is-off * { animation-play-state: paused !important; }

/* tiles (the same pieces as the entrance's wall; also used alone in the sections) */
.tile { position: relative; overflow: hidden; flex: none; contain: layout paint; background: #0d1220; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.tile-reel { aspect-ratio: 9 / 16; }
.tile-square { aspect-ratio: 4 / 5; }
.tile-real video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.tile-real::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.25), transparent 22%, transparent 52%, rgba(0, 0, 0, 0.78)); }
.tile-real .cap { z-index: 2; gap: 5px; grid-template-columns: 1fr !important; }
.tile-real .cap b { font-size: 16px; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5); }
.tile-real .cap small { font: 600 10px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.75); }
.tile-real .tag { z-index: 2; }
.tile .shot { position: absolute; inset: 0; background-size: 200% 200%; animation: pan 14s ease-in-out infinite alternate; }
@keyframes pan { to { background-position: 100% 100%; } }
.tile .shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75)); }
.tile .cap { position: absolute; left: 12px; right: 12px; bottom: 14px; z-index: 1; display: grid; gap: 6px; }
.tile .cap b { font: 700 15px/1.15 var(--display); letter-spacing: -0.01em; color: #fff; }
.tile .bar { height: 6px; background: rgba(255, 255, 255, 0.22); }
.tile .bar.short { width: 58%; }
.tile .tag { position: absolute; top: 10px; left: 10px; z-index: 1; font: 600 10.5px/1 var(--font); color: #fff; background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px); padding: 5px 8px; display: inline-flex; gap: 6px; align-items: center; }
.tile .play { position: absolute; top: 50%; left: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; z-index: 1; border-radius: 50%;
  background: rgba(255, 255, 255, 0.16); backdrop-filter: blur(6px); display: grid; place-items: center; }
.tile .play::before { content: ""; margin-left: 3px; border-left: 12px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; }
.tile .progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.15); z-index: 2; }
.tile .progress i { display: block; height: 100%; width: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); animation: progress var(--len, 9s) linear infinite; }
@keyframes progress { to { transform: scaleX(1); } }
.tile .slides { position: absolute; inset: 0; display: flex; width: 300%; will-change: transform; animation: swipe 9s cubic-bezier(.7, 0, .3, 1) infinite; }
.tile .slides::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, 0.75)); }
.tile .slide { flex: 1; background-size: 160% 160%; background-position: 30% 30%; }
@keyframes swipe { 0%, 26% { transform: translateX(0); } 33%, 59% { transform: translateX(-33.333%); } 66%, 92% { transform: translateX(-66.666%); } 100% { transform: translateX(0); } }
.tile .dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; gap: 5px; justify-content: center; z-index: 1; }
.tile .dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.35); }
.tile .dots i:first-child { background: #fff; }
.tile-post { padding: 14px; display: grid; gap: 10px; background: #0f1524; }
.tile-post .who { display: flex; gap: 10px; align-items: center; }
.tile-post .ava { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #0a66c2, #5b9dff); flex: none; }
.tile-post .who b { display: block; font: 600 12px/1.2 var(--font); }
.tile-post .who small { color: var(--faint); font-size: 10.5px; }
.tile-post .lines { display: grid; gap: 7px; }
.tile-post .lines i { display: block; height: 6px; background: rgba(255, 255, 255, 0.12); }
.tile-post .lines i:nth-child(2) { width: 92%; } .tile-post .lines i:nth-child(3) { width: 74%; }
.tile-post .lines.typing i { transform-origin: left; animation: type 5.4s ease-in-out infinite; }
@keyframes type { 0% { transform: scaleX(0); } 22%, 85% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0.4; } }
.tile-post .doc { aspect-ratio: 4 / 5; background: linear-gradient(160deg, #0a5cd6, #0b1d44); display: grid; place-items: center; font: 700 16px/1.1 var(--display); text-align: center; padding: 14px; }
.tile-post .li { position: absolute; top: 14px; right: 14px; color: #5b9dff; font-size: 14px; }
.tile-metric { padding: 14px; display: grid; gap: 10px; background: #0f1524; }
.tile-metric .k, .tile-time .k { color: var(--faint); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.08em; }
.tile-metric .row { display: grid; grid-template-columns: 84px 1fr 34px; gap: 8px; align-items: center; font-size: 11px; color: var(--muted); }
.tile-metric .row span:last-child { text-align: right; color: #fff; font-weight: 600; }
.tile-metric .track { height: 5px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.tile-metric .track i { display: block; height: 100%; background: var(--ok); transform-origin: left; animation: grow 3.2s cubic-bezier(.2, .7, .2, 1) infinite alternate; }
.tile-metric .track i.low { background: var(--warn); }
@keyframes grow { from { transform: scaleX(0.35); } }
.tile-metric .role { justify-self: start; font: 600 11px/1 var(--font); padding: 5px 9px; background: var(--brand); }
.tile-time { padding: 12px; display: grid; gap: 8px; background: #0f1524; }
.tile-time .wave { height: 34px; display: flex; gap: 2px; align-items: center; animation: wave 1.6s ease-in-out infinite alternate; transform-origin: center; }
.tile-time .wave i { flex: 1; background: var(--accent); opacity: 0.75; }
@keyframes wave { from { transform: scaleY(0.55); } }
.tile-time .clips { display: grid; grid-template-columns: 2fr 1fr 3fr 1.5fr; gap: 3px; }
.tile-time .clips i { height: 18px; }
.tile-chip { padding: 12px 14px; display: flex; gap: 10px; align-items: center; background: #0f1524; font-size: 12px; color: var(--muted); }
.tile-chip .ic { width: 28px; height: 28px; display: grid; place-items: center; flex: none; color: #fff; }
.tile-chip b { display: block; color: #fff; font-size: 12.5px; }
.tile-chip.pulse { animation: pulse 8.5s ease-in-out infinite; }
@keyframes pulse { 0%, 70%, 100% { transform: scale(1); } 78% { transform: scale(1.06); box-shadow: 0 0 0 1px rgba(91, 157, 255, 0.55), 0 20px 50px -10px rgba(10, 92, 214, 0.6); } }

/* ---- hero: the entrance, without the card ---- */
.hero { position: relative; min-height: min(calc(100vh / var(--zoom, 1)), 980px); display: flex; align-items: center; padding: 120px 0 80px; overflow: hidden; isolation: isolate; }
.hero > .wrap { position: relative; z-index: 1; }
.hero__copy { display: grid; gap: 24px; max-width: 600px; animation: rise 0.9s cubic-bezier(.2, .7, .2, 1) backwards; }
@keyframes rise { from { transform: translateY(18px); } } /* movement only: a fade would hold back the LCP (the title) */
.hero-title { font: 600 clamp(44px, calc(6.2vw / var(--zoom, 1)), 84px)/1 var(--display); letter-spacing: -0.04em; }
.hero-sub { font-size: 19px; line-height: 1.6; color: var(--muted); max-width: 540px; }
.prompt { display: flex; align-items: center; gap: 12px; max-width: 560px; min-height: 58px; padding: 0 8px 0 18px;
  border: 1px solid rgba(91, 157, 255, 0.35); background: rgba(10, 14, 24, 0.65); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 20px 60px -25px rgba(10, 92, 214, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.05); color: var(--ink); }
.prompt:hover { color: var(--ink); border-color: rgba(91, 157, 255, 0.6); }
.prompt > i { color: var(--accent); font-size: 14px; flex: none; }
.prompt { min-width: 0; width: 100%; } /* the field keeps its size; a long prompt scrolls inside it (site.js keeps the end in view) */
.hero__copy { grid-template-columns: minmax(0, 1fr); }
.prompt__text.is-long { -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px); mask-image: linear-gradient(90deg, transparent, #000 28px); }
.prompt__text { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 15.5px; font-weight: 500; }
.prompt__send { flex: none; width: 42px; height: 42px; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 13px; transition: background 0.2s; }
.prompt:hover .prompt__send { background: var(--brand-hover); }
.rotator b { font-weight: 500; }
.rotator b ~ b { display: none; }
.rotator.typing b { display: none; }
.tw-caret { display: inline-block; width: 2px; height: 1.05em; margin-left: 2px; vertical-align: -0.14em; background: var(--accent); animation: tw-blink 1.05s steps(1) infinite; }
.rotator.busy .tw-caret { animation: none; }
@keyframes tw-blink { 50% { opacity: 0; } }
.points { display: grid; gap: 12px; color: var(--muted); font-size: 15px; }
.points li { display: flex; gap: 14px; align-items: center; }
.points i, .ibox { width: 34px; height: 34px; display: grid; place-items: center; flex: none; color: var(--accent); background: rgba(91, 157, 255, 0.1); border: 1px solid rgba(91, 157, 255, 0.2); font-size: 13px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero__scroll { position: absolute; left: 50%; bottom: 28px; z-index: 1; transform: translateX(-50%); color: var(--faint); font: 600 10px/1 var(--font); letter-spacing: 0.3em; text-transform: uppercase; display: grid; justify-items: center; gap: 10px; }
.hero__scroll::after { content: ""; width: 1px; height: 36px; background: linear-gradient(var(--accent), transparent); animation: drop 2s ease-in-out infinite; }
@keyframes drop { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }

/* ---- sections ---- */
.section { position: relative; padding: clamp(88px, calc(11vw / var(--zoom, 1)), 150px) 0; }
.section--line { border-top: 1px solid var(--line); }
.section--dark { background: #04060b; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.head { display: grid; gap: 22px; max-width: 780px; margin-bottom: clamp(48px, calc(6vw / var(--zoom, 1)), 80px); }
.head--center { margin-inline: auto; text-align: center; justify-items: center; }
.head--split { max-width: none; grid-template-columns: 1fr; align-items: end; }
@media (min-width: 960px) { .head--split { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }

/* the strip of formats */
.marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; background: #04060b; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee__track span { display: inline-flex; align-items: center; gap: 22px; padding: 22px 22px 22px 0; font: 600 13px/1 var(--font); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.marquee__track span::after { content: ""; width: 5px; height: 5px; background: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---- the app, replicated (studio/static/studio/app.css, dark) ---- */
.app { position: relative; border: 1px solid var(--app-border-strong); background: var(--app-bg); color: var(--app-text);
  box-shadow: 0 60px 140px -40px rgba(0, 0, 0, 0.9), 0 40px 120px -60px rgba(10, 92, 214, 0.6); font-size: 13px; overflow: hidden; }
.app__top { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; border-bottom: 1px solid var(--app-border); }
.app__brand { display: flex; align-items: center; gap: 10px; }
.app__brand img { height: 16px; width: auto; }
.app__brand span { font: 600 9px/1 var(--font); letter-spacing: 0.3em; color: var(--app-muted); padding-left: 10px; border-left: 1px solid var(--app-border-strong); }
.app__brand em { font-style: normal; color: var(--app-text); font-size: 12px; display: flex; align-items: center; gap: 6px; margin-left: 6px; }
.app__brand em::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--app-muted); }
.app__meta { display: flex; align-items: center; gap: 16px; color: var(--app-muted); font-size: 11.5px; }
.app__meta b { color: var(--app-text); font-weight: 500; }
.app__meta .usage { display: grid; gap: 4px; }
.app__meta .usage i { display: block; height: 2px; background: var(--app-border); }
.app__meta .usage i::before { content: ""; display: block; height: 100%; width: var(--u, 30%); background: #3b82f6; }
.app__avatar { width: 24px; height: 24px; border-radius: 50%; background: #fff; color: #0a0a0a; display: grid; place-items: center; font-weight: 700; font-size: 11px; }
.app__body { display: grid; grid-template-columns: 200px 1fr 360px; height: 560px; }
.app__side { border-right: 1px solid var(--app-border); padding: 14px 10px; display: grid; align-content: start; gap: 14px; }
.app__new { height: 32px; display: grid; place-items: center; background: var(--app-brand); color: #fff; font: 600 10px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; }
.app__label { display: flex; align-items: center; gap: 8px; font: 600 9.5px/1.3 var(--font); letter-spacing: 0.22em; text-transform: uppercase; color: var(--app-muted); }
.app__label::before { content: ""; width: 16px; height: 1px; background: #3b82f6; flex: none; }
.app__convs { display: grid; gap: 2px; }
.app__convs li { padding: 8px; display: grid; gap: 2px; font-size: 12px; border-left: 2px solid transparent; }
.app__convs li small { color: var(--app-muted); font-size: 10.5px; }
.app__convs li.on { background: rgba(59, 130, 246, 0.12); border-left-color: #3b82f6; }
.app__convs .badge { font: 700 8.5px/1 var(--font); letter-spacing: 0.1em; background: var(--app-brand); padding: 2px 5px; margin-right: 6px; }
.app__chat { display: flex; flex-direction: column; min-width: 0; }
.app__msgs { flex: 1; overflow: hidden; padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; justify-content: flex-end; }
.app-msg-user { align-self: flex-end; max-width: 86%; padding: 10px 14px; background: rgba(59, 130, 246, 0.1); border-left: 2px solid #3b82f6; line-height: 1.55; animation: slide-in 0.4s ease; }
.app-msg { max-width: 92%; line-height: 1.6; color: #e5e5e5; animation: slide-in 0.4s ease; }
.app-steps { display: grid; gap: 7px; font-size: 12px; color: var(--app-muted); }
.app-steps li { display: flex; gap: 9px; align-items: center; animation: slide-in 0.3s ease; }
.app-steps li i { width: 14px; text-align: center; color: #3b82f6; font-size: 11px; }
.app-steps li.run i { animation: spin 1s linear infinite; }
.app-steps li.done { color: #d4d4d4; }
.app-steps li.done i { color: #22c55e; }
@keyframes spin { to { transform: rotate(360deg); } }
/* the replica's entries move in, but are never invisible (a browser that skips frames still shows them) */
@keyframes slide-in { from { transform: translateY(10px); } }
.app-done { color: var(--app-muted); font-size: 11px; align-self: center; letter-spacing: 0.04em; }
.app__composer { margin: 0 22px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid var(--app-border); padding: 6px 6px 6px 12px; color: var(--app-muted); min-height: 46px; }
.app__composer i { font-size: 12px; }
.app__composer span { flex: 1; color: #e5e5e5; white-space: nowrap; overflow: hidden; }
.app__composer span:empty::before { content: attr(data-ph); color: #737373; }
.app__composer b { background: var(--app-brand); color: #fff; font: 600 9.5px/1 var(--font); letter-spacing: 0.12em; padding: 10px 12px; }
.app__panel { border-left: 1px solid var(--app-border); display: flex; flex-direction: column; min-width: 0; }
.app__tabs { display: flex; gap: 16px; padding: 0 14px; border-bottom: 1px solid var(--app-border); }
.app__tabs span { padding: 14px 0 12px; color: var(--app-muted); font-size: 12px; border-bottom: 2px solid transparent; transition: color 0.2s, border-color 0.2s; }
.app__tabs span.on { color: var(--app-text); border-color: #3b82f6; }
.app__pane { padding: 14px; display: grid; gap: 12px; align-content: start; }
.app__week { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.app__week b { font-weight: 600; }
.app__week i { width: 22px; height: 22px; display: grid; place-items: center; border: 1px solid var(--app-border-strong); font-size: 9px; font-style: normal; }
.app__week .sp { flex: 1; }
.app__week .open { border: 1px solid var(--app-border-strong); padding: 6px 9px; font-size: 11px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 3px; }
.cal span { font: 600 8.5px/1 var(--font); letter-spacing: 0.1em; color: var(--app-muted); text-align: center; padding-bottom: 4px; }
.cal div { min-width: 0; min-height: 62px; border: 1px solid var(--app-border); padding: 4px; font-size: 10px; color: var(--app-muted); display: grid; align-content: start; gap: 3px; }
.cal div.wk { background: rgba(59, 130, 246, 0.07); }
.cal div.today { border-color: #3b82f6; color: var(--app-accent); }
.pauta { font: 600 8.5px/1.2 var(--font); padding: 3px 4px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: none; }
.pauta.in { display: block; animation: slide-in 0.35s ease; }
.p-reel { background: #1d4ed8; } .p-car { background: #6d28d9; } .p-sto { background: #b45309; } .p-li { background: #0e7490; }
.app__list { display: grid; gap: 6px; }
.app__list div { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--app-border); font-size: 11.5px; }
.app__list div b { font-weight: 600; }
.st { font: 600 9px/1 var(--font); letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 6px; }
.st-ok { background: rgba(34, 197, 94, 0.15); color: #4ade80; } .st-run { background: rgba(245, 158, 11, 0.15); color: #fbbf24; } .st-idea { background: rgba(163, 163, 163, 0.15); color: #d4d4d4; } .st-pub { background: rgba(59, 130, 246, 0.18); color: #93c5fd; }
.app-preview { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: start; border: 1px solid var(--app-border); padding: 10px; background: var(--app-surface); max-width: 420px; animation: slide-in 0.4s ease; }
.app-preview .tile { box-shadow: none; }
.app-preview .tile .cap b { font-size: 11px; }
.app-preview p { font-size: 11.5px; color: var(--app-muted); line-height: 1.5; }
.app-preview p b { color: #e5e5e5; font-weight: 600; }
.app-preview .acts { display: flex; gap: 6px; margin-top: 10px; }
.app-preview .acts b { font: 600 9px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; padding: 8px 10px; border: 1px solid var(--app-border-strong); color: #e5e5e5; }
.app-preview .acts b.pri { background: var(--app-brand); border-color: var(--app-brand); color: #fff; }
.app__redes { display: grid; gap: 10px; }
.app__redes .k { font: 600 9px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; color: var(--app-muted); }
.app__redes .tile-metric { box-shadow: none; border-color: var(--app-border); background: var(--app-surface); }
@media (max-width: 1100px) { .app__body { grid-template-columns: 1fr 340px; } .app__side { display: none; } }
@media (max-width: 760px) { .app__body { grid-template-columns: 1fr; height: auto; } .app__panel { display: none; } .app__msgs { min-height: 380px; } .app__meta .usage, .app__meta .mode { display: none; } }
.showcase { position: relative; }
.showcase__glow { position: absolute; inset: 8% 6% -8%; background: radial-gradient(50% 50% at 50% 50%, rgba(10, 92, 214, 0.32), transparent 70%); filter: blur(30px); z-index: -1; pointer-events: none; }
.showcase__bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 22px; }
.scen { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); }
.scen button { font: 600 11px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: transparent; border: 0; padding: 14px 18px; cursor: pointer; transition: all 0.2s; }
.scen button + button { border-left: 1px solid var(--line-strong); }
.scen button:hover { color: #fff; }
.scen button[aria-pressed="true"] { color: #fff; background: var(--brand); }
.showcase__note { color: var(--faint); font-size: 13px; }

/* ---- steps (how it works) ---- */
.steps4 { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); }
@media (min-width: 760px) { .steps4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.step { padding: 34px 28px 38px 0; display: grid; gap: 14px; align-content: start; border-bottom: 1px solid var(--line); }
@media (min-width: 1100px) { .step { border-bottom: 0; padding-right: 32px; } .step + .step { border-left: 1px solid var(--line); padding-left: 32px; } }
.step__n { font: 600 12px/1 var(--font); letter-spacing: 0.24em; color: var(--accent); }
.step h3 { font-size: 22px; letter-spacing: -0.02em; }
.step p { color: var(--muted); }

/* ---- capabilities: alternating rows ---- */
.cap { display: grid; grid-template-columns: 1fr; gap: clamp(36px, calc(5vw / var(--zoom, 1)), 80px); align-items: center; padding: clamp(56px, calc(7vw / var(--zoom, 1)), 96px) 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .cap { grid-template-columns: 1fr 1fr; } .cap--flip .cap__art { order: -1; } }
.cap__text { display: grid; gap: 22px; align-content: start; }
.cap__text h3 { font-size: clamp(28px, calc(3.2vw / var(--zoom, 1)), 42px); line-height: 1.06; }
.cap__text > p { color: var(--muted); font-size: 17px; line-height: 1.65; }
.checks { display: grid; border-top: 1px solid var(--line); }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.checks li i { color: var(--accent); font-size: 12px; margin-top: 5px; }
.checks li b { color: var(--ink); font-weight: 600; }
.cap__art { position: relative; min-height: 440px; display: grid; place-items: center; border: 1px solid var(--line); background:
  radial-gradient(60% 60% at 50% 40%, rgba(10, 92, 214, 0.22), transparent 70%), linear-gradient(180deg, #070a12, #05070d); overflow: hidden; perspective: 1200px; }
.cap__art::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); -webkit-mask-image: radial-gradient(70% 70% at 50% 50%, #000, transparent); }
.stack { position: relative; display: flex; gap: 18px; align-items: center; justify-content: center; padding: 40px 24px; transform: rotateX(10deg) rotateY(-14deg) rotateZ(3deg); transform-style: preserve-3d; }
.stack .tile-reel { width: 150px; }
.stack .tile-square { width: 170px; }
.stack .tile-metric, .stack .tile-time, .stack .tile-post { width: 260px; }
.stack .tile-chip { width: 240px; }
.stack .col { display: grid; gap: 14px; }
.stack .col--off { transform: translateY(34px); }
.cap__corner { position: absolute; top: 18px; left: 20px; z-index: 1; }
@media (max-width: 560px) { .stack { transform: none; flex-wrap: wrap; } .stack .tile-reel { width: 120px; } .stack .tile-metric, .stack .tile-time, .stack .tile-post, .stack .tile-chip { width: 230px; } }

/* ---- statement ---- */
.statement { font: 500 clamp(28px, calc(3.6vw / var(--zoom, 1)), 48px)/1.18 var(--display); letter-spacing: -0.03em; max-width: 24ch; }
.statement span { color: var(--faint); }

/* ---- grid with lines ---- */
.lines-grid { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 720px) { .lines-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .lines-grid { grid-template-columns: repeat(4, 1fr); } .lines-grid--3 { grid-template-columns: repeat(3, 1fr); } }
.lines-grid > * { padding: 34px 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: grid; gap: 14px; align-content: start; }
.lines-grid h3 { font-size: 20px; letter-spacing: -0.02em; }
.lines-grid p { color: var(--muted); }
a.cell { color: var(--ink); transition: background 0.2s; }
a.cell:hover { background: rgba(91, 157, 255, 0.05); color: var(--ink); }

/* ---- languages ---- */
.duo { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-strong); }
@media (min-width: 760px) { .duo { grid-template-columns: 1fr 1fr; } }
.duo > div { padding: 32px; display: grid; gap: 16px; align-content: start; }
.duo > div + div { border-top: 1px solid var(--line-strong); background: rgba(91, 157, 255, 0.05); }
@media (min-width: 760px) { .duo > div + div { border-top: 0; border-left: 1px solid var(--line-strong); } }
.duo .bubble { padding: 12px 14px; background: rgba(59, 130, 246, 0.1); border-left: 2px solid #3b82f6; font-size: 15px; }
.duo blockquote { margin: 0; font: 600 24px/1.3 var(--display); letter-spacing: -0.02em; }
.duo blockquote small { display: block; font: 500 13px var(--font); color: var(--accent); margin-top: 10px; letter-spacing: 0; }

/* ---- pricing ---- */
.billing__toggle { display: inline-flex; border: 1px solid var(--line-strong); margin-bottom: 40px; }
.billing__toggle button { font: 600 12px/1 var(--font); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); background: transparent; border: 0; padding: 15px 20px; cursor: pointer; }
.billing__toggle button + button { border-left: 1px solid var(--line-strong); }
.billing__toggle button[aria-checked="true"] { background: var(--ink); color: var(--bg); }
.billing__toggle .save { color: var(--ok); margin-left: 8px; letter-spacing: 0.02em; text-transform: none; font-weight: 600; }
.billing__toggle button[aria-checked="true"] .save { color: #047857; }
@media (max-width: 560px) { .billing__toggle .save { display: none; } }
.plans { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-strong); }
@media (min-width: 980px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; padding: 38px 32px; display: flex; flex-direction: column; gap: 8px; background: rgba(255, 255, 255, 0.015); }
.plan + .plan { border-top: 1px solid var(--line-strong); }
@media (min-width: 980px) { .plan + .plan { border-top: 0; border-left: 1px solid var(--line-strong); } }
.plan--hi { background: linear-gradient(180deg, rgba(10, 92, 214, 0.18), rgba(10, 92, 214, 0.03) 60%); box-shadow: inset 0 2px 0 var(--accent); }
.plan__badge { position: absolute; top: 20px; right: 22px; font: 600 10px/1 var(--font); letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); }
.plan h3 { font-size: 28px; }
.plan__for { color: var(--muted); }
.plan__price { display: flex; align-items: baseline; gap: 6px; margin-top: 24px; }
.plan__price .cur { color: var(--muted); font-weight: 600; }
.plan__price .val { font: 600 60px/1 var(--display); letter-spacing: -0.045em; }
.plan__price .per { color: var(--muted); }
.plan__note { color: var(--faint); font-size: 13px; margin-bottom: 24px; }
.plan__limits { display: grid; gap: 9px; margin: 28px 0 14px; padding: 20px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-weight: 600; font-size: 14px; }
.plan .checks { border-top: 0; }
.plan .checks li { padding: 9px 0; border-bottom: 0; font-size: 14px; }
.plan-ent { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px; padding: 28px 32px; border: 1px solid var(--line-strong); border-top: 0; }
.plan-ent strong { font: 600 20px var(--display); margin-right: 14px; }
.plan-ent span { color: var(--muted); }
.note { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; margin-top: 28px; padding: 24px 26px; border: 1px solid rgba(217, 119, 87, 0.35); background: rgba(217, 119, 87, 0.06); }
.note > i { color: #f0a483; margin-top: 4px; }
.note p { color: var(--muted); }
.note strong { color: var(--ink); }
.compare { overflow-x: auto; border: 1px solid var(--line-strong); }
.compare table { width: 100%; min-width: 660px; border-collapse: collapse; }
.compare th, .compare td { padding: 16px 22px; border-bottom: 1px solid var(--line); text-align: center; font-size: 14px; }
.compare th[scope="row"] { text-align: left; font-weight: 400; color: var(--muted); }
.compare thead th { font: 600 12px/1 var(--font); letter-spacing: 0.16em; text-transform: uppercase; background: rgba(255, 255, 255, 0.025); }
.compare .grp th { text-align: left; font: 600 10.5px/1 var(--font); letter-spacing: 0.24em; text-transform: uppercase; color: var(--accent); background: rgba(91, 157, 255, 0.04); }
.yes { color: var(--ok); } .no { color: var(--faint); }
.costs { display: grid; grid-template-columns: 1fr; border: 1px solid var(--line-strong); }
@media (min-width: 760px) { .costs { grid-template-columns: 1fr 1fr; } .costs > div + div { border-left: 1px solid var(--line-strong); } }
.costs > div { padding: 32px; display: grid; gap: 18px; align-content: start; }

/* ---- FAQ ---- */
.faq { border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 0; font: 600 19px/1.35 var(--display); letter-spacing: -0.015em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { color: var(--accent); font-size: 13px; transition: transform 0.25s; flex: none; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 48px 28px 0; font-size: 16px; line-height: 1.7; }

/* ---- final call (the entrance again) ---- */
.final { position: relative; overflow: hidden; isolation: isolate; padding: clamp(110px, calc(13vw / var(--zoom, 1)), 180px) 0; border-top: 1px solid var(--line); }
.final > .wrap { position: relative; z-index: 1; display: grid; gap: 28px; }
.final .title { max-width: 15ch; }

/* ---- inner pages ---- */
.page-hero { position: relative; overflow: hidden; isolation: isolate; padding: 176px 0 96px; border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; z-index: 1; display: grid; gap: 26px; }
.page-hero .title { max-width: 17ch; }
.page-hero--quiet .wall-stage { opacity: 0.5; }
.toc { display: flex; flex-wrap: wrap; border: 1px solid var(--line-strong); width: fit-content; max-width: 100%; }
.toc a { position: relative; display: flex; align-items: center; gap: 9px; white-space: nowrap; font: 600 11px/1 var(--font); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding: 15px 16px; transition: color 0.3s, background 0.3s; }
.toc a + a { border-left: 1px solid var(--line-strong); }
.toc a b { font-weight: 600; font-size: 10px; letter-spacing: 0.08em; color: var(--faint); transition: color 0.3s; }
.toc a:hover, .toc a.is-on { color: #fff; background: rgba(255, 255, 255, 0.04); }
.toc a.is-on b { color: var(--accent); }
/* the line under each step: filled in turn at the top (a path, not a filter), then by the reading (the pinned bar) */
.toc a i { position: absolute; left: -1px; right: 0; bottom: -1px; height: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); }
.toc.is-auto a.is-on i { animation: toc-fill var(--step, 1.8s) linear forwards; }
@keyframes toc-fill { to { transform: scaleX(1); } }
.toc-bar { position: fixed; top: 72px; left: 0; right: 0; z-index: 49; background: rgba(5, 7, 13, 0.86); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.3s, transform 0.3s, visibility 0.3s; }
.toc-bar.is-shown { opacity: 1; visibility: visible; transform: none; }
.toc-bar .toc { border: 0; width: auto; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; gap: 0; }
.toc-bar .toc::-webkit-scrollbar { display: none; }
.toc-bar .toc a { border: 0; padding: 14px 16px; }
.toc-bar .toc a + a { border-left: 1px solid var(--line); }
.toc-bar .toc a i { transition: transform 0.15s linear; }
.cap { scroll-margin-top: 150px; }
@media (max-width: 760px) { .toc { border: 0; gap: 6px; } .toc a + a { border-left: 1px solid var(--line-strong); } .toc a { border: 1px solid var(--line-strong); } }
.timeline { border-top: 1px solid var(--line); }
.timeline li { display: grid; grid-template-columns: 1fr; gap: 6px; padding: 28px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 760px) { .timeline li { grid-template-columns: 200px 1fr; gap: 32px; } }
.timeline b { font: 600 12px/1.7 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); }
.timeline span { color: var(--muted); font-size: 17px; }
.quotes { border-top: 1px solid var(--line); }
.quotes li { padding: 24px 0 24px 28px; border-bottom: 1px solid var(--line); font: 500 21px/1.4 var(--display); letter-spacing: -0.01em; position: relative; }
.quotes li::before { content: ""; position: absolute; left: 0; top: 26px; bottom: 26px; width: 2px; background: #3b82f6; }
.setup { border-top: 1px solid var(--line); counter-reset: s; }
.setup li { counter-increment: s; display: grid; grid-template-columns: 60px 1fr; gap: 6px 20px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.setup li::before { content: "0" counter(s); grid-row: span 2; font: 600 13px/1.8 var(--font); letter-spacing: 0.2em; color: var(--accent); }
.setup b { font: 600 21px var(--display); letter-spacing: -0.02em; }
.setup span { color: var(--muted); }

/* long text (posts, legal) */
.prose { font-size: 17px; line-height: 1.8; color: #d6dbe7; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 30px; line-height: 1.15; margin-top: 2em; color: var(--ink); }
.prose h3 { font-size: 21px; margin-top: 1.7em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.3em; list-style: revert; }
.prose li + li { margin-top: 0.4em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.5em 0; padding: 4px 22px; border-left: 2px solid #3b82f6; color: var(--muted); }
.prose code { background: rgba(255, 255, 255, 0.07); padding: 2px 6px; font-size: 0.92em; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line-strong); padding: 10px 12px; text-align: left; }

/* blog */
.search { position: relative; max-width: 560px; }
.search input { width: 100%; height: 56px; font: 400 15.5px var(--font); color: var(--ink); background: rgba(10, 14, 24, 0.65); border: 1px solid rgba(91, 157, 255, 0.35); padding: 0 18px 0 48px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.search input:focus { outline: none; border-color: var(--accent); }
.search > i { position: absolute; left: 19px; top: 21px; color: var(--accent); font-size: 14px; }
.search__results { position: absolute; z-index: 10; left: 0; right: 0; top: calc(100% + 6px); border: 1px solid var(--line-strong); background: #0b0f1a; }
.search__results a { display: block; padding: 14px 18px; color: var(--ink); border-bottom: 1px solid var(--line); }
.search__results a:hover { background: rgba(255, 255, 255, 0.04); }
.search__results small { display: block; color: var(--faint); margin-top: 2px; }
.search__results p { padding: 14px 18px; color: var(--muted); }
.posts { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
@media (min-width: 720px) { .posts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .posts { grid-template-columns: repeat(3, 1fr); } }
.pcard { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pcard a { display: flex; flex-direction: column; height: 100%; color: var(--ink); transition: background 0.2s; }
.pcard a:hover { background: rgba(255, 255, 255, 0.025); color: var(--ink); }
.pcard__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-bottom: 1px solid var(--line); background: radial-gradient(70% 80% at 60% 30%, rgba(10, 92, 214, 0.3), transparent 70%), #070a12; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__media .tile { position: absolute; box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.8); transition: transform 0.5s cubic-bezier(.2, .7, .2, 1); }
.pcard__media .a { width: 26%; left: 16%; top: 12%; transform: rotate(-6deg); }
.pcard__media .b { width: 48%; left: 44%; top: 22%; transform: rotate(4deg); }
.pcard a:hover .pcard__media .a { transform: rotate(-3deg) translateY(-6px); }
.pcard a:hover .pcard__media .b { transform: rotate(2deg) translateY(-4px); }
.pcard__body { display: flex; flex-direction: column; gap: 12px; padding: 28px 28px 32px; flex: 1; }
.pcard__body h2 { font-size: 22px; line-height: 1.2; letter-spacing: -0.02em; }
.pcard__body p { color: var(--muted); }
.pcard .link { margin-top: auto; padding-top: 10px; }
.pager { display: flex; justify-content: center; margin: 48px auto 0; border: 1px solid var(--line-strong); width: fit-content; }
.pager a, .pager span { padding: 15px 18px; font: 600 12px/1 var(--font); letter-spacing: 0.12em; color: var(--muted); }
.pager > * + * { border-left: 1px solid var(--line-strong); }
.pager span[aria-current] { background: var(--ink); color: var(--bg); }
.post-hero { position: relative; overflow: hidden; isolation: isolate; padding: 164px 0 72px; border-bottom: 1px solid var(--line); }
.post-hero .wrap { position: relative; z-index: 1; display: grid; gap: 24px; }
.post-hero h1 { font: 600 clamp(36px, calc(5vw / var(--zoom, 1)), 62px)/1.04 var(--display); letter-spacing: -0.035em; }
.crumbs { display: flex; flex-wrap: wrap; gap: 12px; font: 600 11px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); }
.crumbs a { color: var(--muted); }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; color: var(--faint); font-size: 14px; }
.post-meta span + span::before { content: ""; display: inline-block; width: 4px; height: 4px; background: var(--faint); margin-right: 18px; vertical-align: 3px; }
.post-body { padding: 72px 0 24px; }
.post-cta { margin: 56px 0; padding: 40px; border: 1px solid rgba(91, 157, 255, 0.35); background: radial-gradient(80% 120% at 100% 0%, rgba(29, 47, 107, 0.7), transparent 60%), #0b0f1a; display: grid; gap: 18px; }
.post-cta h2 { font-size: 30px; line-height: 1.12; }
.post-cta p { color: var(--muted); }
.post-foot { padding-bottom: 96px; display: grid; gap: 28px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags span { font: 600 11px/1 var(--font); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line-strong); padding: 9px 11px; }
.author { display: flex; gap: 16px; align-items: center; padding: 24px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.author img, .author__mark { width: 52px; height: 52px; border-radius: 50%; flex: none; }
.author__mark { display: grid; place-items: center; background: var(--brand); font: 700 15px var(--display); }
.author p { color: var(--muted); font-size: 14px; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line-strong); }
.post-nav > * { padding: 24px; color: var(--ink); font: 600 16px/1.35 var(--display); }
.post-nav > * + * { border-left: 1px solid var(--line-strong); }
.post-nav a.next { text-align: right; }
.post-nav > :only-child { grid-column: 1 / -1; text-align: left; } /* only one neighbour: it takes the whole row */
.post-nav small { display: block; font: 600 10.5px/1 var(--font); letter-spacing: 0.2em; text-transform: uppercase; color: var(--faint); margin-bottom: 10px; }

/* ---- footer ---- */
.foot { border-top: 1px solid var(--line); background: #04060b; padding: 88px 0 32px; }
.foot__grid { display: grid; grid-template-columns: 1fr; gap: 40px; }
@media (min-width: 900px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.foot__brand { display: grid; gap: 22px; align-content: start; justify-items: start; }
.foot__brand img { height: 28px; width: auto; }
.foot__brand p { color: var(--muted); max-width: 36ch; }
.foot__grid nav { display: grid; gap: 12px; align-content: start; }
.foot h2 { font: 600 11px/1 var(--font); letter-spacing: 0.24em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.foot__grid nav a { color: var(--muted); font-size: 14.5px; }
.foot__grid nav a:hover { color: #fff; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--faint); font-size: 12.5px; }
/* the language switcher (kit: _includes/i18n/switcher.html) */
.langs { display: flex; align-items: center; border: 1px solid var(--line-strong); }
.langs > i { padding: 0 10px; color: var(--faint); font-size: 12px; }
.langs a { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border-left: 1px solid var(--line-strong); color: var(--muted); font-size: 12px; }
.langs a b { font: 600 10.5px/1 var(--font); letter-spacing: 0.14em; color: var(--faint); }
.langs a:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.langs a[aria-current] { color: var(--ink); }
.langs a[aria-current] b { color: var(--accent); }
.langs { flex-wrap: wrap; max-width: 100%; }
@media (max-width: 760px) { .langs span { display: none; } .langs a { padding: 8px 11px; } } /* phones: codes only (PT · EN · ES…) */

/* ---- cookies ---- */
.cookies { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 580px; display: flex; gap: 18px; align-items: center; padding: 18px 20px;
  border: 1px solid var(--line-strong); background: var(--glass); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.8); }
.cookies p { font-size: 13.5px; color: var(--muted); }

/* ---- reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(.2, .7, .2, 1), transform 0.8s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (max-width: 960px) {
  .hero { min-height: auto; padding: 128px 0 76px; }
  .wall-stage { width: calc(150vw / var(--zoom, 1)); right: -45%; opacity: 0.5; }
  .wall-shade { background: linear-gradient(180deg, rgba(5, 7, 13, 0.72), rgba(5, 7, 13, 0.92) 55%, var(--bg)); }
  .hero__scroll { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .wall-col { animation-duration: calc(var(--dur, 40s) * 3); }
  .tile .slides { animation-duration: 18s; } .tile-chip.pulse { animation-duration: 17s; } .tile .shot { animation-duration: 28s; } .tile-time .wave { animation-duration: 3.2s; }
  .marquee__track { animation-duration: 120s; }
  .reveal { transform: none; transition: opacity 0.6s ease; }
  html { scroll-behavior: auto; }
}

/* ---- scroll-driven motion (assets/js/site.js sets --p, 0 → 1, as the element crosses the screen) ---- */
.showcase .app { transform-origin: 50% 0%; transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * 22deg)) scale(calc(0.86 + var(--p, 1) * 0.14)); opacity: calc(0.35 + var(--p, 1) * 0.65); will-change: transform; }
.showcase .showcase__glow { opacity: var(--p, 1); }
.statement [data-w] { color: var(--faint); transition: color 0.25s; }
.statement [data-w].lit { color: var(--ink); }
.statement span [data-w].lit { color: #c9d2e3; }
[data-depth] { transform: translate3d(0, calc(var(--d, 0) * 1px), 0); will-change: transform; }
.hero__copy { transform: translate3d(0, calc(var(--hy, 0) * 1px), 0); opacity: var(--ho, 1); }
.cap__art .stack { transition: transform 0.2s linear; transform: rotateX(10deg) rotateY(calc(-14deg + var(--p, 0.5) * 10deg)) rotateZ(3deg); }
/* the calm version: the replica straightens with a smaller tilt */
.calm .showcase .app { transform: perspective(1600px) rotateX(calc((1 - var(--p, 1)) * 8deg)) scale(calc(0.95 + var(--p, 1) * 0.05)); }
.app__pane, .app__panel, .app__chat { min-width: 0; }
.app__pane > * { min-width: 0; }
.app__list div b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app__list div .st { flex: none; }
.app__week .open { white-space: nowrap; }
.app-preview .tile .tag { display: none; } .app-preview .tile .cap { left: 8px; right: 8px; bottom: 10px; }
/* the illustrations at the wall's scale (its tiles are ~220px wide) */
.cap__art { min-height: 580px; }
.stack .tile-reel { width: 200px; }
.stack .tile-square { width: 230px; }
.stack .tile-metric, .stack .tile-time, .stack .tile-post { width: 280px; }
.stack .tile-chip { width: 270px; }
.stack .col--off { transform: none; margin-top: 60px; }
@media (max-width: 560px) { .cap__art { min-height: 460px; } .stack .tile-reel { width: 150px; } .stack .tile-square { width: 170px; } .stack .col--off { margin-top: 0; } }
.pcard__media .tile .tag { display: none; } .pcard__media .tile .cap b { font-size: 12px; } .pcard__media .tile .play { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
.center-note { text-align: center; margin-top: 26px; }
/* under the gallery: real footage + your brand = ready to post (_includes/proof.html) */
.proof { margin-top: clamp(40px, calc(6vw / var(--zoom, 1)), 70px); display: grid; gap: 28px; justify-items: center; }
.eyebrow--center { justify-content: center; }
.proof__eq { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; width: 100%; border: 1px solid var(--line-strong); background: rgba(255, 255, 255, 0.015); }
.proof__item { padding: 30px 28px; display: grid; gap: 12px; align-content: start; }
.proof__item h3 { margin: 0; font: 600 20px/1.2 var(--display); letter-spacing: -0.01em; color: var(--ink); }
.proof__item p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.proof__item--result { background: linear-gradient(160deg, rgba(10, 92, 214, 0.22), rgba(124, 58, 237, 0.12)); box-shadow: inset 0 0 0 1px rgba(91, 157, 255, 0.35); }
.proof__item--result .ibox { background: var(--brand); color: #fff; }
.proof__op { display: grid; place-items: center; width: 56px; border-left: 1px solid var(--line); border-right: 1px solid var(--line); font: 300 34px/1 var(--display); color: var(--accent); }
.proof__note { margin: 0; color: var(--faint); font-size: 13px; text-align: center; }
@media (max-width: 900px) {
  .proof__eq { grid-template-columns: 1fr; }
  .proof__op { width: auto; height: 44px; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
}
.app-preview { grid-template-columns: 110px 1fr; }

/* ---- phones: the site as an app. Side-by-side groups become swipe rails (the next card peeking, dots below, set up
   by site.js), one visual per feature, a compact equation and footer, and the sign-up at hand in a bottom bar. ---- */
.mcta { display: none; }
@media (max-width: 760px) {
  .section { padding: 64px 0; }
  .head { margin-bottom: 32px; }

  /* the phone reads at a glance: the same texts, fewer of them. Paragraphs that explain a visual give way to it. */
  .hero__actions .btn--line { display: none; }
  .gallery .head .lead, .section:has([data-showcase]) .head .lead, .section:has(.duo) .head .lead { display: none; }

  /* swipe rails: the features (as visual cards) and the plans */
  .caps-rail, .plans { position: relative; display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * var(--gutter)); padding: 0 var(--gutter) 4px; scroll-padding: 0 var(--gutter); border: 0; }
  .caps-rail::-webkit-scrollbar, .plans::-webkit-scrollbar { display: none; }
  .caps-rail > *, .plans > * { flex: 0 0 84%; scroll-snap-align: center; border: 1px solid var(--line-strong) !important; background: rgba(255, 255, 255, 0.02); }
  .plan { padding: 30px 24px; }
  .plan .checks { display: none; }

  /* how it works: a numbered list of titles */
  .steps4 { border-top: 1px solid var(--line); }
  .step { grid-template-columns: 34px 1fr; align-items: baseline; gap: 0 12px; padding: 18px 0; }
  .step p { display: none; }
  .step h3 { font-size: 18px; }

  /* control and who it is for: icon and title */
  .lines-grid { grid-template-columns: 1fr 1fr; }
  .lines-grid--3 { grid-template-columns: 1fr; }
  .lines-grid > * { padding: 20px 16px; gap: 10px; }
  .lines-grid h3 { font-size: 16px; line-height: 1.25; }
  .lines-grid p { display: none; }
  .lines-grid--3 > * { grid-template-columns: 34px 1fr auto; align-items: center; gap: 0 14px; padding: 16px; }
  .lines-grid--3 .link { font-size: 0; }
  .lines-grid--3 .link i { font-size: 13px; }

  /* the features: a card per feature, the piece playing on top, its label and title below */
  .caps-rail > .cap { display: flex; flex-direction: column; gap: 0; padding: 0; border-top: 1px solid var(--line-strong); }
  .caps-rail .cap__art { order: -1; border: 0; border-bottom: 1px solid var(--line); min-height: 330px; padding: 18px 0; }
  .caps-rail .cap__text { padding: 18px 18px 22px; gap: 8px; }
  .caps-rail .cap__text > p:not(.caps), .caps-rail .checks { display: none; }
  .caps-rail .cap__text h3 { font-size: 20px; }
  .caps-rail .stack .col > div[style*="width"] { width: min(46vw, 180px) !important; }
  .caps-rail .stack .tile-metric, .caps-rail .stack .tile-chip { width: 230px; }
  .plan--hi { background: linear-gradient(170deg, rgba(10, 92, 214, 0.18), rgba(255, 255, 255, 0.02) 60%); }
  .rail-dots { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
  .rail-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--line-strong); transition: width 0.3s, background 0.3s; }
  .rail-dots i.on { width: 18px; background: var(--accent); }
  .gallery__stage { padding-bottom: 8px; }

  /* each feature: its main piece only (the side tiles and the second piece stay on larger screens) */
  .cap { padding: 44px 0; gap: 26px; }
  .caps-rail > .cap { padding: 0; }
  .cap__art { min-height: 0; padding: 18px 0; }
  .cap__art .stack { transform: none; padding: 8px; }
  .stack:has(.piece) .col:not(:has(.piece)) { display: none; }
  .stack:has(.col:not(.col--off) .piece) .col--off { display: none; }
  .stack .col--off { transform: none; margin-top: 0; }
  .stack .col > div[style*="width"] { width: min(64vw, 250px) !important; }

  /* the equation in one row: icon and title, the operators between */
  .proof__eq { grid-template-columns: 1fr auto 1fr auto 1fr; }
  .proof__item { justify-items: center; text-align: center; gap: 10px; padding: 18px 8px; }
  .proof__item h3 { font-size: 13.5px; line-height: 1.25; }
  .proof__item p { display: none; }
  .proof__op { width: 22px; height: auto; border: 0; font-size: 20px; }

  .scen { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .scen::-webkit-scrollbar { display: none; }
  .scen button { flex: none; white-space: nowrap; }

  .foot__grid { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .foot__brand { grid-column: 1 / -1; }
  .foot__grid nav a { font-size: 14px; }
  .foot__base { margin-top: 40px; }

  .mcta { display: flex; gap: 10px; position: fixed; z-index: 55; left: 12px; right: 12px; bottom: 12px; padding: 10px; background: rgba(5, 7, 13, 0.88);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border: 1px solid var(--line-strong); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
    transform: translateY(150%); transition: transform 0.35s cubic-bezier(.2, .7, .2, 1); }
  .mcta.is-on { transform: none; }
  .mcta .btn { flex: 1; justify-content: center; }
  .mcta .btn--line { flex: 0 0 auto; }
}
