/* ============================================================
   GOSHOO — landing site
   Neo-Brutalist dark, sampled from the app's own design system:
   ink #0D0D10 · brand red #ED1C24 · 2px borders · hard offset
   shadows (blurRadius: 0 is the whole point).
   ============================================================ */

:root {
  --ink: #0D0D10;
  --surface: #16161B;
  --raised: #1F1F27;
  --border: #2E2E39;
  --red: #ED1C24;
  --red-deep: #B5141B;
  --blush: #FF6B72;
  --mint: #00D9BE;
  --amber: #FFC24B;
  --slate: #79808F;
  --text: #F5F5F8;
  --muted: #8C8C9A;

  --font-display: "Archivo Black", "Noto Sans Ethiopic", sans-serif;
  --font-body: "Space Grotesk", "Noto Sans Ethiopic", sans-serif;
  --font-ethiopic: "Noto Sans Ethiopic", "Archivo Black", sans-serif;

  --neo-shadow: 5px 6px 0 var(--red);
  --neo-shadow-lg: 9px 10px 0 var(--red);
  --radius: 18px;

  /* themeable surfaces & effects — the light palette overrides only these */
  --nav-bg: rgba(13, 13, 16, .82);
  --footer-bg: #0A0A0D;
  --shadow-on-red: rgba(245, 245, 248, .9);  /* hard shadow cast BY red-filled things */
  --glow-red: rgba(237, 28, 36, .17);
  --glow-red-soft: rgba(237, 28, 36, .14);
  --drop-white: rgba(245, 245, 248, .28);
  --drop-mark: rgba(245, 245, 248, .22);
  --wordmark-filter: none;
  --grain-opacity: .035;
  --grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");

  --nav-h: 76px;
  --pad-x: clamp(20px, 5vw, 64px);
}

/* ---------- self-hosted fonts (subsets from Google Fonts, preloaded) ---------- */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/archivo-black-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/noto-sans-ethiopic-full.woff2') format('woff2');
  unicode-range: U+1200-1399, U+2D80-2DDE, U+AB01-AB2E;
}
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/noto-sans-ethiopic-subset.woff2') format('woff2');
  unicode-range: U+1201, U+1203, U+1205, U+1206, U+1208, U+1209, U+120A, U+120B, U+120C, U+120D, U+120E, U+120F, U+1218, U+1219, U+121A, U+121B, U+121C, U+121D, U+121E, U+1226, U+1228, U+1229, U+122A, U+122B, U+122C, U+122D, U+122E, U+1230, U+1231, U+1233, U+1235, U+1236, U+1238, U+123B, U+123D, U+123E, U+1240, U+1241, U+1242, U+1243, U+1245, U+1246, U+124B, U+1260, U+1261, U+1262, U+1263, U+1264, U+1265, U+1270, U+1271, U+1272, U+1273, U+1274, U+1275, U+1276, U+1277, U+1278, U+127B, U+127D, U+128B, U+1290, U+1292, U+1293, U+1295, U+1296, U+1297, U+129B, U+129D, U+12A0, U+12A2, U+12A5, U+12A6, U+12A8, U+12AB, U+12AD, U+12B3, U+12C8, U+12CB, U+12CD, U+12CE, U+12D3, U+12D5, U+12D8, U+12D9, U+12DA, U+12DB, U+12DD, U+12DE, U+12E8, U+12E9, U+12EB, U+12ED, U+12EE, U+12F0, U+12F1, U+12F2, U+12F3, U+12F4, U+12F5, U+1300, U+1301, U+1302, U+1303, U+1308, U+1309, U+130B, U+130D, U+130E, U+1320, U+1321, U+1323, U+1325, U+1327, U+1328, U+132B, U+132E, U+1335, U+133B, U+133D, U+1348, U+134A, U+134B, U+134D, U+134E, U+1350, U+1351, U+1355, U+1362, U+1363, U+1364, U+1366;
}
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/noto-sans-ethiopic-full.woff2') format('woff2');
  unicode-range: U+1200-1399, U+2D80-2DDE, U+AB01-AB2E;
}
@font-face {
  font-family: 'Noto Sans Ethiopic';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url('../assets/fonts/noto-sans-ethiopic-subset.woff2') format('woff2');
  unicode-range: U+1201, U+1203, U+1205, U+1206, U+1208, U+1209, U+120A, U+120B, U+120C, U+120D, U+120E, U+120F, U+1218, U+1219, U+121A, U+121B, U+121C, U+121D, U+121E, U+1226, U+1228, U+1229, U+122A, U+122B, U+122C, U+122D, U+122E, U+1230, U+1231, U+1233, U+1235, U+1236, U+1238, U+123B, U+123D, U+123E, U+1240, U+1241, U+1242, U+1243, U+1245, U+1246, U+124B, U+1260, U+1261, U+1262, U+1263, U+1264, U+1265, U+1270, U+1271, U+1272, U+1273, U+1274, U+1275, U+1276, U+1277, U+1278, U+127B, U+127D, U+128B, U+1290, U+1292, U+1293, U+1295, U+1296, U+1297, U+129B, U+129D, U+12A0, U+12A2, U+12A5, U+12A6, U+12A8, U+12AB, U+12AD, U+12B3, U+12C8, U+12CB, U+12CD, U+12CE, U+12D3, U+12D5, U+12D8, U+12D9, U+12DA, U+12DB, U+12DD, U+12DE, U+12E8, U+12E9, U+12EB, U+12ED, U+12EE, U+12F0, U+12F1, U+12F2, U+12F3, U+12F4, U+12F5, U+1300, U+1301, U+1302, U+1303, U+1308, U+1309, U+130B, U+130D, U+130E, U+1320, U+1321, U+1323, U+1325, U+1327, U+1328, U+132B, U+132E, U+1335, U+133B, U+133D, U+1348, U+134A, U+134B, U+134D, U+134E, U+1350, U+1351, U+1355, U+1362, U+1363, U+1364, U+1366;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../assets/fonts/space-grotesk-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }   /* width/height attrs only feed aspect-ratio, never stretch */
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
b, strong { font-weight: 700; }

