/*
 * Flowkie landing page. Dark first, same tokens as the app's dark theme (apps/web/src/app/globals.css):
 * graphite neutrals, one blue accent used sparingly, rounded panels and pill buttons.
 * Mocks of the app are built in HTML and scale with their container (cqw), so they stay sharp.
 */

@font-face {
  font-family: "General Sans";
  src: url("fonts/GeneralSans-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

/* Oswald (SIL Open Font License, fonts/Oswald-OFL.txt): the demo shop's own typeface. */
@font-face {
  font-family: "Oswald";
  src: url("fonts/Oswald-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #090909;
  --panel: #101010;
  --card: #141414;
  --card-2: #1a1a1a;
  --accent: #212121;
  --line: #242424;
  --line-2: #363636;
  --fg: #f0f0f0;
  --muted: #a8a8a8;
  --subtle: #808080;
  --brand: #1d64f2;
  --brand-ink: #5b8cff;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 20px;
  --r-2xl: 26px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --sans: "General Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color-scheme: dark;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p,
ol,
ul {
  margin: 0;
}

ol,
ul {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

::selection {
  background: color-mix(in srgb, var(--brand-ink) 35%, transparent);
}

:focus-visible {
  outline: 2px solid var(--brand-ink);
  outline-offset: 3px;
  border-radius: 6px;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--fg);
  color: var(--bg);
  font-weight: 500;
}
.skip:focus {
  top: 12px;
}

/* ------------------------------------------------------------------------------------------ */
/* Buttons, eyebrows, links */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 500;
  white-space: nowrap;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    transform 0.15s var(--ease);
}
.btn:active {
  transform: scale(0.97);
}
.btn .icon {
  font-size: 16px;
  transition: transform 0.2s var(--ease);
}
.btn:hover .icon {
  transform: translateX(2px);
}
.btn-primary {
  background: #f5f5f5;
  color: #0a0a0a;
}
.btn-primary:hover {
  background: #fff;
}
.btn-secondary {
  background: var(--card-2);
  border-color: var(--line);
  color: var(--fg);
}
.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--line-2);
}
.btn-ghost {
  color: var(--muted);
}
.btn-ghost:hover {
  color: var(--fg);
  background: var(--card-2);
}
.btn-sm {
  height: 36px;
  padding: 0 16px;
  font-size: 14px;
}
.btn-block {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
}
.eyebrow i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-ink);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-ink) 18%, transparent);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--fg);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--fg) 25%, transparent);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.15s ease;
}
.link:hover {
  text-decoration-color: var(--fg);
}
.link .icon {
  font-size: 15px;
}

/* ------------------------------------------------------------------------------------------ */
/* Header */

.top {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid transparent;
  transition:
    background-color 0.25s ease,
    border-color 0.25s ease;
}
.top.scrolled,
.top.open {
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom-color: var(--line);
}
.top-in {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.top-nav {
  display: flex;
  gap: 2px;
  margin: 0 auto;
}
.top-nav a {
  padding: 7px 13px;
  border-radius: 999px;
  font-size: 14px;
  color: var(--muted);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.top-nav a:hover {
  color: var(--fg);
  background: var(--card-2);
}
.top-act {
  display: flex;
  align-items: center;
  gap: 6px;
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition:
    color 0.15s ease,
    background-color 0.15s ease;
}
.lang:hover {
  color: var(--fg);
  background: var(--card-2);
}
.lang .icon {
  font-size: 15px;
}
.menu-btn {
  display: none;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  cursor: pointer;
}
.menu-btn .icon {
  font-size: 18px;
}
.menu {
  display: grid;
  padding: 8px 16px 18px;
}
.menu[hidden] {
  display: none;
}
.menu a {
  padding: 13px 8px;
  font-size: 17px;
  border-bottom: 1px solid var(--line);
}
.menu a:last-child {
  border-bottom: 0;
}

/* ------------------------------------------------------------------------------------------ */
/* Hero */

.hero {
  position: relative;
  padding: 88px 0 40px;
}
.hero h1 span {
  display: block;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -68px 0 auto;
  height: 760px;
  pointer-events: none;
  background: radial-gradient(60% 55% at 50% 0%, rgba(255, 255, 255, 0.07), transparent 70%);
}
.hero-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.hero h1 {
  max-width: 24ch;
  font-size: clamp(2.6rem, 6.4vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}
.lead {
  max-width: 38rem;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.55;
  color: var(--muted);
  text-wrap: pretty;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}
.actions-left {
  justify-content: flex-start;
}
.note {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 13.5px;
  color: var(--subtle);
}
.note .icon {
  font-size: 14px;
}
.hero-shot {
  position: relative;
  margin-top: 64px;
  container: shot / inline-size;
}
.glow {
  position: absolute;
  inset: 8% 10% auto;
  height: 60%;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--brand) 22%, transparent), transparent);
  filter: blur(40px);
  opacity: 0.55;
  pointer-events: none;
}

.platforms {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  text-align: center;
}
.platforms > span {
  font-size: 14px;
  color: var(--subtle);
}
.platforms ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 48px;
}
.platforms li {
  display: flex;
  align-items: center;
}
/* The real logos, flattened to one light tone so the row stays calm. */
.platforms img {
  display: block;
  width: auto;
  height: var(--h, 24px);
  filter: brightness(0) invert(1);
  opacity: 0.5;
  transition: opacity 0.2s ease;
}
.platforms li:hover img {
  opacity: 0.85;
}

/* ------------------------------------------------------------------------------------------ */
/* Sections */

.sec {
  padding: 120px 0 0;
}
.sec-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}
.sec-head h2,
.feat-head h2,
.cta h2 {
  margin-top: 18px;
  font-size: clamp(2rem, 4.3vw, 3.25rem);
  font-weight: 500;
  line-height: 1.06;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.sec-head p,
.feat-head p {
  margin-top: 16px;
  font-size: 18px;
  color: var(--muted);
  text-wrap: pretty;
}

/* Feature blocks: left-aligned head, a stage, then a grid of facts. */
.feat-head {
  max-width: 640px;
  margin-bottom: 40px;
}
.stage {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--panel);
  overflow: hidden;
}

.facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 44px;
  margin-top: 44px;
}
.facts li {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.facts .icon,
.facts .glyph {
  font-size: 20px;
  color: var(--brand-ink);
}
.facts p {
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--muted);
}
.facts b {
  font-weight: 500;
  color: var(--fg);
}

.glyph {
  width: 1.2em;
  height: 1em;
  flex: none;
}
.glyph .g-frame {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.55;
}
.glyph .g-on {
  fill: currentColor;
}
.glyph .g-dim {
  fill: currentColor;
  opacity: 0.18;
}
.glyph .g-line {
  stroke: var(--bg);
  stroke-width: 1.2;
  stroke-linecap: round;
}

