/* Stordax landing sketch — "showroom". Monochrome; dark and light grounds swap per section. */
:root {
  --dark: #0b0b0c;
  --light: #f3f2ee;
  --bg: var(--dark);
  --ink: #f3f2ee;
  --muted: rgba(243, 242, 238, .58);
  --line: rgba(243, 242, 238, .14);
  --card: #ffffff;
  --card-ink: #0b0b0c;
  --sans: "Inter Tight", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gutter: clamp(16px, 4vw, 64px);
  --ease: cubic-bezier(.22, 1, .36, 1);
}
body.is-light {
  --ink: #0b0b0c;
  --muted: rgba(11, 11, 12, .58);
  --line: rgba(11, 11, 12, .12);
}
*, *::before, *::after { box-sizing: border-box; }
/* headings break into even lines (no word left alone on the last one); paragraphs avoid a lone last word */
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  transition: color .6s var(--ease);
}
@media (pointer: fine) {
  body.has-cursor, body.has-cursor a, body.has-cursor button { cursor: none; }
  body.has-cursor input, body.has-cursor textarea, body.has-cursor select { cursor: text; }
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}
/* a split heading's line masks reach past the line, so descenders (y, p, g, Q, the comma) and side overhangs are not cut off */
[data-split="lines"] > div { padding: 0 .1em .2em; margin: 0 -.1em -.2em; }

/* ---------- Ground: the dithered living field behind dark sections ---------- */
#ground {
  position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 0;
  image-rendering: pixelated; pointer-events: none;
}
main, .nav, footer { position: relative; z-index: 1; }

/* ---------- Intro curtain ---------- */
.intro {
  position: fixed; inset: 0; z-index: 100; background: var(--dark); color: var(--light);
  display: grid; place-items: center; pointer-events: none;
}
.intro-inner { display: flex; align-items: center; gap: 18px; }
.intro svg { width: 56px; height: 56px; }
.intro svg path { fill: none; stroke: currentColor; stroke-width: 1.4; }
.intro-count { font-family: var(--mono); font-size: 13px; letter-spacing: .1em; width: 4ch; }

/* ---------- Cursor ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 90; pointer-events: none; mix-blend-mode: difference; display: none; }
body.has-cursor .cursor { display: block; }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor-ring {
  position: absolute; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .7); display: grid; place-items: center;
  transition: width .35s var(--ease), height .35s var(--ease), margin .35s var(--ease), background .35s, border-color .35s;
}
.cursor-label { font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-ring { width: 78px; height: 78px; margin: -39px 0 0 -39px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor-label { opacity: 1; }
.cursor.is-hover .cursor-ring { width: 54px; height: 54px; margin: -27px 0 0 -27px; border-color: #fff; }
.cursor.is-text .cursor-ring { opacity: 0; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter); color: #fff; mix-blend-mode: difference;
  transition: transform .5s var(--ease);
}
.nav.is-hidden { transform: translateY(-110%); }
.brand { display: flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 800; font-size: 19px; letter-spacing: -.01em; }
.brand svg { width: 22px; height: 22px; }
.nav-links { display: flex; gap: 28px; font-size: 14px; }
.nav-links a { position: relative; opacity: .8; transition: opacity .3s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-end { display: flex; align-items: center; gap: 18px; }
.lang { display: flex; gap: 2px; font: 500 12px/1 var(--mono); letter-spacing: .06em; }
.lang a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 7px; opacity: .5; transition: opacity .3s; }
.lang a:hover, .lang a[aria-current] { opacity: 1; }
.foot .lang { margin-right: auto; margin-left: 24px; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-cta { font-size: 14px; font-weight: 600; padding: 10px 18px; border: 1px solid currentColor; border-radius: 999px; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; overflow: hidden;
  isolation: isolate; will-change: transform;
}
.btn span { position: relative; z-index: 1; transition: color .45s var(--ease); }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-light { background: var(--light); color: var(--dark); }
.btn-light::before { background: #fff; }
.btn-dark { background: var(--dark); color: var(--light); }
.btn-dark::before { background: #2a2a2c; }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .4); color: #fff; }
.btn-ghost::before { background: #fff; }
.btn-ghost:hover span { color: var(--dark); }
.btn .arr { width: 14px; height: 14px; transition: transform .45s var(--ease); }
.btn:hover .arr { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 680px; overflow: clip; color: #fff; isolation: isolate; }
.hero-rooms { position: absolute; inset: -4%; z-index: -2; }
.room {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0;
  transform-origin: 50% 50%;
}
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(8, 8, 9, .78) 0%, rgba(8, 8, 9, .25) 34%, rgba(8, 8, 9, .2) 52%, rgba(8, 8, 9, .92) 100%),
    radial-gradient(120% 80% at 50% 110%, rgba(8, 8, 9, .7), transparent 60%);
}
.hero-grain { position: absolute; inset: 0; z-index: -1; opacity: .16; mix-blend-mode: overlay; pointer-events: none; }
.hero-copy {
  position: absolute; left: var(--gutter); right: var(--gutter); top: clamp(96px, 15vh, 160px);
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 48px; align-items: end;
}
.hero h1 {
  /* two set lines; the longer one, "Finished website,", is about 7.3em wide and must fit beside the side column */
  font-size: clamp(44px, min(7.4vw, calc((100vw - 2 * var(--gutter) - 448px) / var(--h1-em, 7.6))), 124px);
  font-weight: 700; letter-spacing: -.045em; line-height: .92; font-variation-settings: "wght" 700;
}
/* each word's mask reaches past the line, so descenders (the y, the comma) and side overhangs (f, t) are not cut off */
.hero h1 > div { padding: 0 .1em .2em; margin: 0 -.1em -.2em; }
.hero-side { max-width: 400px; display: grid; gap: 22px; padding-bottom: 8px; }
.hero .lede { font-size: clamp(16px, 1.3vw, 19px); color: rgba(255, 255, 255, .9); }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; }