::selection { background: var(--red); color: #fff; }

::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: var(--border);
  border: 3px solid var(--ink);
  border-radius: 8px;
}
::-webkit-scrollbar-thumb:hover { background: var(--red); }

:focus-visible { outline: 3px solid var(--blush); outline-offset: 3px; border-radius: 4px; }

.skip-link {
  position: fixed;
  top: -60px;
  left: 20px;
  z-index: 120;
  padding: 10px 18px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  border-radius: 0 0 12px 12px;
  transition: top .2s;
}
.skip-link:focus { top: 0; }

.ethiopic { font-family: var(--font-ethiopic); font-weight: 800; }

/* ---------- shared type ---------- */
.label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
}

.h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 6vw, 72px);
  line-height: .96;
  letter-spacing: .01em;
  margin-top: 14px;
}

.dot { color: var(--red); font-style: normal; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 30px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .02em;
  border-radius: 14px;
  border: 2px solid var(--border);
  transition: transform .16s cubic-bezier(.3,.7,.4,1.2), box-shadow .16s cubic-bezier(.3,.7,.4,1.2), background-color .16s, color .16s;
  will-change: transform;
  white-space: nowrap;
}
.btn--red {
  background: var(--red);
  color: #fff;
  box-shadow: 5px 6px 0 var(--shadow-on-red);
}
.btn--red:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 9px 0 var(--shadow-on-red);
}
.btn--red:active {
  transform: translate(5px, 6px);
  box-shadow: 0 0 0 var(--shadow-on-red);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  box-shadow: 5px 6px 0 var(--red);
}
.btn--ghost:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 9px 0 var(--red);
  background: var(--surface);
}
.btn--ghost:active { transform: translate(5px, 6px); box-shadow: 0 0 0 var(--red); }
.btn--sm { padding: 11px 20px; font-size: 14px; border-radius: 12px; }

/* ---------- grain ---------- */
.grain {
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: var(--grain-opacity);
  background-image: var(--grain-image);
}

/* compositor hints for the layers that animate continuously or get scrubbed */
.marquee__track, .hero__phone, .sticker { will-change: transform; }
.portrait { will-change: filter, transform; }

/* ---------- intro curtain (pure CSS, JS only skips repeats) ---------- */
.curtain {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: var(--ink);
  display: grid;
  place-items: center;
  pointer-events: none;
  animation: curtain-up .55s cubic-bezier(.76, 0, .24, 1) .95s forwards;
}
.curtain__inner { text-align: center; }
.curtain__mark {
  width: 92px;
  margin: 0 auto 18px;
  animation: mark-stamp .55s cubic-bezier(.2, 1.6, .35, 1) both;
}
.curtain__line {
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: .04em;
  color: var(--text);
  animation: line-rise .5s cubic-bezier(.22, 1, .36, 1) .35s both;
}
.curtain--off { display: none; }
@keyframes mark-stamp {
  from { opacity: 0; transform: scale(1.7) rotate(-14deg); }
  to   { opacity: 1; transform: scale(1) rotate(0); }
}
@keyframes line-rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes curtain-up {
  to { transform: translateY(-101%); visibility: hidden; }
}

/* ---------- nav ---------- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--pad-x);
  transition: background-color .3s, border-color .3s, backdrop-filter .3s;
  border-bottom: 2px solid transparent;
}
.nav.is-scrolled {
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}
/* The lockup is composed from the mark + wordmark so the (pure white) wordmark can
   be flipped to ink in light mode. Ratios are measured off logo_lockup.png:
   mark 118/120 of the height, gap 21/120, wordmark text 50/120 (that file carries 2px
   of padding top and bottom, hence the 192/188 correction). */
.brand-lockup { display: inline-flex; align-items: center; gap: calc(var(--logo-h) * .175); }
.brand-lockup .logo-mark-img { height: calc(var(--logo-h) * .983); width: auto; }
.brand-lockup .logo-word { height: calc(var(--logo-h) * .4255); width: auto; filter: var(--wordmark-filter); }
.nav__logo { --logo-h: 38px; }
.nav__links { display: flex; gap: 34px; }
.nav__links a {
  position: relative;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--muted);
  transition: color .2s;
  padding: 6px 0;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s cubic-bezier(.65, 0, .35, 1);
}
.nav__links a:hover { color: var(--text); }
.nav__links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__actions { display: flex; align-items: center; gap: 14px; }

.nav__burger {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.nav__burger span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s cubic-bezier(.65, 0, .35, 1), top .3s;
}
.nav__burger span:nth-child(1) { top: 17px; }
.nav__burger span:nth-child(2) { top: 26px; }
body.menu-open .nav__burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
body.menu-open .nav__burger span:nth-child(2) { top: 21px; transform: rotate(-45deg); }

/* ---------- mobile menu ---------- */
.menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--nav-h) var(--pad-x) 40px;
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1), visibility 0s .6s;
}
body.menu-open .menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  transition: clip-path .6s cubic-bezier(.76, 0, .24, 1), visibility 0s;
}
.menu__links a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-family: var(--font-display);
  font-size: clamp(34px, 9vw, 56px);
  line-height: 1.35;
  color: var(--text);
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .45s ease, transform .45s cubic-bezier(.22, 1, .36, 1), color .2s;
}
body.menu-open .menu__links a { opacity: 1; transform: none; }
.menu__links a:nth-child(1) { transition-delay: .18s; }
.menu__links a:nth-child(2) { transition-delay: .24s; }
.menu__links a:nth-child(3) { transition-delay: .30s; }
.menu__links a:nth-child(4) { transition-delay: .36s; }
.menu__links a:nth-child(5) { transition-delay: .42s; }
.menu__links a em {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: var(--blush);
}
.menu__links a:hover, .menu__cta { color: var(--red); }
.menu__tag {
  margin-top: 40px;
  font-size: 14px;
  color: var(--muted);
  letter-spacing: .08em;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav-h) + 20px);
}
.hero__inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 30px;
  padding: 0 var(--pad-x) 90px;
  max-width: 1440px;
  width: 100%;
  margin: 0 auto;
}
.hero__label { margin-bottom: 22px; }
.hero__label { color: var(--blush); }

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(52px, 8.6vw, 122px);
  line-height: .94;
  letter-spacing: 0;
}
.hero__line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; }
.hero__line .split { display: inline-block; }
.hero__line--hollow .split {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--text);
  paint-order: stroke fill;
}
@supports not (-webkit-text-stroke: 2px #fff) {
  .hero__line--hollow .split { color: var(--blush); }
}
.hero__line--hollow .dot { -webkit-text-stroke: 0; color: var(--red); }
.split .w { display: inline-block; white-space: pre; }

