/* kem108.dev: red liquid glass on black, set in SF Pro with Apple's layout and type scale. */
:root {
  --bg: #000;
  --line: rgba(255, 82, 92, .16);
  --text: #f7f2f3;
  --text-2: #bdb1b3;
  --text-3: #85797b;
  --red: #ff453a;            /* systemRed, dark */
  --red-hot: #ff2a2a;        /* the rim of the kem108 pill */
  /* SF Pro on Apple devices (and anywhere it's installed); Inter, its closest free twin, everywhere else. */
  --sf: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", Inter, "Segoe UI Variable Text", "Segoe UI", Roboto, system-ui, sans-serif;
  --sf-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", Inter, "Segoe UI Variable Display", "Segoe UI", Roboto, system-ui, sans-serif;
  --ease: cubic-bezier(.2, .75, .2, 1);
  --spring: cubic-bezier(.34, 1.5, .64, 1);
  --tab: 88px;
  --loupe: 150px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; }
html[data-mode="home"] { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.47 var(--sf);
  letter-spacing: -.022em;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
::selection { background: rgba(255, 42, 52, .5); color: #fff; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }
a { color: inherit; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
kbd {
  display: inline-block; padding: 1px 7px;
  border-radius: 8px; border: 1px solid rgba(255, 110, 118, .35);
  background: rgba(255, 60, 70, .1);
  font: 500 .92em/1.4 var(--sf); letter-spacing: 0;
}

html[data-mode="intro"] #home { display: none; }
html[data-mode="home"] #vibe { display: none; }

/* ---------- background: black with red light ---------- */
.home { position: relative; min-height: 100vh; }
.bg {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(70% 55% at 50% -8%, rgba(170, 0, 18, .42), rgba(170, 0, 18, 0) 70%),
    radial-gradient(55% 45% at 100% 100%, rgba(120, 0, 14, .22), rgba(120, 0, 14, 0) 70%);
}
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
main, .footer, .nav-wrap { position: relative; z-index: 1; }

/* ---------- red Liquid Glass ---------- */
.glass {
  position: relative;
  isolation: isolate;
  background: linear-gradient(180deg, rgba(255, 96, 96, .15), rgba(255, 40, 52, .04) 60%), rgba(34, 3, 7, .42);
  -webkit-backdrop-filter: blur(22px) saturate(1.8);
  backdrop-filter: var(--lg, blur(22px) saturate(1.8));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .26),
    inset 0 0 0 1px rgba(255, 66, 76, .36),
    0 18px 44px rgba(0, 0, 0, .5);
}
/* the rim: light catches it top-left and bottom-right */
.glass::before {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  padding: 1px;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, .62), rgba(255, 150, 155, .22) 28%, rgba(255, 255, 255, 0) 48%, rgba(255, 90, 100, .12) 70%, rgba(255, 175, 180, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.glass::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, -40%), rgba(255, 220, 222, .13), rgba(255, 255, 255, 0) 60%);
  opacity: 0;
  transition: opacity .35s;
}
.glass.is-lit::after { opacity: 1; }
html[data-tier="low"] .glass:not(.is-refracting) {
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  background: linear-gradient(180deg, rgba(255, 96, 96, .14), rgba(255, 40, 52, .03) 60%), rgba(36, 4, 8, .94);
}

