/*
 * vizora.media — the marketing site.
 *
 * Colours are the panel's own (apps/web-admin/src/styles/tokens.css): the
 * warm paper, the near-black board, the one orange key and the teal focus.
 * The dark hero is the sign-in page's control room (shell.css, .vz-signin),
 * redrawn here with photos on the screens.
 *
 * Nothing is loaded from anywhere else: the three Inter faces are served by
 * this site, and the Content-Security-Policy in .htaccess allows 'self' only.
 * No inline style attributes either — that policy would block them.
 */

/* Inter from the players' own subset: Latin-1 and Latin Extended-A, which is
   German, Turkish, French, Dutch and Norwegian. Romanian's comma-below ș and ț
   live in Latin Extended-B; the Romanian pages alone add fonts-ro.css for them. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-400.woff2") format("woff2"); unicode-range: U+0000-017F, U+1E9E, U+2000-206F, U+20AC, U+2122, U+FEFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-600.woff2") format("woff2"); unicode-range: U+0000-017F, U+1E9E, U+2000-206F, U+20AC, U+2122, U+FEFF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/inter-800.woff2") format("woff2"); unicode-range: U+0000-017F, U+1E9E, U+2000-206F, U+20AC, U+2122, U+FEFF; }

:root {
  --paper: #FBF3E7;
  --card: #FFFFFF;
  --card-2: #FBF1E0;
  --sunk: #F2E6D2;
  --line: #EBDCC4;
  --line-2: #DCC8A8;
  --ink: #241B14;
  --ink-2: #5C4C3B;
  --ink-3: #7F6B57;

  --key: #FF6B2C;
  --key-press: #E85416;
  --key-ink: #2A1C06;
  --key-wash: #FFE5D8;

  --focus: #176B7E;
  --focus-dark: #74C7DA;
  --ok: #2B7749;

  --board: #0F0C0A;
  --board-ink: #FBF3E7;
  --board-ink-2: #C9BCAE;
  --board-accent: #FFD285;
  --board-rim: #241B14;
  --glass: #18120E;
  --bezel: #3A2D22;
  --wire: #33271E;
  --block: #3B3028;
  --online: #74CC93;
  --glow: rgba(255, 107, 44, .42);

  --lift-1: 0 1px 2px rgba(86, 58, 24, .07), 0 6px 16px -10px rgba(86, 58, 24, .30);
  --lift-2: 0 2px 4px rgba(86, 58, 24, .08), 0 22px 44px -20px rgba(86, 58, 24, .45);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: 16px;
  --r-card: 16px;
  --r-ctl: 12px;
  --r-screen: 4px;
}

@media (min-width: 600px) { :root { --gutter: 24px; } }
@media (min-width: 1024px) { :root { --gutter: 32px; } }

/* ── Base ─────────────────────────────────────────────────────────────── */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 16px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3 { margin: 0; line-height: 1.12; text-wrap: balance; overflow-wrap: break-word; }
@media (max-width: 420px) { h1, h2 { hyphens: auto; } }
h1 { font-weight: 800; font-size: clamp(34px, 5.2vw, 58px); letter-spacing: -.025em; }
h2 { font-weight: 800; font-size: clamp(28px, 3.6vw, 42px); letter-spacing: -.02em; }
h3 { font-weight: 600; font-size: 19px; line-height: 1.3; letter-spacing: -.005em; }
p { margin: 0; }

a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.dark :focus-visible, .site-head :focus-visible, .site-foot :focus-visible { outline-color: var(--focus-dark); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: var(--r-ctl);
  background: var(--key);
  color: var(--key-ink);
  font-weight: 600;
  text-decoration: none;
}
.skip:focus { top: 12px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ── Brand: the wordmark and the mark, exactly as brand.tsx draws them ── */

.vz-word { display: block; height: 1em; width: calc(1em * 3158 / 710); }
.vz-mk { display: block; width: 1.3em; height: 1.3em; }
.vz-mk-board { fill: var(--board); }
.vz-mk-rim { stroke: var(--board-rim); }
.vz-mk-head { fill: var(--board-ink); }
.vz-mk-row { fill: var(--board-ink-2); }
.vz-mk-row2 { fill: var(--board-ink-2); opacity: .62; }
.vz-mk-key { fill: var(--key); }
.vz-lockup { display: inline-flex; align-items: center; gap: .3em; }

/* On the board-coloured bands the mark stands on its own colour: lift it,
   as the sign-in page does (.vz-signin__show .vz-mk-board). */
.site-head .vz-mk-board, .site-foot .vz-mk-board, .dark .vz-mk-board { fill: var(--board-ink); opacity: .07; }
.site-head .vz-mk-rim, .site-foot .vz-mk-rim, .dark .vz-mk-rim { stroke: var(--board-ink-2); opacity: .34; }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: var(--r-ctl);
  font: 600 16px/1 var(--font);
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }

.btn--key { background: var(--key); color: var(--key-ink); }
.btn--key:hover { background: var(--key-press); }

.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--card-2); }
.dark .btn--ghost, .site-head .btn--ghost { border-color: var(--bezel); color: var(--board-ink); }
.dark .btn--ghost:hover, .site-head .btn--ghost:hover { background: var(--glass); border-color: var(--board-ink-2); }

.btn--sm { min-height: 40px; padding: 0 16px; font-size: 15px; }

/* ── Header ───────────────────────────────────────────────────────────── */

.site-head {
  background: var(--board);
  color: var(--board-ink);
  border-bottom: 1px solid var(--board-rim);
}

.site-head__bar {
  display: flex;
  align-items: center;
  gap: 16px;
  min-height: 68px;
}

.brand { flex: none; display: inline-flex; color: var(--board-ink); font-size: 21px; text-decoration: none; border-radius: 6px; }

.nav { display: none; align-items: center; margin-left: 12px; gap: 4px; white-space: nowrap; }
.nav a {
  padding: 8px 10px;
  border-radius: 8px;
  color: var(--board-ink-2);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { color: var(--board-ink); background: var(--glass); }

.site-head__end { display: flex; align-items: center; gap: 10px; margin-left: auto; }

/* The language menu: one small button, a list of seven languages each named
   in itself. A <details>, so it opens without JavaScript. */
.langmenu { position: relative; }
.langmenu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--bezel);
  border-radius: 10px;
  color: var(--board-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  list-style: none;
}
.langmenu summary::-webkit-details-marker { display: none; }
.langmenu summary svg { width: 18px; height: 18px; color: var(--board-ink-2); }
.langmenu summary::after {
  content: "";
  width: 6px;
  height: 6px;
  margin: -3px 0 0 2px;
  border-right: 1.5px solid var(--board-ink-2);
  border-bottom: 1.5px solid var(--board-ink-2);
  transform: rotate(45deg);
}
.langmenu summary:hover { border-color: var(--board-ink-2); }
.langmenu[open] summary { background: var(--glass); }
.langmenu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 20;
  min-width: 200px;
  margin: 0;
  padding: 6px;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--lift-2);
}
.langmenu a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 9px;
  color: var(--ink);
  font-size: 15px;
  text-decoration: none;
}
.langmenu a:hover { background: var(--card-2); }
.langmenu a[aria-current="true"] { font-weight: 600; }
.langmenu a[aria-current="true"]::after {
  content: "";
  width: 10px;
  height: 5px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg) translateY(-2px);
}
.site-head .langmenu a:focus-visible { outline-color: var(--focus); }