/* ------------------------------------------------------------------------------------------ */
/* Reveal on scroll (only with JS, and without motion when asked). */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.8s var(--ease) var(--d, 0ms),
    transform 0.8s var(--ease) var(--d, 0ms);
}
.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------------------------------ */
/* App UI primitives used in the mocks (the app's dark theme). */

.ui {
  font-family: var(--sans);
  color: var(--fg);
}
.u-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 2em;
  padding: 0 0.8em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 0.86em;
  font-weight: 500;
  white-space: nowrap;
}
.u-pill-sm {
  height: 1.7em;
  font-size: 0.75em;
}
.u-dot {
  width: 0.5em;
  height: 0.5em;
  border-radius: 50%;
  background: currentColor;
  flex: none;
}
.u-dot-o {
  background: transparent;
  box-shadow: inset 0 0 0 1.5px currentColor;
  opacity: 0.7;
}
.u-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  height: 2.5em;
  padding: 0 1.1em;
  border-radius: 999px;
  font-weight: 500;
  white-space: nowrap;
}
.u-btn .icon {
  font-size: 1.05em;
}
.u-btn-brand {
  background: var(--brand);
  color: #fff;
}
.u-btn-outline {
  border: 1px solid var(--line-2);
}
.u-btn em,
.b-ghost em,
.u-seg em {
  font-style: normal;
}
.u-seg {
  display: inline-flex;
  gap: 0.2em;
  padding: 0.25em;
  border-radius: 999px;
  background: var(--card);
  border: 1px solid var(--line);
}
.u-seg > span {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  height: 2.1em;
  padding: 0 0.85em;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.u-seg > span.on {
  background: var(--accent);
  color: var(--fg);
}
.u-select,
.u-input {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6em;
  height: 2.5em;
  padding: 0 0.85em;
  border: 1px solid var(--line-2);
  border-radius: 0.6em;
  background: var(--bg);
  white-space: nowrap;
}
.u-select .icon {
  color: var(--subtle);
}
.u-select-sm {
  height: 2.1em;
  font-size: 0.9em;
}
.u-input-num {
  justify-content: center;
  width: 3em;
  padding: 0;
  font-variant-numeric: tabular-nums;
}
.u-input-wide {
  justify-content: flex-start;
}
.u-input-wide .icon {
  color: var(--subtle);
}
.u-switch {
  position: relative;
  width: 2.3em;
  height: 1.35em;
  border-radius: 999px;
  background: var(--line-2);
  flex: none;
}
.u-switch i {
  position: absolute;
  top: 0.15em;
  left: 0.15em;
  width: 1.05em;
  height: 1.05em;
  border-radius: 50%;
  background: var(--fg);
}
.u-switch.on {
  background: var(--brand);
}
.u-switch.on i {
  left: auto;
  right: 0.15em;
  background: #fff;
}

.msg {
  display: flex;
  gap: 0.75em;
}
.msg p {
  padding-top: 0.15em;
  font-size: 1.05em;
  line-height: 1.55;
}
.msg .avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2em;
  height: 2em;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--panel);
  color: var(--fg);
}
.msg .avatar svg {
  width: 0.95em;
  height: 0.95em;
}
.msg-user {
  justify-content: flex-end;
}
.msg-user p {
  max-width: 86%;
  padding: 0.6em 1em;
  border-radius: 1.1em 1.1em 0.35em 1.1em;
  background: var(--fg);
  color: var(--bg);
}

/* ------------------------------------------------------------------------------------------ */
/* The builder mock (hero). Designed at 1120px wide, 1em = 14px there. */

.builder {
  position: relative;
  font-size: clamp(8px, 1.25cqw, 14px);
  border: 1px solid var(--line);
  border-radius: 1.3em;
  background: var(--panel);
  overflow: hidden;
  box-shadow: 0 50px 100px -50px rgba(0, 0, 0, 0.9);
  text-align: left;
}
.b-top {
  display: flex;
  align-items: center;
  gap: 1em;
  height: 4em;
  padding: 0 1.4em;
  border-bottom: 1px solid var(--line);
}
.b-back {
  display: flex;
  padding-right: 1em;
  border-right: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.15em;
}
.b-name {
  font-size: 1.15em;
  font-weight: 500;
}
.b-right {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-left: auto;
}
.b-saved {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  margin-left: 0.6em;
  color: var(--muted);
  font-size: 0.95em;
}
.b-saved .icon {
  font-size: 1.15em;
}
.b-saved.saving span {
  opacity: 0.6;
}
.b-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  height: 3.9em;
  padding: 0 1.1em 0 0.9em;
  border-bottom: 1px solid var(--line);
}
.b-steps ol {
  display: flex;
  align-items: center;
  min-width: 0;
}
.b-steps li {
  display: flex;
  align-items: center;
  gap: 0.55em;
  height: 2.5em;
  padding: 0 0.85em 0 0.35em;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
}
.b-steps li b {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75em;
  height: 1.75em;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 0.82em;
  font-weight: 500;
}
.b-steps li.on {
  background: var(--accent);
  color: var(--fg);
}
.b-steps li.on b {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.b-steps li.sep {
  width: 1.4em;
  height: 1px;
  padding: 0;
  margin: 0 0.15em;
  border-radius: 0;
  background: var(--line-2);
}
.b-body {
  display: grid;
  grid-template-columns: 34% 1fr;
  grid-template-rows: minmax(0, 1fr);
  height: 37em;
}
.b-chat {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  border-right: 1px solid var(--line);
}
.b-msgs {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.4em;
  min-height: 0;
  padding: 1.6em 1.4em 1em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 3em);
  mask-image: linear-gradient(to bottom, transparent, #000 3em);
}
.b-msgs .msg {
  flex: none;
}
.msg-enter {
  animation: msg-in 0.45s var(--ease) both;
}
@keyframes msg-in {
  from {
    opacity: 0;
    transform: translateY(0.6em);
  }
}
.msg-meta {
  display: flex;
  align-items: center;
  gap: 0.6em;
  margin-top: 0.6em;
  color: var(--muted);
  font-size: 0.85em;
}
.msg-meta .undo {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}
.thinking {
  display: flex;
  align-items: center;
  gap: 0.7em;
  padding-top: 0.35em;
  color: var(--muted);
  font-size: 0.95em;
}
.ping {
  position: relative;
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--fg);
  flex: none;
}
.ping::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--fg);
  animation: ping 1.6s var(--ease) infinite;
}
@keyframes ping {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }
  80%,
  100% {
    transform: scale(2.4);
    opacity: 0;
  }
}
.b-chips {
  display: flex;
  gap: 0.45em;
  padding: 0 1.2em 0.7em;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, #000 80%, transparent);
  mask-image: linear-gradient(to right, #000 80%, transparent);
}
.chip {
  flex: none;
  height: 2.2em;
  padding: 0 0.95em;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.88em;
  font-weight: 500;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s var(--ease);
}
.chip.press {
  background: var(--accent);
  border-color: #4a4a4a;
  color: var(--fg);
  transform: scale(0.96);
}
.b-composer {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0 1.2em 1.2em;
  padding: 0.45em 0.45em 0.45em 0.8em;
  border: 1px solid var(--line-2);
  border-radius: 1.1em;
  background: var(--bg);
}
.b-attach {
  display: flex;
  color: var(--subtle);
  font-size: 1.1em;
}
.b-input {
  position: relative;
  flex: 1;
  min-width: 0;
  min-height: 1.55em;
  font-size: 1.02em;
  line-height: 1.5;
}
.b-input .ph {
  position: absolute;
  inset: 0;
  color: var(--subtle);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.b-input.typing .ph {
  display: none;
}
.caret {
  display: none;
  width: 1px;
  height: 1.15em;
  margin-left: 1px;
  vertical-align: -0.2em;
  background: var(--fg);
  animation: blink 1s steps(1) infinite;
}
.b-input.typing .caret {
  display: inline-block;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
.b-send {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5em;
  height: 2.5em;
  flex: none;
  border-radius: 50%;
  background: color-mix(in srgb, var(--brand) 40%, var(--bg));
  color: rgba(255, 255, 255, 0.6);
  font-size: 1em;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s var(--ease);
}
.b-send.ready {
  background: var(--brand);
  color: #fff;
}
.b-send.press {
  transform: scale(0.9);
}
.b-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 0;
}
.b-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  height: 4.2em;
  padding: 0 1.2em;
  border-bottom: 1px solid var(--line);
  font-size: 0.95em;
}
.b-tools .icon {
  font-size: 1.1em;
}
.b-tools-r {
  display: flex;
  align-items: center;
  gap: 1em;
}
.b-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  color: var(--muted);
}
.b-canvas {
  position: relative;
  flex: 1;
  container-type: inline-size;
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 13%, transparent) 1px, transparent 1px);
  background-size: 1.6em 1.6em;
}
.b-canvas .site {
  position: absolute;
  inset: 1.8em 1.8em 1.8em;
  border-radius: 0.7em;
  font-size: 1.45cqw;
}
.b-replay {
  position: absolute;
  top: 1em;
  right: 1em;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  height: 2.6em;
  padding: 0 1em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: color-mix(in srgb, var(--card) 90%, transparent);
  backdrop-filter: blur(8px);
  color: var(--fg);
  font-size: 0.95em;
  font-weight: 500;
  cursor: pointer;
  animation: msg-in 0.4s var(--ease) both;
}
.b-replay[hidden] {
  display: none;
}
.b-replay:hover {
  background: var(--accent);
}