.hero__sub {
  margin-top: 28px;
  max-width: 46ch;
  font-size: 17px;
  color: var(--muted);
}
.hero__sub b { color: var(--text); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }

/* stage */
.hero__stage {
  position: relative;
  height: min(72vh, 700px);
  min-height: 480px;
}
.hero__phone {
  position: absolute;
  inset: 0;
  margin: auto;
  z-index: 1;
  rotate: -5deg;
  animation: phone-drift 7s ease-in-out infinite alternate;
}
@keyframes phone-drift {
  from { translate: 0 -8px; }
  to   { translate: 0 10px; }
}

.sticker {
  position: absolute;
  z-index: 3;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: .06em;
  padding: 12px 16px;
  border: 2px solid var(--border);
  border-radius: 14px;
  white-space: nowrap;
  animation: stick-drift 5.2s ease-in-out infinite alternate;
}
.sticker--sync {
  top: 6%;
  right: 2%;
  background: var(--red);
  color: #fff;
  box-shadow: 5px 6px 0 var(--shadow-on-red);
  rotate: 4deg;
  animation-duration: 6.1s;
}
.sticker--super {
  bottom: 22%;
  left: -2%;
  background: var(--amber);
  color: #14141A;
  box-shadow: 5px 6px 0 var(--red);
  rotate: -6deg;
}
.sticker--match {
  top: 30%;
  right: -4%;
  background: var(--surface);
  color: var(--mint);
  border-color: var(--mint);
  box-shadow: 5px 6px 0 var(--red);
  rotate: 3deg;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  animation-duration: 4.6s;
}
.sticker--heart {
  width: 74px;
  bottom: 4%;
  left: 8%;
  border: 0;
  padding: 0;
  rotate: -12deg;
  filter: drop-shadow(4px 5px 0 var(--drop-white));
  animation-duration: 6.8s;
}
@keyframes stick-drift {
  from { translate: 0 -7px; }
  to   { translate: 0 9px; }
}

/* ---------- marquee ---------- */
.marquee {
  border-top: 2px solid var(--border);
  border-bottom: 2px solid var(--border);
  background: var(--ink);
  overflow: hidden;
  padding: 16px 0;
}
.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee__group {
  display: flex;
  align-items: center;
  gap: 56px;
  padding-right: 56px;
}
.marquee__item {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .04em;
  color: var(--text);
  white-space: nowrap;
}
.marquee__item.ethiopic { font-family: var(--font-ethiopic); font-weight: 800; }
.marquee__mark { height: 26px; width: auto; opacity: .95; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   PHONE MOCKUP
   ============================================================ */
.phone {
  position: relative;
  height: min(660px, 76vh);
  aspect-ratio: 9 / 19;
  background: #08080A;
  border: 2px solid var(--border);
  border-radius: 48px;
  padding: 10px;
  box-shadow: 10px 12px 0 var(--red);
}
.phone__screen {
  position: relative;
  height: 100%;
  border-radius: 38px;
  overflow: hidden;
  background: var(--ink);
}
.phone__notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 88px;
  height: 24px;
  background: #08080A;
  border-radius: 99px;
  z-index: 9;
}
.phone__home {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 104px;
  height: 4px;
  border-radius: 4px;
  background: rgba(245, 245, 248, .35);
  z-index: 9;
}

.app-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 54px 14px 26px;
  background: var(--ink);
}

.app-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.app-bar__title {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: .08em;
}
.app-bar__back { font-size: 22px; line-height: 1; color: var(--muted); margin-right: 2px; }
.app-bar--chat { justify-content: flex-start; }
.app-bar--chat .app-bar__pill { margin-left: auto; }
.app-bar__pill {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 3px 8px;
  white-space: nowrap;
}
.app-bar__pill--mint { color: var(--mint); border-color: rgba(0, 217, 190, .55); }

.app-hint {
  font-size: 9.5px;
  color: var(--muted);
  letter-spacing: .04em;
  margin: 4px 2px 8px;
}