.carousel {
  position: absolute; left: 0; right: 0; bottom: clamp(108px, 14.5vh, 150px); height: clamp(200px, 32vh, 360px);
  perspective: 1600px; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.track { position: absolute; inset: 0; transform-style: preserve-3d; }
.shop-card {
  position: absolute; left: 50%; top: 0; height: 100%; aspect-ratio: 16 / 10;
  border-radius: 14px; overflow: hidden; background: #111;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08);
  will-change: transform, opacity;
}
.shop-card .chrome {
  position: absolute; top: 0; left: 0; right: 0; height: 22px; z-index: 2;
  display: flex; align-items: center; gap: 5px; padding: 0 10px;
  background: rgba(20, 20, 22, .82); backdrop-filter: blur(8px);
}
.shop-card .chrome i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .25); }
.shop-card .chrome b { margin-left: 8px; font: 500 10px/1 var(--mono); color: rgba(255, 255, 255, .55); letter-spacing: .04em; }
.shop-card .strip {
  position: absolute; top: 22px; left: 0; width: 100%; transform: translateY(0);
  transition: transform 7s cubic-bezier(.45, 0, .2, 1);
}
.shop-card.is-active:hover .strip { transform: translateY(calc(-100% + var(--card-h, 300px) - 22px)); }
.shop-card .shade { position: absolute; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 3; }
.hero-caption {
  position: absolute; left: 50%; bottom: clamp(20px, 3.6vh, 46px); transform: translateX(-50%);
  display: grid; justify-items: center; gap: 10px; text-align: center; width: min(560px, 90vw);
}
.cap-row { display: flex; gap: 14px; align-items: baseline; font-size: 15px; }
.cap-name { font-weight: 700; overflow: clip; display: inline-block; padding: 0 .12em .15em; margin: 0 -.12em -.15em; }
.cap-meta { font-family: var(--mono); font-size: 12px; color: rgba(255, 255, 255, .82); letter-spacing: .02em; }
.cap-progress { width: 160px; height: 2px; background: rgba(255, 255, 255, .2); border-radius: 2px; overflow: hidden; }
.cap-progress i { display: block; height: 100%; width: 100%; background: #fff; transform-origin: left; transform: scaleX(0); }
.cap-dots { display: flex; gap: 6px; margin: -11px; }
.cap-dots button { width: 44px; height: 44px; margin: 0 -11px; display: grid; place-items: center; } /* 44 px to tap, dots still 22 px apart */
.cap-dots button::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, .35); transition: background .3s, transform .3s; }
.cap-dots button.on::before { background: #fff; transform: scale(1.4); }

/* ---------- Why: the crowd of 100 ---------- */
.why { position: relative; height: 520vh; }
.why-pin { position: sticky; top: 0; height: 100vh; overflow: clip; }
.dots { position: absolute; inset: 0; width: 100%; height: 100%; }
/* when the page turns light, the dark sections' leftovers (Why's pinned crowd, How's panels) fade out instead of sitting grey on the light ground */
.why-pin, .build > *, .build-grid > * { transition: opacity .45s var(--ease); }
body.is-light .why-pin, body.is-light .build > *, body.is-light .build-grid > * { opacity: 0; }
.why-copy {
  position: absolute; left: var(--gutter); top: 0; bottom: 0; width: min(520px, 42vw);
  display: flex; flex-direction: column; justify-content: center; gap: 28px;
}
.steps { position: relative; min-height: 340px; }
.step { position: absolute; inset: 0 0 auto 0; display: grid; gap: 18px; opacity: 0; visibility: hidden; }
.step h2 { font-size: clamp(34px, 3.6vw, 58px); font-weight: 650; letter-spacing: -.035em; line-height: 1; }
.step p { font-size: clamp(17px, 1.35vw, 21px); color: var(--muted); max-width: 30ch; }
.big { font-size: clamp(88px, 11vw, 180px); font-weight: 750; letter-spacing: -.06em; line-height: .86; font-variant-numeric: tabular-nums; }
.chips { display: flex; gap: 8px; }
.chip {
  font-size: 14px; padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line);
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.chip:hover { border-color: var(--ink); }
.chip.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.step-nav { display: flex; gap: 10px; align-items: center; }
.step-nav { margin: -20px 0; } /* the buttons are 44 px tall to tap; the bars stay 3 px */
.step-nav button { position: relative; width: 44px; height: 44px; }
.step-nav button::before, .step-nav button i { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 3px; margin-top: -1.5px; border-radius: 3px; }
.step-nav button::before { background: var(--line); }
.step-nav button i { background: var(--ink); transform: scaleX(0); transform-origin: left; }
.source { font-family: var(--mono); font-size: 11px; color: var(--muted); max-width: 52ch; line-height: 1.6; }

/* ---------- Does: three stacked cards ---------- */
.does { padding: 22vh var(--gutter) 10vh; }
.sec-head { display: grid; gap: 18px; max-width: 980px; margin-bottom: 9vh; }
.sec-head h2 { font-size: clamp(42px, 6vw, 96px); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.sec-head p.sub { font-size: clamp(17px, 1.4vw, 21px); color: var(--muted); max-width: 46ch; }
.stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4vh; }
.card {
  position: sticky; top: calc(11vh + var(--i) * 18px);
  min-height: min(78vh, 720px); border-radius: 28px; background: var(--card); color: var(--card-ink);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .04), 0 30px 60px -40px rgba(0, 0, 0, .35);
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 4vw;
  padding: clamp(26px, 4vw, 64px); transform-origin: 50% 0; overflow: clip;
}
.card.is-loose { position: relative; top: 0; }
.card-text { display: flex; flex-direction: column; justify-content: space-between; gap: 28px; }
.card-num { font: 500 13px/1 var(--mono); letter-spacing: .1em; color: rgba(11, 11, 12, .45); }
.card h3 { font-size: clamp(40px, 5vw, 80px); font-weight: 700; letter-spacing: -.045em; line-height: .95; margin-top: 18px; }
.card .body { font-size: clamp(17px, 1.3vw, 20px); color: rgba(11, 11, 12, .66); max-width: 34ch; margin-top: 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: 15px; }
.ticks li { display: flex; gap: 10px; align-items: center; }
.ticks svg { width: 16px; height: 16px; flex: none; }
.ticks.detail { gap: 14px; }
.ticks.detail li { align-items: flex-start; line-height: 1.4; }
.ticks.detail svg { margin-top: 3px; }
.ticks.detail b { display: block; font-weight: 600; }
.ticks path { fill: none; stroke: currentColor; stroke-width: 2; stroke-dasharray: 20; stroke-dashoffset: 20; }
.demo {
  position: relative; border-radius: 18px; background: #f1f0ec; overflow: clip;
  display: flex; flex-direction: column; justify-content: center; padding: clamp(18px, 2.4vw, 36px); min-height: 440px;
}
.demo-tag {
  position: absolute; top: 14px; right: 14px; font: 500 11px/1 var(--mono); letter-spacing: .08em;
  text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: #fff; color: rgba(11, 11, 12, .6);
}