/* Narrow screens: stack chat above the preview and fix the size so text stays readable. */
@container shot (max-width: 760px) {
  .builder {
    font-size: 11.5px;
    border-radius: 16px;
  }
  .b-top {
    height: 3.6em;
  }
  .b-right .u-pill:first-child,
  .b-saved span {
    display: none;
  }
  .b-steps li:not(.on):not(.sep),
  .b-steps li.sep {
    display: none;
  }
  .b-steps li.on span::after {
    content: " · 1/6";
    color: var(--subtle);
  }
  .b-body {
    grid-template-columns: 1fr;
    grid-template-rows: 22em 25em;
    height: auto;
  }
  .b-chat {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .b-tools {
    display: none;
  }
  .b-canvas .site {
    inset: 1.2em;
    font-size: 2.6cqw;
  }
  .b-canvas .s-nav,
  .b-canvas .s-grid {
    display: none;
  }
  .b-canvas .s-hero {
    grid-template-columns: 1fr;
  }
  .b-canvas .s-art {
    min-height: 7em;
  }
  .b-canvas .tst {
    width: 60%;
  }
}

/* ------------------------------------------------------------------------------------------ */
/* Fictional customer sites. Everything in em, so a site scales with its container. */

.site {
  --s-r: 0.4em;
  --s-btn-r: 0.35em;
  --s-head: var(--s-font);
  --s-upper: none;
  position: relative;
  overflow: hidden;
  background: var(--s-bg);
  color: var(--s-fg);
  font-family: var(--s-font);
  line-height: 1.35;
  text-align: left;
}
/* Kickoff, a retro football shirt shop. Photos generated with Fal.ai (Nano Banana Pro). */
.site[data-brand="kickoff"] {
  --s-bg: #f4eee3;
  --s-fg: #15213a;
  --s-muted: #5f6474;
  --s-pri: #c8372d;
  --s-pri-fg: #fff;
  --s-surf: #e9e0cf;
  --s-card: #fffaf1;
  --s-line: #e0d5c1;
  --s-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --s-head: "Oswald", "Arial Narrow", sans-serif;
  --s-upper: uppercase;
  --s-h-weight: 600;
  --s-h-track: 0.005em;
  --s-r: 0.25em;
  --s-btn-r: 0.2em;
  --art: url("img/kickoff-hero.webp") 66% 46% / cover no-repeat #efe7d8;
  --img-1: url("img/kickoff-orange-88.webp") center / cover no-repeat #efe8da;
  --img-2: url("img/kickoff-red-white-79.webp") center / cover no-repeat #efe8da;
  --img-3: url("img/kickoff-midnight-92.webp") center / cover no-repeat #efe8da;
}
.site[data-brand="kickoff"] .obj {
  display: none;
}
.site[data-brand="kickoff"] .tst-img {
  background: url("img/kickoff-hero.webp") 74% 52% / 190% auto no-repeat #efe7d8;
}
.site[data-brand="kickoff"] .s-inline-art {
  background: var(--img-1);
}

/*
 * The shop is context, not the subject. Its page is dimmed and softened; whatever Flowkie adds
 * (toaster, lightbox, bar, inline block) stays sharp and at full brightness on top of it.
 */
.site:not(.visit-site) {
  --dim: blur(0.13em) brightness(0.5) saturate(0.8);
  background: color-mix(in srgb, var(--s-bg) 50%, #000);
}
.site:not(.visit-site) > .s-head,
.site:not(.visit-site) > .s-hero,
.site:not(.visit-site) > .s-grid {
  filter: var(--dim);
}
.site[data-brand="nordhem"] {
  --s-bg: #ffffff;
  --s-fg: #151515;
  --s-muted: #6b6b6b;
  --s-pri: #151515;
  --s-pri-fg: #fff;
  --s-surf: #f1f0ed;
  --s-card: #ffffff;
  --s-line: #e6e4df;
  --s-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --s-h-weight: 500;
  --s-h-track: -0.035em;
  --s-r: 0;
  --s-btn-r: 0;
  --art: linear-gradient(180deg, #efede9, #dcd8d0);
  --obj: #151515;
  --obj-2: #c9a77c;
  --img-1: #ecebe8;
  --img-2: #e2dbd0;
  --img-3: #d9d9d6;
}
.site[data-brand="fris"] {
  --s-bg: #eef5ef;
  --s-fg: #1d3b2a;
  --s-muted: #5d7566;
  --s-pri: #2f7d55;
  --s-pri-fg: #fff;
  --s-surf: #dcebdf;
  --s-card: #ffffff;
  --s-line: #d3e3d6;
  --s-font: Nunito, "Avenir Next", Avenir, ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --s-h-weight: 700;
  --s-h-track: -0.015em;
  --s-r: 1.1em;
  --s-btn-r: 999px;
  --art: radial-gradient(60% 70% at 70% 30%, #e9f6ec, transparent 60%), linear-gradient(160deg, #bfe0c8, #8cc2a3);
  --obj: #ffffff;
  --obj-2: #f6d8c4;
  --img-1: #d8ecdc;
  --img-2: #f3e1d6;
  --img-3: #dfe7f1;
}
.s-head {
  display: flex;
  align-items: center;
  gap: 2em;
  padding: 1.1em 1.8em;
  border-bottom: 1px solid var(--s-line);
}
.s-logo {
  font-size: 1.35em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.s-logo,
.s-h1,
.tst-title,
.s-btn,
.tst-btn,
.cd-cell b,
.choice {
  font-family: var(--s-head);
  text-transform: var(--s-upper);
}
.site[data-brand="kickoff"] .s-logo {
  font-weight: 700;
  font-size: 1.45em;
  letter-spacing: 0.04em;
}
.site[data-brand="kickoff"] .s-logo::after {
  content: "";
  display: inline-block;
  width: 0.32em;
  height: 0.32em;
  margin-left: 0.12em;
  border-radius: 50%;
  background: var(--s-pri);
}
.site[data-brand="kickoff"] .s-h1 {
  font-size: 2.6em;
  line-height: 0.98;
}
.site[data-brand="kickoff"] .tst-title {
  font-size: 1.3em;
  line-height: 1.05;
}
.site[data-brand="kickoff"] .s-btn,
.site[data-brand="kickoff"] .tst-btn,
.site[data-brand="kickoff"] .choice {
  letter-spacing: 0.04em;
  font-weight: 500;
}
.site[data-brand="kickoff"] .s-name {
  font-weight: 700;
}
.site[data-brand="nordhem"] .s-logo {
  font-weight: 500;
  letter-spacing: 0.08em;
  font-size: 1.1em;
}
.s-nav {
  display: flex;
  gap: 1.6em;
  font-size: 0.85em;
  color: var(--s-muted);
}
.s-cart {
  display: flex;
  margin-left: auto;
  font-size: 1.1em;
}
.s-cart .icon {
  stroke-width: 1.5;
}
.s-hero {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 2em;
  padding: 1.8em;
  align-items: center;
}
.s-hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75em;
}
.s-h1 {
  font-size: 2.3em;
  line-height: 1.04;
  font-weight: var(--s-h-weight);
  letter-spacing: var(--s-h-track);
}
.s-p {
  max-width: 22em;
  font-size: 0.92em;
  color: var(--s-muted);
}
.s-btn,
.tst-btn {
  display: inline-flex;
  align-items: center;
  margin-top: 0.4em;
  padding: 0.7em 1.15em;
  border-radius: var(--s-btn-r);
  background: var(--s-pri);
  color: var(--s-pri-fg);
  font-size: 0.82em;
  font-weight: 600;
  white-space: nowrap;
}
.s-art {
  position: relative;
  min-height: 12.5em;
  border-radius: var(--s-r);
  background: var(--art);
  overflow: hidden;
}
.obj {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 26%;
  height: 62%;
  translate: -50% 0;
  border-radius: 0.35em 0.35em 0.5em 0.5em;
  background: var(--obj);
  box-shadow: 0 1em 1.6em -0.6em rgba(0, 0, 0, 0.35);
}
.obj::after {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  top: 38%;
  height: 22%;
  border-radius: 0.15em;
  background: color-mix(in srgb, var(--s-bg) 80%, transparent);
}
.obj-2 {
  left: 72%;
  width: 20%;
  height: 48%;
  rotate: 8deg;
  background: var(--obj-2);
}
.site[data-brand="nordhem"] .obj {
  width: 16%;
  height: 72%;
  bottom: 0;
  border-radius: 50% 50% 0 0;
}
.site[data-brand="nordhem"] .obj::after {
  display: none;
}
.site[data-brand="nordhem"] .obj-2 {
  left: 74%;
  bottom: 20%;
  width: 18%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 50%;
  rotate: 0deg;
}
.site[data-brand="fris"] .obj {
  width: 15%;
  height: 58%;
  border-radius: 1em 1em 0.8em 0.8em;
}
.site[data-brand="fris"] .obj::before {
  content: "";
  position: absolute;
  left: 30%;
  right: 30%;
  top: -14%;
  height: 16%;
  border-radius: 0.3em 0.3em 0 0;
  background: var(--s-pri);
}
.site[data-brand="fris"] .obj-2 {
  width: 18%;
  height: 32%;
  border-radius: 0.8em;
  rotate: 0deg;
}
.s-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2em;
  padding: 0 1.8em 1.8em;
}
.s-card {
  display: flex;
  flex-direction: column;
  gap: 0.3em;
}
.s-img {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 0.4em;
  border-radius: var(--s-r);
  overflow: hidden;
}
.s-img-1 {
  background: var(--img-1);
}
.s-img-2 {
  background: var(--img-2);
}
.s-img-3 {
  background: var(--img-3);
}
.s-img .obj {
  width: 24%;
  height: 58%;
  bottom: 16%;
  box-shadow: 0 0.6em 1em -0.5em rgba(0, 0, 0, 0.3);
}
.s-name {
  font-size: 0.86em;
  font-weight: 600;
}
.s-price {
  font-size: 0.8em;
  color: var(--s-muted);
}

/* Messages on the customer site. */
.ly {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.tst {
  position: absolute;
  right: 1.4em;
  bottom: 1.4em;
  width: 17.5em;
  overflow: hidden;
  border-radius: var(--s-r);
  background: var(--s-card);
  color: var(--s-fg);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--s-fg) 6%, transparent),
    0 1.2em 2.6em -0.6em rgba(30, 20, 10, 0.35);
}
.tst-img {
  position: relative;
  height: 5.6em;
  background: var(--art);
}
.tst-badge {
  position: absolute;
  left: 0.9em;
  bottom: 0.75em;
  padding: 0.25em 0.6em;
  border-radius: var(--s-btn-r);
  background: var(--s-card);
  color: var(--s-fg);
  font-size: 0.75em;
  font-weight: 700;
}
.tst-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.35em;
  padding: 1em 1.1em 1.15em;
}
.tst-title {
  font-size: 1.12em;
  font-weight: var(--s-h-weight);
  line-height: 1.2;
  letter-spacing: var(--s-h-track);
}
.tst-text {
  font-size: 0.8em;
  color: var(--s-muted);
}
.tst-btn-2 {
  background: transparent;
  color: var(--s-fg);
  box-shadow: inset 0 0 0 1px var(--s-line);
}
.tst-x {
  position: absolute;
  top: 0.6em;
  right: 0.6em;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
  background: color-mix(in srgb, var(--s-card) 88%, transparent);
  color: var(--s-fg);
  font-size: 0.85em;
}
.tst-kicker {
  font-size: 0.72em;
  color: var(--s-muted);
}
.cd {
  display: flex;
  gap: 0.35em;
  margin-top: 0.45em;
}
.cd-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.9em;
  padding: 0.35em 0.3em 0.3em;
  border-radius: var(--s-r);
  background: var(--s-surf);
}
.cd-cell b {
  font-size: 1.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.cd-cell small {
  font-size: 0.58em;
  color: var(--s-muted);
}

/* The toaster in the hero demo appears when the builder says so. */
[data-demo-toaster] .tst {
  opacity: 0;
  transform: translateY(1.2em) scale(0.98);
  transition:
    opacity 0.5s var(--ease),
    transform 0.6s var(--ease);
}
[data-demo-toaster].show .tst {
  opacity: 1;
  transform: none;
}
[data-demo-toaster] .cd {
  display: grid;
  grid-template-columns: repeat(4, auto);
  max-height: 0;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 0.5s var(--ease),
    opacity 0.4s ease 0.1s,
    margin-top 0.5s var(--ease);
}
[data-demo-toaster].cd-on .cd {
  max-height: 4em;
  margin-top: 0.45em;
  opacity: 1;
}
.no-js [data-demo-toaster] .tst {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------------------------------ */
/* Tabs (segmented, with a gliding highlight set by main.js). */

.tabs {
  position: relative;
  display: inline-flex;
  gap: 2px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
}
.tab {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.2s ease;
}
.tab:hover {
  color: var(--fg);
}
.tab[aria-selected="true"] {
  color: var(--fg);
}
.tab .glyph {
  font-size: 15px;
}
.tabs-glide {
  position: absolute;
  z-index: 0;
  top: 4px;
  left: 0;
  height: 36px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition:
    transform 0.45s var(--ease),
    width 0.45s var(--ease),
    height 0.45s var(--ease);
}
.no-js .tab[aria-selected="true"] {
  background: var(--accent);
}

/* Browser frame around a customer site. */
.frame {
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.frame-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 40px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
}
.frame-dots {
  display: flex;
  gap: 6px;
}
.frame-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--line-2);
}
.frame-url {
  flex: 0 1 260px;
  margin: 0 auto;
  translate: -28px 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--panel);
  color: var(--muted);
  font-size: 12.5px;
  text-align: center;
}
.frame .site {
  font-size: 1.5cqw;
}