/* --- vibe canvas grid --- */
.canvas-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 9px;
  min-height: 0;
}
.vibe-card {
  position: relative;
  border-radius: 14px;
  border: 1.5px solid rgba(245, 245, 248, .14);
  padding: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 0;
}
.vibe-card.tall { grid-row: span 2; }
.vibe-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 16, 0) 35%, rgba(13, 13, 16, .62));
  pointer-events: none;
}
.vc-1 { background: linear-gradient(140deg, #FF6B72, #ED1C24 55%, #B5141B); }
.vc-2 { background: linear-gradient(140deg, #00D9BE, #0A8F80 70%, #06554D); }
.vc-3 { background: linear-gradient(140deg, #FFC24B, #E0862A 65%, #9E5416); }
.vc-4 { background: linear-gradient(140deg, #B5141B, #6E1014 60%, #26080A); }
.vc-5 { background: linear-gradient(140deg, #79808F, #4A505F 60%, #23262E); }
.vc-you {
  background: var(--surface);
  border: 2px dashed var(--border);
  align-items: center;
  justify-content: center;
}
.vc-you::after { display: none; }
.vibe-card__you {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .1em;
}
.vibe-card__ghost {
  position: absolute;
  top: 2px;
  left: 7px;
  font-family: var(--font-display);
  font-size: 42px;
  color: rgba(245, 245, 248, .2);
  line-height: 1;
  pointer-events: none;
}
.vibe-card__meta { position: relative; z-index: 1; display: flex; flex-direction: column; }
.vibe-card__meta strong { font-size: 10.5px; letter-spacing: .02em; }
.vibe-card__meta span { font-size: 8.5px; font-weight: 600; color: rgba(245, 245, 248, .85); }
.vibe-card__chips { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 3px; margin-top: 4px; }
.vibe-card__chips i {
  font-style: normal;
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .04em;
  padding: 2px 6px;
  border-radius: 6px;
  background: rgba(13, 13, 16, .42);
  border: 1px solid rgba(245, 245, 248, .28);
}
.vibe-card__heart {
  position: absolute;
  right: 7px;
  bottom: 7px;
  z-index: 2;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--ink);
  border: 1.5px solid rgba(245, 245, 248, .3);
  color: var(--blush);
  font-size: 11px;
  line-height: 1;
  display: grid;
  place-items: center;
  cursor: default;
}

/* ============================================================
   HOW — the pinned Blind Reveal
   ============================================================ */
.how { position: relative; background: var(--ink); }
.how__pin {
  height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.how__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: calc(var(--nav-h) * .7) var(--pad-x) 0;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: clamp(30px, 5vw, 80px);
}

.how__rail { position: relative; }
.steps-wrap { position: relative; margin-top: 40px; }
.steps { position: relative; padding-left: 26px; }
.how__progress {
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 3px;
  border-radius: 3px;
  background: var(--border);
  overflow: hidden;
}
.how__progress-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleY(0);
  transform-origin: top;
}
.step {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  opacity: .34;
  transition: opacity .35s;
}
.step.is-active { opacity: 1; }
.step__num {
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--muted);
  padding-top: 3px;
  transition: color .35s;
}
.step.is-active .step__num { color: var(--blush); }
.step h3 {
  font-family: var(--font-display);
  font-size: clamp(17px, 1.6vw, 21px);
  letter-spacing: .02em;
  margin-bottom: 5px;
}
.step p { font-size: 14.5px; color: var(--muted); max-width: 40ch; }
.step p em { font-style: normal; color: var(--text); font-weight: 600; }

.how__stage { display: flex; justify-content: center; }
.how__phone { box-shadow: 10px 12px 0 var(--red); }

/* the three swapped screens */
.how-screen { opacity: 0; visibility: hidden; }
.how-screen.is-on { opacity: 1; visibility: visible; }

/* screen 1 — focus card */
.how-screen--canvas { justify-content: flex-start; }
.focus-card {
  position: relative;
  flex: 1;
  min-height: 0;
  border-radius: 18px;
  border: 1.5px solid rgba(245, 245, 248, .16);
  background: linear-gradient(150deg, #FF6B72, #ED1C24 52%, #B5141B);
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  margin-bottom: 8px;
}
.focus-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(13, 13, 16, 0) 40%, rgba(13, 13, 16, .68));
  pointer-events: none;
}
.focus-card__ghost {
  position: absolute;
  top: -6px;
  left: 8px;
  font-family: var(--font-display);
  font-size: 120px;
  color: rgba(245, 245, 248, .18);
  line-height: 1;
}
.focus-card__meta { position: relative; z-index: 1; margin-bottom: 6px; }
.focus-card__meta strong { display: block; font-size: 19px; letter-spacing: .02em; }
.focus-card__pct { font-size: 12px; font-weight: 700; color: var(--mint); }
.focus-card .vibe-card__chips i { font-size: 9px; padding: 3px 8px; }
.focus-card__ring {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 3px solid var(--text);
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}
.focus-card__heart {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid rgba(245, 245, 248, .4);
  color: var(--blush);
  font-size: 19px;
  display: grid;
  place-items: center;
  cursor: default;
}

/* screen 2 — match overlay */
.match-overlay {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 12px;
  background:
    radial-gradient(circle at 50% 18%, rgba(237, 28, 36, .28), transparent 62%),
    var(--ink);
  border-radius: 18px;
  padding: 18px 12px;
}
.match-overlay__mark { width: 54px; animation: heart-thump 1.6s ease-in-out infinite; }
@keyframes heart-thump {
  0%, 100% { transform: scale(1); }
  12% { transform: scale(1.12); }
  24% { transform: scale(1); }
  36% { transform: scale(1.08); }
  48% { transform: scale(1); }
}
.match-overlay__title {
  font-family: var(--font-display);
  font-size: 34px;
  line-height: .95;
  letter-spacing: .02em;
}
.match-overlay__body { font-size: 12px; color: var(--muted); line-height: 1.55; }
.match-overlay .btn { pointer-events: none; }
.match-overlay__skip { font-size: 11px; font-weight: 600; color: var(--blush); }

/* screen 3 — chat + reveal */
.reveal-wrap { flex: 1; display: flex; flex-direction: column; min-height: 0; }
.reveal-portrait {
  position: relative;
  width: min(100%, 210px);
  margin: 0 auto;
  aspect-ratio: 5 / 6;
  border-radius: 16px;
  border: 2px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}
.portrait {
  width: 100%;
  height: 100%;
  filter: blur(16px) saturate(1.2);
  transform: scale(1.12);
}
.reveal-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(237, 28, 36, .8),
    rgba(181, 20, 27, .53) 50%,
    rgba(13, 13, 16, .8));
  opacity: .92;
}
.reveal-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: .14em;
  color: var(--text);
  background: rgba(13, 13, 16, .78);
  border: 1.5px solid rgba(245, 245, 248, .3);
  border-radius: 7px;
  padding: 3px 7px;
}
.reveal-done {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: .06em;
  white-space: nowrap;
  color: var(--ink);
  background: var(--mint);
  border-radius: 8px;
  padding: 4px 9px;
  opacity: 0;
}

.reveal-bar { margin: 10px 2px 8px; }
.reveal-bar__track {
  height: 8px;
  border-radius: 8px;
  background: var(--raised);
  border: 1.5px solid var(--border);
  overflow: hidden;
}
.reveal-bar__fill {
  display: block;
  height: 100%;
  width: 12%;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--blush), var(--red));
}
.reveal-bar__text {
  font-size: 10px;
  color: var(--muted);
  margin-top: 5px;
  letter-spacing: .03em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reveal-bar__text b { color: var(--text); font-variant-numeric: tabular-nums; }

.chat-feed {
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 6px;
  overflow: hidden;
}
.bubble {
  max-width: 82%;
  font-size: 10.5px;
  line-height: 1.45;
  padding: 7px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
}
.bubble--them { align-self: flex-start; background: var(--raised); border-bottom-left-radius: 4px; }
.bubble--me {
  align-self: flex-end;
  background: var(--red);
  color: #fff;
  border-color: rgba(245, 245, 248, .25);
  border-bottom-right-radius: 4px;
}
.bubble--typing { display: inline-flex; gap: 4px; align-items: center; padding: 9px 12px; }
.bubble--typing span {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.bubble--typing span:nth-child(2) { animation-delay: .15s; }
.bubble--typing span:nth-child(3) { animation-delay: .3s; }
@keyframes typing-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: .55; }
  30% { transform: translateY(-4px); opacity: 1; }
}

.composer {
  margin-top: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: var(--raised);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 8px 8px 8px 14px;
  font-size: 10.5px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
}
.composer > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.composer__send {
  font-style: normal;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  display: grid;
  place-items: center;
}

/* ============================================================
   DAILY SYNC
   ============================================================ */
.sync {
  position: relative;
  padding: clamp(110px, 16vh, 180px) var(--pad-x);
  text-align: center;
  overflow: clip;
  border-top: 2px solid var(--border);
}
.sync__glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 55% at 50% 32%, var(--glow-red), transparent 70%);
  pointer-events: none;
}
.sync__inner { position: relative; max-width: 880px; margin: 0 auto; }