.head-login { white-space: nowrap; display: none; color: var(--board-ink-2); font-size: 15px; font-weight: 600; text-decoration: none; padding: 8px 6px; }
.head-login:hover { color: var(--board-ink); text-decoration: underline; }
.head-demo { display: none; }

@media (min-width: 560px) { .head-demo { display: inline-flex; } }
@media (min-width: 720px) { .head-login { display: inline-block; } }
@media (min-width: 1240px) { .nav { display: flex; } }

/* ── Hero: the control room ───────────────────────────────────────────── */

.dark { background: var(--board); color: var(--board-ink); }

.hero { padding: 40px 0 56px; overflow: hidden; }

.hero__grid { display: grid; gap: 40px; align-items: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink-2);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; border-radius: 2px; background: var(--key); }
.dark .eyebrow { color: var(--board-ink-2); }

.hero h1 { max-width: 16ch; }
/* The kicker sits inside the h1 (the search words of the page) but reads as the eyebrow. */
.hero h1 .eyebrow { display: flex; max-width: none; letter-spacing: .06em; line-height: 1.4; }
.hero h1 em { font-style: normal; color: var(--board-accent); }

.hero__lede { max-width: 46ch; margin-top: 20px; color: var(--board-ink-2); font-size: 19px; line-height: 1.55; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  color: var(--board-ink-2);
  font-size: 15px;
}
.hero__facts li { display: inline-flex; align-items: center; gap: 8px; }
.hero__facts svg { width: 18px; height: 18px; color: var(--online); flex: none; }

@media (min-width: 960px) {
  .hero { padding: 72px 0 88px; }
  .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; }
}

/* The stage is 160 × 110 units, like the sign-in page's; the wires' SVG uses
   the same viewBox so a percentage here and a coordinate there meet. */
.scene { display: grid; justify-items: center; gap: 18px; }

.stage { position: relative; width: min(100%, 640px); aspect-ratio: 160 / 110; }

.wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.wire { fill: none; stroke: var(--wire); stroke-width: .6; }

.pulse {
  fill: none;
  stroke: var(--key);
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-dasharray: .14 1.4;
  stroke-dashoffset: .14;
  opacity: 0;
  animation: send 6s cubic-bezier(.45, 0, .3, 1) infinite;
}
.pulse--2 { animation-delay: .12s; }
.pulse--3 { animation-delay: .24s; }
.pulse--4 { animation-delay: .36s; }

@keyframes send {
  0% { stroke-dashoffset: .14; opacity: 0; }
  4% { opacity: 1; }
  24% { stroke-dashoffset: -.86; opacity: 1; }
  28%, 100% { stroke-dashoffset: -1; opacity: 0; }
}

.hub {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12.5%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--glass);
  box-shadow: 0 0 0 1px var(--bezel), 0 0 0 6px var(--board);
  font-size: 16px;
}
.hub .vz-mk { width: 62%; height: 62%; }
.hub::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 1px var(--glow);
  opacity: 0;
  animation: ring 6s ease-out infinite;
}
@keyframes ring {
  0% { transform: scale(1); opacity: 1; }
  22%, 100% { transform: scale(1.9); opacity: 0; }
}

.scr {
  position: absolute;
  border: 1px solid var(--bezel);
  border-radius: var(--r-screen);
  background: var(--glass);
  outline: 1px dashed var(--wire);
  outline-offset: 7px;
  animation: land 6s ease-out infinite;
}
.scr::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 5px;
  right: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--online);
}
@keyframes land {
  0%, 22% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; }
  28% { box-shadow: 0 0 0 1px var(--glow), 0 0 28px 2px var(--glow); }
  60%, 100% { box-shadow: 0 0 0 0 transparent, 0 0 0 0 transparent; }
}

.scr--1 { left: 5%; top: 7.27%; width: 31.25%; aspect-ratio: 16 / 9; }
.scr--2 { left: 78.75%; top: 5.45%; width: 12.5%; aspect-ratio: 9 / 16; animation-delay: .12s; }
.scr--3 { left: 7.5%; top: 63.64%; width: 35%; aspect-ratio: 32 / 9; animation-delay: .24s; }
.scr--4 { left: 61.25%; top: 61.82%; width: 30%; aspect-ratio: 16 / 9; animation-delay: .36s; }

.glass { position: absolute; inset: 0; overflow: hidden; border-radius: 3px; }

.ph { display: block; overflow: hidden; border-radius: 2px; background: var(--block); }
.ph img { width: 100%; height: 100%; object-fit: cover; }

.stack { display: flex; flex-direction: column; justify-content: space-between; min-width: 0; }
.bar { display: block; width: 58%; aspect-ratio: 11 / 1; border-radius: 1px; background: var(--block); }
.bar--head { width: 78%; aspect-ratio: 9 / 1; background: var(--board-ink-2); opacity: .75; }
.line { display: flex; align-items: center; justify-content: space-between; gap: 6%; }
.line .bar { flex: 0 0 58%; }
.tag {
  display: block;
  width: 24%;
  aspect-ratio: 2.4 / 1;
  background: var(--board-accent);
  clip-path: polygon(22% 0, 100% 0, 100% 100%, 22% 100%, 0 50%);
}
.tag--wide { width: 62%; }
.tag--offer { width: 100%; aspect-ratio: 2 / 1; background: var(--key); }
.disc { display: block; width: 100%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--block); }
.disc img { width: 100%; height: 100%; object-fit: cover; }

.glass--menu { display: grid; grid-template-columns: 2fr 3fr; gap: 7%; padding: 5.5%; }
.glass--window { display: flex; flex-direction: column; gap: 5%; padding: 12% 10%; }
.glass--window .ph { aspect-ratio: 1; }
.glass--window .bar { width: 70%; }
.glass--window .bar--head { width: 100%; margin-top: 8%; }
.glass--window .tag { margin-top: auto; }
.glass--wall { display: grid; grid-template-columns: 1fr 2.6fr 1fr; align-items: center; gap: 6%; padding: 2.5% 5%; }
.glass--wall .stack { gap: 14%; justify-content: center; }
.glass--wall::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 1px; background: var(--bezel); }
.glass--service { display: grid; grid-template-columns: 3fr 2fr; align-items: center; gap: 8%; padding: 6%; }
.glass--service .stack { align-self: stretch; }
.slots { display: flex; gap: 6%; }
.slot { flex: 1; aspect-ratio: 2.2 / 1; border-radius: 1px; background: var(--block); }
.slot--on { background: var(--board-accent); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: var(--board-ink-2);
  font-size: 13.5px;
  letter-spacing: .02em;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--online); box-shadow: 0 0 0 3px var(--board), 0 0 0 4px var(--wire); }