/* Types demo */
.types-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 28px;
}
.types-stage .tabs {
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}
.types-stage .frame {
  width: 100%;
}
.types-site {
  aspect-ratio: 16 / 9.6;
}
.types-site .ly {
  opacity: 0;
  transition: opacity 0.35s ease;
}
.types-site .ly .tst,
.types-site .ly .modal {
  transform: translateY(1em);
  transition: transform 0.55s var(--ease);
}
.types-site[data-show="toaster"] .ly-toaster,
.types-site[data-show="choices"] .ly-choices,
.types-site[data-show="lightbox"] .ly-lightbox,
.types-site[data-show="countdown"] .ly-countdown {
  opacity: 1;
}
.types-site[data-show="toaster"] .ly-toaster .tst,
.types-site[data-show="choices"] .ly-choices .tst,
.types-site[data-show="lightbox"] .ly-lightbox .modal,
.types-site[data-show="countdown"] .ly-countdown .modal {
  transform: none;
}
.ly-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
}
.modal {
  position: relative;
  width: 21em;
  overflow: hidden;
  border-radius: calc(var(--s-r) * 1.4);
  background: var(--s-card);
  box-shadow: 0 2em 4em -1em rgba(0, 0, 0, 0.45);
}
.modal-img {
  height: 8em;
}
.modal .tst-body {
  padding: 1.3em 1.4em 1.4em;
}
.modal .tst-title {
  font-size: 1.4em;
}
.modal-btns {
  display: flex;
  gap: 0.5em;
}
.modal-cd {
  width: 23em;
  text-align: center;
}
.modal-cd .tst-body {
  align-items: center;
  padding: 2em 1.6em 1.8em;
}
.modal-cd .cd {
  margin: 0.6em 0 0.5em;
  gap: 0.5em;
}
.modal-cd .cd-cell {
  min-width: 3.8em;
  padding: 0.5em 0.4em 0.4em;
}
.modal-cd .cd-cell b {
  font-size: 1.6em;
  color: var(--s-pri);
}
.tst-choices {
  width: 16em;
}
.choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 0.35em;
  padding: 0.6em 0.75em;
  border: 1px solid var(--s-line);
  border-radius: var(--s-r);
  font-size: 0.8em;
  font-weight: 600;
}
.tst-choices .tst-title {
  margin-bottom: 0.3em;
}
.s-bar-wrap,
.s-inline-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.s-bar,
.s-inline {
  min-height: 0;
  overflow: hidden;
}
.types-site[data-show="bar"] .s-bar-wrap,
.types-site[data-show="inline"] .s-inline-wrap {
  grid-template-rows: 1fr;
}
.s-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
  background: var(--s-pri);
  color: var(--s-pri-fg);
  font-size: 0.85em;
}
.s-bar > span {
  padding: 0.75em 0;
}
.s-bar {
  position: relative;
}
.s-bar .icon {
  position: absolute;
  top: 50%;
  right: 1.2em;
  translate: 0 -50%;
}
.s-inline {
  position: relative;
  padding: 0 1.8em;
}
.s-inline-box {
  display: flex;
  align-items: center;
  gap: 1.2em;
  margin: 1.1em 0 1.6em;
  padding: 1em;
  border-radius: var(--s-r);
  background: var(--s-surf);
  outline: 0.12em dashed #5b8cff;
  outline-offset: 0.35em;
}
.s-inline-art {
  position: relative;
  width: 5.5em;
  height: 4em;
  flex: none;
  border-radius: calc(var(--s-r) * 0.8);
  background: var(--art);
  overflow: hidden;
}
.s-inline-art .obj {
  width: 30%;
  height: 64%;
}
.s-inline-text {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.2em;
}
.s-inline-box .tst-btn {
  margin: 0;
}
.spot-label {
  position: absolute;
  top: 0.2em;
  right: 2.6em;
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.75em;
  border-radius: 999px;
  background: #1d64f2;
  color: #fff;
  font-family: var(--sans);
  font-size: 0.72em;
  font-weight: 500;
  white-space: nowrap;
}