/* ---------- buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 12px 24px;
  border: 0; border-radius: 980px;
  font: 500 17px/1.2 var(--sf); letter-spacing: -.015em;
  color: #fff; text-decoration: none;
  cursor: pointer;
  transition: transform .35s var(--spring), box-shadow .25s;
}
.btn:hover { transform: scale(1.035); }
.btn:active { transform: scale(.97); }
/* the kem108 pill: deep red glass, a hot red rim, and a glow */
.btn-tinted.glass {
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, rgba(220, 30, 40, .82), rgba(150, 8, 20, .86));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    inset 0 0 0 1.5px var(--red-hot),
    0 10px 26px rgba(0, 0, 0, .45);
}
.btn-tinted.glass:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 0 0 1.5px #ff4a4a, 0 12px 30px rgba(0, 0, 0, .5); }
html[data-tier="low"] .btn-tinted.glass:not(.is-refracting) { background: linear-gradient(180deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, 0) 52%), linear-gradient(180deg, #d81e28, #96081a); }
.link-more {
  display: inline-flex; align-items: center; gap: 1px;
  padding: 0; border: 0; background: none;
  font: 400 clamp(17px, 1.6vw, 19px)/1.3 var(--sf); letter-spacing: -.015em;
  color: var(--red); text-decoration: none;
  cursor: pointer;
}
.link-more:hover { text-decoration: underline; }
.link-small { font-size: 12px; }
.chev { flex: none; width: .95em; height: .95em; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.tld { color: var(--red); }

/* ---------- nav: a floating red glass capsule with an iOS-style magnifying selection ---------- */
.nav-wrap {
  position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 0; right: 0; z-index: 20;
  display: flex; justify-content: center;
  padding: 0 12px;
  pointer-events: none;
}
.nav {
  display: flex; align-items: center;
  max-width: 100%; height: 52px;
  padding: 6px 6px 6px 20px;
  border-radius: 999px;
  pointer-events: auto;
}
.brand { font: 700 17px/1 var(--sf-display); letter-spacing: -.03em; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--red); }
.tabs { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: var(--tab); height: 40px; margin: 0 6px 0 14px; }
.tabs > a {
  position: relative; z-index: 1;
  display: grid; place-items: center;
  border-radius: 999px;
  font: 500 14px/1 var(--sf); letter-spacing: -.01em;
  color: var(--text-2); text-decoration: none;
  transition: color .2s;
}
.tabs > a:hover { color: var(--text); }
.tab-lens {
  position: absolute; z-index: 2; left: 0; top: 0;
  width: var(--tab); height: 40px;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #e3262f, #a20d1b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 0 0 1px rgba(255, 90, 96, .9), 0 4px 16px rgba(0, 0, 0, .4);
  transition: opacity .25s;
}
.tab-lens.is-on { opacity: 1; }
.tab-lens-row { position: absolute; left: 0; top: 0; height: 40px; display: grid; grid-auto-flow: column; grid-auto-columns: var(--tab); transform-origin: 0 0; }
.tab-lens-row > span { display: grid; place-items: center; font: 600 14px/1 var(--sf); letter-spacing: -.01em; color: #fff; }
.nav-replay {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px;
  border: 0; border-radius: 50%;
  color: #fff; background: rgba(255, 59, 48, .2);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 96, .45);
  cursor: pointer;
  transition: background .2s, transform .6s var(--ease);
}
.nav-replay:hover { background: rgba(255, 59, 48, .34); transform: rotate(-180deg); }
.nav-replay svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
/* the kem108 account: a person, or your initial once you're signed in */
.nav-account {
  display: grid; place-items: center; flex: none;
  width: 40px; height: 40px; margin-left: 6px; padding: 0;
  border: 0; border-radius: 50%;
  color: #fff; background: rgba(255, 59, 48, .2);
  box-shadow: inset 0 0 0 1px rgba(255, 90, 96, .45);
  cursor: pointer;
  transition: background .2s;
}
.nav-account[hidden] { display: none; }
.nav-account:hover { background: rgba(255, 59, 48, .34); }
.nav-account svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.nav-initial { display: none; font: 700 16px/1 var(--sf-display); }
.nav-account.is-in {
  background: linear-gradient(180deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, 0) 55%), linear-gradient(180deg, #e3262f, #a20d1b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), inset 0 0 0 1.5px var(--red-hot);
}
.nav-account.is-in svg { display: none; }
.nav-account.is-in .nav-initial { display: block; }

/* ---------- hero ---------- */
.hero { position: relative; padding: calc(136px + env(safe-area-inset-top, 0px)) 16px 0; }
.hero-stage { position: relative; max-width: 1200px; margin: 0 auto; text-align: center; }
.hero-title {
  margin: 0;
  font: 700 clamp(52px, 14vw, 156px)/.98 var(--sf-display); letter-spacing: -.05em;
  color: var(--text);
}
.hero-sub { margin: 22px auto 0; max-width: 24em; font: 600 clamp(21px, 2.5vw, 30px)/1.22 var(--sf-display); letter-spacing: -.02em; color: var(--text-2); text-wrap: balance; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 30px; margin-top: 34px; }
.hero-art { margin: clamp(12px, 2vw, 28px) auto 0; max-width: 1200px; }
.hero-art img {
  display: block; width: 100%; height: auto;
  /* fades every edge to black, so the render melts into the page instead of sitting in a box */
  -webkit-mask-image: radial-gradient(ellipse 54% 50% at 50% 50%, #000 60%, transparent 100%);
  mask-image: radial-gradient(ellipse 54% 50% at 50% 50%, #000 60%, transparent 100%);
}
html[data-motion="on"] .hero-art img { animation: breathe 14s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.035); } }

/* ---------- the magnifying glass ---------- */
.loupe {
  position: absolute; left: 0; top: 0; z-index: 5;
  width: var(--loupe); height: var(--loupe);
  cursor: grab;
  touch-action: none;
  user-select: none;
  opacity: 0;
  transition: opacity .7s ease;
}
.loupe.is-placed { opacity: 1; }
.loupe.is-dragging { cursor: grabbing; }
.loupe-lens {
  position: absolute; inset: 0;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  box-shadow:
    0 0 0 1px rgba(255, 140, 145, .55),
    0 0 0 7px #3d0a10,
    0 0 0 8px rgba(255, 70, 80, .45),
    0 26px 60px rgba(0, 0, 0, .65);
}
.loupe-lens::after { /* glass: a highlight up top, a little darkening at the edge */
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  pointer-events: none;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 235, 236, .3), rgba(255, 255, 255, 0) 30%),
    radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0) 64%, rgba(40, 0, 4, .45) 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .55), inset 0 2px 1px rgba(255, 255, 255, .25);
}
.loupe-view { position: absolute; left: 0; top: 0; transform-origin: 0 0; pointer-events: none; }
.loupe-handle { /* starts at the rim, 45 degrees down-right */
  position: absolute;
  left: calc(var(--loupe) / 2 + (var(--loupe) / 2 + 6px) * .7071 - 11px);
  top: calc(var(--loupe) / 2 + (var(--loupe) / 2 + 6px) * .7071);
  width: 22px; height: calc(var(--loupe) * .62);
  border-radius: 11px;
  transform: rotate(-45deg);
  transform-origin: 50% 0;
  background: linear-gradient(90deg, #22050a, #5c0f18 42%, #33070d 70%, #170306);
  box-shadow: inset 0 0 0 1px rgba(255, 110, 118, .25), 0 14px 26px rgba(0, 0, 0, .5);
}
.loupe-handle::before { content: ""; position: absolute; left: 0; right: 0; top: 8px; height: 7px; background: var(--red-hot); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4); }