/* ── Sections ─────────────────────────────────────────────────────────── */

.section { padding: 72px 0; }
.section--tint { background: var(--card-2); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin-bottom: 40px; }
.section__head p { margin-top: 14px; color: var(--ink-2); font-size: 18px; }
.dark .section__head p { color: var(--board-ink-2); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__lede { margin-top: 16px; color: var(--ink-2); font-size: 18px; }
.dark .section__lede { color: var(--board-ink-2); }

@media (min-width: 960px) { .section { padding: 104px 0; } }

/* ── In the shop: the board on the wall, the phone behind the counter ── */

.shop { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .shop { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; } }

.shop__scene { position: relative; padding-bottom: 150px; }
@media (min-width: 600px) { .shop__scene { padding: 0 0 110px 72px; } }

/* A television: a black bezel, the board inside it, a shadow on the wall. */
.tv {
  position: relative;
  padding: 10px;
  border-radius: 12px;
  background: #1C1612;
  box-shadow: var(--lift-2), 0 0 0 1px #2B221B inset;
}
.tv::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -9px;
  width: 22%;
  height: 9px;
  transform: translateX(-50%);
  border-radius: 0 0 6px 6px;
  background: #2B221B;
}

.board {
  position: relative;
  display: grid;
  grid-template-columns: 38% 1fr;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--r-screen);
  background: var(--board);
  color: var(--board-ink);
  container-type: inline-size;
}
.board__photo { position: relative; overflow: hidden; }
.board__photo img { width: 100%; height: 100%; object-fit: cover; }
.board__menu { display: flex; flex-direction: column; padding: 4.2cqi 4.6cqi 0 4.2cqi; min-width: 0; }

.board__title { position: relative; height: 4.6cqi; margin-bottom: 2.4cqi; font-size: 3.9cqi; font-weight: 800; line-height: 1.15; letter-spacing: -.01em; color: var(--board-accent); }
.board__title span { position: absolute; inset: 0 auto auto 0; white-space: nowrap; opacity: 0; animation: lang 12s infinite; }
.board__title span:nth-child(1) { opacity: 1; animation-delay: 0s; }
.board__title span:nth-child(2) { animation-delay: 4s; }
.board__title span:nth-child(3) { animation-delay: 8s; }
@keyframes lang {
  0% { opacity: 0; }
  3%, 30% { opacity: 1; }
  33.3%, 100% { opacity: 0; }
}
.board__title span:nth-child(1) { animation-name: lang-first; }
@keyframes lang-first {
  0%, 30% { opacity: 1; }
  33.3%, 97% { opacity: 0; }
  100% { opacity: 1; }
}

.board__rows { margin: 0; padding: 0; list-style: none; }
.board__rows li {
  display: flex;
  align-items: baseline;
  gap: 1.4cqi;
  padding: 1.05cqi 0;
  border-bottom: 1px solid #2A221C;
  font-size: 2.35cqi;
  font-weight: 600;
  line-height: 1.2;
}
.board__rows li span:first-child { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.board__rows small { display: block; color: var(--board-ink-2); font-size: 1.6cqi; font-weight: 400; }
.board__rows b { font-weight: 800; font-variant-numeric: tabular-nums; color: var(--board-ink); white-space: nowrap; }
.board__rows li.is-new b { color: var(--board-accent); }
.board__offer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqi;
  margin: auto -4.6cqi 0 -4.2cqi;
  padding: 1.7cqi 4.6cqi 1.7cqi 4.2cqi;
  background: var(--key);
  color: var(--key-ink);
  font-size: 2.3cqi;
  font-weight: 800;
}
.board__offer b { font-size: 3cqi; font-variant-numeric: tabular-nums; }
.board__langs { position: absolute; left: 1.6cqi; bottom: 1.6cqi; display: flex; gap: .6cqi; }
.board__langs span {
  padding: .35cqi .8cqi;
  border-radius: .6cqi;
  background: rgba(15, 12, 10, .72);
  color: var(--board-ink);
  font-size: 1.35cqi;
  font-weight: 600;
  letter-spacing: .05em;
}

/* The phone behind the counter, with the customer's side of the panel. */
.phone {
  position: absolute;
  left: 14px;
  bottom: 0;
  width: 48%;
  max-width: 214px;
  padding: 7px;
  border-radius: 28px;
  background: #1C1612;
  box-shadow: var(--lift-2);
}
@media (min-width: 600px) { .phone { left: 0; width: 30%; } }
.phone__glass {
  display: grid;
  gap: 7px;
  padding: 14px 10px 12px;
  border-radius: 22px;
  background: var(--paper);
  color: var(--ink);
  font-size: 10.5px;
  line-height: 1.3;
}
.phone__top { display: flex; align-items: center; justify-content: space-between; font-weight: 800; font-size: 12px; }
.phone__pill { padding: 2px 6px; border-radius: 999px; background: #DCEFE1; color: var(--ok); font-size: 9px; font-weight: 600; }
.phone__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding: 7px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}
.phone__row b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.phone__row span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone__row--edit { border-color: var(--key); box-shadow: 0 0 0 2px var(--key-wash); }
.phone__row--edit b { padding: 1px 5px; border-radius: 4px; background: var(--sunk); }
.phone__btn { padding: 8px; border-radius: 8px; background: var(--key); color: var(--key-ink); font-weight: 600; text-align: center; }
.phone__note { color: var(--ink-2); font-size: 9.5px; text-align: center; }

.ticks { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.ticks li { display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; }
.ticks svg { width: 22px; height: 22px; margin-top: 2px; color: var(--ok); }
.dark .ticks svg { color: var(--online); }
.ticks strong { font-weight: 600; }

/* ── Steps ────────────────────────────────────────────────────────────── */

.steps { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
  box-shadow: var(--lift-1);
  counter-increment: step;
}
.step::before { align-self: flex-start; }
.step::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--board);
  color: var(--board-ink);
  font-weight: 800;
  font-size: 16px;
}
.step p { color: var(--ink-2); }

/* The little drawing at the foot of each step. */
.step__art {
  display: grid;
  place-items: center;
  height: 112px;
  margin-top: auto;
  border-radius: 12px;
  background: var(--board);
}
.code { display: flex; gap: 6px; }
.code span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 40px;
  border: 1px solid var(--bezel);
  border-radius: 6px;
  background: var(--glass);
  color: var(--board-ink);
  font-weight: 800;
  font-size: 18px;
}
.code span:nth-child(4) { border-color: var(--key); box-shadow: 0 0 0 2px var(--glow); }
.minis { display: flex; gap: 10px; }
.mini { width: 62px; aspect-ratio: 16 / 10; overflow: hidden; border: 1px solid var(--bezel); border-radius: 4px; background: var(--glass); }
.mini img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.mini--on { outline: 2px solid var(--key); outline-offset: 2px; }
.publish { display: flex; align-items: center; gap: 12px; }
.publish__btn { padding: 10px 16px; border-radius: 10px; background: var(--key); color: var(--key-ink); font-weight: 600; font-size: 15px; }
.publish__done { display: inline-flex; align-items: center; gap: 6px; color: var(--online); font-size: 14px; font-weight: 600; }
.publish__done svg { width: 18px; height: 18px; }