/* Brand demo */
.brand-stage {
  display: grid;
  grid-template-columns: 290px 1fr;
  gap: 28px;
  padding: 28px;
}
.brand-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.tabs-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 4px;
  border-radius: var(--r-lg);
}
.tabs-col .tabs-glide {
  border-radius: var(--r-md);
}
.tab-brand {
  justify-content: flex-start;
  gap: 12px;
  height: 54px;
  padding: 0 10px;
  border-radius: var(--r-md);
  text-align: left;
}
.tab-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}
.tab-brand-text span {
  color: var(--fg);
}
.tab-brand-text small {
  font-size: 12.5px;
  font-weight: 400;
  color: var(--subtle);
}
.tab-brand[aria-selected="false"] .tab-brand-text span {
  color: var(--muted);
}
.avatar-site {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
}
.avatar-site[data-brand="kickoff"] {
  background: #c8372d;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
}
.avatar-site[data-brand="nordhem"] {
  background: #f0f0f0;
  color: #151515;
}
.avatar-site[data-brand="fris"] {
  background: #2f7d55;
  color: #fff;
}
.tokens {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  font-size: 14px;
}
.tokens-title {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
}
.tokens-set {
  display: none;
}
.tokens-set.on {
  display: block;
  animation: fade 0.4s ease both;
}
.no-js .tokens-set:first-of-type {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
.tok {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}
.tok span {
  color: var(--muted);
}
.tok b {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-family: var(--mono);
  font-size: 13px;
}
.tok b.tok-font {
  font-family: var(--sans);
  font-size: 14px;
}
.tok-font[data-brand="kickoff"] {
  font-family: "Oswald", sans-serif !important;
}
.tok-font[data-brand="nordhem"] {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif !important;
}
.tok-font[data-brand="fris"] {
  font-family: Nunito, "Avenir Next", Avenir, ui-rounded, system-ui, sans-serif !important;
}
.tok-btn {
  padding: 5px 10px;
  background: var(--c);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.tok-btn[data-brand="kickoff"] {
  border-radius: 3px;
  font-family: "Oswald", sans-serif;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.tok-btn[data-brand="nordhem"] {
  border-radius: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: 500;
}
.tok-btn[data-brand="fris"] {
  border-radius: 999px;
  font-family: Nunito, "Avenir Next", Avenir, ui-rounded, system-ui, sans-serif;
}
.sw {
  width: 16px;
  height: 16px;
  border-radius: 5px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14);
}
.brand-main {
  min-width: 0;
}
.brand-sites {
  position: relative;
  aspect-ratio: 16 / 10.4;
}
.brand-sites .site {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
}
.brand-sites .site.on {
  opacity: 1;
}
.no-js .brand-sites .site:first-child {
  opacity: 1;
}
.brand-sites .tst {
  transform: translateY(1em);
  opacity: 0;
  transition:
    transform 0.6s var(--ease) 0.15s,
    opacity 0.4s ease 0.15s;
}
.brand-sites .site.on .tst,
.no-js .brand-sites .site:first-child .tst {
  transform: none;
  opacity: 1;
}
.frame-url [data-pane] {
  display: none;
}
.frame-url [data-pane].on,
.no-js .frame-url [data-pane]:first-child {
  display: inline;
}
.caption {
  margin-top: 14px;
  font-size: 14px;
  color: var(--subtle);
  text-align: center;
}

/* Targeting */
.tg-stage {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
}
.tg {
  padding: 26px 28px 30px;
  border-right: 1px solid var(--line);
  font-size: 14px;
}
.tg-head {
  margin-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
}
.tg-row {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.tg-row:nth-child(2) {
  border-top: 0;
}
.tg-label {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  padding-top: 0.55em;
  color: var(--muted);
}
.tg-label .icon {
  margin-top: 0.2em;
  color: var(--subtle);
}
.tg-ctl {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tg-ctl-stack {
  flex-direction: column;
  align-items: flex-start;
}
.tg-rule {
  display: inline-flex;
  gap: 8px;
}
.tg-inline {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}
.tg-sub {
  min-width: 11.5em;
}
.tg-days {
  display: flex;
  gap: 5px;
}
.tg-days span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6em;
  height: 2.3em;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9em;
}
.tg-days span.on {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
  font-weight: 500;
}
.visit {
  padding: 26px 28px 30px;
  background: color-mix(in srgb, var(--bg) 55%, var(--panel));
}
.visit-title {
  display: block;
  margin-bottom: 18px;
  font-size: 16px;
  font-weight: 500;
}
.visit ol {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.visit-step {
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  row-gap: 8px;
}
.visit-n {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}
.visit-hit .visit-n {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}
.visit-page {
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
}
.visit-url {
  display: block;
  padding: 6px 12px;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.visit-site {
  display: flex;
  flex-direction: column;
  gap: 0.6em;
  height: 6.6em;
  padding: 1em 1.2em;
  font-size: 3cqw;
}
.vs-line {
  width: 55%;
  height: 0.7em;
  border-radius: 0.3em;
  background: color-mix(in srgb, var(--s-fg) 18%, transparent);
}
.vs-short {
  width: 35%;
  background: color-mix(in srgb, var(--s-fg) 10%, transparent);
}
.vs-block {
  flex: 1;
  width: 55%;
  border-radius: 0.4em;
  background: var(--s-surf);
}
.vs-toast {
  position: absolute;
  right: 1em;
  bottom: 0.9em;
  display: flex;
  flex-direction: column;
  gap: 0.35em;
  width: 32%;
  padding: 0.6em;
  border-radius: 0.4em;
  background: var(--s-card);
  box-shadow: 0 0.5em 1.4em -0.4em rgba(40, 20, 10, 0.4);
}
.vs-toast b {
  height: 1.6em;
  border-radius: 0.25em;
  background: var(--art);
}
.vs-toast i {
  height: 0.5em;
  width: 80%;
  border-radius: 0.2em;
  background: color-mix(in srgb, var(--s-fg) 22%, transparent);
}
.vs-toast em {
  height: 0.9em;
  width: 50%;
  border-radius: 0.2em;
  background: var(--s-pri);
}
.visit-step p {
  grid-column: 2;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--muted);
}
.visit-step p .icon {
  font-size: 14px;
  color: var(--subtle);
}
.visit-hit p {
  color: var(--fg);
}
.visit-hit p .icon {
  color: var(--brand-ink);
}

/* Analytics */
.an-stage {
  padding: 28px;
}
.an {
  font-size: 14px;
}
.an-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 20px;
}
.an-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.an-title .u-pill {
  font-size: 12px;
}
.an-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.an-stats div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-left: 1px solid var(--line);
}
.an-stats div:first-child {
  border-left: 0;
}
.an-stats span {
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.an-stats b {
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.an-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.an-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
}
.an-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-weight: 500;
}
.an-svg {
  display: block;
  width: 100%;
  height: 170px;
  overflow: visible;
}
.an-gl {
  stroke: var(--line);
  stroke-dasharray: 3 5;
  vector-effect: non-scaling-stroke;
}
.an-line {
  fill: none;
  stroke: var(--brand-ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
  stroke-dasharray: 1;
  stroke-dashoffset: 0;
}
.js .an-line {
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.6s var(--ease) 0.2s;
}
.js .in .an-line {
  stroke-dashoffset: 0;
}
.an-days {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  color: var(--subtle);
  font-size: 12px;
}
.an-vars table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
.an-vars th {
  padding: 0 0 10px;
  color: var(--muted);
  font-size: 12.5px;
  font-weight: 500;
  text-align: right;
}
.an-vars td {
  padding: 11px 0;
  border-top: 1px solid var(--line);
  text-align: right;
  white-space: nowrap;
}
.an-vars th:first-child,
.an-vars td:first-child {
  text-align: left;
}
.var-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 2px;
  vertical-align: 1px;
}
.var-a {
  background: var(--muted);
}
.var-b {
  background: var(--brand-ink);
}
.an-split {
  display: flex;
  gap: 3px;
  height: 6px;
  margin-top: 12px;
}
.an-split i {
  border-radius: 999px;
  background: var(--muted);
}
.an-split i + i {
  background: var(--brand-ink);
}
.an-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--subtle);
}

