@font-face {
  font-family: "Outfit";
  src: url("/assets/fonts/Outfit-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* tokens from ioverlay-ui pages/css/pages/_tokens.scss, keep them equal */
:root {
  --bg: #141514;
  --surface-1: #1b1d1b;
  --surface-2: #232423;
  --surface-3: #2d2f2d;
  --ink: #eff0ef;
  --muted: #b6b9b6;
  --faint: #929692;
  --accent: #157e23;
  --accent-hover: #189028;
  --accent-text: #41c853;
  --signal: #1aff00;
  --info: #519eec;

  --max: 1200px;
  --margin: clamp(20px, 4vw, 48px);
  --gap-section: clamp(96px, 10vw, 160px);

  --t-display: clamp(48px, 6.4vw, 96px);
  --t-h2: clamp(34px, 4vw, 60px);
  --t-h3: clamp(28px, 2.6vw, 38px);
  --t-lead: clamp(19px, 1.5vw, 22px);
  --t-body: 18px;
  --t-small: 15px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Outfit", system-ui, sans-serif;
  font-size: var(--t-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #fff; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: var(--margin); top: 12px; z-index: 50; background: var(--ink); color: var(--bg); padding: 8px 14px; }

/* one centred column for the whole page */
.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--margin)); margin-inline: auto; padding-inline: var(--margin); }

/* overlay screenshots share one scale, set by --k in each context, so every overlay keeps its real proportion */
.ovimg { width: calc(var(--nw) * var(--k, 0.5px)); max-width: 100%; }

.h2 {
  font-size: var(--t-h2);
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.035em;
  max-width: 18ch;
  text-wrap: balance;
}

/* the "New in 2.0" marker, opt in per feature by adding <span class="tag-new"> to a heading */
.tag-new {
  display: inline-block;
  vertical-align: 0.5em;
  margin-left: 0.3em;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: var(--t-small);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  white-space: nowrap;
}

/* the PRO marker, the same look as in the app */
.pro {
  display: inline-block;
  padding: 3px 9px 4px;
  border-radius: 999px;
  background: rgb(65 200 83 / 0.14);
  color: var(--accent-text);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  line-height: 1.2;
  vertical-align: middle;
}

/* FREE or PRO next to the name of an overlay, loud on purpose so the split is clear at a glance */
.tier {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
}
.tier--free { background: var(--ink); color: var(--bg); }
.tier--pro { background: var(--accent); color: #fff; box-shadow: 0 0 0 4px rgb(65 200 83 / 0.16); }

/* buttons and links */
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: var(--t-body);
  text-decoration: none;
  transition: background-color 160ms var(--ease-out), transform 160ms var(--ease-out);
}
.btn:hover { background: var(--accent-hover); }
.btn:active { transform: scale(0.97); }
.btn--small { min-height: 40px; padding: 0 18px; font-size: var(--t-small); }
.link {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--faint);
  text-underline-offset: 5px;
  transition: text-decoration-color 160ms var(--ease-out);
}
.link:hover { text-decoration-color: var(--accent-text); }

/* nav */
.nav {
  position: absolute;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-block: 24px;
}
.nav__brand img { height: 30px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: var(--t-small); }
.nav__links a { color: var(--muted); text-decoration: none; transition: color 160ms; }
.nav__links a:hover { color: var(--ink); }