/* ── Trades: every trade as a shop front (the scenes are further down) ── */

.trades { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 20px; margin: 0; padding: 0; list-style: none; }

.trade { display: grid; align-content: start; gap: 12px; }
.trade h3 { font-size: 18px; }
.trade > div > p { margin-top: 2px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }

/* ── Features ─────────────────────────────────────────────────────────── */

.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  background: var(--card);
}
.feature__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--board);
  color: var(--board-accent);
}
.feature__icon svg { width: 22px; height: 22px; }
.feature p { color: var(--ink-2); font-size: 16px; }
@media (min-width: 1100px) { .features--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ── Templates, and the panel as it really looks ────────────────────────
   Screenshots are real (docs/handbook/assets/img), framed like a screen. */

.tpl { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .tpl { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.tpl__head { margin-top: 28px; margin-bottom: 14px; font-size: 17px; }
.tpl__note { margin-top: 16px; color: var(--ink-2); font-size: 16px; }
.chips--static .chip { min-height: 36px; padding: 0 14px; font-size: 14.5px; cursor: default; }
.chips--static .chip:hover { border-color: var(--line-2); background: var(--card); }

.shot { margin: 0; overflow: hidden; border: 1px solid var(--line-2); background: var(--card); box-shadow: var(--lift-2); }
.shot img { display: block; width: 100%; height: auto; }
.shot--desk { border-radius: 14px; }
.shot--phone { border: 6px solid var(--board); border-radius: 26px; }

.phone-sec { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .phone-sec { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } }
.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 480px; width: 100%; margin: 0 auto; }
.shots .shot:nth-child(2) { margin-top: 36px; }

/* ── Branches and chains (a dark band) ────────────────────────────────── */

.chain { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .chain { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; } }
.chain > div { min-width: 0; }
.chain .hero__cta .btn { white-space: normal; line-height: 1.25; padding-block: 12px; text-align: center; }
.chain .ticks li { color: var(--board-ink-2); }
.chain .ticks strong { color: var(--board-ink); }

.fleet { display: grid; gap: 10px; padding: 18px; border: 1px solid var(--bezel); border-radius: var(--r-card); background: var(--glass); }
.fleet__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 2px 4px 8px; color: var(--board-ink-2); font-size: 14px; }
.fleet__head b { color: var(--board-ink); font-size: 16px; }
.branch {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--wire);
  border-radius: 12px;
  background: var(--board);
}
.branch__screens { display: flex; gap: 5px; }
.branch__screens span { width: 30px; aspect-ratio: 16 / 9; border: 1px solid var(--bezel); border-radius: 3px; background: linear-gradient(150deg, #6A4630, #2E2019); }
.branch__screens span.p { width: 14px; aspect-ratio: 9 / 16; }
.branch__name { font-weight: 600; font-size: 15px; }
.branch__name small { display: block; color: var(--board-ink-2); font-weight: 400; font-size: 13px; }
.branch__state { display: inline-flex; align-items: center; gap: 6px; color: var(--online); font-size: 13px; font-weight: 600; }
.branch__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.branch--takeover { border-color: var(--key); box-shadow: 0 0 0 1px var(--key) inset; }
.branch--takeover .branch__state { color: var(--board-accent); }
.branch--takeover .branch__state::before { background: var(--key); }

/* A phone's fleet list: the branch's name before its little screens. */
@media (max-width: 599px) {
  .branch { gap: 10px; }
  .branch__screens span { width: 22px; }
  .branch__screens span.p { width: 10px; }
  .branch__screens span:nth-child(n+3) { display: none; }
}

/* ── Hardware ─────────────────────────────────────────────────────────── */

.hw { display: grid; gap: 32px; align-items: center; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--card); box-shadow: var(--lift-1); }
@media (min-width: 860px) { .hw { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 48px; padding: 44px; } }
.hw__art { display: grid; place-items: center; padding: 24px; border-radius: 16px; background: var(--card-2); }
.hw__art svg { width: 100%; max-width: 320px; height: auto; }
.hw p { color: var(--ink-2); margin-top: 14px; }
.hw .ticks { margin-top: 22px; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */

.faq { display: grid; gap: 10px; max-width: 820px; margin: 0 auto; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 20px;
  font-weight: 600;
  font-size: 17px;
  cursor: pointer;
  list-style: none;
  border-radius: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--ink-2);
  border-bottom: 2px solid var(--ink-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform .2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details > div { padding: 0 20px 20px; color: var(--ink-2); }
.faq details > div p + p { margin-top: 10px; }

/* ── Contact ──────────────────────────────────────────────────────────── */

.contact { display: grid; gap: 40px; }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; } }
.contact__alt { display: grid; gap: 14px; margin-top: 28px; }
.contact__alt a { font-weight: 600; }
.contact__alt p { color: var(--ink-2); }

.form {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--card);
  box-shadow: var(--lift-2);
}
@media (min-width: 600px) { .form { padding: 32px; grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 6px; }
.field--wide, .form .consent, .form .btn, .form .form__note { grid-column: 1 / -1; }
.field label { font-weight: 600; font-size: 15px; }
.field label span { color: var(--ink-3); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-ctl);
  background: var(--paper);
  color: var(--ink);
  font: 400 16px/1.4 var(--font);
}
.field textarea { min-height: 128px; resize: vertical; }
.field select {
  appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline-offset: 0; border-color: var(--focus); }
.form .btn { justify-self: start; min-width: 220px; }
.form__note { color: var(--ink-3); font-size: 14px; }

/* The honeypot: out of sight and out of the tab order, never display:none
   (some bots skip hidden fields). */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ── Plain pages: legal, thanks, 404 ──────────────────────────────────── */

