:root {
  --moon: #cdbfff;
  --dusk: #8a9bff;
  --sky: #8fd8ff;
  --line: rgba(255,255,255,0.12);
  --panel: rgba(255,255,255,0.05);
  --dim: rgba(255,255,255,0.66);
  --grad: linear-gradient(135deg, var(--moon), var(--dusk) 55%, var(--sky));
}

/* Icons from static/images/symbolic, tinted with the text colour */
.ico {
  display: inline-block;
  flex: none;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
  background-color: currentColor;
  -webkit-mask: var(--ico) center / contain no-repeat;
  mask: var(--ico) center / contain no-repeat;
}
.i-arrow-left   { --ico: url(/static/images/symbolic/arrow-left.svg); }
.i-arrow-right  { --ico: url(/static/images/symbolic/arrow-right.svg); }
.i-audio        { --ico: url(/static/images/symbolic/audio.svg); }
.i-back         { --ico: url(/static/images/symbolic/back.svg); }
.i-bookmark     { --ico: url(/static/images/symbolic/bookmark.svg); }
.i-check        { --ico: url(/static/images/symbolic/check.svg); }
.i-chevron-down { --ico: url(/static/images/symbolic/chevron-down.svg); }
.i-close        { --ico: url(/static/images/symbolic/close.svg); }
.i-code         { --ico: url(/static/images/symbolic/code.svg); }
.i-cookies      { --ico: url(/static/images/symbolic/cookies.svg); }
.i-dashboard    { --ico: url(/static/images/symbolic/dashboard.svg); }
.i-download     { --ico: url(/static/images/symbolic/download.svg); }
.i-edit         { --ico: url(/static/images/symbolic/edit.svg); }
.i-extension    { --ico: url(/static/images/symbolic/extension.svg); }
.i-fingerprint  { --ico: url(/static/images/symbolic/fingerprint.svg); }
.i-forget       { --ico: url(/static/images/symbolic/forget.svg); }
.i-form         { --ico: url(/static/images/symbolic/form.svg); }
.i-forward      { --ico: url(/static/images/symbolic/forward.svg); }
.i-globe        { --ico: url(/static/images/symbolic/globe.svg); }
.i-heart        { --ico: url(/static/images/symbolic/heart.svg); }
.i-history      { --ico: url(/static/images/symbolic/history.svg); }
.i-home         { --ico: url(/static/images/symbolic/home.svg); }
.i-key          { --ico: url(/static/images/symbolic/key.svg); }
.i-labs         { --ico: url(/static/images/symbolic/labs.svg); }
.i-layouts      { --ico: url(/static/images/symbolic/layouts.svg); }
.i-location     { --ico: url(/static/images/symbolic/location.svg); }
.i-lock         { --ico: url(/static/images/symbolic/lock.svg); }
.i-maximize     { --ico: url(/static/images/symbolic/maximize.svg); }
.i-menu         { --ico: url(/static/images/symbolic/menu.svg); }
.i-minimize     { --ico: url(/static/images/symbolic/minimize.svg); }
.i-moon         { --ico: url(/static/images/symbolic/moon.svg); }
.i-network      { --ico: url(/static/images/symbolic/network.svg); }
.i-news         { --ico: url(/static/images/symbolic/news.svg); }
.i-onion        { --ico: url(/static/images/symbolic/onion.svg); }
.i-packages     { --ico: url(/static/images/symbolic/packages.svg); }
.i-pause        { --ico: url(/static/images/symbolic/pause.svg); }
.i-performance  { --ico: url(/static/images/symbolic/performance.svg); }
.i-pip          { --ico: url(/static/images/symbolic/pip.svg); }
.i-play         { --ico: url(/static/images/symbolic/play.svg); }
.i-plus         { --ico: url(/static/images/symbolic/plus.svg); }
.i-reload       { --ico: url(/static/images/symbolic/reload.svg); }
.i-screenshot   { --ico: url(/static/images/symbolic/screenshot.svg); }
.i-search       { --ico: url(/static/images/symbolic/search.svg); }
.i-server       { --ico: url(/static/images/symbolic/server.svg); }
.i-settings     { --ico: url(/static/images/symbolic/settings.svg); }
.i-shield       { --ico: url(/static/images/symbolic/shield.svg); }
.i-sparkles     { --ico: url(/static/images/symbolic/sparkles.svg); }
.i-star         { --ico: url(/static/images/symbolic/star.svg); }
.i-sun          { --ico: url(/static/images/symbolic/sun.svg); }
.i-themes       { --ico: url(/static/images/symbolic/themes.svg); }
.i-thumbs-down  { --ico: url(/static/images/symbolic/thumbs-down.svg); }
.i-translations { --ico: url(/static/images/symbolic/translations.svg); }
.i-folder       { --ico: url(/static/images/symbolic/folder.svg); }
.i-mail         { --ico: url(/static/images/symbolic/mail.svg); }
.i-accent         { --ico: url(/static/images/symbolic/accent.svg); }
.i-keyboard       { --ico: url(/static/images/symbolic/keyboard.svg); }
.i-music          { --ico: url(/static/images/symbolic/music.svg); }
.i-wallpaper      { --ico: url(/static/images/symbolic/wallpaper.svg); }
.i-webstyle       { --ico: url(/static/images/symbolic/webstyle.svg); }
.i-thumbs-up    { --ico: url(/static/images/symbolic/thumbs-up.svg); }
.i-work         { --ico: url(/static/images/symbolic/work.svg); }