.sync__clock {
  font-family: var(--font-display);
  font-size: clamp(96px, 19vw, 230px);
  line-height: 1;
  margin-top: 18px;
  display: flex;
  align-items: baseline;
  justify-content: center;
}
.digit {
  display: inline-block;
  height: 1em;
  overflow: hidden;
  line-height: 1;
}
.digit__reel { display: block; }
.digit__reel span { display: block; height: 1em; line-height: 1; }
.sync__colon {
  color: var(--red);
  animation: colon-blink 2s steps(1) infinite;
  padding: 0 .04em;
}
@keyframes colon-blink { 50% { opacity: .25; } }
.sync__pm {
  font-size: .18em;
  margin-left: .14em;
  padding: .28em .5em;
  border: 2px solid var(--border);
  border-radius: .5em;
  background: var(--surface);
  box-shadow: 4px 5px 0 var(--red);
  transform: translateY(-.5em);
}

.sync__copy {
  max-width: 46ch;
  margin: 30px auto 0;
  font-size: 18px;
  color: var(--muted);
}
.sync__copy b { color: var(--text); }

.sync-ticket {
  margin: 54px auto 0;
  max-width: 620px;
  display: flex;
  align-items: center;
  gap: clamp(20px, 4vw, 40px);
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--neo-shadow-lg);
  padding: clamp(22px, 4vw, 36px);
}
.sync-ticket__ring { position: relative; width: 148px; flex-shrink: 0; }
.sync-ticket__ring svg { width: 100%; transform: rotate(-90deg); }
.ring-track, .ring-fill { fill: none; stroke-width: 9; }
.ring-track { stroke: var(--border); }
.ring-fill {
  stroke: var(--red);
  stroke-linecap: round;
  stroke-dasharray: 326.7;
  stroke-dashoffset: 0;
}
.sync-ticket__time {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sync-ticket__time b {
  font-family: var(--font-display);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}
.sync-ticket__time span {
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  max-width: 100px;
  line-height: 1.5;
  margin-top: 3px;
}
.sync-ticket__body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  letter-spacing: .04em;
}
.sync-ticket__body p { margin-top: 8px; font-size: 15px; color: var(--muted); }
.sync-ticket__btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.sync-ticket__btns .btn { pointer-events: none; }

/* ============================================================
   FEATURES — bento
   ============================================================ */
.features { padding: clamp(100px, 14vh, 160px) var(--pad-x); border-top: 2px solid var(--border); }
.features__inner { max-width: 1200px; margin: 0 auto; }

.bento {
  margin-top: 54px;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 22px;
}
.bento__card {
  position: relative;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 6px 7px 0 var(--red);
  padding: clamp(24px, 3vw, 34px);
  transition: transform .18s cubic-bezier(.3,.7,.4,1.2), box-shadow .18s cubic-bezier(.3,.7,.4,1.2);
  overflow: clip;
}
.bento__card:hover { transform: translate(-3px, -3px); box-shadow: 10px 11px 0 var(--red); }
.bento__card--game { grid-column: span 7; grid-row: span 2; display: flex; flex-direction: column; }
.bento__card--voice { grid-column: span 5; }
.bento__card--colour { grid-column: span 5; }
.bento__card--true { grid-column: span 12; }

.bento__tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--blush);
}
.bento__card h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.2vw, 27px);
  letter-spacing: .02em;
  margin-top: 10px;
}
.bento__body { margin-top: 10px; font-size: 15px; color: var(--muted); max-width: 52ch; }

/* game demo */
.game-demo {
  flex: 1;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}