/* weather: the rain and the lights from the 2.0 posters */
.weather { position: absolute; inset: 0; overflow: clip; pointer-events: none; }
.rain { position: absolute; inset: 0; width: 100%; height: 100%; }
.glow { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.45; }
.glow--green { width: 300px; height: 180px; left: 8%; bottom: -60px; background: #1e8a2a; }
.glow--blue { width: 260px; height: 160px; left: 46%; bottom: -70px; background: #1d5e8f; opacity: 0.4; }
.glow--green2 { width: 220px; height: 140px; right: 6%; bottom: -50px; background: #1e8a2a; opacity: 0.35; }

/* hero */
/* the hero fills the first screen, the next section keeps the full gap from the edge of its rain field */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: clamp(110px, 15vh, 170px) 0 clamp(48px, 8vh, 96px); overflow: clip; }
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
}
.hero__title {
  font-size: var(--t-display);
  font-weight: 650;
  line-height: 0.95;
  letter-spacing: -0.045em;
}
.hero__lead { margin-top: 32px; max-width: 34ch; font-size: var(--t-lead); line-height: 1.45; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 28px; margin-top: 40px; }
.hero__note { margin-top: 20px; color: var(--muted); font-size: var(--t-small); }

/* the cluster scales as one piece: both overlays are the same fraction of their natural size */
.cluster { position: relative; container-type: inline-size; width: 100%; max-width: 640px; justify-self: end; perspective: 1400px; }
.cluster::before { content: ""; display: block; padding-top: 84%; }
.cluster__light { position: absolute; left: 10%; top: 30%; width: 80%; height: 60%; border-radius: 50%; background: #1f9a2e; filter: blur(90px); opacity: 0.35; }
.card3d {
  position: absolute;
  --k: calc(100cqw / 1420);
  transform-style: preserve-3d;
  transform: rotateX(calc(var(--ry, 0) * 1deg)) rotateY(calc(var(--rx, 0) * 1deg)) translate3d(calc(var(--rx, 0) * var(--depth) * 1.6px), calc(var(--ry, 0) * var(--depth) * -1.6px), 0);
  transition: transform 500ms var(--ease-out);
}
/* the one place a shadow is right: the overlays float above the page like they float above the sim */
.card3d img { border-radius: 18px; box-shadow: 0 40px 80px -24px rgb(0 0 0 / 0.85), 0 0 0 1px rgb(255 255 255 / 0.06); } /* taste-skill-ignore: floating overlays */
.cl--info { right: 0; top: 0; }
.cl--relative { left: 0; bottom: 0; }

/* stream layout: a tall section, the inside is pinned while overlays land */

.stream__pin {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stream__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.stream__steps { font-size: var(--t-lead); line-height: 1.3; }
.stream__steps li { color: var(--faint); padding: 4px 0; transition: color 300ms var(--ease-out), transform 300ms var(--ease-out); }
.stream__steps li.is-on { color: var(--ink); transform: translateX(10px); }
.stream__steps li::before {
  content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%;
  margin-right: 14px; vertical-align: 0.15em; background: var(--surface-3); transition: background-color 300ms;
}
.stream__steps li.is-on::before { background: var(--signal); }

/* inside data-ui the app's own conventions apply: borders, small radii */
.stream__app { width: 100%; max-width: calc((88svh - 260px) * 16 / 9 + 210px); margin-inline: auto; background: var(--surface-1); border: 1px solid #252725; border-radius: 14px; padding: 12px; font-size: 14px; }
.sl-bar { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid #323432; border-radius: 8px; background: var(--bg); margin-bottom: 12px; }
.sl-bar__label { color: var(--ink); font-weight: 600; }
.sl-bar__label::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-text); margin-right: 8px; vertical-align: 0.1em; }
.sl-bar__url { flex: 1; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sl-bar__res { color: var(--faint); }
.sl-body { display: grid; grid-template-columns: 1fr 168px; gap: 12px; }
.sl-canvas {
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 8px;
  background-color: #1e1f1e;
  background-image: conic-gradient(#252625 25%, transparent 0 50%, #252625 0 75%, transparent 0); /* taste-skill-ignore: the app's transparent canvas */
  background-size: 16px 16px;
  overflow: clip;
}
/* the captures are at 2x of a 1920 wide stream */
.sl-ov { position: absolute; left: var(--x); top: var(--y, auto); bottom: var(--b, auto); width: calc(var(--nw) / 38.4 * 1%); transition: opacity 500ms var(--ease-out), transform 600ms var(--ease-out); }
.sl-ov.is-off { opacity: 0; transform: translateY(14px) scale(0.96); pointer-events: none; }
.sl-list { display: flex; flex-direction: column; gap: 2px; padding: 8px; background: var(--bg); border-radius: 8px; }
.sl-toggle { position: relative; display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 6px; border-radius: 6px; text-align: left; color: var(--muted); transition: background-color 150ms, color 150ms; }
.sl-toggle:hover { background: var(--surface-2); color: var(--ink); }
.sl-toggle::before { content: ""; flex: none; width: 30px; height: 18px; border-radius: 99px; background: #3a3c3a; transition: background-color 200ms; }
.sl-toggle::after { content: ""; position: absolute; left: 9px; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: #8a8e8a; transition: transform 220ms var(--ease-out), background-color 200ms; }
.sl-toggle[aria-pressed="true"] { color: var(--ink); }
.sl-toggle[aria-pressed="true"]::before { background: var(--accent); }
.sl-toggle[aria-pressed="true"]::after { background: #fff; transform: translateX(12px); }

/* overlays: the app's list with a viewer */
.overlays { margin-top: var(--gap-section); }
.overlays__lead { margin-top: 20px; font-size: var(--t-lead); color: var(--muted); }
.ov { display: grid; gap: 24px; margin-top: 48px; }
.ov__tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ov__sep { width: 1px; height: 24px; margin-inline: 6px; background: var(--surface-3); }
.ov__item {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 18px;
  border-radius: 999px; background: var(--surface-1);
  font-size: var(--t-small); font-weight: 500; color: var(--muted); white-space: nowrap;
  transition: background-color 160ms, color 160ms;
}
.ov__item:hover { background: var(--surface-2); color: var(--ink); }
.ov__item[aria-selected="true"] { background: var(--ink); color: var(--bg); font-weight: 600; }
.ov__item[aria-selected="true"] .pro { background: rgb(21 126 35 / 0.16); color: var(--accent); }
.ov__item .pro { font-size: 11px; padding: 2px 7px 3px; }

.ov__viewer {
  display: grid;
  container-type: inline-size;
  padding: clamp(24px, 3vw, 40px);
  background: var(--surface-1);
  border-radius: 20px;
  --k: min(0.56px, 100cqw / 1500);
}
.ov__shot { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(200px, 3fr) 9fr; gap: clamp(24px, 3vw, 48px); align-items: start; }
.ov__copy { display: grid; gap: 16px; padding-top: 8px; }
.ov__name { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: var(--t-h3); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.ov__copy p { color: var(--muted); max-width: 36ch; }
/* the frame keeps room for a layout switch on every shot, so all pictures sit on one line.
   The tallest overlays (fuel, info list) shrink a little to fit, the rest keep the shared scale */
.ov__frame { position: relative; display: grid; grid-template-rows: minmax(0, 1fr); place-items: center; box-sizing: content-box; height: calc(800 * var(--k)); padding-bottom: 60px; }
.ov__frame > .ovimg { grid-area: 1 / 1; max-height: 100%; width: calc(var(--nw) * var(--k)); max-width: 100%; object-fit: contain; }
.ov__alt { transition: opacity 400ms var(--ease-out), transform 500ms var(--ease-out); }
.ov__alt:not(.is-on) { opacity: 0; transform: scale(0.97); }
.switch { position: absolute; left: 50%; bottom: 0; translate: -50% 0; display: inline-flex; gap: 4px; padding: 4px; background: var(--bg); border-radius: 999px; }
.switch button { min-height: 36px; padding: 0 16px; border-radius: 999px; font-size: var(--t-small); font-weight: 600; color: var(--muted); transition: background-color 160ms, color 160ms; }
.switch button:hover { color: var(--ink); }
.switch button[aria-checked="true"] { background: var(--surface-3); color: var(--ink); }
.js .ov__shot { opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out), visibility 0s 300ms; }
.js .ov__shot.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity 300ms var(--ease-out), transform 400ms var(--ease-out), visibility 0s; }

/* a list with the signal dot of the logo */
.dots { margin-top: 28px; }
.dots li { position: relative; padding: 8px 0 8px 26px; }
.dots li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 9px; height: 9px; border-radius: 50%; background: var(--signal); }

/* profiles: text left, one window piece with the profiles tree resting on its corner */
/* holding sections: the content pins near the top and the page pauses for --hold of scroll
   while the scene plays, then moves on. The pin ends at the bottom of the section, so the gap
   below is the same as everywhere else */
.hold { position: relative; margin-top: var(--gap-section); --pin-top: 12svh; }
.hold__pin { position: sticky; top: var(--pin-top); }
.hold::after { content: ""; display: block; height: var(--hold); }
@media (max-width: 1100px), (max-height: 700px) {
  .hold__pin { position: relative; top: 0; }
  .hold::after { display: none; }
}

/* the scroll scenes start outside their place, the section keeps them from widening the page */
.profiles { overflow-x: clip; overflow-clip-margin: 40px; }
.profiles { display: grid; grid-template-columns: 4fr 8fr; gap: 48px clamp(32px, 5vw, 80px); align-items: center; }
.profiles__title { grid-column: 1 / -1; max-width: none; }
.profiles__copy .dots { font-size: var(--t-lead); line-height: 1.4; }
.desk { position: relative; container-type: inline-size; padding: 0 0 70px 60px; --u: calc(1 - var(--t, 1)); }
/* the window slides in from the right, the profiles panel swings in and lands on its corner */
.desk__window { translate: calc(var(--u) * 14cqw) calc(var(--u) * 4cqw); rotate: calc(var(--u) * 3deg); opacity: calc(0.25 + 0.75 * var(--t, 1)); }
.desk__window { width: 100%; border-radius: 14px; }
.desk__profiles {
  translate: calc(var(--u) * -18cqw) calc(var(--u) * 14cqw); rotate: calc(var(--u) * -10deg); scale: calc(0.85 + 0.15 * var(--t, 1));
  position: absolute; left: 0; bottom: 0; width: min(218px, 34cqw);
  border-radius: 10px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.9); /* taste-skill-ignore: a panel lifted off the window */
}

/* pricing: Free and Pro as two clearly different blocks */
.pricing { margin-top: var(--gap-section); }
.plans { margin-top: 56px; display: grid; grid-template-columns: 4fr 7fr; gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; border-radius: 24px; padding: clamp(28px, 3vw, 44px); }
.plan--free { background: var(--surface-1); }
.plan--pro { background: #102414; }
.plan__name { display: flex; align-items: center; gap: 12px; font-size: var(--t-h3); font-weight: 650; letter-spacing: -0.03em; line-height: 1.1; }
.plan__name .pro { font-size: 13px; }
.plan__price { margin-top: 20px; font-size: clamp(48px, 5vw, 72px); font-weight: 650; letter-spacing: -0.04em; line-height: 1; }
.plan__sum { margin-top: 16px; color: var(--muted); max-width: 40ch; }
.plan--pro .plan__sum { margin-top: 12px; }
.periods { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.period { padding: 20px; border-radius: 16px; background: rgb(255 255 255 / 0.05); }
.period--best { background: var(--accent); }
.period__len { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }
.period__price { margin-top: 12px; font-size: clamp(30px, 2.8vw, 40px); font-weight: 650; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.period__per { margin-top: 8px; font-size: var(--t-small); color: var(--muted); }
.period--best .period__per { color: #dff5e2; }
.best { padding: 3px 9px; border-radius: 999px; background: #fff; color: var(--accent); font-size: 13px; font-weight: 700; }
.plan__plus { margin-top: 32px; color: var(--muted); }
.checks { margin: 16px 0 32px; flex: 1; }
.checks li { position: relative; padding: 6px 0 6px 30px; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.5em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--surface-3) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23b6b9b6' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat;
}
.checks--pro { columns: 2; column-gap: 32px; }
.checks--pro li { break-inside: avoid; }
.checks--pro li::before { background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 18'%3E%3Cpath d='M5 9.4l2.6 2.6L13 6.6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.plan .btn { align-self: flex-start; }
.btn--ghost { background: var(--surface-3); }
.btn--ghost:hover { background: #3a3c3a; }

/* faq */
.faq { margin-top: var(--gap-section); display: grid; grid-template-columns: 5fr 7fr; gap: 32px clamp(32px, 5vw, 80px); align-items: start; }
.faq__side { display: grid; gap: 24px; justify-items: start; }
.faq__list li { border-bottom: 1px solid var(--surface-2); }
.faq__q { display: flex; gap: 16px; align-items: baseline; width: 100%; text-align: left; padding: 18px 0; font-size: var(--t-lead); color: var(--muted); transition: color 160ms; }
.faq__q::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--faint); transform: translateY(-0.15em); transition: background-color 160ms, transform 200ms var(--ease-out); }
.faq__q:hover, .faq__q[aria-expanded="true"] { color: var(--ink); }
.faq__q[aria-expanded="true"]::before { background: var(--signal); transform: translateY(-0.15em) scale(1.3); }
.faq__a { padding: 0 0 22px 24px; max-width: 52ch; color: var(--muted); }
.faq__a[hidden] { display: none; }
.faq a { color: var(--accent-text); }
.faq .link { color: var(--ink); }

/* finale: shift lights */
.finale { position: relative; margin-top: var(--gap-section); min-height: 92svh; display: flex; align-items: center; overflow: clip; background: #0f100f; }
.finale__inner { position: relative; padding-block: 120px; }
.shift { display: grid; grid-template-columns: repeat(10, 1fr); gap: clamp(6px, 1vw, 14px); }
.shift span { height: clamp(14px, 1.6vw, 22px); border-radius: 6px; background: var(--surface-3); transition: background-color 120ms; --on: #5bd496; }
.shift .o { --on: #f7963a; }
.shift .r { --on: #f06464; }
.shift .b { --on: #4f8ef7; }
.shift span.is-lit { background: var(--on); }
.shift.is-flash span { animation: flash 180ms steps(1) 6; }
@keyframes flash { 0% { background: #4f8ef7; } 50% { background: #e9f1ff; } }
.finale__title { margin-top: 64px; font-size: clamp(56px, 9vw, 140px); font-weight: 700; line-height: 0.92; letter-spacing: -0.05em; }
.finale__lead { margin-top: 28px; max-width: 40ch; font-size: var(--t-lead); }

/* footer */
.foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 24px; padding-block: 40px 32px; font-size: var(--t-small); color: var(--muted); }
.foot__links { display: flex; gap: 24px; }
.foot a { color: var(--ink); text-decoration: none; }
.foot a:hover { color: var(--accent-text); }
.foot__legal { justify-self: end; }

/* ---------- motion ---------- */
.lines .line { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.lines [data-line] { display: block; }

@media (prefers-reduced-motion: no-preference) {
  .js .lines [data-line] { transform: translateY(105%); animation: line-up 900ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 110ms + 150ms); }
  .js .hero__lead, .js .hero__copy .hero__actions, .js .hero__note { opacity: 0; animation: fade-up 700ms var(--ease-out) 520ms forwards; }
  .js .card3d img { opacity: 0; animation: fly-in 1100ms var(--ease-out) forwards; animation-delay: calc(var(--i) * 180ms + 300ms); }
  .js .card3d { animation: bob 7s var(--ease-in-out) calc(var(--i) * -2.5s) infinite alternate; }

  .js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 700ms var(--ease-out), transform 800ms var(--ease-out); transition-delay: var(--d, 0ms); }
  .js .reveal.is-in { opacity: 1; transform: none; }
  .js .stream__head, .js .stream__app { opacity: 0; transform: translateY(30px); transition: opacity 800ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .stream__app { transition-delay: 120ms; }
  .js .stream.is-in .stream__head, .js .stream.is-in .stream__app { opacity: 1; transform: none; }
  .js .ov__item { opacity: 0; transform: translateY(10px); }
  .js .ov.is-in .ov__item { opacity: 1; transform: none; transition: background-color 160ms, color 160ms, opacity 500ms var(--ease-out), transform 600ms var(--ease-out); transition-delay: 0ms, 0ms, calc(var(--n) * 40ms), calc(var(--n) * 40ms); }



  .js .finale__title, .js .finale__lead, .js .finale .hero__actions { opacity: 0; transform: translateY(40px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); }
  .js .finale.is-go .finale__title { opacity: 1; transform: none; }
  .js .finale.is-go .finale__lead { opacity: 1; transform: none; transition-delay: 150ms; }
  .js .finale.is-go .hero__actions { opacity: 1; transform: none; transition-delay: 260ms; }
}
@keyframes line-up { to { transform: none; } }
@keyframes fade-up { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes fly-in { from { opacity: 0; transform: translateY(60px) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes bob { from { translate: 0 0; } to { translate: 0 -12px; } }

/* ---------- smaller screens ---------- */
@media (max-width: 1100px) {
  .nav__wide { display: none; }
  .stream__pin { grid-template-columns: 1fr; }
  .sl-body { grid-template-columns: 1fr; }
  .sl-list { flex-direction: row; flex-wrap: wrap; }
  .sl-list li { flex: 1 1 140px; }
  .profiles { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --t-body: 17px; }
  .hero__inner { grid-template-columns: 1fr; }
  .cluster { justify-self: center; }
  .faq { grid-template-columns: 1fr; }
  /* the chips stay in view above the picture, so a tap always shows its overlay */
  .ov__tabs {
    position: sticky; top: 0; z-index: 5;
    flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none;
    margin-inline: calc(-1 * var(--margin)); padding: 12px var(--margin);
    background: var(--bg);
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent);
    mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .ov__tabs::-webkit-scrollbar { display: none; }
  .ov { gap: 12px; }
  .ov__viewer { padding: 20px; --k: calc(100cqw / 1150); }
  .ov__shot { grid-template-columns: 1fr; gap: 20px; }
  .ov__copy { order: 2; padding-top: 0; }
  .ov__frame { height: auto; min-height: calc(700 * var(--k)); grid-template-rows: auto; }
  .foot { grid-template-columns: 1fr; gap: 8px; padding-top: 20svh; }
  .foot__links { flex-wrap: wrap; gap: 8px 20px; }
  .foot__legal { justify-self: start; }
}

@media (max-width: 560px) {
  .nav { gap: 16px; }
  .nav__links { gap: 16px; }
  .nav .btn--small { padding: 0 14px; }
  .nav__brand img { height: 24px; }
  .sl-bar__res { display: none; }
  .tag-new { font-size: 13px; padding: 5px 10px; }
  .periods { grid-template-columns: 1fr; }
  .period { display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 12px; }
  .period__price { margin-top: 0; grid-row: 1 / 3; grid-column: 2; }
  .checks--pro { columns: 1; }
  .desk { padding: 0 0 60px 24px; }
  .stream__steps li.is-on { transform: none; }
}