.hero__title--big {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.hero__slogan {
  margin: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
  font-weight: 600;
  background: linear-gradient(90deg, var(--moon), var(--dusk), var(--sky), var(--dusk), var(--moon)) 0 0 / 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: slogan-flow 6s linear infinite;
}
@keyframes slogan-flow { to { background-position: -200% 0; } }
.hero__slogan { cursor: default; -webkit-user-select: none; user-select: none; }

/* "It just works" easter egg window */
.egg {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 3, 9, 0.7);
  backdrop-filter: blur(6px);
  animation: egg-fade 250ms ease both;
}
.egg__window {
  width: min(900px, 100%);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  overflow: hidden;
  background: #1c1b22;
  box-shadow: 0 40px 120px rgba(0,0,0,0.7);
  animation: egg-pop 300ms cubic-bezier(.2,1.4,.4,1) both;
}
.egg__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 6px 0 14px;
  background: #2b2a33;
  color: #fbfbfe;
  font-size: 13.5px;
}
.egg__bar span { flex: 1; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.egg__close {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: inherit;
  font-size: 18px;
  cursor: pointer;
}
.egg__close:hover, .egg__close:focus-visible { background: #e81123; outline: none; }
.egg__vol { display: flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.egg__vol input { width: 90px; accent-color: #8fd8ff; cursor: pointer; }
.egg__btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 8px;
  background: none;
  color: inherit;
  font-size: 17px;
  cursor: pointer;
}
.egg__btn:hover, .egg__btn:focus-visible { background: rgba(255,255,255,0.12); outline: none; }
.egg__video { position: relative; aspect-ratio: 16 / 9; background: #000; }
.egg__video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.egg__shield { position: absolute; inset: 0; }
@keyframes egg-fade { from { opacity: 0; } }
@keyframes egg-pop { from { opacity: 0; transform: scale(0.9); } }

.hero__status {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
  color: var(--dim);
  font-size: 0.9rem;
}

.btn__icon {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  transition: transform 200ms ease;
}
.btn:hover .btn__icon--down,
.btn:focus-visible .btn__icon--down { transform: translateY(3px); }

/* Blocks */
.block { padding: 6rem 0; scroll-margin-top: 5rem; }
.block__head { text-align: center; max-width: 1200px; margin: 0 auto 2.5rem; }
.block__eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sky);
}
.block__title {
  margin: 0 0 0.7rem;
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.block__lead { margin: 0 auto; color: rgba(255,255,255,0.74); font-size: 1.08rem; text-wrap: balance; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* Look section */
/* Hidden state inputs are fixed so focusing them never scrolls the page */
.look__state { position: fixed; top: 0; left: 0; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
kbd {
  display: inline-block;
  min-width: 1.6em;
  padding: 0.05em 0.45em;
  border: 1px solid rgba(255,255,255,0.25);
  border-bottom-width: 2px;
  border-radius: 6px;
  font: 600 0.85em ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.look__stage { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.look__panel {
  position: sticky;
  top: 6rem;
  display: grid;
  gap: 1.1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
}
.look__group { display: grid; gap: 0.5rem; align-content: start; }
.look__label { margin: 0; color: var(--dim); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.look__panel .mode-toggle { display: flex; }
.look__panel .mode-toggle label { flex: 1; padding: 0.45rem 0.5rem; font-size: 0.9rem; text-align: center; }
/* Long translations wrap to a second row instead of overflowing the panel */
.look__panel .density-toggle { flex-wrap: wrap; border-radius: 14px; }
.look__panel .density-toggle label { flex: 1 1 auto; padding: 0.45rem 0.3rem; border-radius: 10px; font-size: 0.8rem; white-space: nowrap; }

.mode-toggle {
  display: inline-flex;
  padding: 0.3rem;
  gap: 0.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--panel);
}
.mode-toggle label {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-pill);
  font-weight: 700;
  color: var(--dim);
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}
.look:has(#mode-dark:checked) .mode-toggle label[for="mode-dark"],
.look:has(#mode-light:checked) .mode-toggle label[for="mode-light"],
.look:has(#density-compact:checked) .density-toggle label[for="density-compact"],
.look:has(#density-normal:checked) .density-toggle label[for="density-normal"],
.look:has(#density-touch:checked) .density-toggle label[for="density-touch"] { background: rgba(255,255,255,0.16); color: #fff; }

.theme-picks { display: grid; gap: 0.45rem; }
.theme-pick {
  display: grid;
  grid-template-columns: 56px auto;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  align-items: center;
  justify-content: start;
  padding: 0.35rem 0.7rem 0.35rem 0.35rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}
.theme-pick:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.3); }
.theme-pick img, .theme-pick__plain {
  grid-row: span 2;
  width: 56px;
  height: 34px;
  object-fit: cover;
  border-radius: 8px;
}
.theme-pick__plain { display: block; background: linear-gradient(135deg, #1c1b22 50%, #f9f9fb 50%); }
.theme-pick__name { font-weight: 700; font-size: 0.88rem; }
.theme-pick__by { color: var(--dim); font-size: 0.75rem; }
.look:has(#theme-none:checked) .theme-pick[for="theme-none"],
.look:has(#theme-mita:checked) .theme-pick[for="theme-mita"],
.look:has(#theme-fireplace:checked) .theme-pick[for="theme-fireplace"],
.look:has(#theme-sakura:checked) .theme-pick[for="theme-sakura"] { border-color: var(--sky); background: rgba(143,216,255,0.1); }
.look:has(.look__state:focus-visible) .look__panel { outline: 2px dashed rgba(143,216,255,0.5); outline-offset: 4px; }

/* Miniature tab shapes on the layout picks */
.layout-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 0.45rem; }
.layout-pick {
  display: grid;
  gap: 1px;
  padding: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  cursor: pointer;
  transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}
.layout-pick:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.3); }
.layout-pick__art { display: flex; align-items: flex-end; gap: 3px; height: 30px; margin-bottom: 4px; padding: 0 5px; border-radius: 6px; background: #3a3940; overflow: hidden; }
.layout-pick__art i { flex: 1; height: 14px; margin-bottom: 6px; border-radius: 4px; background: rgba(255,255,255,0.12); }
.layout-pick__art i:first-child { background: rgba(255,255,255,0.36); }
.layout-pick__art--spitfire i { height: 12px; margin-bottom: 9px; border-radius: 999px; }
.layout-pick__art--spitfire i:first-child { box-shadow: inset 0 0 0 1px rgba(255,255,255,0.6); }
.layout-pick__art--lepton i:first-child { box-shadow: 0 0 4px rgba(0,0,0,0.6); }
.layout-pick__art--photon { gap: 0; padding: 0; }
.layout-pick__art--photon i { height: 100%; margin: 0; border-radius: 0; background: none; box-shadow: inset 1px 0 0 rgba(255,255,255,0.18); }
.layout-pick__art--photon i:first-child { background: rgba(255,255,255,0.3); box-shadow: inset 0 2px 0 #0a84ff; }
.layout-pick__art--proton i { height: 16px; margin-bottom: 7px; background: none; }
.layout-pick__art--proton i:first-child { box-shadow: 0 0 4px rgba(0,0,0,0.6); }
.layout-pick__name { font-weight: 700; font-size: 0.85rem; }
.layout-pick__by { color: var(--dim); font-size: 0.7rem; }
.look:has(#layout-spitfire:checked) .layout-pick[for="layout-spitfire"],
.look:has(#layout-lepton:checked) .layout-pick[for="layout-lepton"],
.look:has(#layout-photon:checked) .layout-pick[for="layout-photon"],
.look:has(#layout-proton:checked) .layout-pick[for="layout-proton"] { border-color: var(--sky); background: rgba(143,216,255,0.1); }

/* Mock browser, coloured by the chosen mode and theme */
.mock {
  --m-border: #4a4a4a; --m-strip: #424242; --m-toolbar: #3c3c3c; --m-text: #fbfbfe; --m-icon: #fbfbfe;
  --m-tab: #4a4a50; --m-tab-border: rgba(255,255,255,0.35); --m-url: #2b2a33; --m-url-border: transparent;
  --m-content: #1c1b22; --m-search: #2e2d33; --m-nt-text: #fbfbfe; --m-nt-shadow: transparent;
  --m-panel: #2b2a33; --m-accent: #00ddff; --m-dock-border: rgba(255,255,255,0.08); --m-frame: #2e2e30;
  --dd: 0px;
  position: relative;
  display: flex;
  flex-direction: column;
  aspect-ratio: 16 / 11;
  min-width: 0;
  border: 1px solid var(--m-border);
  border-radius: 14px;
  overflow: hidden;
  color: var(--m-text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, sans-serif;
  padding: 4px;
  background: var(--m-frame);
  box-shadow: 0 40px 120px rgba(0,0,0,0.6);
  transition: border-color 300ms ease, background 300ms ease;
}
.look:has(#mode-light:checked) .mock {
  --m-border: #cdc7c2; --m-strip: #ffffff; --m-toolbar: #ffffff; --m-text: #15141a; --m-icon: #15141a;
  --m-tab: #ffffff; --m-tab-border: rgba(0,0,0,0.25); --m-url: #f0f0f4; --m-url-border: rgba(0,0,0,0.15);
  --m-content: #f9f9fb; --m-search: #ececee; --m-nt-text: #15141a; --m-panel: #ffffff; --m-accent: #0060df; --m-dock-border: rgba(0,0,0,0.14); --m-frame: #ececee;
}
.look:has(#theme-mita:checked) .mock { --h: 294; --hs: 70%; }
.look:has(#theme-fireplace:checked) .mock { --h: 24; --hs: 100%; }
.look:has(#theme-sakura:checked) .mock { --h: 333; --hs: 45%; }
.look:has(#theme-mita:checked, #theme-fireplace:checked, #theme-sakura:checked) .mock {
  --m-accent: hsl(var(--h) var(--hs) 62%);
  --m-border: hsl(var(--h) var(--hs) 30%); --m-strip: hsl(var(--h) 45% 10%); --m-toolbar: hsl(var(--h) 18% 14%); --m-frame: hsl(var(--h) 40% 5%);
  --m-text: #f4f0f5; --m-icon: var(--m-accent); --m-tab: #2b2a33; --m-tab-border: var(--m-accent);
  --m-url: #161616; --m-url-border: var(--m-accent); --m-search: rgba(20,16,24,0.55);
  --m-nt-text: #fff; --m-nt-shadow: rgba(0,0,0,0.55); --m-dock-border: hsl(var(--h) var(--hs) 38%);
}
.look:has(#theme-mita:checked, #theme-fireplace:checked, #theme-sakura:checked):has(#mode-light:checked) .mock {
  --m-accent: hsl(var(--h) var(--hs) 42%);
  --m-border: hsl(var(--h) var(--hs) 70%); --m-strip: hsl(var(--h) 70% 94%); --m-toolbar: hsl(var(--h) 70% 97%); --m-frame: hsl(var(--h) 40% 90%);
  --m-text: hsl(var(--h) 50% 14%); --m-tab: #fff; --m-url: #fff; --m-search: rgba(255,255,255,0.7);
  --m-panel: #fff; --m-dock-border: hsl(var(--h) var(--hs) 75%);
}
.look:has(#theme-sakura:checked):has(#mode-light:checked) .mock { --m-nt-text: #3a0d2e; --m-nt-shadow: rgba(246,220,235,0.8); }

.mock__ico { width: 16px; height: 16px; flex: none; }
.mock__dock {
  flex: none;
  margin-bottom: 4px;
  border: 1px solid var(--m-dock-border);
  border-radius: 12px;
  overflow: hidden;
}
.mock__strip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: calc(44px + var(--dd));
  padding: 0 10px;
  background: var(--m-strip);
  transition: background 300ms ease;
}
.mock__tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 1 200px;
  min-width: 0;
  height: calc(32px + var(--dd));
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 13px;
  opacity: 0.78;
}
.mock__tab.is-on { border-color: var(--m-tab-border); background: var(--m-tab); opacity: 1; }
.mock__tab::before { content: ""; position: absolute; top: 25%; bottom: 25%; left: -5px; width: 1px; background: currentColor; opacity: 0; }
.mock__tab .ico.mock__favicon { color: var(--m-icon); }
.mock__tab-audio { width: 13px; height: 13px; opacity: 0.8; }
.mock__tab-title { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.mock__favicon { width: 16px; height: 16px; }
.mock__plus { display: grid; color: var(--m-icon); }
.mock__window { display: flex; gap: 18px; margin-left: auto; padding-right: 6px; opacity: 0.85; }
.mock__window .mock__ico { width: 13px; height: 13px; }
.mock__toolbar {
  display: flex;
  align-items: center;
  gap: 4px;
  height: calc(44px + var(--dd));
  padding: 0 8px;
  border-top: 1px solid var(--m-dock-border);
  background: var(--m-toolbar);
  color: var(--m-icon);
  transition: background 300ms ease;
}
.mock__btn {
  display: grid;
  place-items: center;
  width: calc(32px + var(--dd));
  height: calc(32px + var(--dd));
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: none;
  color: inherit;
  cursor: pointer;
}
.mock__btn:hover:not(:disabled) { background: rgba(128,128,128,0.2); }
.mock__btn:disabled { opacity: 0.4; cursor: default; }
.mock__url {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 0;
  height: calc(34px + var(--dd));
  margin: 0 6px;
  padding: 0 12px 0 4px;
  border: 1px solid var(--m-url-border);
  border-radius: 999px;
  background: var(--m-url);
}
.mock__url input, .mock__search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--m-text);
  font: inherit;
  font-size: 13.5px;
}
.mock__url input::placeholder { color: var(--m-text); opacity: 0.55; }
.mock__engine { display: grid; opacity: 0.8; color: var(--m-text); }
.mock__url .mock__engine {
  display: flex;
  align-items: center;
  gap: 2px;
  height: calc(26px + var(--dd));
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(128,128,128,0.25);
  opacity: 1;
}
.mock__url .mock__engine .mock__ico:last-child { width: 12px; height: 12px; opacity: 0.8; }
.mock__tools { display: flex; gap: 18px; padding: 0 8px; }
.mock__bookmarks {
  display: flex;
  align-items: center;
  gap: 4px;
  height: calc(28px + var(--dd) / 2);
  padding: 0 8px;
  overflow: hidden;
  background: var(--m-toolbar);
  font-size: 12px;
  white-space: nowrap;
  transition: background 300ms ease;
}
.mock__bookmarks span { display: flex; align-items: center; gap: 6px; padding: 3px 7px; border-radius: 4px; }
.mock__bookmarks .ico { color: var(--m-icon); font-size: 14px; opacity: 0.85; }

/* The window keeps its size and the page area fills the space the bars leave */
.mock__content {
  position: relative;
  flex: 1;
  min-height: 0;
  border: 1px solid var(--m-dock-border);
  border-radius: 10px;
  background: var(--m-content);
  overflow: hidden;
  transition: background 300ms ease;
}
.mock__wall { position: absolute; inset: 0; opacity: 0; transition: opacity 500ms ease; }
.mock__wall video, .mock__wall img { width: 100%; height: 100%; object-fit: cover; display: block; }
.look:has(#theme-mita:checked) .mock__wall--mita,
.look:has(#theme-fireplace:checked) .mock__wall--fireplace,
.look:has(#theme-sakura:checked) .mock__wall--sakura { opacity: 1; }

.mock__newtab {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 11%;
  gap: 5%;
  color: var(--m-nt-text);
}
.mock__brand {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: clamp(1.4rem, 3.4vw, 2.5rem);
  font-weight: 700;
  text-shadow: 0 2px 12px var(--m-nt-shadow);
}
.mock__logo { width: clamp(36px, 5vw, 56px); height: auto; }
.mock__search {
  display: flex;
  align-items: center;
  gap: 10px;
  width: min(560px, 82%);
  height: 48px;
  padding: 0 8px 0 18px;
  border-radius: 999px;
  background: var(--m-search);
  backdrop-filter: blur(10px);
  transition: box-shadow 200ms ease;
}
.mock__search:focus-within { box-shadow: 0 0 0 2px var(--m-accent); }
.mock__search input { font-size: 15px; }
.mock__sites { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; max-width: 82%; }
.mock__sites span { display: grid; justify-items: center; gap: 6px; width: 64px; font-size: 12px; text-shadow: 0 1px 6px var(--m-nt-shadow); }
.mock__sites b { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; background: var(--m-search); backdrop-filter: blur(10px); }
.mock__sites .ico { width: 20px; height: 20px; color: var(--m-accent); }
.mock__search input::placeholder { color: var(--m-text); opacity: 0.6; }
.mock__search button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--m-text);
  cursor: pointer;
}
.mock__search button:hover { background: rgba(128,128,128,0.25); }

.mock__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #fff; }
.mock.is-searching .mock__newtab,
.mock.is-searching .mock__pencil,
.mock.is-searching .mock__panel { visibility: hidden; }

.mock__pencil {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(40,40,46,0.85);
  color: #fff;
  cursor: pointer;
  transition: transform 200ms ease, background 200ms ease;
}
.mock__pencil:hover { transform: rotate(-12deg) scale(1.08); background: rgba(60,60,70,0.95); }
.look:has(#mock-customise:focus-visible) .mock__pencil { outline: 2px solid var(--m-accent); outline-offset: 2px; }

.mock__panel {
  position: absolute;
  right: 16px;
  bottom: 64px;
  width: min(320px, calc(100% - 32px));
  max-height: calc(100% - 80px);
  overflow: auto;
  padding: 14px;
  border: 1px solid rgba(128,128,128,0.3);
  border-radius: 14px;
  background: var(--m-panel);
  color: var(--m-text);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.97);
  transform-origin: bottom right;
  transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
}
.look:has(#mock-customise:checked) .mock__panel { opacity: 1; visibility: visible; transform: none; }
.mock__panel-head { display: flex; align-items: center; justify-content: space-between; }
.mock__panel-head label { display: grid; padding: 4px; border-radius: 6px; cursor: pointer; }
.mock__panel-head label:hover { background: rgba(128,128,128,0.2); }
.mock__panel-label { margin: 12px 0 6px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; opacity: 0.65; }
.mode-toggle--small { display: flex; border-color: rgba(128,128,128,0.3); background: rgba(128,128,128,0.12); }
.mode-toggle--small label { flex: 1; text-align: center; padding: 0.35rem 0.6rem; font-size: 13px; color: inherit; opacity: 0.7; }
.look:has(#mode-dark:checked) .mode-toggle--small label[for="mode-dark"],
.look:has(#mode-light:checked) .mode-toggle--small label[for="mode-light"] { background: rgba(128,128,128,0.28); box-shadow: inset 0 0 0 2px var(--m-accent); opacity: 1; }
.mock__panel-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.theme-pick--small { grid-template-columns: 1fr; padding: 6px; gap: 2px; border-color: rgba(128,128,128,0.3); background: rgba(128,128,128,0.08); }
.theme-pick--small img, .theme-pick--small .theme-pick__plain { grid-row: auto; width: 100%; height: 56px; }
.theme-pick--small .theme-pick__name { font-size: 12.5px; }
.theme-pick--small .theme-pick__by { display: none; }
.look:has(#theme-none:checked) .theme-pick--small[for="theme-none"],
.look:has(#theme-mita:checked) .theme-pick--small[for="theme-mita"],
.look:has(#theme-fireplace:checked) .theme-pick--small[for="theme-fireplace"],
.look:has(#theme-sakura:checked) .theme-pick--small[for="theme-sakura"] { border-color: var(--m-accent); background: rgba(128,128,128,0.15); }
.mock__panel-more { display: block; margin-top: 12px; font-size: 13px; font-weight: 600; color: var(--m-accent); text-decoration: none; }

/* Density changes bar and button sizes but not text size */
.look:has(#density-compact:checked) .mock { --dd: -8px; }
.look:has(#density-touch:checked) .mock { --dd: 10px; }
.mock__strip, .mock__tab, .mock__toolbar, .mock__btn, .mock__url, .mock__url .mock__engine, .mock__bookmarks { transition: height 200ms ease, width 200ms ease, background 300ms ease; }

/* Spitfire uses separate docked blocks. Lepton, Photon (shown as Quantum) and Proton join the bars into one frame */
.look:has(#layout-lepton:checked) .mock, .look:has(#layout-photon:checked) .mock, .look:has(#layout-proton:checked) .mock { padding: 0; }
.look:has(#layout-lepton:checked) .mock__dock, .look:has(#layout-photon:checked) .mock__dock, .look:has(#layout-proton:checked) .mock__dock { margin: 0; border: 0; border-radius: 0; }
.look:has(#layout-lepton:checked) .mock__toolbar, .look:has(#layout-photon:checked) .mock__toolbar, .look:has(#layout-proton:checked) .mock__toolbar { border-top: 0; }
.look:has(#layout-lepton:checked) .mock__content, .look:has(#layout-photon:checked) .mock__content, .look:has(#layout-proton:checked) .mock__content { border: 0; border-top: 1px solid var(--m-dock-border); border-radius: 0; }

/* Lepton: rounded tabs, selected tab in the toolbar colour, separators between unselected tabs */
.look:has(#layout-lepton:checked) .mock { border-radius: 10px; }
.look:has(#layout-lepton:checked) .mock__strip { height: calc(40px + var(--dd)); gap: 4px; padding: 0 6px; }
.look:has(#layout-lepton:checked) .mock__tab { border: 0; border-radius: 6px; }
.look:has(#layout-lepton:checked) .mock__tab.is-on { background: var(--m-toolbar); box-shadow: 0 0 4px rgba(0,0,0,0.4); }
.look:has(#layout-lepton:checked) .mock__tab:not(.is-on) + .mock__tab:not(.is-on)::before { left: -3px; opacity: 0.3; }
.look:has(#layout-lepton:checked) .mock__plus { place-items: center; width: calc(32px + var(--dd)); height: calc(32px + var(--dd)); border-radius: 6px; background: rgba(128,128,128,0.16); }
.look:has(#layout-lepton:checked) .mock__url { border-radius: 6px; }
.look:has(#layout-lepton:checked) .mock__search { border-radius: 10px; }

/* Photon (Firefox 57): square tabs, accent line on the selected tab, separators between all tabs */
.look:has(#layout-photon:checked) .mock { border-radius: 4px; }
.look:has(#layout-photon:checked) .mock__strip { align-items: stretch; height: calc(34px + var(--dd)); gap: 0; padding: 0; }
.look:has(#layout-photon:checked) .mock__tab { height: auto; padding: 0 12px; border: 0; border-radius: 0; }
.look:has(#layout-photon:checked) .mock__tab.is-on { background: var(--m-toolbar); box-shadow: inset 0 2px 0 var(--m-accent); }
.look:has(#layout-photon:checked) .mock__tab + .mock__tab::before { left: 0; opacity: 0.25; }
.look:has(#layout-photon:checked) .mock__plus, .look:has(#layout-photon:checked) .mock__window { align-self: center; padding: 0 10px; }
.look:has(#layout-photon:checked) .mock__toolbar { height: calc(40px + var(--dd)); }
.look:has(#layout-photon:checked) .mock__url { height: calc(30px + var(--dd)); border-color: rgba(128,128,128,0.35); border-radius: 3px; }
.look:has(#layout-photon:checked) .mock__url .mock__engine { border-radius: 2px; }
.look:has(#layout-photon:checked) .mock__search { border-radius: 4px; }

/* Proton (Firefox 89): raised selected tab, no separators */
.look:has(#layout-proton:checked) .mock { border-radius: 8px; }
.look:has(#layout-proton:checked) .mock__strip { height: calc(44px + var(--dd)); gap: 2px; padding: 0 6px; }
.look:has(#layout-proton:checked) .mock__tab { height: calc(34px + var(--dd)); border: 0; border-radius: 4px; }
.look:has(#layout-proton:checked) .mock__tab.is-on { box-shadow: 0 0 4px rgba(0,0,0,0.4); }
.look:has(#layout-proton:checked) .mock__url { border-radius: 4px; }
.look:has(#layout-proton:checked) .mock__url .mock__engine { border-radius: 4px; }
.look:has(#layout-proton:checked) .mock__search { border-radius: 6px; }

@media (max-width: 1000px) {
  .look__stage { grid-template-columns: 1fr; }
  .look__panel { position: static; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 560px) {
  .look__panel .theme-picks { grid-template-columns: 1fr 1fr; }
  .look__panel .theme-pick { grid-template-columns: 1fr; padding: 0.35rem; }
  .look__panel .theme-pick img, .look__panel .theme-pick__plain { grid-row: auto; width: 100%; height: 44px; }
  .look__panel .theme-pick__by { display: none; }
}
@media (max-width: 700px) {
  .mock { aspect-ratio: 10 / 9; }
  .mock__newtab { padding-top: 5%; gap: 4%; }
  .mock__pencil { right: 10px; bottom: 10px; width: 32px; height: 32px; }
  .mock__tools, .mock__window { display: none; }
  .mock__sites { display: none; }
  .mock__tab { flex-basis: 130px; }
  .mock__search { height: 40px; }
  .theme-pick { grid-template-columns: 48px auto; padding-right: 0.7rem; }
  .theme-pick img, .theme-pick__plain { width: 48px; height: 32px; }
}

/* Feature tour */
.tour {
  max-width: 1100px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 80px rgba(0,0,0,0.45);
  overflow: hidden;
}
/* Progress of the current slide only, with no slide count */
.tour__progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.06); }
.tour__progress span { display: block; height: 100%; transform-origin: left; transform: scaleX(var(--p, 0)); background: var(--grad); }

.tour__pause {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.4) rotate(-90deg);
  pointer-events: none;
  transition: opacity 200ms ease, transform 350ms cubic-bezier(.2,1.6,.4,1), box-shadow 200ms ease;
}
.tour__pause .ico { width: 14px; height: 14px; }
.tour.is-paused .tour__pause { opacity: 1; transform: none; pointer-events: auto; }
.tour.is-held .tour__pause { box-shadow: 0 0 0 2px var(--sky), 0 0 14px rgba(143,216,255,0.5); }

.sparkle {
  position: fixed;
  z-index: 200;
  width: 12px;
  height: 12px;
  pointer-events: none;
  background: #fff;
  clip-path: polygon(50% 0%, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0% 50%, 39% 39%);
  filter: drop-shadow(0 0 3px rgba(200,210,255,0.9));
}
.sparkle:nth-child(3n) { background: var(--moon); }
.sparkle:nth-child(3n+1) { background: var(--sky); }

.tour__body {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  /* Fixed rows so the arrows and the panel never move between slides */
  grid-template-rows: 1fr 14rem auto 1fr;
  column-gap: 2rem;
  row-gap: 0.4rem;
  height: 500px;
  padding: 2.6rem 2.2rem 2.2rem;
}
.tour__text { grid-column: 1; grid-row: 2; align-self: start; }
.tour__visual { grid-column: 2; grid-row: 1 / -1; align-self: center; }
.tour__slide { display: none; }
.tour__slide.is-active { display: contents; }
.tour__text { animation: slide-in 500ms ease both; }
.tour__visual { animation: slide-in 500ms 80ms ease both; }
@keyframes slide-in { from { opacity: 0; transform: translateX(18px); } }
.tour__name { margin: 0.4rem 0 0.8rem; font-size: clamp(1.6rem, 3vw, 2.3rem); letter-spacing: -0.01em; line-height: 1.15; }
.tour__desc { margin: 0 0 1.2rem; color: rgba(255,255,255,0.78); font-size: 1.05rem; }
.tour__desc + .tour__desc { margin-top: -0.6rem; font-size: 0.95rem; color: var(--dim); }
.tour { position: relative; }
.tour__nav { grid-column: 1; grid-row: 3; display: flex; gap: 0.5rem; }
.tour__nav button {
  width: 2.6rem;
  height: 2.6rem;
  font-size: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--panel);
  color: #fff;
  cursor: pointer;
}
.tour__nav button:hover { background: rgba(255,255,255,0.1); }
.tour__visual {
  position: relative;
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(160deg, #11152a, #0a0d18);
  overflow: hidden;
  display: grid;
  place-items: center;
}

/* Before and after comparison. A slider wipes from other browsers to Spitfire */
.cmp { position: relative; width: 86%; cursor: ew-resize; touch-action: pan-y; user-select: none; }
.cmp.is-manual .cmp__after { animation: none; clip-path: inset(0 0 0 var(--pos)); }
.cmp.is-manual .cmp__bar { animation: none; left: var(--pos); opacity: 1; }
.cmp.is-manual .cmp__tag { animation: none; opacity: 1; }
.cmp__side .mini { width: 100%; }
.cmp__after {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 100%);
  animation: cmp-wipe 900ms cubic-bezier(.65,0,.35,1) 1.8s forwards;
}
@keyframes cmp-wipe { to { clip-path: inset(0 0 0 0); } }
.cmp__bar {
  position: absolute;
  top: -8px;
  bottom: -8px;
  left: 100%;
  width: 3px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  box-shadow: 0 0 12px rgba(143,216,255,0.8);
  opacity: 0;
  animation: cmp-bar 900ms cubic-bezier(.65,0,.35,1) 1.8s forwards;
}
.cmp__bar::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin: -13px 0 0 -13px;
  border-radius: 50%;
  background: #fff url(/static/images/symbolic/swap.svg) center / 14px no-repeat;
}
@keyframes cmp-bar {
  0% { left: 100%; opacity: 1; }
  85% { opacity: 1; }
  100% { left: 0%; opacity: 0; }
}
.cmp__tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  position: absolute;
  top: -12px;
  left: 10px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #3a3a40;
  color: #e6e6ea;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.cmp__tag { z-index: 2; animation: cmp-tag-out 300ms ease 2.2s forwards; }
.cmp__ico { width: 12px; height: 12px; }
.cmp__tag--sf { left: auto; right: 10px; background: linear-gradient(135deg, #a996ff, #5a8cff); color: #fff; opacity: 0; animation: cmp-tag-in 300ms ease 2.4s forwards; }
@keyframes cmp-tag-out { to { opacity: 0; } }
@keyframes cmp-tag-in { to { opacity: 1; } }

.cmp-ad {
  display: grid;
  place-items: center;
  border-radius: 6px;
  background: repeating-linear-gradient(45deg, #8a3350 0 10px, #5c2439 10px 20px);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.cmp-ad--cover { position: absolute; top: 8px; left: 8px; right: 8px; height: 34px; box-shadow: 0 6px 16px rgba(0,0,0,0.45); }
.cmp-ad--side { position: absolute; top: 50px; right: 10px; width: 30%; height: 46px; box-shadow: 0 6px 16px rgba(0,0,0,0.45); }
.cmp-ad--pop { position: absolute; right: 12px; bottom: 12px; width: 44%; height: 44px; box-shadow: 0 8px 20px rgba(0,0,0,0.5); }
.want { font-size: 13px; font-weight: 800; color: #fff; }

.cmp-wall { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(0,0,0,0.55); }
.cmp-wall__box { display: grid; gap: 6px; width: 72%; padding: 12px; border-radius: 8px; background: #f4f4f6; color: #15141a; font-size: 10.5px; }
.cmp-wall__box strong { font-size: 12px; }
.cmp-wall__btns { display: flex; gap: 6px; }
.cmp-wall__btns b { padding: 4px 9px; border-radius: 6px; background: #0060df; color: #fff; }
.cmp-wall__btns b + b { background: #ddd; color: #15141a; }
.cmp-toast { position: absolute; left: 50%; bottom: 10px; transform: translateX(-50%); padding: 5px 10px; border-radius: 999px; background: rgba(125,255,125,0.15); color: #7dff7d; white-space: nowrap; }

.cmp-video { display: grid; place-items: center; aspect-ratio: 16 / 6; border-radius: 6px; background: #000; color: rgba(255,255,255,0.6); font-size: 20px; }
.cmp-votes { display: flex; gap: 8px; font-size: 12px; font-weight: 700; }
.cmp-votes span { padding: 5px 12px; border-radius: 999px; background: rgba(255,255,255,0.1); }
.cmp-votes__hot { background: rgba(255,80,120,0.3) !important; }

/* Visual: SponsorBlock */
.v-sb { width: 80%; }
.v-sb__screen { aspect-ratio: 16 / 9; border-radius: 10px; background: #000; display: grid; place-items: center; color: var(--dim); font-size: 2rem; }
.v-sb__track { position: relative; height: 6px; margin-top: 12px; border-radius: 3px; background: rgba(255,255,255,0.18); }
.v-sb__seg { position: absolute; left: 30%; width: 22%; top: 0; bottom: 0; background: #00d400; border-radius: 3px; }
.v-sb__head { position: absolute; top: -4px; width: 14px; height: 14px; border-radius: 50%; background: #ff3b3b; animation: sb-play 4s linear infinite; }
.v-sb__toast {
  position: absolute; right: 0; top: -44px;
  padding: 0.3rem 0.7rem; border-radius: 8px; background: rgba(0,212,0,0.18); color: #7dff7d; font-size: 0.8rem;
  animation: sb-toast 4s linear infinite;
}
@keyframes sb-play { 0% { left: 0; } 30% { left: 30%; } 31% { left: 52%; } 100% { left: 97%; } }
@keyframes sb-toast { 0%, 29% { opacity: 0; } 31%, 55% { opacity: 1; } 65%, 100% { opacity: 0; } }

/* Visual: each site sees different random values */
.fp { display: grid; gap: 6px; width: 84%; font-size: 0.88rem; }
.fp__head { margin-bottom: 4px; color: var(--dim); font-weight: 600; }
.fp__head .fp__roll { color: #fff; }
.fp__row { display: flex; justify-content: space-between; align-items: center; padding: 0.5rem 0.8rem; border-radius: 8px; background: rgba(255,255,255,0.06); }
.fp__row .fp__roll { color: var(--sky); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; text-align: right; }
.fp__roll { display: inline-grid; height: 1.35em; line-height: 1.35em; overflow: hidden; vertical-align: bottom; }
.fp__roll > span { animation: fp-roll 6s cubic-bezier(.6,0,.3,1) infinite; }
@keyframes fp-roll {
  0%, 28% { transform: translateY(0); }
  33%, 61% { transform: translateY(-100%); }
  66%, 94% { transform: translateY(-200%); }
  100% { transform: translateY(-300%); }
}
.fp__chip { justify-self: start; margin-top: 6px; padding: 0.3rem 0.75rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.8rem; color: var(--dim); }
/* Visual: shared code comes from big CDNs in other browsers and from disk in Spitfire */
.v-net .cmp__after,
.v-net .cmp__bar { animation-delay: 2.6s; }
.v-net .cmp__tag { animation-delay: 3s; }
.v-net .cmp__tag--sf { animation-delay: 3.2s; }
.v-net__stage {
  display: grid;
  grid-template-columns: 40% 1fr auto;
  grid-template-rows: repeat(4, 1fr);
  column-gap: 8px;
  row-gap: 6px;
  aspect-ratio: 16 / 8.5;
  padding: 14px;
  border: 1px solid #4a4a4a;
  border-radius: 10px;
  background: #1c1b22;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  font: 600 11px/1.2 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #fbfbfe;
}
.v-net__win { grid-column: 1; position: relative; display: grid; align-content: start; gap: 7px; padding: 24px 10px 10px; border: 1px solid rgba(255,255,255,0.12); border-radius: 8px; background: #2b2a33; overflow: hidden; }
.v-net__bar { position: absolute; top: 0; left: 0; right: 0; height: 3px; background: rgba(255,255,255,0.08); }
.v-net__bar i { display: block; width: 0; height: 100%; background: #ff7878; animation: net-load-slow 2.6s cubic-bezier(.3,.6,.4,1) forwards; }
@keyframes net-load-slow { 30% { width: 22%; } 60% { width: 38%; } 100% { width: 62%; } }
.v-net__url { position: absolute; top: 8px; left: 10px; font-size: 9px; font-weight: 400; opacity: 0.6; }
.v-net__win .mini__line { opacity: 0; animation: gxd-in 300ms ease 0.6s forwards; }
.v-net__win .mini__line:nth-of-type(2) { animation-delay: 1.2s; }
.v-net__win .mini__line:nth-of-type(3) { animation-delay: 1.8s; }
.v-net__win .mini__line:nth-of-type(4) { animation-delay: 2.4s; }
.v-net__chip { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; gap: 5px; padding: 4px 8px; border-radius: 999px; background: rgba(255,120,120,0.15); color: #ff9a9a; font-style: normal; font-size: 10px; line-height: 1.25; opacity: 0; animation: gxd-in 300ms ease 1.4s forwards; }
.v-net__lane { grid-column: 2; position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,120,120,0.45) 0 6px, transparent 6px 12px); }
.v-net__lane b { position: absolute; top: 50%; left: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #ff7878; box-shadow: 0 0 6px #ff7878; opacity: 0; animation: net-trip 1.8s linear var(--t) infinite; }
@keyframes net-trip {
  0% { left: 0; opacity: 0; }
  8%, 92% { opacity: 1; }
  50% { left: 100%; }
  100% { left: 0; opacity: 0; }
}
.v-net__lane--off { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 6px, transparent 6px 12px); }
.v-net__host { grid-column: 3; display: flex; align-items: center; gap: 6px; padding: 0 8px; border: 1px solid rgba(255,120,120,0.4); border-radius: 6px; background: rgba(255,120,120,0.08); font: 600 9.5px ui-monospace, SFMono-Regular, Menlo, monospace; white-space: nowrap; }
.v-net__host .ico { width: 12px; height: 12px; color: #ff7878; }
.v-net__host--idle { border-color: rgba(255,255,255,0.1); background: none; opacity: 0.35; }
.v-net__host--idle .ico { color: inherit; }
.v-net__stage--sf .v-net__bar i { background: linear-gradient(90deg, #a996ff, #5a8cff); animation: net-load-fast 450ms ease-out 2.8s forwards; }
@keyframes net-load-fast { to { width: 100%; } }
.v-net__stage--sf .v-net__win .mini__line:nth-of-type(n) { animation-delay: 2.9s; }
.v-net__stage--sf .v-net__chip { background: rgba(125,255,125,0.15); color: #7dff7d; animation-delay: 3.3s; }
@keyframes appear { from { opacity: 0; transform: translateY(6px); } }

/* Visual: search */
.mini.v-qg { width: 74%; }
.mini__page.v-qg__page { display: block; aspect-ratio: 16 / 10; padding: 0; --s: 0.3; }
/* QGato renders at 960x600 and is scaled down so the typed text lines up with its search box */
.v-qg__site { position: absolute; top: 0; left: 0; width: 960px; height: 600px; transform: scale(var(--s)); transform-origin: 0 0; pointer-events: none; }
.v-qg__site iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #1c1c1c; }
.v-qg__typed { position: absolute; top: 310px; left: 198px; width: 0; height: 22px; overflow: hidden; border-right: 2px solid #fff; color: #fff; font: 16px/22px "Noto Sans", system-ui, sans-serif; white-space: nowrap; animation: qg-type 1.6s steps(20) 0.6s forwards, caret 0.9s step-end infinite; }
@keyframes qg-type { to { width: 17ch; } }
@keyframes caret { 50% { border-color: transparent; } }
.v-qg__results { opacity: 0; animation: gxd-in 300ms ease 2.7s forwards; }
.v-qg__url { display: grid; overflow: hidden; white-space: nowrap; }
.v-qg__url > span { grid-area: 1 / 1; }
.v-qg__url > span:first-child { animation: gxd-out 1ms linear 2.7s forwards; }
.v-qg__url > span + span { opacity: 0; animation: gxd-in 1ms linear 2.7s forwards; }

/* Visual: stream chat with emotes */
.tour__visual:has(.chat) { place-items: stretch; }
.chat { display: flex; flex-direction: column; min-height: 0; background: #18181b; color: #efeff1; font: 13px/1.5 system-ui, -apple-system, Segoe UI, Roboto, sans-serif; }
.chat__head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #2f2f35;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.chat__live { padding: 1px 6px; border-radius: 4px; background: #eb0400; color: #fff; font-size: 10px; }
.chat__log {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 6px 0;
  overflow: hidden;
  mask-image: linear-gradient(transparent, #000 22%);
  /* Chat lines stay English, so they keep left-to-right order on RTL pages */
  direction: ltr;
}
.chat__log p { margin: 0; padding: 3px 12px; overflow-wrap: anywhere; }
.chat__log p.is-new { animation: appear 250ms ease both; }
.chat__log b { font-weight: 700; }
.chat__emote { height: 28px; width: auto; margin: -6px 0; vertical-align: middle; }
.chat__log { -webkit-user-select: none; user-select: none; }

/* Mini browser used by the feature visuals, same Nova look as the big mock */
.mini {
  position: relative;
  width: 86%;
  padding: 3px;
  border: 1px solid #4a4a4a;
  border-radius: 10px;
  background: #2e2e30;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  font: 11px/1.3 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #fbfbfe;
}
.mini__dock { border: 1px solid rgba(255,255,255,0.08); border-radius: 8px; overflow: hidden; margin-bottom: 3px; }
.mini__tabs { display: flex; gap: 5px; height: 24px; align-items: center; padding: 0 6px; background: #424242; }
.mini__tab {
  max-width: 34%;
  padding: 2px 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0.7;
}
.mini__tab.is-on { border-color: rgba(255,255,255,0.35); background: #4a4a50; opacity: 1; }
.mini__bar { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px; background: #3c3c3c; border-top: 1px solid rgba(255,255,255,0.08); }
.mini__bar > i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.3); }
.mini__url { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; height: 16px; padding: 0 8px; border-radius: 999px; background: #2b2a33; color: rgba(255,255,255,0.6); font-size: 10px; line-height: 16px; }
.mini__page {
  position: relative;
  display: grid;
  align-content: start;
  gap: 8px;
  aspect-ratio: 16 / 8;
  padding: 14px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 7px;
  background: #1c1b22;
  overflow: hidden;
}
.mini__line { display: block; height: 9px; border-radius: 5px; background: rgba(255,255,255,0.12); }
.mini__line--short { width: 60%; }

/* Visual: import from other browsers */
.v-import { display: grid; justify-items: center; gap: 12px; width: 86%; }
.v-import__belt { width: 100%; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.v-import__row { display: flex; gap: 18px; width: max-content; animation: belt 22s linear infinite; }
.v-import__row img { width: 40px; height: 40px; object-fit: contain; }
@keyframes belt { to { transform: translateX(-50%); } }
.v-import__stream { position: relative; z-index: 2; width: 100%; height: 70px; margin: -6px 0; }
.v-import__p {
  position: absolute;
  left: calc(50% - 11px);
  top: 0;
  width: 22px;
  height: 22px;
  opacity: 0;
  animation: data-in 5s cubic-bezier(.45,0,.55,1) var(--t) infinite;
}
.v-import__p .ico { display: block; width: 100%; height: 100%; }
.v-import__p--key { color: #ffc56b; }
.v-import__p--clock { color: var(--sky); }
.v-import__p--book { color: var(--moon); }
.v-import__p--form { color: #7dff9d; }
@keyframes data-in {
  0% { opacity: 0; transform: translate(var(--x), 0) scale(1); }
  15% { opacity: 1; }
  75% { opacity: 1; }
  100% { opacity: 0; transform: translate(0, 98px) scale(0.3); }
}
/* The logo sits above the particles */
.v-import__logo { position: relative; z-index: 3; display: grid; }
.v-import__to { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,0.05); }
.v-import__to img { width: 46px; height: 46px; }
.v-import__to span { display: flex; gap: 12px; font-size: 0.85rem; }
.v-import__to b { color: #7dff7d; font-weight: 600; animation: appear 500ms ease both; }
.v-import__to b:nth-child(2) { animation-delay: 0.4s; }
.v-import__to b:nth-child(3) { animation-delay: 0.8s; }

/* Visual: a GX mod .zip dragged onto about:store switches the theme */
.gxd { position: relative; width: 86%; }
.gxd__mini { width: 100%; border-color: var(--from-border); background: var(--from-bg); animation: gxd-theme 600ms ease 3.2s forwards; }
.gxd__mini .mini__tabs { background: var(--from-tabs); animation: gxd-tabs 600ms ease 3.2s forwards; }
.gxd__mini .mini__bar { background: var(--from-bar); animation: gxd-bar 600ms ease 3.2s forwards; }
@keyframes gxd-theme { to { border-color: var(--to-border); background: var(--to-bg); } }
@keyframes gxd-tabs { to { background: var(--to-tabs); } }
@keyframes gxd-bar { to { background: var(--to-bar); } }
.gxd__page { padding: 0; }
.gxd__wall { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gxd__wall--new { opacity: 0; animation: gxd-fade 700ms ease 3.2s forwards; }
@keyframes gxd-fade { to { opacity: 1; } }
.gxd__store { position: absolute; inset: 0; display: grid; align-content: center; justify-items: center; gap: 10px; background: rgba(10,6,14,0.45); }
.gxd__store b { font-size: 13px; text-shadow: 0 1px 6px rgba(0,0,0,0.6); }
.gxd__drop {
  display: grid;
  place-items: center;
  width: 62%;
  height: 64px;
  border: 1.5px dashed rgba(255,255,255,0.5);
  border-radius: 10px;
  background: rgba(20,14,28,0.6);
  backdrop-filter: blur(4px);
  animation: gxd-appear 250ms cubic-bezier(.2,1.4,.4,1) 1.05s both, gxd-hover 300ms ease 1.75s forwards, gxd-drop-done 400ms ease 3.2s forwards, gxd-vanish 450ms ease 4.4s forwards;
}
@keyframes gxd-vanish { to { opacity: 0; } }
@keyframes gxd-appear { from { opacity: 0; transform: scale(0.85); } }
@keyframes gxd-hover { to { border-color: #8fd8ff; background: rgba(143,216,255,0.18); transform: scale(1.04); } }
@keyframes gxd-drop-done { to { border-style: solid; border-color: #7dff7d; background: rgba(20,40,24,0.7); transform: none; } }
.gxd__msg { grid-area: 1 / 1; display: grid; justify-items: center; gap: 6px; font-weight: 600; }
.gxd__msg--idle { animation: gxd-out 150ms ease 2.1s forwards; }
.gxd__msg--busy { opacity: 0; animation: gxd-in 150ms ease 2.15s forwards, gxd-out 150ms ease 3.15s forwards; }
.gxd__msg--done { display: block; text-align: center; opacity: 0; color: #7dff7d; animation: gxd-in 250ms ease 3.3s forwards; }
@keyframes gxd-in { to { opacity: 1; } }
@keyframes gxd-out { to { opacity: 0; } }
.gxd__progress { width: 120px; height: 5px; border-radius: 3px; background: rgba(255,255,255,0.2); overflow: hidden; }
.gxd__progress i { display: block; height: 100%; width: 0; background: var(--grad); animation: gxd-bar-fill 900ms ease-in-out 2.2s forwards; }
@keyframes gxd-bar-fill { to { width: 100%; } }
.gxd__file {
  position: absolute;
  left: 104%;
  top: 106%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 9px 5px 6px;
  border-radius: 8px;
  background: rgba(40,40,46,0.95);
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  font: 600 11px/1 system-ui, sans-serif;
  color: #fff;
  white-space: nowrap;
  transform: translate(-50%, -50%);
  opacity: 0;
  animation: gxd-drag 1.3s cubic-bezier(.5,0,.3,1) 0.6s forwards, gxd-drop 300ms ease 1.95s forwards;
}
.gxd__zip { width: 20px; height: 20px; }
.gxd__cursor { position: absolute; right: -8px; bottom: -12px; width: 18px; height: 18px; }
@keyframes gxd-drag {
  0% { opacity: 1; left: 104%; top: 106%; }
  100% { opacity: 1; left: 50%; top: 62%; }
}
@keyframes gxd-drop { to { opacity: 0; transform: translate(-50%, -50%) scale(0.4); } }
/* Visual: tabs on top morphing into a sidebar, like Spitfire's vertical tabs */
.vt .mini__tabs { height: 24px; overflow: hidden; contain: inline-size; animation: vt-tabs-out 700ms cubic-bezier(.65,0,.35,1) 1.9s forwards; }
.vt .mini__bar { animation: vt-bar 700ms ease 1.9s forwards; }
.vt__toggle {
  width: 0;
  height: 16px;
  margin-right: -6px;
  border-radius: 6px;
  background: rgba(255,255,255,0.18);
  opacity: 0;
  animation: vt-toggle 500ms ease 2.2s forwards;
}
.vt__body { display: flex; aspect-ratio: 16 / 8.6; }
.vt .mini__page { flex: 1; aspect-ratio: auto; }
.vt__side {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 0;
  margin-right: 0;
  padding: 6px 0;
  overflow: hidden;
  contain: inline-size;
  border: 1px solid transparent;
  border-radius: 7px;
  background: #26252c;
  opacity: 0;
  animation: vt-side-in 700ms cubic-bezier(.65,0,.35,1) 2.1s forwards;
}
.vt__tab { flex: none; margin: 0 6px; padding: 3px 10px; border: 1px solid transparent; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(-10px); animation: vt-tab-in 350ms ease forwards; }
.vt__tab.is-on { border-color: rgba(255,255,255,0.35); background: #4a4a50; }
.vt__tab:nth-child(1) { animation-delay: 2.5s; }
.vt__tab:nth-child(2) { animation-delay: 2.6s; }
.vt__tab:nth-child(3) { animation-delay: 2.7s; }
.vt__tab:nth-child(4) { animation-delay: 2.8s; }
.vt__icons { display: flex; gap: 10px; margin: auto 10px 2px; padding-top: 6px; border-top: 1px solid rgba(255,255,255,0.1); }
.vt__icons .ico { width: 12px; height: 12px; color: rgba(255,255,255,0.7); }
@keyframes vt-tabs-out { to { height: 0; opacity: 0; } }
@keyframes vt-bar { to { border-top-color: transparent; } }
@keyframes vt-toggle { to { width: 18px; margin-right: 0; opacity: 1; } }
@keyframes vt-side-in { to { width: 30%; margin-right: 3px; border-color: rgba(255,255,255,0.08); opacity: 1; } }
@keyframes vt-tab-in { to { opacity: 1; transform: none; } }

/* Visual: right-click "+" to open the same site in another container */
.v-ct .mini__dock { overflow: visible; }
.v-ct .mini__tabs { border-radius: 7px 7px 0 0; }
.v-ct .mini__bar { border-radius: 0 0 7px 7px; }
.v-ct__tab { position: relative; flex: none; }
.v-ct__tab::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: -1px; height: 2px; border-radius: 2px; }
.v-ct__tab--work::after { background: #ff9f00; }
.v-ct__tab--home::after { background: #37adff; }
.v-ct__tab--work { border-color: rgba(255,255,255,0.35); background: #4a4a50; opacity: 1; animation: ct-tab-off 250ms ease 2.75s forwards; }
.v-ct__tab--home { max-width: 0; padding: 2px 0; border-width: 0; opacity: 0; animation: ct-tab-new 350ms ease 2.7s forwards; }
@keyframes ct-tab-off { to { border-color: transparent; background: transparent; opacity: 0.7; } }
@keyframes ct-tab-new { to { max-width: 34%; padding: 2px 10px; border-width: 1px; border-color: rgba(255,255,255,0.35); background: #4a4a50; opacity: 1; } }
.v-ct__plus { position: relative; z-index: 4; padding: 0 5px; border-radius: 5px; font-size: 14px; line-height: 18px; opacity: 0.8; animation: ct-hover 200ms ease 1.1s forwards, ct-unhover 200ms ease 2.7s forwards; }
@keyframes ct-hover { to { background: rgba(255,255,255,0.15); opacity: 1; } }
@keyframes ct-unhover { to { background: transparent; opacity: 0.8; } }
.v-ct__menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  display: grid;
  width: max-content;
  min-width: 108px;
  white-space: nowrap;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: #2b2a33;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  font-size: 11px;
  line-height: 20px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  animation: ct-menu-in 180ms ease 1.45s forwards, ct-menu-out 150ms ease 2.6s forwards;
}
.v-ct__menu > span { display: flex; align-items: center; gap: 7px; padding: 0 6px; border-radius: 4px; }
.v-ct__menu > span:first-child { padding-left: 21px; opacity: 0.7; }
.v-ct__item i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.v-ct__item--home { --c: #37adff; animation: ct-pick 150ms ease 2.2s forwards; }
.v-ct__item--work { --c: #ff9f00; }
.v-ct__item--bank { --c: #51cd00; }
.v-ct__item--shop { --c: #ff4bda; }
@keyframes ct-menu-in { to { opacity: 1; transform: none; } }
@keyframes ct-menu-out { to { opacity: 0; } }
@keyframes ct-pick { to { background: rgba(55,173,255,0.25); } }
.v-ct__cursor {
  position: absolute;
  left: 7px;
  top: 9px;
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  transform: translate(160px, 110px);
  animation: ct-cursor 2.5s cubic-bezier(.5,0,.3,1) 0.3s forwards, ct-cursor-hide 300ms ease 3.4s forwards;
}
/* Glide to "+", right-click, then glide down onto "Personal" and click */
@keyframes ct-cursor {
  0% { transform: translate(160px, 110px); }
  32% { transform: translate(0, 0); }
  38% { transform: translate(0, 0) scale(0.8); }
  44% { transform: translate(0, 0); }
  74% { transform: translate(24px, 44px); }
  82% { transform: translate(24px, 44px) scale(0.8); }
  88%, 100% { transform: translate(24px, 44px); }
}
@keyframes ct-cursor-hide { to { opacity: 0; } }
.v-ct .mini__url { display: flex; align-items: center; }
.v-ct__labels { display: grid; margin-left: auto; font-size: 9px; }
.v-ct__labels b { grid-area: 1 / 1; text-align: right; }
.v-ct__label--work { color: #ff9f00; animation: gxd-out 200ms ease 2.8s forwards; }
.v-ct__label--home { color: #37adff; opacity: 0; animation: gxd-in 200ms ease 2.9s forwards; }
.v-ct__who {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
}
.v-ct__who small { font-weight: 400; opacity: 0.6; font-size: 11px; }
.v-ct__who--work { border-top: 3px solid #ff9f00; animation: gxd-out 250ms ease 2.8s forwards; }
.v-ct__who--home { border-top: 3px solid #37adff; opacity: 0; animation: gxd-in 350ms ease 2.95s forwards; }

/* Visual: "What's my IP" shows a new address and place in an anonymous window */
.v-tor { position: relative; width: 72%; margin: -10% 12% 0 0; }
.v-tor__win { width: 100%; }
.v-tor__win .mini__dock { overflow: visible; }
.v-tor__win .mini__tabs { border-radius: 7px 7px 0 0; }
.v-tor__win .mini__bar { border-radius: 0 0 7px 7px; }
.v-tor__menubtn { position: relative; z-index: 4; display: grid; place-items: center; width: 20px; height: 18px; border-radius: 4px; animation: tor-hover 200ms ease 1.1s forwards, tor-unhover 200ms ease 2.4s forwards; }
.v-tor__menubtn > .ico { width: 14px; height: 14px; color: #fbfbfe; }
@keyframes tor-hover { to { background: rgba(255,255,255,0.15); } }
@keyframes tor-unhover { to { background: transparent; } }
.v-tor__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  display: grid;
  width: max-content;
  min-width: 150px;
  max-width: 260px;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: #2b2a33;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  font-size: 11px;
  line-height: 20px;
  white-space: nowrap;
  opacity: 0;
  transform: translateY(-4px);
  animation: ct-menu-in 180ms ease 1.45s forwards, ct-menu-out 150ms ease 2.35s forwards;
}
.v-tor__menu > span { overflow: hidden; text-overflow: ellipsis; padding: 0 8px; border-radius: 4px; }
.v-tor__pick { animation: tor-pick 150ms ease 2s forwards; }
.v-tor__loading > .ico { color: #c9a5ff; }
.v-tor__pick .ico, .v-tor__badge .ico { width: 13px; height: 13px; margin-right: 2px; vertical-align: -0.2em; color: #c9a5ff; }
@keyframes tor-pick { to { background: rgba(172,112,255,0.3); } }
.v-tor__cursor {
  position: absolute;
  left: 4px;
  top: 6px;
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  transform: translate(-150px, 110px);
  animation: tor-cursor 2s cubic-bezier(.5,0,.3,1) 0.3s forwards, ct-cursor-hide 200ms ease 2.4s forwards;
}
/* Glide to the menu button, click, then glide down onto "Anonymous window" and click */
@keyframes tor-cursor {
  0% { transform: translate(-150px, 110px); }
  40% { transform: translate(0, 0); }
  47% { transform: translate(0, 0) scale(0.8); }
  54% { transform: translate(0, 0); }
  80% { transform: translate(-64px, 66px); }
  88% { transform: translate(-64px, 66px) scale(0.8); }
  95%, 100% { transform: translate(-64px, 66px); }
}
.v-tor__win--anon {
  position: absolute;
  top: 22%;
  left: 14%;
  z-index: 5;
  border-color: #6b3fa0;
  background: #25003e;
  opacity: 0;
  transform: scale(0.9);
  animation: tor-open 300ms cubic-bezier(.2,1.2,.4,1) 2.5s forwards;
}
.v-tor__win--anon .mini__tabs { background: #3a0a5c; }
.v-tor__win--anon .mini__bar { background: #300850; }
.v-tor__win--anon .mini__tab.is-on { background: #55237a; }
.v-tor__win--anon .mini__url { background: #1f0033; }
.v-tor__win--anon .mini__page { background: #1a0a26; }
@keyframes tor-open { to { opacity: 1; transform: none; } }
.v-tor__badge { margin-left: auto; padding: 1px 8px; border-radius: 999px; background: rgba(172,112,255,0.3); font-size: 10px; }
.v-tor__body { display: grid; }
.v-tor__body > * { grid-area: 1 / 1; }
.v-tor__loading {
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  border-radius: 7px;
  background: #1a0a26;
  font-size: 22px;
  animation: gxd-out 250ms ease 3.6s forwards;
}
.v-tor__loading > span:not(.gxd__progress) { font-size: 11px; opacity: 0.7; }
.v-tor__loading .gxd__progress i { background: linear-gradient(90deg, #ac70ff, #ff6bd6); animation: gxd-bar-fill 900ms ease-in-out 2.7s forwards; }
.v-ip__page { grid-template-columns: 1fr 34%; align-content: center; align-items: center; gap: 12px; aspect-ratio: 16 / 7; }
.v-ip__info { display: grid; gap: 3px; }
.v-ip__info small { opacity: 0.6; }
.v-ip__info b { font-size: 17px; letter-spacing: 0.02em; }
.v-ip__info span { opacity: 0.85; }
/* A made-up street map: two roads and a river, shifted for the second place */
.v-ip__map {
  position: relative;
  aspect-ratio: 1;
  border-radius: 8px;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255,255,255,0.18) 46% 50%, transparent 50%),
    linear-gradient(0deg, transparent 58%, rgba(255,255,255,0.18) 58% 62%, transparent 62%),
    radial-gradient(120% 40% at 10% 100%, #2c5d8a 50%, transparent 52%),
    #2d3a2f;
  overflow: hidden;
}
.v-ip__map--far {
  background:
    linear-gradient(60deg, transparent 38%, rgba(255,255,255,0.18) 38% 42%, transparent 42%),
    linear-gradient(0deg, transparent 30%, rgba(255,255,255,0.18) 30% 34%, transparent 34%),
    radial-gradient(60% 120% at 100% 20%, #2c5d8a 50%, transparent 52%),
    #3a3530;
}
.v-ip__map i { position: absolute; left: 48%; top: 60%; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: #ff5a5a; box-shadow: 0 0 0 0 rgba(255,90,90,0.6); animation: tor-ping 1.6s ease-out infinite; }
.v-ip__map--far i { left: 40%; top: 32%; background: #c38bff; }
@keyframes tor-ping { to { box-shadow: 0 0 0 12px rgba(255,90,90,0); } }

/* Visual: shortcuts */
.v-keys { display: grid; gap: 1.2rem; justify-items: center; width: 80%; }
.v-keys__caps { display: flex; align-items: center; gap: 0.5rem; font-size: 1.3rem; color: var(--dim); }
.v-keys__caps kbd { font-size: 1rem; padding: 0.35em 0.7em; background: rgba(255,255,255,0.06); color: #fff; }
.v-keys__hit { animation: key-hit 2s ease-in-out infinite; }
@keyframes key-hit { 0%, 60%, 100% { transform: none; } 70% { transform: translateY(3px); border-bottom-width: 1px; background: rgba(143,216,255,0.25); } }
.v-keys__list { display: grid; gap: 6px; width: 100%; font-size: 0.85rem; }
.v-keys__list div { display: flex; align-items: center; gap: 4px; padding: 0.45rem 0.7rem; border-radius: 8px; background: rgba(255,255,255,0.06); }
.v-keys__list span { flex: 1; }
.v-keys__edit { animation: key-edit 3s ease-in-out infinite; }
.v-keys__edit em { font-style: normal; margin-left: 4px; color: var(--sky); }
@keyframes key-edit { 0%, 100% { box-shadow: none; } 50% { box-shadow: inset 0 0 0 1px var(--sky); } }

/* Visual: no clutter (inside a before/after) */
.clutter-promo { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 6px; background: linear-gradient(90deg, #6a3df0, #c44bd6); color: #fff; font-weight: 700; }
/* Each browser's own nag pops in before the slider wipes to Spitfire */
.nag { animation: appear 400ms ease both; }
.nag img { width: 12px; height: 12px; flex: none; }
.nag-ai { display: flex; align-items: center; gap: 5px; height: 16px; padding: 0 8px; border-radius: 999px; background: linear-gradient(90deg, #4285f4, #9b72cb, #d96570); color: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; animation-delay: 0.3s; }
.clutter-promo.nag { animation-delay: 0.6s; }
.nag-crypto { position: absolute; right: 10px; bottom: 10px; display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; background: #fff; color: #15141a; font-size: 9px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(0,0,0,0.5); animation-delay: 1s; }
.nag-crypto b { padding: 2px 7px; border-radius: 999px; background: #fb542b; color: #fff; }
.clutter-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.clutter-tiles b { display: grid; place-items: end center; height: 34px; padding-bottom: 3px; border-radius: 6px; background: rgba(255,255,255,0.1); font-size: 8.5px; font-weight: 600; color: #ffb454; }
.clutter-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.clutter-cards span { grid-column: 1 / -1; font-size: 9.5px; opacity: 0.7; }
.clutter-cards i { height: 34px; border-radius: 6px; background: rgba(255,255,255,0.08); }
.clutter-clean { display: grid; justify-items: center; align-content: center; gap: 10px; height: 100%; }
.clutter-logo { width: 34px; height: 34px; }
.clutter-search { width: 70%; padding: 6px 12px; border-radius: 999px; background: #2e2d33; color: rgba(255,255,255,0.55); }
.cmp .mini__page:has(.clutter-clean) { align-content: stretch; }

/* Visual: private DNS (inside a before/after) */
.dns-card { display: grid; gap: 6px; padding: 12px; border: 1px solid #4a4a4a; border-radius: 10px; background: #1c1b22; font: 12px/1.3 system-ui, sans-serif; color: #fbfbfe; }
.dns-card__head { margin-bottom: 2px; font-weight: 700; opacity: 0.8; }
.dns-row { padding: 6px 10px; border-radius: 6px; background: rgba(255,120,120,0.12); color: #ffb3b3; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; }
.dns-row--hid { background: rgba(125,255,125,0.1); color: #7dff7d; letter-spacing: 0.1em; }

/* Visual: built for your processor */
.cpu { display: grid; gap: 1rem; width: 82%; }
.cpu__row { display: grid; gap: 6px; font-size: 0.9rem; color: var(--dim); }
.cpu__track { height: 14px; border-radius: 999px; background: rgba(255,255,255,0.07); overflow: hidden; }
.cpu__bar { display: block; height: 100%; width: 0; border-radius: inherit; }
.cpu__bar--std { background: rgba(255,255,255,0.35); animation: cpu-std 1.6s cubic-bezier(.3,.7,.3,1) 400ms forwards; }
.cpu__bar--fast { background: var(--grad); animation: cpu-fast 1.6s cubic-bezier(.3,.7,.3,1) 600ms forwards; }
@keyframes cpu-std { to { width: 58%; } }
@keyframes cpu-fast { to { width: 94%; } }
.cpu__chip { justify-self: start; padding: 0.35rem 0.8rem; border: 1px solid var(--line); border-radius: 999px; font-size: 0.85rem; animation: appear 500ms ease 2s both; }

/* Visual: right-click the tab strip, open Customize, drag Screenshot into the toolbar, click Done */
.tbx { position: relative; width: 86%; }
.tbx .mini { width: 100%; }
.tbx .mini__dock { overflow: visible; }
.tbx .mini__tabs { border-radius: 7px 7px 0 0; }
.tbx .mini__bar {
  gap: 4px;
  border-radius: 0 0 7px 7px;
  outline: 1px dashed transparent;
  outline-offset: -2px;
  animation: tbx-edit 200ms ease 2.25s forwards, tbx-edit-end 200ms ease 4.85s forwards;
}
@keyframes tbx-edit { to { outline-color: rgba(143,216,255,0.8); } }
@keyframes tbx-edit-end { to { outline-color: transparent; } }
.tbx .mini__url { margin: 0 4px; }
.tbx__btn { display: grid; place-items: center; flex: none; width: 22px; height: 20px; border-radius: 5px; }
.tbx .ico { width: 14px; height: 14px; color: #fbfbfe; }
.tbx__btn--new { width: 0; margin-left: -4px; opacity: 0; overflow: hidden; animation: tbx-room 250ms ease 3.7s forwards, tbx-land 200ms ease 4.05s forwards; }
@keyframes tbx-room { to { width: 22px; margin-left: 0; background: rgba(143,216,255,0.2); } }
@keyframes tbx-land { to { opacity: 1; background: transparent; } }
.tbx__palette {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 8px;
  padding: 14px;
  background: #23222b;
  opacity: 0;
  animation: gxd-in 200ms ease 2.25s forwards, gxd-out 250ms ease 4.9s forwards;
}
.tbx__palette b { font-size: 11px; font-weight: 600; opacity: 0.8; white-space: normal; }
.tbx__items { display: flex; gap: 6px; }
.tbx__item { display: grid; justify-items: center; align-content: start; gap: 4px; flex: 0 1 auto; min-width: 64px; padding: 6px 2px; border-radius: 6px; }
.tbx__item small { max-width: 100%; font-size: 9.5px; text-align: center; overflow-wrap: break-word; white-space: normal; opacity: 0.7; }
.tbx__item--pick { animation: tbx-grab 150ms ease 3.05s forwards; }
@keyframes tbx-grab { to { opacity: 0.25; background: rgba(143,216,255,0.12); } }
.tbx__done { position: absolute; right: 12px; bottom: 10px; padding: 3px 12px; border-radius: 5px; background: #0060df; font-size: 11px; font-weight: 600; animation: tbx-press 150ms ease 4.75s; }
@keyframes tbx-press { 50% { transform: scale(0.92); filter: brightness(0.85); } }
.tbx__ctx {
  position: absolute;
  left: 46%;
  top: 19px;
  z-index: 4;
  display: grid;
  width: max-content;
  min-width: 140px;
  max-width: calc(54% - 4px);
  white-space: nowrap;
  padding: 4px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 7px;
  background: #2b2a33;
  box-shadow: 0 10px 24px rgba(0,0,0,0.5);
  font: 11px/20px system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #fbfbfe;
  opacity: 0;
  transform: translateY(-4px);
  animation: ct-menu-in 150ms ease 0.95s forwards, ct-menu-out 150ms ease 2.15s forwards;
}
/* Rows must stay one line tall because the cursor clicks "Customize Toolbar…" at a fixed height */
.tbx__ctx > span { overflow: hidden; text-overflow: ellipsis; padding: 0 8px; border-radius: 4px; }
.tbx__ctx hr { width: 100%; margin: 2px 0; border: 0; border-top: 1px solid rgba(255,255,255,0.12); }
.tbx__ctx-pick { animation: tbx-hover 120ms ease 1.35s forwards; }
@keyframes tbx-hover { to { background: rgba(143,216,255,0.2); } }
.tbx__ghost {
  position: absolute;
  z-index: 5;
  left: 51px;
  top: 105px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 24px;
  margin: -12px 0 0 -13px;
  border-radius: 6px;
  background: rgba(143,216,255,0.35);
  box-shadow: 0 8px 18px rgba(0,0,0,0.5);
  opacity: 0;
  animation: tbx-drag 900ms cubic-bezier(.5,0,.3,1) 3.1s forwards, gxd-out 150ms ease 4s forwards;
}
@keyframes tbx-drag {
  0% { opacity: 1; left: 51px; top: 105px; transform: scale(1); }
  20% { opacity: 1; transform: scale(1.15); }
  100% { opacity: 1; left: calc(100% - 102px); top: 41px; transform: scale(1.15); }
}
.tbx__cursor {
  position: absolute;
  z-index: 6;
  width: 16px;
  height: 16px;
  margin: -2px 0 0 -3px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  left: 30%;
  top: 170px;
  animation: tbx-cursor 5s linear 0.2s forwards, ct-cursor-hide 300ms ease 5.3s forwards;
}
/* Tab strip → right-click → "Customize Toolbar…" → Screenshot → drag to toolbar → Done */
@keyframes tbx-cursor {
  0% { left: 30%; top: 170px; animation-timing-function: cubic-bezier(.5,0,.3,1); }
  12.3% { left: 46%; top: 17px; transform: none; }
  14.1% { transform: scale(0.8); }
  15.8% { left: 46%; top: 17px; transform: none; animation-timing-function: cubic-bezier(.5,0,.3,1); }
  23.8%, 35.8% { left: calc(46% + 40px); top: 99px; transform: none; }
  37.5% { transform: scale(0.8); }
  39.3% { left: calc(46% + 40px); top: 99px; transform: none; animation-timing-function: cubic-bezier(.5,0,.3,1); }
  56% { left: 51px; top: 105px; transform: none; }
  57.8% { left: 51px; top: 105px; transform: scale(0.85); animation-timing-function: cubic-bezier(.5,0,.3,1); }
  76.2% { left: calc(100% - 102px); top: 41px; transform: scale(0.85); }
  78% { left: calc(100% - 102px); top: 41px; transform: none; animation-timing-function: cubic-bezier(.5,0,.3,1); }
  89.4% { left: calc(100% - 38px); top: calc(100% - 22px); transform: none; }
  91.2% { transform: scale(0.8); }
  93%, 100% { left: calc(100% - 38px); top: calc(100% - 22px); transform: none; }
}

/* Visual: hover a video, click the Picture-in-Picture toggle, switch tabs while it keeps playing */
.pip { position: relative; width: 82%; margin: -4% 8% 0 0; container-type: inline-size; }
.pip .mini { width: 100%; }
.pip__tab--video { border-color: rgba(255,255,255,0.35); background: #4a4a50; opacity: 1; animation: ct-tab-off 200ms ease 3.25s forwards; }
.pip__tab--mail { animation: pip-tab-on 200ms ease 3.25s forwards; }
@keyframes pip-tab-on { to { border-color: rgba(255,255,255,0.35); background: #4a4a50; opacity: 1; } }
.pip__url { display: grid; }
.pip__url > span { grid-area: 1 / 1; }
.pip__url > span:first-child { animation: gxd-out 1ms linear 3.3s forwards; }
.pip__url > span + span { opacity: 0; animation: gxd-in 1ms linear 3.3s forwards; }
.pip__page { display: block; }
.pip__mail { position: absolute; inset: 0; display: grid; align-content: start; gap: 8px; padding: 14px; opacity: 0; animation: gxd-in 1ms linear 3.3s forwards; }
.pip__watch { display: grid; gap: 8px; animation: gxd-out 1ms linear 3.3s forwards; }
.pip__player { position: relative; overflow: hidden; }
.pip__player > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: gxd-out 250ms ease 1.85s forwards; }
.pip__player > .pip__controls { animation: gxd-out 250ms ease 1.85s forwards; }
.pip__controls { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 8px; padding: 14px 10px 6px; background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff; font-size: 9px; }
.pip__play { flex: none; width: 10px; height: 10px; }
.pip__track { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.3); }
.pip__track i { display: block; width: 46%; height: 100%; border-radius: 2px; background: #ff0033; animation: pip-play 30s linear forwards; }
@keyframes pip-play { to { width: 100%; } }
.pip__away { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; font-size: 11px; opacity: 0; animation: gxd-in 250ms ease 2s forwards; }
.pip__away .ico { width: 22px; height: 22px; opacity: 0.7; }
/* Firefox puts the toggle on the right edge, halfway down */
.pip__toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 32px;
  margin-top: -16px;
  border-radius: 8px;
  background: rgba(12,12,13,0.8);
  opacity: 0;
  animation: gxd-in 200ms ease 0.9s forwards, pip-press 150ms ease 1.7s, gxd-out 150ms ease 1.85s forwards;
}
.pip__toggle .ico { width: 20px; height: 20px; }
@keyframes pip-press { 50% { transform: scale(0.88); background: #0060df; } }
.pip__win {
  position: absolute;
  right: -7%;
  bottom: -12%;
  z-index: 5;
  width: 42%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 16px 36px rgba(0,0,0,0.6);
  opacity: 0;
  transform: translate(-40%, -95%) scale(2);
  animation: pip-pop 700ms cubic-bezier(.3,0,.2,1) 1.85s forwards;
}
@keyframes pip-pop { 15% { opacity: 1; } to { opacity: 1; transform: none; } }
.pip__win video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pip__cursor {
  position: absolute;
  z-index: 6;
  width: 16px;
  height: 16px;
  margin: -2px 0 0 -3px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.5));
  left: 20%;
  top: 180px;
  animation: pip-cursor 3.3s linear 0.2s forwards, ct-cursor-hide 300ms ease 3.9s forwards;
}
/* Onto the video, over to the toggle and click, then up to the Mail tab and click */
@keyframes pip-cursor {
  0% { left: 20%; top: 180px; animation-timing-function: cubic-bezier(.5,0,.3,1); }
  20% { left: 55%; top: calc(72px + (100cqw - 38px) * 0.1875); animation-timing-function: cubic-bezier(.5,0,.3,1); }
  40% { left: calc(100% - 45px); top: calc(76px + (100cqw - 38px) * 0.1875); transform: none; }
  45% { transform: scale(0.8); }
  50% { left: calc(100% - 45px); top: calc(76px + (100cqw - 38px) * 0.1875); transform: none; animation-timing-function: cubic-bezier(.5,0,.3,1); }
  88% { left: 88px; top: 17px; transform: none; }
  93% { transform: scale(0.8); }
  97%, 100% { left: 88px; top: 17px; transform: none; }
}

/* Visual: other browsers stream data to their servers, Spitfire sends nothing */
.v-home .cmp__after,
.v-home .cmp__bar { animation-delay: 2.8s; }
.v-home .cmp__tag { animation-delay: 3.2s; }
.v-home .cmp__tag--sf { animation-delay: 3.4s; }
.v-home__stage {
  display: grid;
  grid-template-columns: 44% 1fr 64px;
  grid-template-rows: repeat(3, 1fr);
  column-gap: 8px;
  aspect-ratio: 16 / 8.5;
  padding: 14px;
  border: 1px solid #4a4a4a;
  border-radius: 10px;
  background: #1c1b22;
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
  font: 600 12px/1.25 system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: #fbfbfe;
}
.v-home__app {
  grid-column: 1;
  display: grid;
  grid-template-columns: 22px 1fr;
  align-content: center;
  column-gap: 8px;
  margin: 3px 0;
  padding: 6px 9px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  background: #2b2a33;
}
.v-home__app img { grid-row: span 2; width: 22px; height: 22px; align-self: center; }
.v-home__app small { font-weight: 400; font-size: 10px; opacity: 0.6; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cmp__after .v-home__app small { white-space: normal; }
.v-home__lane { grid-column: 2; position: relative; align-self: center; height: 2px; background: repeating-linear-gradient(90deg, rgba(255,120,120,0.45) 0 6px, transparent 6px 12px); }
.v-home__lane b { position: absolute; top: 50%; left: 0; font-size: 13px; color: #ff7878; opacity: 0; transform: translate(-50%, -50%); animation: home-send 1.8s linear var(--t) infinite; }
@keyframes home-send {
  0% { left: 0; opacity: 0; }
  12%, 85% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
.v-home__lane--off { background: repeating-linear-gradient(90deg, rgba(255,255,255,0.12) 0 6px, transparent 6px 12px); }
.v-home__lane--off em { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 3px 10px; border-radius: 999px; background: rgba(125,255,125,0.15); color: #7dff7d; font-style: normal; font-size: 11px; white-space: nowrap; }
.v-home__server { grid-column: 3; display: grid; place-content: center; justify-items: center; gap: 2px; text-align: center; }
.v-home__server .ico { width: 22px; height: 22px; color: #ff7878; animation: home-busy 0.9s ease-in-out infinite alternate; }
.v-home__server small { font-weight: 400; font-size: 9px; opacity: 0.6; }
.v-home__server--idle { opacity: 0.35; }
.v-home__server--idle .ico { color: rgba(255,255,255,0.7); animation: none; }
@keyframes home-busy { to { filter: drop-shadow(0 0 8px rgba(255,120,120,0.7)); } }

/* Store */
.store {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}
.store__item {
  --c: var(--moon);
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  align-content: start;
  padding: 1rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
  transition: border-color 200ms ease;
}
.store__item:hover { border-color: color-mix(in srgb, var(--c) 45%, transparent); }
.store__item--sound { --c: var(--sky); }
.store__item--add { --c: #7dffb0; }
.store__icon {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: color-mix(in srgb, var(--c) 16%, transparent);
  color: var(--c);
  font-size: 1.25rem;
}
.store__icon img { width: 1.4rem; height: 1.4rem; }
.store__item h3 { align-self: end; margin: 0; font-size: 1rem; }
.store__item p { margin: 0; color: var(--dim); font-size: 0.88rem; }

/* Search */
.companies { font-variant-numeric: tabular-nums; font-weight: 700; color: #ff9a9a; }
.frame--search { max-width: 1000px; margin: 0 auto; }
.frame--search iframe { height: min(680px, 72vh); }

/* Community */
.involve { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.involve a {
  display: grid;
  gap: 0.3rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-panel);
  background: var(--panel);
  color: inherit;
  text-decoration: none;
  transition: background 150ms ease;
}
.involve a:hover { background: rgba(255,255,255,0.09); }
.involve strong { font-size: 1.1rem; }
.involve span { color: var(--dim); font-size: 0.95rem; }
.involve a[aria-disabled="true"] { opacity: 0.55; pointer-events: none; }

.footer a { color: inherit; }

@media (max-width: 900px) {
  .tour__body { grid-template-columns: 1fr; grid-template-rows: auto; height: auto; row-gap: 1rem; padding: 2.4rem 1.4rem 1.4rem; }
  .tour__text { grid-row: 1; min-height: 12.5rem; }
  .tour__visual { grid-column: 1; grid-row: 2; aspect-ratio: 4 / 3.3; }
  .tour__desc { margin-bottom: 0; }
  .tour__desc + .tour__desc { margin-top: 0.5rem; }
  .tour__nav { grid-row: 3; }
  .store, .involve { grid-template-columns: repeat(2, 1fr); }
  .block { padding: 4rem 0; }
}
@media (max-width: 560px) {
  .store, .involve { grid-template-columns: 1fr; }
  .v-net__stage { grid-template-columns: 36% minmax(18px, 1fr) auto; column-gap: 5px; padding: 10px; }
  .v-net__host { gap: 0; padding: 0 5px; font-size: 7.5px; }
  .v-net__host .ico { display: none; }
  .v-net__chip { left: 5px; right: 5px; bottom: 5px; padding: 3px 6px; white-space: normal; border-radius: 6px; font-size: 8.5px; }
  .v-net__chip .ico { display: none; }
  .cmp-wall__box { width: 86%; }
  .v-home__lane--off em { padding: 3px 7px; font-size: 9.5px; }
  .tbx__item { min-width: min-content; }
  .tbx__palette { gap: 6px; padding: 10px; }
  .tbx__done { right: 8px; bottom: 6px; padding: 2px 10px; font-size: 10px; }
}
/* Button rows that no longer fit split into even rows instead of leaving one button alone */
@media (max-width: 400px) {
  .nav.nav--sticky .nav__inner.container { display: grid; grid-template-columns: 1fr 1fr; }
  .nav.nav--sticky .nav__inner a { text-align: center; }
}
@media (max-width: 600px) {
  .hero__cta:has(> :nth-child(3)) { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__cta > :last-child:nth-child(odd) { grid-column: span 2; }
  .hero__cta:has(> :nth-child(3)) .btn { padding-inline: 0.7rem; font-size: 0.92rem; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cmp__after { animation: none; clip-path: none; }
  .cmp__bar { display: none; }
  .cmp__tag { display: none; }
  .cmp__tag--sf { display: inline-flex; opacity: 1; }
  .cmp.is-manual .cmp__bar { display: block; }
  .cmp.is-manual .cmp__tag { display: inline-flex; }
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}