/* found */
.search-bar {
  display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 999px;
  padding: 5px 20px; box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .35); font-size: 16px;
}
.search-bar svg { width: 18px; height: 18px; flex: none; opacity: .5; }
.search-bar input { flex: 1; height: 44px; border: 0; outline: 0; font: inherit; background: transparent; color: #0b0b0c; min-width: 0; cursor: text; }
.search-bar kbd { font: 500 11px/1 var(--mono); padding: 5px 7px; border-radius: 6px; background: #f1f0ec; color: rgba(11, 11, 12, .55); }
.results { display: grid; gap: 12px; margin-top: 14px; }
.ai-box { background: #fff; border-radius: 16px; padding: 18px 20px; display: grid; gap: 10px; }
.ai-badge { display: inline-flex; gap: 8px; align-items: center; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(11, 11, 12, .55); }
.ai-badge i { width: 8px; height: 8px; border-radius: 50%; background: #0b0b0c; animation: pulse 1.6s infinite; }
@keyframes pulse { 50% { transform: scale(.55); opacity: .5; } }
.ai-text { font-size: 16px; min-height: 3em; }
.cite { display: inline-flex; align-items: center; gap: 10px; justify-self: start; padding: 6px 10px 6px 6px; border-radius: 10px; background: #f1f0ec; font-size: 13px; font-weight: 600; }
.cite img { width: 46px; height: 29px; object-fit: cover; object-position: top; border-radius: 5px; }
.place { background: #fff; border-radius: 16px; padding: 16px 20px; display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: center; }
.place b { font-size: 16px; }
.stars { font-size: 13px; color: rgba(11, 11, 12, .6); }
.stars em { font-style: normal; color: #0b0b0c; letter-spacing: 1px; }
.open { font-size: 13px; }
.open strong { font-weight: 600; }
.place-btns { grid-row: span 3; display: grid; gap: 6px; }
.place-btns span { font-size: 12px; font-weight: 600; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(11, 11, 12, .15); text-align: center; }
.place-btns span:first-child { background: #0b0b0c; color: #fff; border-color: #0b0b0c; }

/* booked */
.demo.booking { padding: 12px; min-height: 0; }
.widget-frame { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 20px 40px -30px rgba(0, 0, 0, .4); }
.widget-head { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-bottom: 1px solid rgba(11, 11, 12, .08); font: 500 12px/1 var(--mono); color: rgba(11, 11, 12, .55); }
.widget-head img { width: 26px; height: 26px; border-radius: 6px; object-fit: cover; }
.widget-frame [data-stordax-booking] {
  --bk-accent: #0b0b0c; --bk-accent-ink: #fff; --bk-ink: #0b0b0c; --bk-muted: rgba(11, 11, 12, .55);
  --bk-surface: #fff; --bk-field: #f4f3ef; --bk-line: rgba(11, 11, 12, .1); --bk-radius: 12px;
  --bk-font: var(--sans); --bk-title-font: var(--sans); --bk-title-weight: 700; --bk-scroll-margin: 90px;
  padding: 10px 12px 14px;
}

/* care: three demos behind one set of tabs */
.demo-tabs { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.dt-bar { position: relative; display: inline-flex; align-self: flex-start; gap: 2px; padding: 4px; border-radius: 999px; background: #f1f0ec; }
.dt-bar button { position: relative; z-index: 1; padding: 14px 18px; border-radius: 999px; font: 600 13px/1 var(--sans); color: rgba(11, 11, 12, .55); transition: color .35s var(--ease); }
.dt-bar button:hover { color: #0b0b0c; }
.dt-bar button.on { color: #fff; }
.dt-ink { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 0; width: 0; border-radius: 999px; background: #0b0b0c; }
.dt-deck { position: relative; }
.dt-panel { position: absolute; top: 0; left: 0; right: 0; visibility: hidden; opacity: 0; pointer-events: none; }
.dt-panel.is-on { position: relative; visibility: visible; opacity: 1; pointer-events: auto; }
.bk-fit { --bk-s: .72; position: relative; overflow: hidden; }
.bk-fit .widget-frame { width: calc(100% / var(--bk-s)); transform: scale(var(--bk-s)); transform-origin: 0 0; }

/* current */
.current-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: stretch; }
.thread { background: #fff; border-radius: 16px; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 300px; justify-content: flex-end; overflow: hidden; }
.thread-head { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: rgba(11, 11, 12, .45); margin-bottom: auto; padding: 4px 4px 10px; }
.msg { max-width: 86%; padding: 10px 13px; border-radius: 16px; font-size: 14px; line-height: 1.35; }
.msg.me { align-self: flex-end; background: #0b0b0c; color: #fff; border-bottom-right-radius: 5px; }
.msg.us { align-self: flex-start; background: #efeee9; border-bottom-left-radius: 5px; }
.msg.typing { display: flex; gap: 4px; padding: 13px 14px; }
.msg.typing i { width: 6px; height: 6px; border-radius: 50%; background: rgba(11, 11, 12, .45); animation: blink 1s infinite; }
.msg.typing i:nth-child(2) { animation-delay: .15s; }
.msg.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .2; transform: translateY(-2px); } }
.minisite { border-radius: 16px; background: #1c1a20; color: #efe6da; padding: 18px; display: grid; gap: 12px; align-content: start; position: relative; overflow: hidden; }
.minisite .ms-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .7; font-family: var(--mono); }
.minisite h4 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.banner { background: #efe6da; color: #1c1a20; border-radius: 10px; padding: 9px 12px; font-size: 13px; font-weight: 600; display: none; }
.prices { display: grid; gap: 0; }
.prices .row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid rgba(239, 230, 218, .14); font-size: 14px; overflow: hidden; }
.prices .row .p { font-variant-numeric: tabular-nums; display: inline-flex; overflow: hidden; height: 1.3em; }
.prices .row.flash { animation: flash 1.4s var(--ease); }
@keyframes flash { 0% { background: rgba(239, 230, 218, .28); } 100% { background: transparent; } }
.digit { display: inline-block; height: 1.3em; overflow: hidden; }
.digit .col { display: block; }
.digit .col span { display: block; height: 1.3em; line-height: 1.3em; }
.change-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.change-chips button { font-size: 13px; padding: 11px 14px; border-radius: 999px; background: #fff; border: 1px solid rgba(11, 11, 12, .1); transition: background .3s, color .3s, transform .3s var(--ease); }
.change-chips button:hover { background: #0b0b0c; color: #fff; transform: translateY(-2px); }
.change-chips button[disabled] { opacity: .4; pointer-events: none; }

/* ---------- Build: rail + stage ---------- */
.build { padding: 20vh var(--gutter) 16vh; }
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.tab { font-size: 14px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); position: relative; overflow: hidden; transition: color .4s var(--ease), border-color .3s; }
.tab::before { content: ""; position: absolute; inset: 0; background: var(--ink); transform: scaleY(0); transform-origin: bottom; transition: transform .45s var(--ease); z-index: -1; }
.tab { isolation: isolate; }
.tab.on { color: var(--bg); border-color: var(--ink); }
.tab.on::before { transform: scaleY(1); }
.build-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px; margin-top: 6vh; align-items: stretch; }
.stage { position: relative; border-radius: 18px; border: 1px solid var(--line); overflow: hidden; min-height: 560px; background: rgba(11, 11, 12, .55); }
.caret { display: inline-block; width: 8px; height: 1.1em; background: currentColor; vertical-align: -2px; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.stage > * { position: absolute; }
.st-maps { left: 6%; top: 8%; width: 300px; background: #fff; color: #0b0b0c; border-radius: 14px; padding: 14px 16px; display: grid; gap: 4px; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .7); opacity: 0; z-index: 4; }
.st-maps b { font-size: 15px; }
.st-maps .st-stars { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.st-maps .st-stars em { font-style: normal; position: relative; letter-spacing: 2px; color: rgba(11, 11, 12, .18); }
.st-maps .st-stars em u { position: absolute; left: 0; top: 0; overflow: hidden; white-space: nowrap; text-decoration: none; color: #0b0b0c; width: 0; }
.st-grid { inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 22% 6% 6%; z-index: 1; }
.st-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; opacity: 0; }
.st-room { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 2; }
.st-swatches { left: 0; right: 0; bottom: 7%; display: flex; justify-content: center; gap: 12px; z-index: 5; pointer-events: none; }
.st-sw { width: 54px; height: 54px; border-radius: 50%; box-shadow: 0 0 0 2px rgba(255, 255, 255, .9), 0 14px 30px -10px rgba(0, 0, 0, .7); opacity: 0; }
.st-langs { left: 6%; top: 7%; display: flex; gap: 8px; z-index: 6; }
.st-langs span { font: 600 13px/1 var(--mono); padding: 8px 11px; border-radius: 8px; background: #fff; color: #0b0b0c; opacity: 0; }
.st-site { left: 6%; right: 6%; top: 18%; aspect-ratio: 16 / 10; display: grid; grid-template-columns: repeat(8, 1fr); grid-template-rows: repeat(5, 1fr); border-radius: 12px; overflow: hidden; z-index: 3; transition: box-shadow .8s; }
.st-site.is-shown { box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .8); }
.st-site i { background-size: 800% 500%; opacity: 0; }
.st-phone { right: 5%; bottom: 6%; width: 21%; aspect-ratio: 390 / 844; border-radius: 22px; overflow: hidden; border: 5px solid #111; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .9); z-index: 7; opacity: 0; background: #111; }
.st-phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.st-progress { left: 6%; right: 6%; bottom: 4%; height: 3px; background: rgba(255, 255, 255, .15); border-radius: 3px; z-index: 8; overflow: hidden; opacity: 0; }
.st-progress i { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }

/* ---------- Price ---------- */
.price { padding: 20vh var(--gutter) 12vh; }
.price-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; }
.p-card { background: var(--card); color: var(--card-ink); border-radius: 26px; padding: clamp(26px, 3.4vw, 52px); display: grid; gap: 22px; align-content: start; transform-style: preserve-3d; position: relative; overflow: hidden; }
.p-card .glare { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(400px circle at var(--gx, 50%) var(--gy, 50%), rgba(0, 0, 0, .06), transparent 60%); }
.p-card:hover .glare { opacity: 1; }
.p-label { font: 500 12px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(11, 11, 12, .5); }
.p-amount { font-size: clamp(64px, 6.4vw, 112px); font-weight: 750; letter-spacing: -.055em; line-height: .9; font-variant-numeric: tabular-nums; white-space: nowrap; } /* one line in every language: “pro Monat” is longer than “a month” */
.p-amount small { font-size: .32em; font-weight: 500; letter-spacing: -.01em; color: rgba(11, 11, 12, .5); margin-left: .3em; }
.p-card .ticks { font-size: 16px; gap: 12px; }
.p-note { font-size: 14px; color: var(--muted); margin-top: 22px; max-width: 70ch; }
.own { margin-top: 20px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.own div { border-top: 1px solid var(--line); padding-top: 16px; display: grid; gap: 6px; }
.own b { font-size: 17px; }
.own span { font-size: 14px; color: var(--muted); }

/* ---------- Questions ---------- */
.faq { padding: 10vh var(--gutter) 18vh; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 4vw; }
.faq h2 { font-size: clamp(42px, 5vw, 80px); font-weight: 700; letter-spacing: -.045em; line-height: .95; }
.q { border-top: 1px solid var(--line); }
.q:last-child { border-bottom: 1px solid var(--line); }
.q button { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; text-align: left; font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; letter-spacing: -.015em; }
.q .pm { position: relative; width: 16px; height: 16px; flex: none; }
.q .pm::before, .q .pm::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; transition: transform .45s var(--ease); }
.q .pm::after { transform: rotate(90deg); }
.q.open .pm::after { transform: rotate(0deg); }
.q .a { height: 0; overflow: hidden; }
.q .a p { padding: 0 0 26px; color: var(--muted); max-width: 60ch; font-size: 17px; }

/* ---------- End ---------- */
.end { padding: 18vh 0 0; overflow: clip; }
.end-cta { padding: 0 var(--gutter); display: grid; justify-items: center; text-align: center; gap: 28px; }
.end-cta h2 { font-size: clamp(48px, 7vw, 120px); font-weight: 700; letter-spacing: -.05em; line-height: .92; }
.end-cta p { color: var(--muted); max-width: 44ch; }
.marquee { margin-top: 14vh; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; padding: 18px 0; }
.marquee-track { display: inline-flex; gap: 48px; font-size: 18px; font-weight: 500; will-change: transform; }
.marquee-track span { display: inline-flex; align-items: center; gap: 48px; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; opacity: .4; }
.wordmark { display: flex; justify-content: center; padding: 4vh var(--gutter) 0; line-height: .78; font-size: clamp(90px, 22.5vw, 400px); letter-spacing: -.06em; user-select: none; }
.wordmark span { display: inline-block; font-variation-settings: "wght" 800; transition: none; }
.foot { display: flex; justify-content: space-between; gap: 20px; padding: 26px var(--gutter) 30px; font-size: 13px; color: var(--muted); }
.foot nav { display: flex; gap: 22px; }
.foot nav a { display: inline-flex; align-items: center; min-height: 44px; margin: -13px 0; }

/* ---------- Narrow screens ---------- */
@media (max-width: 860px) {
  .p-amount { font-size: min(64px, 15vw); white-space: nowrap; }
  .nav-links { display: none; }
  .nav .lang { display: none; }
  .foot { flex-wrap: wrap; }
  .foot .lang { margin: 0 0 0 -12px; order: 3; width: 100%; }
  .foot .lang a { min-width: 44px; justify-content: center; padding: 0 12px; }
  .hero-copy { grid-template-columns: 1fr; top: 92px; }
  .hero h1 { font-size: clamp(30px, min(11.5vw, calc((100vw - 2 * var(--gutter)) / var(--h1-em, 7.6))), 64px); }
  .hero-side { gap: 16px; }
  .hero .lede { font-size: 15px; }
  .carousel { height: 190px; bottom: 128px; }
  .cap-row { flex-wrap: wrap; justify-content: center; gap: 4px 12px; }
  .why-copy { left: var(--gutter); right: var(--gutter); width: auto; justify-content: flex-start; padding-top: 14vh; gap: 18px; }
  .steps { min-height: 300px; }
  .card { grid-template-columns: minmax(0, 1fr); position: relative; top: 0; min-height: 0; } /* minmax: a long line in a demo can't push the card wider than the screen */
  .demo { min-height: 360px; }
  .current-grid { grid-template-columns: 1fr; }
  .bk-fit { --bk-s: 1; }
  .build-grid { grid-template-columns: 1fr; }
  .rail { min-height: 0; }
  .stage { min-height: 420px; }
  .st-maps { width: 240px; }
  .price-grid, .faq { grid-template-columns: 1fr; }
  .own { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  .shop-card .strip { transition: none; }
}

/* ---------- Sketch controls (not part of the design) ---------- */
.sketch-bar { position: fixed; left: 16px; bottom: 16px; z-index: 60; display: flex; gap: 2px; padding: 4px; border-radius: 999px; background: rgba(20, 20, 22, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .12); font: 500 12px/1 var(--mono); color: #f3f2ee; }
.sketch-bar a, .sketch-bar button { padding: 8px 12px; border-radius: 999px; color: rgba(243, 242, 238, .7); transition: background .3s, color .3s; }
.sketch-bar a.on { background: #f3f2ee; color: #0b0b0c; }
.sketch-bar a:hover, .sketch-bar button:hover { color: #fff; }
.sketch-bar a.on:hover { color: #0b0b0c; }
.sketch-bar button b { font-weight: 500; opacity: .6; margin-left: 4px; }

/* ---------- Dots version switches ---------- */
.hero-dots { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -2; display: none; }
.hero.has-dots .hero-dots { display: block; }
.hero.has-dots .hero-rooms, .hero.has-dots .hero-grain { display: none; }
[data-variant="dots"] #ground { image-rendering: auto; }
.stage-field { inset: 0; width: 100%; height: 100%; z-index: 7; opacity: 0; pointer-events: none; }
.wordmark-dots { display: none; width: 100%; height: clamp(120px, 24vw, 420px); }
[data-variant="dots"] .wordmark { display: none; }
[data-variant="dots"] .wordmark-dots { display: block; }

/* ---------- 01 Looks like your salon: room / website wipe ---------- */
.demo.looks { justify-content: flex-start; gap: 14px; padding-top: 54px; }
.compare { position: relative; flex: 1; min-height: 340px; border-radius: 14px; overflow: hidden; background: #111; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.cmp-site { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--cut, 50%)); }
.cmp-site img { object-position: top center; }
.cmp-handle { position: absolute; top: 0; bottom: 0; left: var(--cut, 50%); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); pointer-events: none; }
.cmp-handle i { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; background: #fff; box-shadow: 0 12px 30px -10px rgba(0, 0, 0, .6); display: grid; place-items: center; }
.cmp-handle i::before { content: "‹ ›"; font: 600 15px/1 var(--sans); color: #0b0b0c; letter-spacing: 4px; margin-left: 4px; }
.cmp-label { position: absolute; bottom: 14px; font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; padding: 7px 10px; border-radius: 999px; background: rgba(11, 11, 12, .62); color: #fff; backdrop-filter: blur(6px); pointer-events: none; }
.cmp-label.l { left: 14px; }
.cmp-label.r { right: 14px; }
.cmp-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.cmp-shops { display: flex; gap: 6px; flex-wrap: wrap; }
.cmp-shops button, .lang-chip { font-size: 13px; padding: 12px 14px; border-radius: 999px; border: 1px solid rgba(11, 11, 12, .12); background: #fff; transition: background .3s, color .3s, border-color .3s; }
.cmp-shops button:hover { border-color: #0b0b0c; }
.cmp-shops button.on { background: #0b0b0c; color: #fff; border-color: #0b0b0c; }
.cmp-swatches { display: flex; gap: 6px; }
.cmp-swatches i { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }

/* ---------- 03 Visitors: how many came, and what they did ---------- */
.demo.stats { padding-top: 54px; justify-content: flex-start; }
.st-dash { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.kpi, .feed { background: #fff; border-radius: 14px; padding: 16px; display: grid; gap: 10px; align-content: start; transition: opacity .3s, transform .35s var(--ease); }
.k-label { font: 500 11px/1.3 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: rgba(11, 11, 12, .5); }
.k-num { font-size: clamp(28px, 2.6vw, 42px); font-weight: 750; letter-spacing: -.04em; font-variant-numeric: tabular-nums; line-height: 1; transition: color .3s; }
.k-num.bump { color: #3a8f5c; }
.k-visits { grid-column: 1 / -1; grid-template-columns: auto minmax(0, 1fr); align-items: end; column-gap: 28px; }
.k-visits .k-label { grid-column: 1 / -1; }
.spark { width: 100%; height: 40px; overflow: visible; }
.spark path { fill: none; stroke: #0b0b0c; stroke-width: 2; vector-effect: non-scaling-stroke; stroke-linejoin: round; }
.kpi[data-kind]:hover { transform: translateY(-3px); }
.feed { grid-column: 1 / -1; gap: 4px; }
.feed-list { list-style: none; margin: 0; padding: 0; display: grid; }
.feed-list li { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 0; border-top: 1px solid rgba(11, 11, 12, .07); font-size: 14px; overflow: hidden; transition: opacity .3s; }
.feed-list li:first-child { border-top: 0; }
.f-ico { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #f1f0ec; }
.f-ico svg { width: 14px; height: 14px; fill: none; stroke: #0b0b0c; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feed-list time { font: 500 11px/1 var(--mono); color: rgba(11, 11, 12, .45); white-space: nowrap; }
/* pointing at one kind of action picks it out in the list */
.st-dash[data-focus] .kpi[data-kind] { opacity: .45; }
.st-dash[data-focus="call"] .kpi[data-kind="call"], .st-dash[data-focus="write"] .kpi[data-kind="write"], .st-dash[data-focus="way"] .kpi[data-kind="way"] { opacity: 1; }
.st-dash[data-focus="call"] .feed-list li:not([data-kind="call"]), .st-dash[data-focus="write"] .feed-list li:not([data-kind="write"]), .st-dash[data-focus="way"] .feed-list li:not([data-kind="way"]) { opacity: .25; }

/* ---------- How: the rail (after the Stordax Pipeline deck) ---------- */
.rail { border-radius: 18px; background: rgba(20, 20, 22, .72); border: 1px solid var(--line); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); padding: 24px 28px 22px; display: flex; flex-direction: column; min-height: 560px; overflow: hidden; }
.rail .dim { color: rgba(243, 242, 238, .45); }
.phase-nav { display: flex; gap: 2px; flex-wrap: wrap; margin: -4px -10px 0; }
.phase-nav button { position: relative; font-size: 14px; padding: 12px 10px; color: var(--muted); transition: color .4s; }
.phase-nav button::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.phase-nav button:hover { color: var(--ink); }
.phase-nav button.on { color: var(--ink); }
.phase-nav button.on::after { transform: scaleX(1); }
.phase-title { margin: 24px 0 0; font-size: clamp(30px, 2.8vw, 44px); font-weight: 700; letter-spacing: -.035em; line-height: 1; min-height: 1em; }
.phase-steps { list-style: none; margin: 22px 0 0; padding: 0; flex: 1; }
.pstep { display: grid; grid-template-columns: 32px 1fr; padding: 11px 0 12px; border-top: 1px solid var(--line); cursor: pointer; }
.pstep:last-child { border-bottom: 1px solid var(--line); }
.pstep .n { font: 500 12px/24px var(--mono); color: var(--muted); font-variant-numeric: tabular-nums; transition: color .4s; }
.pstep h4 { margin: 0; font: 600 17px/24px var(--sans); color: var(--muted); transition: color .4s; }
.pstep:hover h4 { color: rgba(243, 242, 238, .8); }
.pstep .more { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.pstep .more > div { overflow: hidden; }
.pstep p { margin: 6px 0 0; font-size: 15px; color: var(--muted); max-width: 40ch; }
.pstep.on h4, .pstep.on .n { color: var(--ink); }
.pstep.on .more { grid-template-rows: 1fr; }
.pstep.done h4 { color: rgba(243, 242, 238, .4); }
.rail-log { margin-top: 18px; font: 400 13px/1.6 var(--mono); color: rgba(243, 242, 238, .88); min-height: 1.6em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rail-log .sw { display: inline-block; width: 11px; height: 11px; border-radius: 3px; margin-right: 3px; vertical-align: -1px; }
.rail-progress { margin-top: 14px; height: 2px; background: var(--line); border-radius: 2px; overflow: hidden; }
.rail-progress i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(0); }

/* How on a desktop: one screen. Heading and steps on the left, the stage the full height on the right */
@media (min-width: 861px) {
  .build {
    height: max(620px, min(100vh, 940px)); padding: 96px var(--gutter) 36px;
    display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); grid-template-rows: auto minmax(0, 1fr); gap: 22px 24px;
  }
  .build .sec-head { grid-column: 1; grid-row: 1; margin: 0; gap: 12px; max-width: none; }
  .build .sec-head h2 { font-size: clamp(34px, 3.3vw, 60px); }
  .build .sec-head .sub { font-size: clamp(15px, 1.15vw, 18px); }
  .build .tabs { margin-top: 4px; gap: 6px; }
  .build .tab { font-size: 12px; padding: 8px 11px; }
  .build-grid { display: contents; }
  .build .rail { grid-column: 1; grid-row: 2; min-height: 0; padding: 16px 24px 18px; }
  .build .stage { grid-column: 2; grid-row: 1 / 3; min-height: 0; }
  .build .phase-title { margin-top: 12px; font-size: clamp(24px, 2.1vw, 36px); }
  .build .phase-steps { margin-top: 12px; }
  .build .pstep { padding: 8px 0 9px; }
  .build .rail-log { margin-top: 10px; }
  .build .rail-progress { margin-top: 10px; }
}
/* short laptop screens: the steps panel tightens so the open step never runs into the log line */
@media (min-width: 861px) and (max-height: 780px) {
  .build .phase-title { margin-top: 8px; }
  .build .phase-steps { margin-top: 8px; }
  .build .pstep { padding: 6px 0 7px; }
  .build .pstep p { margin-top: 3px; font-size: 14px; }
}
.st-hero { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; z-index: 2; transform-origin: 50% 50%; }
.st-ink { inset: 0; width: 100%; height: 100%; z-index: 6; pointer-events: none; }
.st-label { left: 6%; top: 8.5%; font: 500 11px/1 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(243, 242, 238, .72); z-index: 8; }
.st-live { left: 50%; top: 12%; z-index: 8; display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-radius: 999px; background: #fff; color: #0b0b0c; font-weight: 600; font-size: 14px; opacity: 0; box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .8); white-space: nowrap; }
.st-live i { width: 9px; height: 9px; border-radius: 50%; background: #3fae6a; animation: live 1.6s infinite; }
@keyframes live { 0% { box-shadow: 0 0 0 0 rgba(63, 174, 106, .6); } 70% { box-shadow: 0 0 0 10px rgba(63, 174, 106, 0); } 100% { box-shadow: 0 0 0 0 rgba(63, 174, 106, 0); } }

/* ---------- Questions in three groups ---------- */
.faq-head { display: grid; gap: 18px; align-content: start; position: sticky; top: 14vh; }
.faq-head .sub { color: var(--muted); max-width: 32ch; }
.faq-tabs { position: relative; display: flex; gap: 4px; margin-top: 10px; flex-wrap: wrap; }
.faq-tabs button { position: relative; z-index: 1; font-size: 15px; padding: 10px 16px; border-radius: 999px; color: var(--muted); transition: color .35s; }
.faq-tabs button.on { color: var(--light); }
.faq-ink { position: absolute; z-index: 0; top: 0; left: 0; height: 100%; width: 0; border-radius: 999px; background: var(--dark); }
.q.hide { display: none; }
.faq-head .sub a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; }

/* Phones, lighter: less scrolling and fewer extras; the full version stays on a desktop */
@media (max-width: 860px) {
  .why { height: 340vh; }
  .does { padding-top: 12vh; padding-bottom: 6vh; }
  .sec-head { margin-bottom: 5vh; }
  .build { padding-top: 9vh; padding-bottom: 8vh; }
  .build .sec-head { margin-bottom: 24px; }
  .build-grid { display: flex; flex-direction: column; gap: 14px; }
  .build .stage { order: -1; } /* the animation first, its step underneath like a caption */
  .price { padding-top: 12vh; padding-bottom: 8vh; }
  .faq { padding-top: 6vh; padding-bottom: 8vh; }
  .end { padding-top: 10vh; }
  .why .source { display: none; }
  .steps { min-height: 220px; }
  .cmp-foot { display: none; }
  .card.care .ticks.detail span { font-size: 0; }
  .card.care .ticks.detail b { font-size: 15px; }
  .pstep:not(.on) { display: none; }
  .rail { min-height: 0; }
  .build .tabs { display: none; }
  .stage { min-height: 0; aspect-ratio: 5 / 4; }
  .st-grid { grid-template-columns: repeat(5, 1fr); gap: 6px; padding: 20% 6% 4%; }
  .why-copy { text-align: center; } /* phones: the Why section sits on the centre line, like the crowd */
  .why-copy .step { justify-items: center; }
  .why-copy .step p { margin-inline: auto; }
  .why-copy .chips { justify-content: center; }
  .why-copy .step-nav { position: absolute; left: 0; right: 0; bottom: 64px; margin: 0; justify-content: center; }
  .current-grid .thread { display: none; }
  .dt-bar button[data-tab="booking"] { display: none; }
  .feed-list li:nth-child(n+4) { display: none; }
  .sketch-bar { font-size: 10px; gap: 0; max-width: calc(100vw - 24px); overflow-x: auto; scrollbar-width: none; }
  .sketch-bar a, .sketch-bar button { padding: 7px 9px; white-space: nowrap; flex: none; }
}
@media (max-width: 860px) {
  .source, .demo-tag, .cmp-label, .search-bar kbd, .thread-head, .st-label { font-size: 12px; }
  .st-dash { grid-template-columns: minmax(0, 1fr); }
  .kpi[data-kind] { grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 12px 16px; }
  .kpi[data-kind] .k-num { font-size: 26px; }
  .faq-head { position: static; }
  .place { grid-template-columns: 1fr; }
  .place-btns { grid-row: auto; display: flex; }
  .ai-text { font-size: 15px; }
  .sketch-bar { left: 50%; transform: translateX(-50%); bottom: 10px; }
}