/* ------------------------------------------------------------------------------------------ */
/* How it works */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.step {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--panel);
}
.step-vis {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 290px;
  padding: 20px;
  border-bottom: 1px solid var(--line);
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 10%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
}
.step-text {
  padding: 24px 24px 28px;
}
.step-n {
  font-size: 13px;
  font-weight: 500;
  color: var(--subtle);
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin-top: 10px;
  font-size: 21px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.step-text p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.sv {
  width: 100%;
  max-width: 290px;
  font-size: 13px;
}
.sv-brand {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  box-shadow: 0 20px 40px -20px rgba(0, 0, 0, 0.7);
}
.sv-url {
  display: flex;
  align-items: center;
  height: 34px;
  padding: 0 10px;
  border: 1px solid var(--line-2);
  border-radius: 9px;
  background: var(--bg);
}
.sv-proto {
  color: var(--subtle);
}
.sv-ok {
  display: flex;
  margin-left: auto;
  color: var(--brand-ink);
}
.sv-found {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0 10px;
  font-weight: 500;
}
.sv-found .u-dot {
  color: var(--brand-ink);
}
.sv-swatches {
  display: flex;
  gap: 6px;
}
.sv-swatches i {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--c);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.js .in .sv-swatches i {
  animation: pop 0.5s var(--ease) both;
}
.js .in .sv-swatches i:nth-child(2) {
  animation-delay: 0.08s;
}
.js .in .sv-swatches i:nth-child(3) {
  animation-delay: 0.16s;
}
.js .in .sv-swatches i:nth-child(4) {
  animation-delay: 0.24s;
}
.js .in .sv-swatches i:nth-child(5) {
  animation-delay: 0.32s;
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}
.sv-rows {
  margin-top: 10px;
}
.sv-rows div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 32px;
  border-top: 1px solid var(--line);
}
.sv-rows span {
  color: var(--muted);
}
.sv-rows b {
  font-weight: 500;
}
.font-shop {
  font-family: "Oswald", sans-serif;
  font-weight: 500;
}
.sv-btn {
  display: inline-block;
  padding: 4px 9px;
  border-radius: 3px;
  background: #c8372d;
  color: #fff;
  font-family: "Oswald", sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sv-chat {
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 12.5px;
}
.sv-chat .msg-ai > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.sv-chat .msg-ai p {
  font-size: 1em;
}
.sv-live {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 300px;
}
.sv-code {
  margin: 0;
  padding: 12px 14px;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  font-family: var(--mono);
  font-size: 11px;
  line-height: 1.6;
  white-space: pre;
}
.tk-p {
  color: var(--subtle);
}
.tk-t {
  color: #9db8ff;
}
.tk-a {
  color: var(--muted);
}
.tk-s {
  color: #e7c38f;
}
.sv-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12.5px;
}
.sv-check .icon {
  color: var(--brand-ink);
}
.sv-go {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}
.sv-livepill {
  font-size: 12px;
}