/* ---------- sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(96px, 12vw, 160px) 16px 0; scroll-margin-top: 40px; }
.section-head h2 { margin: 0; font: 700 clamp(40px, 6.2vw, 80px)/1.04 var(--sf-display); letter-spacing: -.04em; text-wrap: balance; }
.section-head p { margin: 14px 0 0; font: 600 clamp(19px, 2.1vw, 26px)/1.25 var(--sf-display); letter-spacing: -.02em; color: var(--text-2); }

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 56px; }
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  min-width: 0;
  padding: clamp(30px, 3vw, 42px);
  border-radius: 44px;
  overflow: hidden;
}
.tile-eyebrow { display: inline-flex; align-items: center; gap: 8px; margin: 0; font: 600 15px/1.2 var(--sf); letter-spacing: -.01em; color: var(--red); }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red-hot); }
.tile h3 { margin: 0; font: 700 clamp(32px, 3.4vw, 46px)/1.04 var(--sf-display); letter-spacing: -.035em; }
.tile-tag { margin: 0; font: 600 clamp(20px, 1.9vw, 25px)/1.2 var(--sf-display); letter-spacing: -.02em; color: var(--text); }
.tile-body { margin: 4px 0 0; color: var(--text-2); }
.tile .link-more { margin-top: auto; padding-top: 12px; }
.tile .app-icon-xl { margin-bottom: 18px; }

/* app icons: iOS squircles, in kem108 reds */
.app-icon {
  flex: none;
  display: grid; place-items: center;
  width: 56px; height: 56px;
  border-radius: 23%;
  color: #fff;
  background: linear-gradient(180deg, var(--c1), var(--c2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .32), inset 0 0 0 1px rgba(255, 120, 126, .35), 0 6px 18px rgba(0, 0, 0, .4);
}
.app-icon svg, .sq svg { width: 58%; height: 58%; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.app-icon-lg { width: 76px; height: 76px; }
.app-icon-xl { width: 96px; height: 96px; }
.c-red { --c1: #ff6b61; --c2: #e0241b; }
.c-crimson { --c1: #ff4d6d; --c2: #b3002d; }
.c-ember { --c1: #ff7a52; --c2: #c2290e; }
.c-wine { --c1: #9a1a2a; --c2: #3e050c; color: #ffd4d8; }

/* "Right now": iOS inset grouped lists, in red glass */
.list-head { margin: 0 0 8px 18px; font: 400 13px/1.3 var(--sf); letter-spacing: .02em; text-transform: uppercase; color: var(--text-3); }
.list { max-width: 760px; margin: 48px 0 0; padding: 0; list-style: none; border-radius: 32px; overflow: hidden; }
.list > li { position: relative; z-index: 2; }
.list > li + li::before { content: ""; position: absolute; z-index: 1; left: 66px; right: 0; top: 0; height: 1px; background: var(--line); }
.row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 68px; padding: 12px 22px 12px 20px; color: inherit; text-decoration: none; }
a.row:hover { background: rgba(255, 60, 70, .08); }
.sq { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 8px; color: #fff; background: linear-gradient(180deg, var(--c1), var(--c2)); box-shadow: inset 0 0 0 1px rgba(255, 130, 136, .3); }
.sq svg { width: 18px; height: 18px; stroke-width: 2; }
.row-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.row-text b { font: 400 17px/1.25 var(--sf); letter-spacing: -.02em; color: var(--text); }
.row-text small { font-size: 13px; line-height: 1.3; color: var(--text-2); }
.row-value { display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); white-space: nowrap; }
a.row .row-value { color: var(--red); }

/* "The setup": a tech specs table */
.specs { margin: 56px 0 0; border-top: 1px solid var(--line); }
.spec { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 6px 32px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.spec dt { font: 600 clamp(19px, 1.8vw, 22px)/1.25 var(--sf-display); letter-spacing: -.02em; }
.spec dd { margin: 0; color: var(--text-2); }
.spec dd strong { display: block; font-weight: 600; color: var(--text); }

/* ---------- footer ---------- */
.footer { max-width: 1200px; margin: 0 auto; padding: 140px 16px calc(36px + env(safe-area-inset-bottom, 0px)); font-size: 12px; line-height: 1.4; letter-spacing: -.01em; color: var(--text-3); }
.footer-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 28px; padding-top: 18px; border-top: 1px solid var(--line); }
.footer-bar p { margin: 0; }
.footer-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; }
.switch { display: inline-flex; align-items: center; gap: 10px; color: var(--text-2); cursor: pointer; }
.switch input {
  position: relative; flex: none;
  width: 42px; height: 26px; margin: 0;
  border-radius: 999px;
  background: rgba(130, 110, 112, .38);
  appearance: none; -webkit-appearance: none;
  cursor: pointer;
  transition: background .25s, box-shadow .25s;
}
.switch input::before {
  content: "";
  position: absolute; top: 2px; left: 2px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .3);
  transition: transform .35s var(--spring);
}
.switch input:checked { background: var(--red); }
.switch input:checked::before { transform: translateX(16px); }
.device-note { margin: 14px 0 0; color: var(--text-2); }

/* ---------- toast (a notification banner) ---------- */
.toast {
  position: fixed; z-index: 30; left: 50%; top: calc(76px + env(safe-area-inset-top, 0px));
  display: flex; align-items: center; gap: 12px;
  max-width: min(440px, calc(100% - 32px));
  padding: 12px 22px 12px 12px;
  border-radius: 30px;
  opacity: 0;
  transform: translate(-50%, -14px) scale(.96);
  transition: opacity .35s ease, transform .55s var(--spring);
  cursor: pointer;
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0) scale(1); }
.toast .sq { width: 38px; height: 38px; border-radius: 12px; }
.toast-text { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.toast-title { font: 600 15px/1.3 var(--sf); color: var(--text); }
.toast-body { font-size: 13px; line-height: 1.35; color: var(--text-2); }

/* ---------- scroll reveal + arrival from the black hole ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
html:not([data-js]) .reveal { opacity: 1; transform: none; }
.home.arriving .nav { animation: drop-in 1s var(--ease) both .2s; }
.home.arriving .hero-stage > * { animation: rise-in 1.2s var(--ease) both; }
.home.arriving .hero-stage > :nth-child(2) { animation-delay: .08s; }
.home.arriving .hero-stage > :nth-child(3) { animation-delay: .16s; }
.home.arriving .hero-stage > :nth-child(4) { animation-delay: .24s; }
.home.arriving .hero-stage > :nth-child(5) { animation-delay: .32s; }
.home.arriving .bg { animation: fade-in 1.4s ease both; }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } }
@keyframes drop-in { from { opacity: 0; transform: translateY(-20px) scale(.96); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- intro controls + welcome, drawn above the black hole ---------- */
.intro-ui { position: fixed; inset: 0; z-index: 60; pointer-events: none; color: #fff; font-family: var(--sf); }
.intro-ui[hidden], .intro-ui [hidden] { display: none !important; }
/* these sit on the bright fake site as well as on space, so they carry a darker body */
.intro-sound.glass, .intro-skip.glass, .intro-hint.glass { background-color: rgba(30, 4, 8, .7); }
.intro-sound {
  position: absolute; top: calc(16px + env(safe-area-inset-top, 0px)); right: 16px;
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border: 0; border-radius: 50%;
  color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.intro-sound .ico { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.intro-sound .ico-off, .intro-sound[aria-pressed="true"] .ico-on { display: none; }
.intro-sound[aria-pressed="true"] .ico-off { display: block; }
.intro-hint {
  position: absolute; top: calc(72px + env(safe-area-inset-top, 0px)); right: 16px;
  margin: 0; padding: 8px 14px;
  border-radius: 999px;
  font: 500 13px/1.2 var(--sf); color: #fff;
  pointer-events: none;
  animation: hint 2.2s ease-in-out infinite;
}
@keyframes hint { 50% { opacity: .6; } }
.intro-skip {
  position: absolute; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 3px;
  padding: 11px 14px 11px 18px;
  border: 0; border-radius: 999px;
  font: 500 15px/1.2 var(--sf); color: #fff;
  cursor: pointer;
  pointer-events: auto;
}
.welcome {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
  padding: 24px 20px;
  text-align: center;
}
.welcome-title { display: flex; flex-direction: column; align-items: center; gap: 8px; margin: 0; }
.welcome-small { font: 600 clamp(19px, 2.2vw, 26px)/1.2 var(--sf-display); letter-spacing: -.015em; color: var(--text-2); }
.welcome-big { font: 700 clamp(56px, 12vw, 136px)/1 var(--sf-display); letter-spacing: -.05em; color: #fff; }
.welcome-desc { max-width: 26em; margin: 0; text-wrap: balance; font: 500 clamp(19px, 2.2vw, 24px)/1.35 var(--sf-display); letter-spacing: -.015em; color: var(--text-2); }
.welcome-enter { padding: 15px 46px; font-size: 19px; font-weight: 600; pointer-events: auto; }
.welcome-key { margin: -6px 0 0; font-size: 13px; color: var(--text-3); }

/* ---------- small screens ---------- */
@media (max-width: 900px) {
  .tiles { grid-template-columns: minmax(0, 1fr); }
  .spec { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
  :root { --tab: 62px; --loupe: 108px; }
  .nav { padding-left: 16px; }
  .brand span { display: none; }
  .tabs { margin: 0 4px 0 10px; }
  .tabs > a, .tab-lens-row > span { font-size: 13px; }
  .hero { padding-top: calc(112px + env(safe-area-inset-top, 0px)); }
  .tile { border-radius: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  html[data-mode="home"] { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .home.arriving .nav, .home.arriving .hero-stage > *, .home.arriving .bg { animation: none; }
}