.game-q { font-size: 13px; font-weight: 600; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.game-pills { display: flex; flex-wrap: wrap; gap: 14px; }
.game-pill {
  padding: 17px 26px;
  border: 2px solid var(--border);
  border-radius: 14px;
  font-weight: 700;
  font-size: 16px;
  background: var(--raised);
  transition: none;
}
.game-pill--a { animation: pick-a 7s ease-in-out infinite; }
.game-pill--b { animation: pick-b 7s ease-in-out infinite; }
@keyframes pick-a {
  0%, 18% { background: var(--raised); color: var(--text); box-shadow: 4px 5px 0 transparent; transform: none; }
  24%, 58% { background: var(--red); color: #fff; box-shadow: 4px 5px 0 var(--shadow-on-red); transform: translate(-2px,-2px); }
  64%, 100% { background: var(--raised); color: var(--text); box-shadow: 4px 5px 0 transparent; transform: none; }
}
@keyframes pick-b {
  0%, 58% { background: var(--raised); color: var(--text); box-shadow: 4px 5px 0 transparent; transform: none; }
  64%, 92% { background: var(--red); color: #fff; box-shadow: 4px 5px 0 var(--shadow-on-red); transform: translate(-2px,-2px); }
  98%, 100% { background: var(--raised); color: var(--text); box-shadow: 4px 5px 0 transparent; transform: none; }
}
.game-result { font-size: 14px; color: var(--muted); }
.game-result b { color: var(--mint); }

/* voice demo */
.wave {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
}
.wave i {
  flex: 1;
  height: 100%;
  max-width: 7px;
  border-radius: 4px;
  background: var(--blush);
  transform: scaleY(.25);
  transform-origin: center;
  animation: wave-bounce 1.15s ease-in-out infinite alternate;
}
.wave i:nth-child(odd) { background: var(--red); }
.wave i:nth-child(1) { animation-delay: 0s; }
.wave i:nth-child(2) { animation-delay: .07s; }
.wave i:nth-child(3) { animation-delay: .14s; }
.wave i:nth-child(4) { animation-delay: .21s; }
.wave i:nth-child(5) { animation-delay: .28s; }
.wave i:nth-child(6) { animation-delay: .35s; }
.wave i:nth-child(7) { animation-delay: .42s; }
.wave i:nth-child(8) { animation-delay: .49s; }
.wave i:nth-child(9) { animation-delay: .42s; }
.wave i:nth-child(10) { animation-delay: .35s; }
.wave i:nth-child(11) { animation-delay: .28s; }
.wave i:nth-child(12) { animation-delay: .21s; }
.wave i:nth-child(13) { animation-delay: .14s; }
.wave i:nth-child(14) { animation-delay: .07s; }
.wave i:nth-child(15) { animation-delay: 0s; }
.wave i:nth-child(16) { animation-delay: .1s; }
@keyframes wave-bounce {
  from { transform: scaleY(.18); }
  to   { transform: scaleY(1); }
}
.wave__mic {
  width: 40px;
  height: 40px;
  flex: none;
  max-width: none;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  border: 2px solid rgba(245,245,248,.3);
  display: grid;
  place-items: center;
  font-size: 13px;
  margin-left: 8px;
  animation: mic-pulse 1.8s ease-in-out infinite;
}
@keyframes mic-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(237, 28, 36, .5); }
  55% { box-shadow: 0 0 0 12px rgba(237, 28, 36, 0); }
}

/* colour demo */
.colour-demo {
  margin-top: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: 56px;
}
.colour-dot {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2.5px solid var(--border);
}
.colour-dot--a {
  background: linear-gradient(135deg, var(--blush), var(--red) 60%, var(--red-deep));
  animation: dot-a 3.2s ease-in-out infinite;
}
.colour-dot--b {
  background: linear-gradient(135deg, #7DFFEE, var(--mint) 60%, #0A8F80);
  animation: dot-b 3.2s ease-in-out infinite;
}
@keyframes dot-a {
  0%, 100% { transform: translateX(0); }
  48%, 62% { transform: translateX(14px) scale(1.06); }
}
@keyframes dot-b {
  0%, 100% { transform: translateX(0); }
  48%, 62% { transform: translateX(-14px) scale(1.06); }
}
.colour-spark {
  font-size: 22px;
  color: var(--amber);
  animation: spark-pop 3.2s ease-in-out infinite;
}
@keyframes spark-pop {
  0%, 40%, 78%, 100% { transform: scale(1); opacity: .5; }
  52%, 62% { transform: scale(1.55); opacity: 1; }
}

/* typing demo */
.typing-demo {
  margin-top: 26px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--raised);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 12px 20px;
}
.typing-name { font-size: 14px; font-weight: 600; color: var(--muted); }
.typing-dots { display: inline-flex; gap: 5px; }
.typing-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blush);
  animation: typing-bounce 1.2s ease-in-out infinite;
}
.typing-dots i:nth-child(2) { animation-delay: .15s; }
.typing-dots i:nth-child(3) { animation-delay: .3s; }

/* ============================================================
   LANGUAGES
   ============================================================ */
.langs { padding: clamp(100px, 14vh, 160px) var(--pad-x); border-top: 2px solid var(--border); }
.langs__inner { max-width: 1100px; margin: 0 auto; }
.langs__list { margin-top: 54px; border-top: 2px solid var(--border); }
.lang-row {
  display: grid;
  grid-template-columns: 84px 1fr auto;
  align-items: center;
  gap: clamp(16px, 3vw, 34px);
  padding: clamp(22px, 3.5vw, 34px) 6px;
  border-bottom: 2px solid var(--border);
  transition: background-color .25s, padding-left .25s;
}
.lang-row:hover { background: var(--surface); padding-left: 18px; }
.lang-row__tag {
  font-family: var(--font-display);
  font-size: 15px;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border: 2px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
  transition: background-color .25s, color .25s, box-shadow .25s, transform .25s;
}
.lang-row:hover .lang-row__tag {
  background: var(--red);
  color: #fff;
  box-shadow: 4px 5px 0 var(--shadow-on-red);
  transform: translate(-2px, -2px);
}
.lang-row__line {
  font-family: var(--font-display);
  font-size: clamp(19px, 3.4vw, 38px);
  line-height: 1.25;
}
.lang-row__line.ethiopic { font-family: var(--font-ethiopic); font-weight: 800; }
.lang-row__name { font-size: 14px; font-weight: 600; color: var(--muted); white-space: nowrap; }
.langs__foot { margin-top: 26px; font-size: 15px; color: var(--muted); }

/* ============================================================
   DOWNLOAD — end card
   ============================================================ */
