/* Mixa landing page — chatmixa.com
   Colours and fonts follow the Mixa brand rules (project brief, section 7). */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/inter-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/inter-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/inter-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/inter-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/space-grotesk-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }

:root {
  --bg: #0F1220;
  --card: #151A2C;
  --bar: #141829;
  --line: #22273D;
  --text: #F3F4F8;
  --text-2: #C9CDDB;
  --text-3: #9AA0B4;
  --orange: #FF7A1A;
  --on-orange: #1A0E05;
  --gold: #FFC861;
  --green: #4ADE80;
  --blue: #4DB8FF;
  --amber: #FBBF24;
  --red: #F05252;
  --mine: #24345C;
  --theirs: #1D2236;
  /* logo dots: fixed on every background */
  --dot-g: #2BEA6E;
  --dot-y: #FFE81A;
  --dot-r: #F0192E;

  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, sans-serif;
  --wrap: 1180px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.05; max-width: 16ch; }
h3 { font-size: 1.1rem; letter-spacing: -0.01em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--orange); color: var(--on-orange); padding: .6rem 1rem; border-radius: 10px; z-index: 100; font-weight: 600; text-decoration: none; }
.skip:focus { top: 1rem; }

/* ---------- logo dots ---------- */
.dots { display: inline-flex; gap: .22em; align-items: center; }
.dots i { width: .32em; height: .32em; border-radius: 50%; display: block; }
.dots i:nth-child(1) { background: var(--dot-g); }
.dots i:nth-child(2) { background: var(--dot-y); }
.dots i:nth-child(3) { background: var(--dot-r); }
.dots--bounce i { animation: hop 1.2s var(--ease) infinite; }
.dots--bounce i:nth-child(2) { animation-delay: .15s; }
.dots--bounce i:nth-child(3) { animation-delay: .3s; }
@keyframes hop {
  0%, 60%, 100% { transform: translateY(0); }
  30% { transform: translateY(-55%); }
}
.dots--inline { font-size: 1.6rem; vertical-align: middle; margin-right: .2rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 52px; padding: 0 1.4rem; border-radius: 14px; border: 0;
  background: var(--orange); color: var(--on-orange);
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s var(--ease), background .15s;
  white-space: nowrap;
}
.btn:hover { background: #FF8C38; }
.btn:active { transform: scale(.97); }
.btn--small { height: 44px; padding: 0 1.1rem; font-size: .95rem; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 2px var(--line); }
.btn--ghost:hover { background: var(--card); box-shadow: inset 0 0 0 2px var(--orange); }
.btn--dark { background: var(--bg); color: var(--text); }
.btn--dark:hover { background: #1b2036; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  max-width: var(--wrap); margin: 0 auto; padding: 1rem 1.5rem;
  background: rgba(15, 18, 32, .82);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.nav nav { margin-left: auto; }
.nav__links { display: flex; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav__links a { text-decoration: none; color: var(--text-2); font-weight: 500; font-size: .95rem; }
.nav__links a:hover { color: var(--text); }
.wordmark { display: inline-flex; align-items: baseline; gap: .12em; text-decoration: none; font: 700 1.75rem/1 var(--display); letter-spacing: -0.03em; }
.wordmark .dots { font-size: 1em; }
.wordmark--sm { font-size: 1.4rem; }

/* ---------- hero ---------- */
.hero {
  max-width: var(--wrap); margin: 0 auto;
  padding: clamp(2.5rem, 6vw, 5rem) 1.5rem clamp(3rem, 6vw, 5rem);
  display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.hero__title {
  font-size: clamp(3rem, 7.6vw, 6.4rem);
  line-height: .94; letter-spacing: -0.045em;
  max-width: 9ch;
}
.hero__title .dots { font-size: 1em; margin-left: .08em; vertical-align: baseline; }
.hero__title .dots { gap: .05em; }
.hero__title .dots i { width: .14em; height: .14em; }
.hero__lede { margin-top: 1.75rem; font-size: 1.2rem; line-height: 1.55; color: var(--text-2); max-width: 36em; }
.hero__note { margin-top: .9rem; color: var(--text-3); font-size: .92rem; }

.signup { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .6rem; max-width: 520px; }
.signup input[type="email"] {
  flex: 1 1 240px; height: 52px; padding: 0 1.1rem; border-radius: 14px;
  border: 2px solid var(--line); background: var(--card); color: var(--text);
  font: 500 1rem var(--body);
}
.signup input[type="email"]::placeholder { color: var(--text-3); }
.signup input[type="email"]:focus { outline: none; border-color: var(--orange); }
.signup__msg { flex-basis: 100%; min-height: 1.4em; font-size: .95rem; color: var(--green); font-weight: 500; }
.signup__msg.is-err { color: #FF9C9C; }
.signup.is-done input, .signup.is-done button { display: none; }

.hero__stage { display: grid; justify-items: center; gap: 1rem; position: relative; }
.hero__stage::before {
  content: ""; position: absolute; inset: 8% 0 14%; z-index: -1;
  background: radial-gradient(closest-side, rgba(255, 122, 26, .22), transparent 70%);
  filter: blur(10px);
}
.stage__caption { font: 500 .95rem var(--body); color: var(--text-3); min-height: 1.6em; transition: opacity .3s; text-align: center; }

/* ---------- phone frame ---------- */
.phone {
  --p-bg: var(--bg); --p-bar: var(--bar); --p-card: var(--card); --p-line: var(--line);
  --p-text: var(--text); --p-text-2: var(--text-3); --p-accent: var(--orange); --p-on-accent: var(--on-orange);
  --p-mine: var(--mine); --p-theirs: var(--theirs);
  position: relative; width: 310px; height: 640px; border-radius: 46px;
  background: #05060c; padding: 11px;
  box-shadow: 0 0 0 2px #2a2f45, 0 40px 80px -30px rgba(0, 0, 0, .8);
}
.phone__notch { position: absolute; top: 20px; left: 50%; width: 92px; height: 26px; border-radius: 20px; background: #05060c; transform: translateX(-50%); z-index: 5; }
.screen {
  position: relative; height: 100%; border-radius: 36px; overflow: hidden;
  background: var(--p-bg); color: var(--p-text); font-size: 14px; line-height: 1.4;
  display: flex; flex-direction: column;
  transition: background .4s;
}
.phone.is-shaking { animation: shake .5s cubic-bezier(.36, .07, .19, .97) 2; }
@keyframes shake {
  10%, 90% { transform: translate3d(-2px, 0, 0) rotate(-.5deg); }
  20%, 80% { transform: translate3d(5px, 0, 0) rotate(.8deg); }
  30%, 50%, 70% { transform: translate3d(-9px, 0, 0) rotate(-1.2deg); }
  40%, 60% { transform: translate3d(9px, 0, 0) rotate(1.2deg); }
}

/* status dots */
.sdot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; position: relative; transition: background .3s, box-shadow .3s; }
.sdot--on { background: var(--green); box-shadow: 0 0 8px rgba(74, 222, 128, .7); }
.sdot--away { background: var(--amber); box-shadow: 0 0 8px rgba(251, 191, 36, .6); }
.sdot--busy { background: var(--red); box-shadow: 0 0 8px rgba(240, 82, 82, .6); }
.sdot--busy::after { content: ""; position: absolute; left: 2px; right: 2px; top: 4px; height: 2px; background: #fff; border-radius: 1px; }
.sdot--off { background: transparent; box-shadow: inset 0 0 0 2px #6B7189; }
.odot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); margin-left: 5px; vertical-align: middle; }

/* mood faces */
.mini-face { display: inline-block; width: 18px; height: 18px; vertical-align: -4px; flex: none; }
.mini-face svg { width: 100%; height: 100%; }
.mini-face--lg { width: 30px; height: 30px; }

/* ---------- hero phone screens ---------- */
.hs { position: absolute; inset: 0; display: flex; flex-direction: column; transition: transform .5s var(--ease), opacity .4s; }
.hs.is-out-left { transform: translateX(-30%); opacity: 0; pointer-events: none; }
.hs.is-out-right { transform: translateX(100%); opacity: 1; pointer-events: none; }
.hs-top { padding: 52px 18px 14px; background: var(--p-bar); border-bottom: 1px solid var(--p-line); }
.hs-me { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 15px; }
.hs-me small { display: block; font-weight: 400; color: var(--p-text-2); font-size: 12px; margin-top: 2px; }
.hs-bal { margin-left: auto; display: inline-flex; align-items: center; gap: 5px; color: var(--gold); font-weight: 700; font-size: 13px; }
.hs-title { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 18px 6px; }
.hs-title b { font-family: var(--display); font-size: 20px; }
.hs-title span { color: var(--p-text-2); font-size: 12px; }
.hs-list { flex: 1; overflow: hidden; padding: 0 10px; }
.folder { margin: 8px 8px 4px; color: var(--p-text-2); font-size: 12px; font-weight: 600; display: flex; justify-content: space-between; }
.crow { display: grid; grid-template-columns: 14px 1fr auto; column-gap: 8px; align-items: center; padding: 8px; border-radius: 12px; transition: background .25s; }
.crow.is-press { background: var(--p-card); }
.crow b { font-weight: 600; display: flex; align-items: center; gap: 6px; }
.crow small { grid-column: 2 / 4; color: var(--p-text-2); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow.is-offline b { color: #6B7189; }
.env {
  display: inline-flex; align-items: center; gap: 4px; padding: 2px 7px; border-radius: 8px;
  background: var(--p-accent); color: var(--p-on-accent); font-size: 11px; font-weight: 700;
}
.env::before { content: ""; width: 11px; height: 8px; border: 1.6px solid currentColor; border-radius: 2px; background: linear-gradient(to bottom right, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%) top left / 50% 60% no-repeat, linear-gradient(to bottom left, transparent 45%, currentColor 46%, currentColor 54%, transparent 55%) top right / 50% 60% no-repeat; }
.env.is-pop { animation: pop .4s var(--ease); }
@keyframes pop { 0% { transform: scale(.3); } 70% { transform: scale(1.2); } 100% { transform: scale(1); } }
.market-row b { color: var(--gold); }
.tabbar { display: flex; justify-content: space-around; padding: 10px 0 20px; background: var(--p-bar); border-top: 1px solid var(--p-line); font-size: 11px; color: var(--p-text-2); }
.tabbar span { position: relative; display: grid; justify-items: center; gap: 3px; }
.tabbar span::before { content: ""; width: 20px; height: 20px; border-radius: 6px; background: currentColor; opacity: .35; }
.tabbar .is-on { color: var(--p-accent); }
.tabbar .is-on::before { opacity: 1; }
.tabbar .has-dot::after { content: ""; position: absolute; top: -2px; right: 2px; width: 8px; height: 8px; border-radius: 50%; background: var(--orange); }

/* chat (shared by hero and friends phone) */
.cbar { display: flex; align-items: center; gap: 8px; padding: 50px 14px 12px; background: var(--p-bar); border-bottom: 1px solid var(--p-line); }
.cbar__back { font-size: 26px; line-height: 1; color: var(--p-text-2); margin-right: 2px; }
.cbar__who { flex: 1; min-width: 0; line-height: 1.25; }
.cbar__who b { font-size: 15px; }
.cbar__who small { display: block; color: var(--p-text-2); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cbar__nudge { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: var(--orange); background: rgba(255, 122, 26, .12); }
.cbar__nudge.is-press { background: var(--orange); color: var(--on-orange); }
.clines { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 12px; overflow: hidden; }
.bubble {
  max-width: 78%; padding: 8px 11px 6px; border-radius: 16px; font-size: 14px; line-height: 1.35;
  animation: bubbleIn .35s var(--ease) both; position: relative;
}
@keyframes bubbleIn { from { opacity: 0; transform: translateY(10px) scale(.96); } to { opacity: 1; transform: none; } }
.bubble--them { align-self: flex-start; background: var(--p-theirs); border-bottom-left-radius: 5px; }
.bubble--me { align-self: flex-end; background: var(--p-mine); border-bottom-right-radius: 5px; }
.bubble .meta { display: flex; justify-content: flex-end; align-items: center; gap: 5px; font-size: 10.5px; color: var(--p-text-2); margin-top: 2px; }
.rc { font-weight: 800; font-size: 11px; transition: color .3s; }
.rc--D { color: var(--blue); }
.rc--R { color: var(--green); }
.bubble--typing { padding: 12px 14px; }
.bubble--typing .dots { font-size: 22px; }
.sysline { align-self: center; font-size: 12px; color: var(--orange); font-weight: 600; animation: bubbleIn .35s var(--ease) both; padding: 2px 0; }
.bubble.is-held { transform: scale(.96); transition: transform .3s; }
.react-pick {
  position: absolute; bottom: calc(100% + 6px); left: 0; display: flex; gap: 4px; padding: 6px 8px;
  background: #262c45; border-radius: 22px; box-shadow: 0 10px 24px rgba(0, 0, 0, .45);
  animation: bubbleIn .25s var(--ease) both; z-index: 3;
}
.react-pick .mini-face { width: 24px; height: 24px; transition: transform .2s; }
.react-pick .mini-face.is-pick { transform: scale(1.35) translateY(-3px); }
.rchip {
  position: absolute; bottom: -14px; left: 10px; display: inline-flex; align-items: center; gap: 3px;
  padding: 1px 6px 1px 3px; border-radius: 12px; background: var(--p-card); font-size: 11px; font-weight: 700;
  box-shadow: 0 0 0 1.5px var(--blue); animation: pop .35s var(--ease);
}
.rchip .mini-face { width: 15px; height: 15px; vertical-align: 0; }
.bubble.has-chip { margin-bottom: 14px; }
.cinput { display: flex; align-items: center; gap: 10px; margin: 0 10px 22px; padding: 0 6px 0 14px; height: 44px; border-radius: 22px; background: var(--p-card); color: var(--p-text-2); font-size: 13.5px; }
.cinput span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cinput span.is-typing { color: var(--p-text); }
.send { width: 32px; height: 32px; border-radius: 50%; background: var(--orange); position: relative; flex: none; }
.send::after { content: ""; position: absolute; left: 11px; top: 10px; border: 6px solid transparent; border-left: 10px solid var(--on-orange); }

/* ---------- ticker ---------- */
.ticker { border-block: 1px solid var(--line); background: var(--bar); overflow: hidden; padding: 1rem 0; }
.ticker__track { display: flex; gap: 3rem; width: max-content; animation: tick 70s linear infinite; font-size: 1rem; white-space: nowrap; }
.ticker__track span b { font-weight: 400; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- why mixa ---------- */
.versus { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 7rem) 1.5rem 0; }
.versus__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: end; }
.versus__head .feature__lede { margin: 0; }
.versus__table { margin-top: 3rem; }
.versus__row { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(1.5rem, 6vw, 6rem); padding: 1.6rem 0; border-top: 1px solid var(--line); align-items: baseline; }
.versus__row--head { padding: 0 0 .9rem; border-top: 0; font-weight: 600; color: var(--text-3); font-size: .95rem; }
.versus__mixa { color: var(--orange); font: 700 1.15rem var(--display); display: inline-flex; align-items: baseline; gap: .15em; }
.versus__them { color: var(--text-3); font-size: 1.02rem; }
.versus__us { font: 600 clamp(1.25rem, 2.2vw, 1.6rem)/1.3 var(--display); letter-spacing: -0.015em; color: var(--text); }
.versus__row:not(.versus__row--head):hover .versus__us { color: #fff; }

/* ---------- features ---------- */
.feature {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 9vw, 8rem) 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
}
.feature--flip .feature__copy { order: 2; }
.feature__stage { display: grid; justify-items: center; }
.feature__lede { margin-top: 1.4rem; font-size: 1.12rem; color: var(--text-2); max-width: 34em; }
.facts { margin: 2.2rem 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 2rem; }
.facts dt { font: 700 1.25rem/1.2 var(--display); color: var(--text); }
.facts dd { margin: .35rem 0 0; color: var(--text-3); font-size: .95rem; line-height: 1.5; }
.facts div:nth-child(4) dt::after { content: ""; display: inline-block; width: 14px; height: 16px; margin-left: 6px; vertical-align: -1px; background: var(--gold); clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }
.zone-list { margin-top: 2.2rem; color: var(--text-3); font-size: .95rem; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.zone-list span { color: var(--text); background: var(--card); border: 1px solid var(--line); padding: .3rem .7rem; border-radius: 999px; font-weight: 500; }

.ticks { list-style: none; padding: 0; margin: 2rem 0 2rem; display: grid; gap: 1rem; color: var(--text-2); }
.ticks li { display: flex; align-items: center; gap: .7rem; }
.ticks .mini-face { width: 26px; height: 26px; }
.rD, .rR { font: 800 1.05rem var(--body); }
.rD { color: var(--blue); }
.rR { color: var(--green); margin-right: .1rem; margin-left: -.4rem; }
.hint { margin-top: .7rem; color: var(--text-3); font-size: .9rem; min-height: 1.5em; }

/* zone phone */
.zbar { background: var(--p-bar); border-bottom: 1px solid var(--p-line); padding-top: 48px; }
.ztabs { display: flex; gap: 6px; padding: 0 10px 10px; overflow: hidden; }
.ztab { flex: none; font-size: 12px; padding: 5px 10px; border-radius: 9px; color: var(--p-text-2); background: var(--p-card); white-space: nowrap; }
.ztab.is-on { color: var(--p-on-accent); background: var(--orange); font-weight: 700; }
.zhead { display: flex; justify-content: space-between; align-items: center; padding: 0 14px 10px; }
.zhead__name { font: 700 17px var(--display); }
.zhead__now { font-size: 11.5px; color: var(--p-text-2); display: inline-flex; align-items: center; gap: 6px; }
.zhead__now .sdot { width: 7px; height: 7px; }
.zlines { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 7px; padding: 12px 14px; overflow: hidden; font-size: 13.5px; line-height: 1.4; }
.zl { animation: lineIn .3s var(--ease) both; word-wrap: break-word; }
@keyframes lineIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.zl .who { font-weight: 400; }
.zl em { color: var(--p-text-2); }
.zl--sys { color: #7D839A; font-size: 12.5px; }
.zl--me .msg { color: #fff; }
.shield { display: inline-block; width: 11px; height: 13px; margin: 0 3px 0 2px; vertical-align: -1px; background: var(--gold); clip-path: polygon(50% 0, 100% 18%, 100% 55%, 50% 100%, 0 55%, 0 18%); }
.zinput { display: flex; align-items: center; gap: 8px; margin: 0 10px 22px; padding: 0 14px; height: 44px; border-radius: 22px; background: var(--p-card); font-size: 13px; }
.zinput__text { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--p-text); }
.zinput__text:empty::before { content: "Say something (150 max)"; color: var(--p-text-2); }
.zinput__left { color: var(--gold); font-weight: 700; font-size: 12px; font-variant-numeric: tabular-nums; }

/* ---------- faces / status ---------- */
.faces {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: start;
  border-top: 1px solid var(--line);
}
.faces__copy p { margin-top: 1.4rem; font-size: 1.12rem; color: var(--text-2); max-width: 30em; }
.profile-demo { display: grid; gap: 1.6rem; }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 1.4rem 1.5rem; }
.pcard__row { display: flex; align-items: center; gap: .7rem; }
.pcard__row .sdot { width: 14px; height: 14px; }
.pcard__row .sdot--busy::after { top: 6px; }
.pcard__name { font: 700 1.6rem var(--display); }
.pcard__name.is-off { color: #6B7189; }
.pcard__msg { margin-top: .5rem; color: var(--text-2); }
.pcard__status { margin-top: .3rem; color: var(--text-3); font-size: .9rem; }
.picker { border: 0; padding: 0; margin: 0; min-width: 0; }
.picker legend { padding: 0; margin-bottom: .7rem; font-weight: 600; color: var(--text-2); font-size: .95rem; }
.moods { display: flex; flex-wrap: wrap; gap: .5rem; }
.mood-btn {
  width: 52px; height: 52px; border-radius: 16px; border: 0; cursor: pointer;
  background: var(--card); display: grid; place-items: center;
  box-shadow: inset 0 0 0 1px var(--line); transition: transform .15s var(--ease), box-shadow .15s;
}
.mood-btn .mini-face { width: 30px; height: 30px; }
.mood-btn:hover { transform: translateY(-2px); }
.mood-btn[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--orange); }
.statuses { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .55rem; height: 44px; padding: 0 1rem; border-radius: 14px;
  border: 0; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 500;
}
.chip[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--orange); }

/* ---------- privacy ---------- */
.private { max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.5rem; border-top: 1px solid var(--line); }
.private h2 { max-width: 14ch; }
.cipher {
  margin-top: 3rem; display: grid; grid-template-columns: 1fr 1.1fr 1fr; gap: 1rem; align-items: center;
  background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 2.2rem 2rem 1.6rem; position: relative;
}
.cipher__end, .cipher__mid { display: grid; justify-items: center; gap: .8rem; position: relative; }
.cipher__mid::before, .cipher__mid::after { content: ""; position: absolute; top: calc(50% + .5rem); width: 22%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 6px, transparent 6px 12px); }
.cipher__mid::before { right: 100%; }
.cipher__mid::after { left: 100%; }
.cipher__label { font-size: .85rem; color: var(--text-3); font-weight: 500; }
.bub { padding: .65rem 1rem; border-radius: 16px; font-size: 1rem; transition: opacity .4s, transform .4s var(--ease); }
.bub--me { background: var(--mine); border-bottom-right-radius: 5px; }
.bub--them { background: var(--theirs); border-bottom-left-radius: 5px; }
.bub--scram { background: #0c0f1b; border: 1px dashed #3a4060; color: var(--gold); letter-spacing: .06em; font-variant-numeric: tabular-nums; min-width: 9.5em; text-align: center; }
.bub.is-hidden { opacity: 0; transform: translateY(6px); }
.cipher__gone { font-size: .8rem; color: var(--green); opacity: 0; transition: opacity .4s; }
.cipher__gone.is-on { opacity: 1; }
.cipher__btn { grid-column: 1 / -1; justify-self: center; margin-top: 1rem; height: 44px; }
.promises { list-style: none; padding: 0; margin: 3rem 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2rem; }
.promises li { border-top: 2px solid var(--line); padding-top: 1rem; }
.promises li:first-child { border-color: var(--dot-g); }
.promises li:nth-child(2) { border-color: var(--dot-y); }
.promises li:nth-child(3) { border-color: var(--dot-r); }
.promises p { margin-top: .5rem; color: var(--text-3); font-size: .93rem; line-height: 1.5; }

/* ---------- market ---------- */
.market {
  max-width: var(--wrap); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 6rem); align-items: center;
  border-top: 1px solid var(--line);
}
.coin {
  display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: radial-gradient(circle at 35% 30%, #FFE3A3, var(--gold) 55%, #C98F25);
  color: #5A3A05; font: 700 15px var(--display); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .2);
}
.coin--sm { width: 16px; height: 16px; font-size: 9px; }
.tiekie-note { margin-top: 1.8rem; display: flex; align-items: center; gap: .8rem; color: var(--text-3); font-size: .95rem; }
.skins { display: grid; grid-template-columns: auto 1fr; gap: 2rem; align-items: center; }
.phone--mini { width: 250px; height: 470px; border-radius: 40px; padding: 9px; }
.phone--mini .phone__notch { width: 74px; height: 20px; top: 16px; }
.phone--mini .screen { border-radius: 32px; font-size: 13px; }
.screen--skin { padding: 44px 14px 16px; gap: 6px; }
.sk-head { display: flex; align-items: center; gap: 6px; padding-bottom: 10px; border-bottom: 1px solid var(--p-line); }
.sk-bal { margin-left: auto; display: inline-flex; gap: 4px; align-items: center; color: var(--gold); font-weight: 700; font-size: 12px; }
.sk-title { font: 700 18px var(--display); margin: 6px 0 2px; }
.sk-row { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border-radius: 10px; background: var(--p-card); }
.sk-row .env { margin-left: auto; }
.sk-bubbles { display: grid; gap: 6px; margin-top: auto; }
.sk-b { padding: 7px 10px; border-radius: 14px; max-width: 80%; font-size: 12.5px; }
.sk-b--them { background: var(--p-theirs); justify-self: start; }
.sk-b--me { background: var(--p-mine); justify-self: end; }
.sk-btn { margin-top: 8px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--p-accent); color: var(--p-on-accent); font-weight: 700; transition: background .4s, color .4s; }
.skinlist { display: grid; gap: .5rem; }
.skin {
  display: flex; align-items: center; gap: .8rem; height: 52px; padding: 0 1rem; border: 0; border-radius: 14px;
  background: var(--card); box-shadow: inset 0 0 0 1px var(--line); cursor: pointer; font-weight: 500; text-align: left;
}
.skin i { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--b) 50%, var(--a) 50%); box-shadow: 0 0 0 1px rgba(255, 255, 255, .15); }
.skin[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--orange); }

.phone[data-skin="neon"] { --p-bg: #0A1424; --p-bar: #0D1A2E; --p-card: #11223A; --p-line: #1B3352; --p-accent: #3DF5E0; --p-on-accent: #04201C; --p-mine: #0F4A5C; --p-theirs: #142A44; --p-text-2: #8FB3C9; }
.phone[data-skin="bubblegum"] { --p-bg: #22112A; --p-bar: #2A1534; --p-card: #331A3F; --p-line: #48275A; --p-accent: #FF5FA8; --p-on-accent: #2A0717; --p-mine: #6B2457; --p-theirs: #3A1F48; --p-text-2: #C9A5D6; }
.phone[data-skin="daylight"] { --p-bg: #F2F3F7; --p-bar: #FFFFFF; --p-card: #FFFFFF; --p-line: #E0E3EC; --p-text: #151A2C; --p-text-2: #5D6378; --p-accent: #2F6BFF; --p-on-accent: #fff; --p-mine: #D6E2FF; --p-theirs: #FFFFFF; }

/* ---------- join ---------- */
.join {
  max-width: var(--wrap); margin: clamp(2rem, 5vw, 4rem) auto; padding: clamp(2.5rem, 6vw, 4.5rem);
  background: var(--orange); color: var(--on-orange); border-radius: 36px;
  display: grid; grid-template-columns: auto 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center;
  width: calc(100% - 3rem);
}
.join__logo { display: grid; justify-items: center; gap: .2rem; font-size: clamp(7rem, 14vw, 11rem); line-height: .8; }
.join__m { font: 700 1em/.8 var(--display); letter-spacing: -0.05em; color: var(--on-orange); }
.join__logo .dots { font-size: .55em; }
.join__logo .dots { gap: .07em; }
.join__logo .dots i { width: .2em; height: .2em; }
.join h2 { max-width: none; }
.join p { margin-top: 1rem; font-size: 1.12rem; max-width: 34em; }
.signup--dark input[type="email"] { background: #fff; border-color: transparent; color: var(--on-orange); }
.signup--dark input[type="email"]::placeholder { color: #8a6a55; }
.signup--dark input[type="email"]:focus { border-color: var(--on-orange); }
.signup--dark .signup__msg { color: var(--on-orange); }
.join :focus-visible { outline-color: var(--on-orange); }

/* ---------- faq ---------- */
.faq { max-width: 860px; margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) 1.5rem; }
.faq__list { margin-top: 2.2rem; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 1.3rem 2.5rem 1.3rem 0; position: relative;
  font: 600 1.2rem var(--display); letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: .4rem; top: 50%; width: 12px; height: 12px; margin-top: -8px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange); transform: rotate(45deg); transition: transform .25s var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq details p { padding: 0 0 1.4rem; color: var(--text-2); max-width: 62ch; }

/* ---------- footer ---------- */
.foot { max-width: var(--wrap); margin: 0 auto; padding: 3rem 1.5rem 4rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 2rem; border-top: 1px solid var(--line); color: var(--text-3); }
.foot__small { margin-left: auto; font-size: .9rem; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .promises { grid-template-columns: repeat(3, 1fr); }
  .skins { grid-template-columns: 1fr; justify-items: center; }
  .picker--skins { width: 100%; max-width: 320px; }
}
@media (max-width: 900px) {
  .nav__links { display: none; }
  .nav nav { display: none; }
  .nav .btn { margin-left: auto; }
  .hero, .feature, .faces, .market, .versus__head { grid-template-columns: 1fr; }
  .versus__row { grid-template-columns: 1fr; gap: .4rem; }
  .versus__row--head { display: none; }
  .versus__them::before { content: "Most chat apps: "; font-weight: 600; }
  .hero__title { max-width: 11ch; }
  .feature--flip .feature__copy { order: 0; }
  .cipher { grid-template-columns: 1fr; gap: 1.4rem; }
  .cipher__mid::before, .cipher__mid::after { display: none; }
  .join { grid-template-columns: 1fr; text-align: left; }
  .join__logo { justify-self: start; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .facts { grid-template-columns: 1fr; }
  .promises { grid-template-columns: 1fr; gap: 1.4rem; }
  .phone { transform: scale(.92); transform-origin: top center; margin-bottom: -50px; }
  .phone--mini { transform: none; margin-bottom: 0; }
  .signup .btn { flex: 1 1 100%; }
  .join { width: calc(100% - 1.5rem); padding: 2rem 1.5rem; border-radius: 28px; }
  .foot__small { margin-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ticker__track { animation: none; }
}