.page { padding: 56px 0 88px; }
.page .wrap { max-width: 820px; }
.page h1 { font-size: clamp(32px, 4.4vw, 46px); }
.page h2 { margin-top: 40px; font-size: 24px; letter-spacing: -.01em; }
.page h3 { margin-top: 24px; }
.page p, .page ul { margin-top: 12px; color: var(--ink-2); }
.page ul { padding-left: 22px; }
.page .lead { margin-top: 18px; font-size: 19px; color: var(--ink-2); }
.page .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* A placeholder the owner still has to fill in. Loud on purpose. */
.fill { padding: 1px 6px; border-radius: 4px; background: #FBE7C1; color: #965C07; font-weight: 600; }

.notice { margin-top: 24px; padding: 16px 18px; border: 1px solid var(--line-2); border-radius: 12px; background: var(--card-2); color: var(--ink-2); }

.done-mark { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 24px; border-radius: 50%; background: #DCEFE1; color: var(--ok); }
.done-mark svg { width: 32px; height: 32px; }

/* ── Footer ───────────────────────────────────────────────────────────── */

.site-foot { padding: 56px 0 40px; background: var(--board); color: var(--board-ink-2); font-size: 15px; }
.site-foot__grid { display: grid; gap: 32px; }
@media (min-width: 600px) { .site-foot__grid { grid-template-columns: 1fr 1fr; } .site-foot__grid > :first-child { grid-column: 1 / -1; } }
@media (min-width: 960px) { .site-foot__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.2fr; } .site-foot__grid > :first-child { grid-column: auto; } }
.site-foot .brand { font-size: 22px; }
.site-foot__claim { max-width: 36ch; margin-top: 14px; }
.site-foot h2 { margin-bottom: 12px; color: var(--board-ink); font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.site-foot ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.site-foot a { color: var(--board-ink-2); text-decoration: none; }
.site-foot a:hover { color: var(--board-ink); text-decoration: underline; }
.site-foot__note { max-width: 32ch; margin-top: 4px; font-size: 13.5px; line-height: 1.5; }
.langs { margin: 0; }
.site-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--board-rim); font-size: 14px; }

/* ── Less motion ──────────────────────────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulse, .hub::after { display: none; }
  .scr { animation: none; }
  .board__title span { animation: none; }
  .board__title span:nth-child(n+2) { display: none; }
  .btn { transition: none; }
}

/* ── Trade landing pages ──────────────────────────────────────────────── */

.trade h3 a { text-decoration: none; }
.trade h3 a:hover { text-decoration: underline; }
.trade h3 a::after { content: " →"; color: var(--key-press); }

.trade-hero { padding: 28px 0 56px; }
.trade-hero__grid { display: grid; gap: 36px; align-items: center; margin-top: 28px; }
@media (min-width: 960px) {
  .trade-hero { padding: 36px 0 88px; }
  .trade-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; }
}
.trade-hero h1 { font-size: clamp(32px, 4.4vw, 50px); max-width: 18ch; }
.trade-hero__scene { display: grid; justify-items: start; gap: 16px; min-width: 0; }
.trade-hero__scene .sf { width: 100%; border-radius: 16px; box-shadow: 0 0 0 1px #2B221B, 0 30px 60px -30px rgba(0, 0, 0, .8); }
.sf-more { font-weight: 600; font-size: 16px; }
.sf-more a { color: var(--board-ink); }
.sf-more a::after { content: " →"; color: var(--board-accent); }

.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; color: var(--board-ink-2); font-size: 14px; }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--bezel); }
.crumbs a { color: var(--board-ink-2); }
.crumbs a:hover { color: var(--board-ink); }
.crumbs [aria-current] { color: var(--board-ink); }