.download {
  position: relative;
  padding: clamp(120px, 18vh, 210px) var(--pad-x);
  text-align: center;
  border-top: 2px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 50% 46%, var(--glow-red-soft), transparent 70%),
    var(--ink);
  overflow: clip;
}
.download__inner { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.download__mark {
  width: clamp(96px, 12vw, 132px);
  filter: drop-shadow(6px 7px 0 var(--drop-mark));
  animation: mark-float 5.4s ease-in-out infinite alternate;
}
@keyframes mark-float {
  from { translate: 0 -7px; rotate: -3deg; }
  to   { translate: 0 8px; rotate: 3deg; }
}
.download__wordmark { height: clamp(40px, 6vw, 62px); width: auto; margin-top: 34px; filter: var(--wordmark-filter); }
.download__tag {
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: clamp(21px, 3.4vw, 34px);
  color: var(--red);
  letter-spacing: .02em;
}
.download__tag i { font-style: normal; color: var(--text); }

.download__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 44px; }
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  padding: 14px 26px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--neo-shadow);
  transition: transform .16s cubic-bezier(.3,.7,.4,1.2), box-shadow .16s cubic-bezier(.3,.7,.4,1.2);
}
.store-btn:hover { transform: translate(-2px, -2px); box-shadow: 8px 9px 0 var(--red); }
.store-btn:active { transform: translate(5px, 6px); box-shadow: 0 0 0 var(--red); }
.store-btn svg { width: 27px; height: 27px; color: var(--text); }
.store-btn span { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.25; }
.store-btn small { font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.store-btn span { font-size: 17px; font-weight: 700; }
.download__note { margin-top: 30px; font-size: 14px; letter-spacing: .04em; color: var(--muted); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 2px solid var(--border); background: var(--footer-bg); }
.footer__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 70px var(--pad-x) 50px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
}
.footer__logo { --logo-h: 36px; }
.footer__brand p { margin-top: 16px; font-size: 14.5px; color: var(--muted); }
.footer__col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  padding: 5px 0;
  font-size: 15px;
  color: var(--muted);
  transition: color .2s, padding-left .2s;
}
.footer__col a:hover { color: var(--text); padding-left: 6px; }
.footer__bar {
  border-top: 2px solid var(--border);
  padding: 22px var(--pad-x) max(22px, env(safe-area-inset-bottom));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.footer__bar b { color: var(--blush); }  /* red is 3.7:1 on the light footer */
.footer__tag { letter-spacing: .08em; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }

  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 20px;
    padding-bottom: 60px;
    gap: 40px;
  }
  .hero__copy { text-align: left; }
  .hero__stage { height: 560px; min-height: 0; }

  .how__inner {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 22px;
    padding-top: calc(var(--nav-h) * .9);
  }
  .how__stage { order: -1; }
  .how__phone { height: min(46svh, 470px); box-shadow: 7px 8px 0 var(--red); }
  .how__rail .h2 { font-size: clamp(26px, 6vw, 38px); margin-top: 8px; }
  /* on mobile only the active step shows, cross-faded in a fixed slot */
  .steps-wrap { margin-top: 18px; }
  .steps { min-height: 118px; padding-left: 0; }
  .how__progress { display: none; }
  .step {
    position: absolute;
    inset: 0;
    padding: 6px 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
  }
  .step.is-active { opacity: 1; }
  .step p { max-width: none; }

  .bento { grid-template-columns: 1fr; gap: 20px; }
  .bento__card--game,
  .bento__card--voice,
  .bento__card--colour,
  .bento__card--true { grid-column: auto; grid-row: auto; }

  .sync-ticket { flex-direction: column; text-align: center; }
  .sync-ticket__btns { justify-content: center; }
  .sync-ticket__body h3 { margin-top: 4px; }

  .footer__inner { grid-template-columns: 1fr; gap: 34px; padding-top: 54px; }
}

@media (max-width: 640px) {
  .hero__title { font-size: clamp(46px, 13.5vw, 76px); }
  .hero__sub { font-size: 15.5px; }
  .hero__stage { height: 480px; }
  .hero__phone { height: min(420px, 58vw * 1.9); }
  .phone { border-radius: 40px; }
  .phone__screen { border-radius: 31px; }
  .sticker { font-size: 11px; padding: 9px 12px; }
  .sticker--match { font-size: 12px; }
  .sticker--heart { width: 56px; }
  .sticker--super { left: 0; }
  .sticker--sync { right: 0; }
  .marquee__item { font-size: 17px; }
  .lang-row { grid-template-columns: 56px 1fr; }
  .lang-row__tag { width: 46px; height: 46px; font-size: 12px; border-radius: 11px; }
  .lang-row__name { display: none; }
  .download__btns { flex-direction: column; align-items: stretch; }
  .store-btn { justify-content: center; }
  .footer__bar { justify-content: center; text-align: center; }
}

@media (max-width: 380px) {
  .hero__cta .btn { padding: 14px 22px; font-size: 15px; }
}