/* ------------------------------------------------------------------------------------------ */
/* Statement */

.statement {
  padding: 140px 0 20px;
}
.statement p {
  max-width: 900px;
  margin: 0 auto;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-align: center;
  text-wrap: balance;
  color: color-mix(in srgb, var(--fg) 40%, transparent);
}
.statement p span {
  color: var(--fg);
}

/* ------------------------------------------------------------------------------------------ */
/* Cards (privacy), plans, FAQ, CTA */

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.card {
  padding: 26px 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--panel);
}
.card-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: var(--card-2);
  font-size: 18px;
}
.card h3 {
  margin-top: 22px;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.card p {
  margin-top: 8px;
  font-size: 15px;
  color: var(--muted);
}
.more {
  margin-top: 28px;
  text-align: center;
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.plan {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-xl);
  background: var(--panel);
}
.plan-featured {
  border-color: var(--line-2);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%),
    var(--card);
}
.plan-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 30px;
}
.plan-head h3 {
  font-size: 19px;
  font-weight: 500;
}
.plan-head .u-pill {
  font-size: 12.5px;
}
.plan-for {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--muted);
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 26px;
}
.plan-price b {
  font-size: 46px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
}
.plan-price span {
  color: var(--muted);
}
.plan-vat {
  margin-top: 6px;
  font-size: 13px;
  color: var(--subtle);
}
.plan ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 11px;
  margin: 26px 0 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.plan li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
}
.plan li .icon {
  margin-top: 4px;
  font-size: 15px;
  color: var(--muted);
}
.plan-featured li .icon {
  color: var(--brand-ink);
}
.overage {
  max-width: 640px;
  margin: 28px auto 0;
  font-size: 14.5px;
  color: var(--subtle);
  text-align: center;
  text-wrap: pretty;
}

.faq {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: 780px;
  margin: 0 auto;
}
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--panel);
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
  interpolate-size: allow-keywords;
}
.faq details[open] {
  border-color: var(--line-2);
  background: var(--card);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 22px;
  font-size: 16.5px;
  font-weight: 500;
  list-style: none;
  cursor: pointer;
  border-radius: var(--r-lg);
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq-ico {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex: none;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  font-size: 15px;
  transition: transform 0.3s var(--ease);
}
.faq details[open] .faq-ico {
  transform: rotate(45deg);
}
.faq details::details-content {
  height: 0;
  overflow: clip;
  transition:
    height 0.35s var(--ease),
    content-visibility 0.35s allow-discrete;
}
.faq details[open]::details-content {
  height: auto;
}
.faq-a p {
  padding: 0 22px 22px;
  max-width: 66ch;
  font-size: 15.5px;
  color: var(--muted);
}

.sec-cta {
  padding-bottom: 120px;
}
.cta {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-2xl);
  background: var(--panel);
}
.cta-copy {
  padding: 56px 52px;
}
.cta h2 {
  max-width: 14ch;
}
.cta-copy p {
  max-width: 30rem;
  margin-top: 16px;
  font-size: 17px;
  color: var(--muted);
}
.cta-copy .actions {
  margin-top: 30px;
}
.cta-vis {
  position: relative;
  container-type: inline-size;
  border-left: 1px solid var(--line);
  background-color: var(--bg);
  background-image: radial-gradient(color-mix(in srgb, var(--fg) 10%, transparent) 1px, transparent 1px);
  background-size: 18px 18px;
  overflow: hidden;
}
.cta-site {
  position: absolute;
  top: 40px;
  left: 40px;
  width: 150%;
  height: calc(100% - 40px);
  border-radius: 14px 0 0 0;
  font-size: 2.3cqw;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
}
.cta-site .tst {
  right: auto;
  left: 18em;
  bottom: 1.8em;
}