.features--plain .feature { border-top: 3px solid var(--key); }
@media (min-width: 700px) { .features--plain { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.more-link { margin-top: 24px; font-weight: 600; }

.cta-band__inner { max-width: 760px; text-align: center; }
.cta-band__inner p { margin-top: 14px; color: var(--board-ink-2); font-size: 18px; }
.cta-band .hero__cta { justify-content: center; }

.related-title { font-size: 24px; margin-bottom: 18px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: var(--card);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.chip:hover { border-color: var(--ink-3); background: var(--card-2); }

/* ── Storefront scenes ─────────────────────────────────────────────────────
   A shop front drawn in SVG (build/scenes.mjs), 400 × 300 units. Behind the
   glass stands a screen that faces the street and plays three slides; the
   other view is the same shop from inside. Screens and boards are HTML placed
   in percent of that grid – keep these numbers in step with scenes.mjs. */

.sf {
  /* The street: facade, trim, sign, awning, window frame, door, inside. */
  --w: #D9C4A5; --w2: #BFA886; --tr: #8C7456; --sg: #241B14; --si: #FFD285;
  --aa: #B8432F; --ab: #F4E6CF; --fr: #2B221B; --dr: #3A2D22; --up: #3B4650;
  --in: #241C17; --in2: #33291F; --in3: #43362A; --lamp: #FFD9A0;
  /* The ad's accent, and inside: wall, floor, counter. */
  --ac: #FF6B2C; --aci: #2A1C06;
  --iw: #EFE3D0; --iw2: #E2D3BC; --fl: #B89572; --ct: #6B4A33; --ct2: #8A6446;
  --sf-o: 0s;
  position: relative;
  width: 100%;
  margin: 0;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 12px;
  background: var(--w);
  box-shadow: var(--lift-1);
  container-type: inline-size;
  isolation: isolate;
}
.sf__view { position: absolute; inset: 0; transition: opacity .45s ease, visibility .45s; }
.sf__view--in { opacity: 0; visibility: hidden; }
.sf__layer { position: absolute; inset: 0; width: 100%; height: 100%; }

/* The street / shop switch: a real radio group, one per .sf-scope. */
.sf-views { min-width: 0; margin: 22px 0 0; padding: 0; border: 0; }
.sf-views__opts { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border: 1px solid var(--line-2); border-radius: 999px; background: var(--card); box-shadow: var(--lift-1); }
.sf-views label { position: relative; display: block; cursor: pointer; }
.sf-views input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.sf-views span { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 16px; border-radius: 999px; color: var(--ink-2); font-weight: 600; font-size: 15px; transition: background-color .2s, color .2s; }
.sf-views svg { width: 18px; height: 18px; flex: none; }
.sf-views input:checked + span { background: var(--board); color: var(--board-ink); }
.sf-views input:not(:checked):hover + span { color: var(--ink); }
.sf-views input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.dark .sf-views { margin-top: 0; }
.dark .sf-views__opts { border-color: var(--bezel); background: var(--glass); box-shadow: none; }
.dark .sf-views span { color: var(--board-ink-2); }
.dark .sf-views input:checked + span { background: var(--board-ink); color: var(--board); }
.dark .sf-views input:not(:checked):hover + span { color: var(--board-ink); }
.dark .sf-views input:focus-visible + span { outline-color: var(--focus-dark); }

/* Which view: CSS alone where :has() works, the class from site.js elsewhere. */
.sf-scope.is-in .sf__view--out { opacity: 0; visibility: hidden; }
.sf-scope.is-in .sf__view--in { opacity: 1; visibility: visible; }
.sf-scope:has(.sf-views input[value="in"]:checked) .sf__view--out { opacity: 0; visibility: hidden; }
.sf-scope:has(.sf-views input[value="in"]:checked) .sf__view--in { opacity: 1; visibility: visible; }

.section__head .trades__street { font-size: 17px; }
.trades__street a { font-weight: 600; color: var(--ink); }
.trades__street a::after { content: " →"; color: var(--key-press); }

/* ── The street ── */

.sf-c-wall { fill: var(--w); }
.sf-c-base { fill: var(--w2); }
.sf-c-upper { fill: var(--up); }
.sf-c-trim, .sf-c-sill, .sf-c-canopy { fill: var(--tr); }
.sf-c-sign { fill: var(--sg); }
.sf-c-signt { fill: var(--si); font-family: var(--font); font-weight: 800; }
.sf-c-awa { fill: var(--aa); }
.sf-c-awb { fill: var(--ab); }
.sf-c-shadow { fill: #000; opacity: .22; }
.sf-c-frame, .sf-c-iframe { fill: var(--fr); }
.sf-c-tint { fill: #A9CBDD; opacity: .07; }
.sf-c-door { fill: var(--dr); }
.sf-c-doorglass, .sf-c-glassdark { fill: var(--in); }
.sf-c-refl { fill: #FFF; opacity: .08; }
.sf-c-handle { fill: #C9BCAE; }
.sf-c-slat { fill: #000; opacity: .16; }
.sf-c-street { fill: #A8A197; }
.sf-c-curb { fill: #8A8378; }
.sf-c-aboard { fill: #2A221C; }
.sf-c-aboard2 { fill: #F4ECDD; }
.sf-c-lamp { fill: var(--lamp); }
.sf-c-pole { fill: #F5F1EA; }
.sf-c-pole-a { fill: #C8372D; }
.sf-c-pole-b { fill: #2D4F8C; }
.sf-c-pot { fill: #B5673E; }
.sf-c-leaf { fill: #4E7A45; }
.sf-c-bucket { fill: #7C8A93; }
.sf-c-fl0 { fill: #E4577A; }
.sf-c-fl1 { fill: #F2C14E; }
.sf-c-fl2 { fill: #FFF6F0; }
.sf-c-paper { fill: #FFF; }
.sf-c-paperimg { fill: #7C9BB8; }
.sf-c-paperln { fill: #C8D0DA; }
.sf-c-paperkey { fill: var(--ac); }
/* Seen through the glass. */
.sf-c-in { fill: var(--in); }
.sf-c-in2 { fill: var(--in2); }
.sf-c-in3 { fill: var(--in3); }
.sf-c-glow { fill: var(--lamp); opacity: .16; }
.sf-c-cord { fill: none; stroke: #000; stroke-opacity: .45; stroke-width: 1; }
.sf-c-spit { fill: #9A5B32; }
.sf-c-case { fill: #A9CBDD; opacity: .22; }
.sf-c-bread { fill: #C58A4B; }
.sf-c-mirror { fill: #8FA3AD; opacity: .35; }
.sf-c-box0 { fill: #D98C95; opacity: .7; }
.sf-c-box1 { fill: #8FBFAE; opacity: .7; }
.sf-c-box2 { fill: #E6C77C; opacity: .7; }
.sf-c-cloth0 { fill: #A87750; }
.sf-c-cloth1 { fill: #5F6C7E; }
.sf-c-cloth2 { fill: #CDBEA8; }

/* The window screen: a thin black bezel and the light it throws. */
.sf__screen {
  position: absolute;
  left: 13.25%;
  top: 32%;
  width: 45%;
  aspect-ratio: 16 / 9;
  border: .7cqi solid #0B0B0B;
  border-radius: .7cqi;
  background: #000;
  box-shadow: 0 0 0 .25cqi #34302C, 0 0 6cqi .5cqi rgba(255, 238, 205, .28);
}
.sf--port .sf__screen { left: 14%; top: 26%; width: 25%; aspect-ratio: 9 / 16; }

.sf-ad { position: absolute; inset: 0; overflow: hidden; border-radius: .3cqi; background: #000; color: #FFF; container-type: inline-size; }
.sf-ad__slide { --k: 0; position: absolute; inset: 0; opacity: 0; animation: sf-slide 15s linear infinite; animation-delay: calc(var(--k) * 5s - var(--sf-o) - 1s); }
.sf-ad__slide--1 { opacity: 1; }
.sf-ad__slide--2 { --k: 1; }
.sf-ad__slide--3 { --k: 2; }
/* Each slide shows for five seconds and crossfades into the next for almost one. */
@keyframes sf-slide {
  0% { opacity: 0; }
  6%, 33.3% { opacity: 1; }
  39.3%, 100% { opacity: 0; }
}
.sf-ad__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-ad__slide--2 .sf-ad__img { transform: scale(1.45); transform-origin: 70% 40%; }
.sf-ad__slide--1::after, .sf-ad__slide--2::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); }
.sf-ad__txt { position: absolute; z-index: 1; left: 5cqi; right: 5cqi; bottom: 4.5cqi; display: grid; justify-items: start; gap: 1.6cqi; }
.sf-ad__line { font-weight: 800; font-size: 8.8cqi; line-height: 1.1; letter-spacing: -.01em; text-shadow: 0 .3cqi 1.4cqi rgba(0, 0, 0, .55); }
.sf-ad__note { margin-top: -.6cqi; color: rgba(255, 255, 255, .86); font-size: 5cqi; font-weight: 600; }
.sf-ad__val { padding: .5cqi 2.2cqi; border-radius: 1.2cqi; background: var(--ac); color: var(--aci); font-weight: 800; font-size: 10cqi; line-height: 1.2; font-variant-numeric: tabular-nums; max-width: 100%; }
.sf-ad__slide--3 { display: grid; place-content: center; justify-items: center; gap: 4cqi; padding: 7cqi 9cqi; background: var(--ac); color: var(--aci); text-align: center; }
.sf-ad__claim { font-weight: 800; font-size: 10.5cqi; line-height: 1.12; letter-spacing: -.01em; text-wrap: balance; }
.sf-ad__brand { font-size: 3.8cqi; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }

/* Portrait: the photo on top, the offer underneath. */
.sf--port .sf-ad__img { height: 56%; }
.sf--port .sf-ad__slide--1::after, .sf--port .sf-ad__slide--2::after { content: none; }
.sf--port .sf-ad__txt { inset: 56% 0 0; align-content: center; gap: 3cqi; padding: 4cqi 7cqi; background: #111; }
.sf--port .sf-ad__line { font-size: 12.5cqi; text-shadow: none; hyphens: auto; }
.sf--port .sf-ad__note { font-size: 7.4cqi; }
.sf--port .sf-ad__val { font-size: 15.5cqi; padding: .8cqi 3.6cqi; border-radius: 2cqi; white-space: normal; }
.sf--port .sf-ad__slide--3 { padding: 12cqi 8cqi; gap: 8cqi; }
.sf--port .sf-ad__claim { font-size: 13cqi; hyphens: auto; }
.sf--port .sf-ad__brand { font-size: 6.4cqi; }

/* The glass: two fixed reflections and, now and then, a slow sheen. */
.sf__glare {
  position: absolute;
  left: 7%;
  top: 25.33%;
  width: 57.5%;
  height: 60%;
  overflow: hidden;
  pointer-events: none;
  background: linear-gradient(112deg, transparent 0 20%, rgba(255, 255, 255, .09) 20% 26%, transparent 26% 29%, rgba(255, 255, 255, .06) 29% 31%, transparent 31% 68%, rgba(255, 255, 255, .06) 68% 80%, transparent 80%);
}
.sf__glare::after {
  content: "";
  position: absolute;
  top: -10%;
  bottom: -10%;
  left: 0;
  width: 30%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .16), transparent);
  transform: translateX(-140%) skewX(-18deg);
  animation: sf-sheen 13s ease-in-out infinite;
  animation-delay: calc(3s - var(--sf-o));
}
@keyframes sf-sheen {
  0%, 62% { transform: translateX(-140%) skewX(-18deg); }
  88%, 100% { transform: translateX(400%) skewX(-18deg); }
}

/* ── Inside the shop ── */

.sf-c-iw { fill: var(--iw); }
.sf-c-iw2, .sf-c-ceil { fill: var(--iw2); }
.sf-c-sky { fill: #DCEAF1; }
.sf-c-opp { fill: #CBC2B6; }
.sf-c-oppwin { fill: #9DB3BF; }
.sf-c-opp2 { fill: #B8AEA1; }
.sf-c-ostreet { fill: #D2CDC5; }
.sf-c-person { fill: #56626D; opacity: .85; }
.sf-c-halo { fill: #FFF1CF; opacity: .4; }
.sf-c-cable { fill: none; stroke: #2B2B2E; stroke-width: 1.2; }
.sf-c-back { fill: #2B2B2E; }
.sf-c-back2 { fill: #3D3D42; }
.sf-c-stick { fill: #111; }
.sf-c-led { fill: var(--online); }
.sf-c-isill { fill: var(--ct2); }
.sf-c-fl { fill: var(--fl); }
.sf-c-flline { fill: #000; opacity: .1; }
.sf-c-lampglow { fill: var(--lamp); opacity: .35; }
.sf-c-lampshade { fill: var(--ac); }
.sf-c-ct { fill: var(--ct); }
.sf-c-ct2 { fill: var(--ct2); }
.sf-c-ctline { fill: var(--ac); }
.sf-c-reg { fill: #2A2A2E; }

/* The board on the wall above the counter or at reception. */
.sf__board {
  position: absolute;
  left: 40%;
  top: 11%;
  width: 57%;
  aspect-ratio: 16 / 9;
  border: .8cqi solid #0B0B0B;
  border-radius: .7cqi;
  background: var(--board);
  box-shadow: 0 1.6cqi 3.2cqi -1cqi rgba(0, 0, 0, .45);
}
.sf-board { position: absolute; inset: 0; display: grid; grid-template-columns: 36% 1fr; overflow: hidden; border-radius: .3cqi; background: var(--board); color: var(--board-ink); container-type: inline-size; }
.sf-board__photo { position: relative; overflow: hidden; }
.sf-board__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-board__menu { display: flex; flex-direction: column; min-width: 0; padding: 4.4cqi 4.4cqi 0; }
.sf-board__title { margin-bottom: 1.8cqi; overflow: hidden; color: var(--board-accent); font-weight: 800; font-size: 6.2cqi; line-height: 1.15; white-space: nowrap; text-overflow: ellipsis; }
.sf-board__row { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqi; padding: 1.5cqi 0; border-bottom: 1px solid #2A221C; font-weight: 600; font-size: 4.5cqi; line-height: 1.2; }
.sf-board__row span, .sf-board__offer span { min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sf-board__row b, .sf-board__offer b { flex: none; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sf-board__offer { display: flex; align-items: baseline; justify-content: space-between; gap: 2cqi; margin: auto -4.4cqi 0; padding: 2cqi 4.4cqi; background: var(--ac); color: var(--aci); font-weight: 800; font-size: 4.5cqi; line-height: 1.2; }

/* "Faces the street", over the back of the window screen. */
.sf__faces {
  position: absolute;
  left: 20.25%;
  top: 31.3%;
  transform: translate(-50%, -100%);
  padding: .5em .9em;
  border-radius: 999px;
  background: rgba(15, 12, 10, .84);
  color: #FBF3E7;
  font-size: clamp(10px, 3.1cqi, 14px);
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}
.sf--port .sf__faces { top: 35.3%; }

/* ── Each trade's colours ── */

.sf--imbiss { --w: #B5573B; --w2: #97452D; --tr: #6E2E1F; --sg: #1E1714; --si: #FFD285; --aa: #C0392B; --ab: #F6E7CC; --fr: #1E1714; --dr: #2B211B; --iw: #F1E2CC; --iw2: #E4D0B4; --ct: #7A3322; --ct2: #97452D; }
.sf--cafe { --w: #EADBC2; --w2: #D6C2A2; --tr: #A88E6A; --sg: #5A3A26; --si: #F7E9D2; --aa: #6E4A30; --ab: #F7EBD7; --fr: #4A3121; --dr: #5A3A26; --ac: #5A3A26; --aci: #FBF3E7; --iw: #F3E8D6; --ct: #8A5F3F; --ct2: #A9794F; }
.sf--restaurant { --w: #2E4A3B; --w2: #233A2E; --tr: #1B2E24; --sg: #F2E8D6; --si: #2E4A3B; --aa: #2E4A3B; --ab: #F2E8D6; --fr: #1B2E24; --dr: #1B2E24; --ac: #B8382B; --aci: #FFF6EA; --iw: #ECE2D0; --iw2: #DCCFB8; --ct: #2E4A3B; --ct2: #496955; }
.sf--friseur { --w: #2B2C30; --w2: #1F2023; --tr: #45464C; --sg: #111214; --si: #F3EDE3; --fr: #0E0F11; --dr: #17181B; --up: #4A5058; --ac: #D9B77E; --aci: #1A1508; --iw: #3A3B40; --iw2: #2E2F33; --fl: #6E5A48; --ct: #1C1D20; --ct2: #D9B77E; }
.sf--kosmetik { --w: #EBCFC7; --w2: #DDB9AF; --tr: #C99C92; --sg: #FFFDFB; --si: #9A4A5B; --fr: #FFFDFB; --dr: #F8EEEA; --ac: #9A4A5B; --aci: #FFF; --in: #3A2A2A; --in2: #4A3534; --in3: #5B4240; --iw: #F7E9E5; --iw2: #EDD8D1; --fl: #D9BFB2; --ct: #FFFDFB; --ct2: #E7CFC7; }
.sf--fitness { --w: #41464D; --w2: #33373D; --tr: #2A2D32; --sg: #15171A; --si: #C8F25E; --fr: #15171A; --dr: #1D2024; --up: #545B63; --ac: #C8F25E; --aci: #15171A; --iw: #3F444B; --iw2: #33373D; --fl: #2A2D32; --ct: #15171A; --ct2: #C8F25E; }
.sf--mode { --w: #EFEBE4; --w2: #DDD6CB; --tr: #BDB3A4; --sg: #141414; --si: #FFF; --fr: #141414; --dr: #141414; --ac: #141414; --aci: #FFF; --iw: #F4F1EC; --iw2: #E6E0D6; --fl: #C9BBA5; --ct: #141414; --ct2: #3A3A3A; }
.sf--blumen { --w: #71896A; --w2: #5C7356; --tr: #4B5F46; --sg: #F5EFE1; --si: #3F5A3B; --aa: #4B6B45; --ab: #F5EFE1; --fr: #3A4D36; --dr: #3A4D36; --ac: #C44E6C; --aci: #FFF; --iw: #E8EFE3; --iw2: #D7E1D0; --fl: #A7906F; --ct: #4B6B45; --ct2: #6C8A64; }
.sf--immobilien { --w: #223752; --w2: #1A2B41; --tr: #152336; --sg: #F4F1EA; --si: #223752; --fr: #0F1A28; --dr: #152336; --up: #3D4E63; --ac: #223752; --aci: #FFF; --iw: #E9EDF2; --iw2: #D8DEE6; --fl: #A99A86; --ct: #223752; --ct2: #3A5578; }
.sf--immobilien .sf-ad__txt { background: #FFF; color: #1A2536; }
.sf--immobilien .sf-ad__note { color: #4A5669; }
.sf--immobilien .sf-ad__val { font-size: 12cqi; }
.sf--mode .sf-ad__txt { background: #F4F1EC; color: #141414; }
.sf--immobilien .sf-ad__slide--3 { background: #F4F1EA; color: #223752; }
.sf--praxis { --w: #EEF1EE; --w2: #DCE2DD; --tr: #B9C4BC; --sg: #1F7A5A; --si: #FFF; --fr: #9AA8A0; --dr: #F7F9F7; --ac: #1F7A5A; --aci: #FFF; --iw: #F3F6F3; --iw2: #E1E8E2; --fl: #C9CFC7; --ct: #FFF; --ct2: #1F7A5A; }
.sf--kfz { --w: #33475C; --w2: #283A4C; --tr: #1F2E3D; --sg: #F2C230; --si: #1B2633; --fr: #1B2633; --dr: #8A98A6; --up: #4A5D72; --ac: #F2C230; --aci: #1B2633; --iw: #DDE3EA; --iw2: #CBD3DD; --fl: #8E969F; --ct: #33475C; --ct2: #F2C230; }
.sf--hotel { --w: #3E302A; --w2: #30241F; --tr: #271D19; --sg: #1B1411; --si: #D8B26A; --fr: #1B1411; --dr: #271D19; --up: #56463E; --ac: #D8B26A; --aci: #1B1411; --iw: #4A3A32; --iw2: #3D2F28; --fl: #6B4F3C; --ct: #271D19; --ct2: #D8B26A; }
/* Sign faces. */
.sf--cafe .sf-c-signt, .sf--restaurant .sf-c-signt, .sf--blumen .sf-c-signt, .sf--hotel .sf-c-signt { font-family: Georgia, "Times New Roman", serif; font-weight: 700; }
.sf--cafe .sf-c-signt, .sf--restaurant .sf-c-signt { font-style: italic; }
.sf--kosmetik .sf-c-signt { font-weight: 400; }
.sf--fitness .sf-c-signt { font-style: italic; }

/* Not every screen on the street changes slide at the same moment. */
.trade:nth-child(3n+2) .sf { --sf-o: 1.7s; }
.trade:nth-child(3n) .sf { --sf-o: 3.4s; }

/* Off screen (site.js), nothing moves. */
.sf--idle .sf-ad__slide, .sf--idle .sf__glare::after { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .sf-ad__slide, .sf__glare::after { animation: none; }
  .sf__view, .sf-views span { transition: none; }
}

/* ── Review 2026-09-27: start, trust, lighter form, mobile ─────────────── */

/* Pictures (AVIF first) fill the frames their image used to fill. */
.ph > picture, .disc > picture, .mini > picture { width: 100%; height: 100%; }

/* Under the hero's keys: what the first step costs, and who is behind it. */
.hero__note { margin-top: 14px; color: var(--board-ink-2); font-size: 14.5px; }

/* "So läuft der Start": four steps, two by two on a tablet. */
@media (min-width: 640px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.shot--how { max-width: 760px; margin: 40px auto 0; }
.steps--four .publish { flex-wrap: wrap; justify-content: center; row-gap: 6px; padding: 0 10px; }
.steps--four .publish__btn { white-space: nowrap; }
.more-link + .more-link { margin-top: 8px; }
.shot--how figcaption { padding: 12px 16px; border-top: 1px solid var(--line); color: var(--ink-2); font-size: 15px; }

/* Who is behind Vizora, next to the form. */
.trust { margin-top: 32px; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--card); }
.trust__head { font-size: 17px; }
.trust p { margin-top: 10px; color: var(--ink-2); }
.trust a { font-weight: 600; }
.trust__list { display: grid; gap: 8px; margin: 14px 0 0; padding: 0; list-style: none; color: var(--ink-2); font-size: 15.5px; }
.trust__list li { position: relative; padding-left: 24px; }
.trust__list li::before { content: ""; position: absolute; left: 3px; top: .45em; width: 10px; height: 6px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.trust__legal { font-size: 15px; }

/* The form asks for name and e-mail; everything else waits behind one line. */
.form__more { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--r-ctl); background: var(--card-2); }
.form__more-sum { padding: 14px 16px; font-weight: 600; font-size: 15px; cursor: pointer; }
.form__more-sum span { color: var(--ink-3); font-weight: 400; }
.form__more[open] .form__more-sum { border-bottom: 1px solid var(--line); }
.form__more-grid { display: grid; gap: 18px; padding: 16px; }
@media (min-width: 600px) { .form__more-grid { grid-template-columns: 1fr 1fr; } }

/* A phone has no key in the header: one stays at the foot of the screen.
   site.js hides it while another key of the page is in view. */
.mcta { display: none; }
@media (max-width: 559px) {
  .mcta { position: fixed; z-index: 20; inset: auto 0 0 0; display: block; padding: 10px var(--gutter) calc(10px + env(safe-area-inset-bottom)); background: rgba(15, 12, 10, .94); border-top: 1px solid var(--board-rim); transition: transform .2s ease; }
  .site-foot .mcta .btn { width: 100%; color: var(--key-ink); text-decoration: none; }
  .mcta-off .mcta { transform: translateY(110%); }
  .site-foot:has(.mcta) { padding-bottom: calc(112px + env(safe-area-inset-bottom)); }
}
@media (max-width: 559px) and (prefers-reduced-motion: reduce) { .mcta { transition: none; } }

/* On a phone the long lists get shorter: trades two by two, cards with the
   icon beside their heading. */
@media (max-width: 599px) {
  .trades { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 12px; }
  .trade { gap: 8px; }
  .trade h3 { font-size: 15.5px; line-height: 1.3; }
  .trade > div > p { font-size: 14px; line-height: 1.45; }
  .features:not(.features--plain) .feature { grid-template-columns: 40px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 18px; }
  .features:not(.features--plain) .feature__icon { width: 40px; height: 40px; }
  .features:not(.features--plain) .feature p { grid-column: 1 / -1; font-size: 15.5px; }
}