/* short landscape screens: let the pinned phone breathe */
@media (max-height: 620px) and (min-width: 1025px) {
  .phone, .how__phone { height: 82vh; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .curtain { display: none; }
  .marquee__track { animation: none; }
  /* show the reveal fully earned, statically */
  .portrait { filter: none; transform: none; }
  .reveal-veil { opacity: 0; }
  .reveal-done { opacity: 1; }
  .reveal-badge { opacity: 0; }
  .reveal-bar__fill { width: 100%; }
}

/* ============================================================
   LANGUAGE SWITCHER
   ============================================================ */
.lang-switch {
  display: inline-flex;
  border: 2px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--surface);
  flex-shrink: 0;
}
.lang-switch button {
  padding: 9px 12px;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--muted);
  border-right: 2px solid var(--border);
  transition: background-color .2s, color .2s;
}
.lang-switch button:last-child { border-right: 0; }
.lang-switch button:hover { color: var(--text); }
.lang-switch button.is-active { background: var(--red); color: #fff; }
.lang-switch--menu { align-self: flex-start; }
.lang-switch--menu button { padding: 13px 20px; font-size: 15px; }
@media (max-width: 700px) {
  .nav .lang-switch { display: none; }  /* lives in the mobile menu instead */
}
.lang-row { cursor: pointer; }

/* the ring readout switches between 3:00 chat mode and HH:MM:SS until-sync mode */
.sync-min.is-wide {
  font-size: 16.5px;
  letter-spacing: .04em;
  color: var(--mint);
}

/* ============================================================
   AMHARIC TYPOGRAPHY
   Mirrors the app's theme: Ge'ez swaps the Latin display face for
   Noto Sans Ethiopic and drops the ALL-CAPS letter-spacing.
   ============================================================ */
html[lang="am"] { --font-display: "Noto Sans Ethiopic", "Archivo Black", sans-serif; }
html[lang="am"] .hero__title { font-size: clamp(42px, 7vw, 100px); line-height: 1.12; }
html[lang="am"] .h2 { line-height: 1.14; }
html[lang="am"] .label { letter-spacing: .05em; }
html[lang="am"] .app-bar__title { letter-spacing: .02em; font-weight: 800; }
html[lang="am"] .sticker,
html[lang="am"] .menu__links a,
html[lang="am"] .download__tag,
html[lang="am"] .step__num,
html[lang="am"] .vibe-card__you,
html[lang="am"] .curtain__line,
html[lang="am"] .lang-row__tag { font-weight: 800; }
html[lang="am"] .hero__line--hollow .split {
  -webkit-text-stroke: 0;
  color: var(--blush);
}
html[lang="am"] .hero__line { padding-bottom: .12em; margin-bottom: -.08em; }
@media (max-width: 640px) {
  html[lang="am"] .hero__title { font-size: clamp(36px, 10.5vw, 60px); }
}

/* Afaan Oromoo runs long (AGARSIISI, MULʼISI…) — step the display scale down */
html[lang="om"] .hero__title { font-size: clamp(38px, 5.6vw, 80px); }
html[lang="om"] .h2 { font-size: clamp(30px, 4.6vw, 56px); }
@media (max-width: 640px) {
  html[lang="om"] .hero__title { font-size: clamp(32px, 9.5vw, 54px); }
}


/* ============================================================
   LIGHT THEME
   An explicit choice wins (data-theme, set pre-paint by the inline
   script in <head>); with no choice stored, the OS preference decides.
   ============================================================ */
:root[data-theme="light"] {
  /* Paper ground, ink borders — the neo-brutalist light counterpart. Brand red is
     unchanged; blush and mint darken because #ED1C24 and #00D9BE fail AA on paper. */
  --ink: #FBF8F4;
  --surface: #FFFFFF;
  --raised: #F1ECE4;
  --border: #14141A;
  --blush: #C8161D;
  --mint: #067A6E;
  --text: #14141A;
  --muted: #5B5B67;
  --nav-bg: rgba(251, 248, 244, .85);
  --footer-bg: #F1ECE4;
  --shadow-on-red: #14141A;
  --glow-red: rgba(237, 28, 36, .09);
  --glow-red-soft: rgba(237, 28, 36, .07);
  --drop-white: rgba(20, 20, 26, .24);
  --drop-mark: rgba(20, 20, 26, .2);
  --wordmark-filter: brightness(0);
  --grain-opacity: .05;
  --grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    /* Paper ground, ink borders — the neo-brutalist light counterpart. Brand red is
       unchanged; blush and mint darken because #ED1C24 and #00D9BE fail AA on paper. */
    --ink: #FBF8F4;
    --surface: #FFFFFF;
    --raised: #F1ECE4;
    --border: #14141A;
    --blush: #C8161D;
    --mint: #067A6E;
    --text: #14141A;
    --muted: #5B5B67;
    --nav-bg: rgba(251, 248, 244, .85);
    --footer-bg: #F1ECE4;
    --shadow-on-red: #14141A;
    --glow-red: rgba(237, 28, 36, .09);
    --glow-red-soft: rgba(237, 28, 36, .07);
    --drop-white: rgba(20, 20, 26, .24);
    --drop-mark: rgba(20, 20, 26, .2);
    --wordmark-filter: brightness(0);
    --grain-opacity: .05;
    --grain-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  }
}

/* The app is dark by design, so the phone mockups — and the intro curtain, a branded
   moment — keep the dark palette in every theme: a dark device on a light page, the
   way a real product shot looks. Redeclaring the tokens here re-grounds every
   descendant at once (cards, bubbles, match overlay, reveal bar, composer). */
.phone, .curtain {
  --ink: #0D0D10;
  --surface: #16161B;
  --raised: #1F1F27;
  --border: #2E2E39;
  --blush: #FF6B72;
  --mint: #00D9BE;
  --text: #F5F5F8;
  --muted: #8C8C9A;
  --shadow-on-red: rgba(245, 245, 248, .9);
  /* Required, not decorative: most text in here inherits its colour from <body>,
     which has already computed to ink. Re-declaring the token alone would leave
     those inherited values dark. */
  color: var(--text);
}

/* ---------- theme toggle ---------- */
.menu__controls { display: flex; align-items: center; gap: 14px; margin-top: 38px; }

.theme-toggle {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--muted);
  transition: color .2s, background-color .2s, transform .2s cubic-bezier(.3,.7,.4,1.2);
}
.theme-toggle:hover { color: var(--text); transform: translateY(-2px); }
.theme-toggle:active { transform: translateY(0); }
.theme-toggle svg { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .25s, transform .35s cubic-bezier(.34,1.56,.64,1); }
/* dark theme offers the sun (click for light); light theme offers the moon */
.theme-toggle__moon { opacity: 0; transform: rotate(-70deg) scale(.4); }
:root[data-theme="light"] .theme-toggle__sun { opacity: 0; transform: rotate(70deg) scale(.4); }
:root[data-theme="light"] .theme-toggle__moon { opacity: 1; transform: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle__sun { opacity: 0; transform: rotate(70deg) scale(.4); }
  :root:not([data-theme="dark"]) .theme-toggle__moon { opacity: 1; transform: none; }
}
.theme-toggle--menu { width: 52px; height: 52px; border-radius: 13px; }
.theme-toggle--menu svg { width: 23px; height: 23px; }
@media (max-width: 700px) { .nav .theme-toggle { display: none; } }