/* ------------------------------------------------------------------------------------------ */
/* Footer */

.foot {
  border-top: 1px solid var(--line);
  background: var(--panel);
}
.foot-in {
  display: flex;
  justify-content: space-between;
  gap: 48px;
  padding-top: 56px;
  padding-bottom: 40px;
}
.foot-brand p {
  max-width: 26rem;
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--muted);
}
.foot-cols {
  display: flex;
  gap: 72px;
}
.foot-cols div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-cols h4 {
  margin-bottom: 4px;
  font-size: 14px;
  font-weight: 500;
}
.foot-cols a {
  font-size: 14px;
  color: var(--muted);
  transition: color 0.15s ease;
}
.foot-cols a:hover {
  color: var(--fg);
}
.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 28px;
  background: linear-gradient(var(--line), var(--line)) top center / calc(100% - 48px) 1px no-repeat;
  font-size: 13.5px;
  color: var(--subtle);
}
.foot-bottom > span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.foot-bottom .lang {
  margin-left: auto;
  height: 32px;
}

/* ------------------------------------------------------------------------------------------ */
/* Responsive */

@media (max-width: 1000px) {
  .top-nav {
    display: none;
  }
  .top-act {
    margin-left: auto;
  }
  .menu-btn {
    display: inline-flex;
  }
  .facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .steps {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
  .cards,
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .brand-stage {
    grid-template-columns: 1fr;
  }
  .brand-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }
  .tg-stage {
    grid-template-columns: 1fr;
  }
  .tg {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .visit ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .visit-step {
    grid-template-columns: 1fr;
  }
  .visit-n {
    display: none;
  }
  .visit-step p {
    grid-column: 1;
  }
  .an-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .an-stats div:nth-child(4) {
    border-left: 0;
  }
  .an-stats div:nth-child(n + 4) {
    border-top: 1px solid var(--line);
  }
  .an-grid {
    grid-template-columns: 1fr;
  }
  .cta {
    grid-template-columns: 1fr;
  }
  .cta-vis {
    height: 300px;
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .cta-site {
    width: 120%;
    font-size: 1.6cqw;
  }
}

@media (max-width: 680px) {
  .wrap {
    padding-left: 18px;
    padding-right: 18px;
  }
  .hide-sm {
    display: none;
  }
  .top-act .btn-primary {
    display: none;
  }
  .hero {
    padding-top: 48px;
  }
  .hero-shot {
    margin-top: 44px;
  }
  .platforms ul {
    gap: 18px 30px;
  }
  .platforms img {
    height: calc(var(--h, 24px) * 0.8);
  }
  .actions .btn {
    width: 100%;
  }
  .sec {
    padding-top: 88px;
  }
  .sec-head,
  .feat-head {
    margin-bottom: 32px;
  }
  .sec-head p,
  .feat-head p {
    font-size: 16.5px;
  }
  .facts {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .facts li {
    flex-direction: row;
    gap: 14px;
  }
  .facts .icon,
  .facts .glyph {
    margin-top: 2px;
  }
  .cards,
  .plans {
    grid-template-columns: 1fr;
  }
  .stage {
    border-radius: var(--r-xl);
  }
  .types-stage,
  .brand-stage,
  .an-stage {
    padding: 14px;
    gap: 16px;
  }
  .types-stage .tabs {
    align-self: stretch;
  }
  .types-site {
    aspect-ratio: 4 / 4.6;
  }
  .types-site.site,
  .brand-sites .site {
    font-size: 2.6cqw;
  }
  .types-site .s-grid,
  .brand-sites .s-grid,
  .types-site .s-nav,
  .brand-sites .s-nav {
    display: none;
  }
  .types-site .s-hero,
  .brand-sites .s-hero {
    grid-template-columns: 1fr;
    gap: 1.2em;
  }
  .types-site .s-art,
  .brand-sites .s-art {
    min-height: 9em;
  }
  .types-site .tst,
  .brand-sites .tst {
    width: 62%;
  }
  .modal,
  .modal-cd {
    width: 80%;
  }
  .s-inline-box {
    flex-wrap: wrap;
  }
  .brand-sites {
    aspect-ratio: 4 / 4.4;
  }
  .brand-side {
    grid-template-columns: 1fr;
  }
  .tabs-col {
    flex-direction: row;
  }
  .tab-brand {
    flex: 1;
    min-width: 0;
    gap: 8px;
    height: 46px;
    padding: 0 8px;
  }
  .tab-brand small {
    display: none;
  }
  .avatar-site {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }
  .card {
    display: grid;
    grid-template-columns: 40px 1fr;
    column-gap: 16px;
    padding: 22px 20px;
  }
  .card h3 {
    margin-top: 8px;
  }
  .card p {
    grid-column: 2;
  }
  .tg,
  .visit {
    padding: 20px 16px;
  }
  .tg-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .tg-label {
    padding-top: 0;
  }
  .tg-sub {
    min-width: 0;
  }
  .visit ol {
    grid-template-columns: 1fr;
  }
  .an-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .an-stats div:nth-child(n) {
    border-left: 0;
    border-top: 1px solid var(--line);
  }
  .an-stats div:nth-child(-n + 2) {
    border-top: 0;
  }
  .an-stats div:nth-child(2n) {
    border-left: 1px solid var(--line);
  }
  .an-stats div:last-child {
    grid-column: span 2;
    border-left: 0;
  }
  .an-vars th:nth-child(2),
  .an-vars td:nth-child(2) {
    display: none;
  }
  .statement {
    padding-top: 100px;
  }
  .cta-copy {
    padding: 32px 24px;
  }
  .cta-site {
    font-size: 2.4cqw;
    width: 160%;
    top: 24px;
    left: 24px;
  }
  .foot-in {
    flex-direction: column;
    gap: 32px;
  }
  .foot-cols {
    gap: 48px;
  }
  .foot-bottom .lang {
    margin-left: -12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    transition-delay: 0ms !important;
  }
  .js [data-reveal] {
    transform: none;
  }
}
