/* Mute — trymute.co
   Layout: one centred column, one screen tall, over a bloom of the app's own
   gradient. The tagline says "circle", so the count is drawn as one: a ring of
   a hundred seats, lit in the brand gradient as people arrive. That ring is
   the page's one bold move; everything around it stays quiet.
   Palette comes from the app's Theme.kt. */

:root {
  --bg:        #0A0B0F;
  --surface:   #15171E;
  --border:    #242730;
  --text:      #F4F6FA;
  --dim:       #8A90A6;
  --faint:     #565C6E;
  --g1:        #00D4FF;
  --g2:        #3E6EFF;
  --g3:        #7B3FE4;
  --green:     #3ED598;

  --display: 'Archivo', 'Segoe UI', system-ui, sans-serif;
  --mono:    'Martian Mono', ui-monospace, 'Cascadia Mono', Consolas, monospace;

  /* moved by app.js as the pointer moves; the bloom leans after it */
  --mx: 0px;
  --my: 0px;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html, body { margin: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1 { margin: 0; }
p  { margin: 0; }
a  { color: inherit; }

.wrap {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-left: max(20px, env(safe-area-inset-left, 0px));
  padding-right: max(20px, env(safe-area-inset-right, 0px));
}

.mono {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
}

/* ── the first screen ────────────────────────────────────────────────── */

/* Header and hero together, exactly one screen tall on every device, so the
   count is all you see until you scroll. This used to be done on the body,
   which only worked while nothing came after the hero: once a section
   followed, the body was taller than the screen, there was no spare height
   for the hero to grow into, and on a phone the next section peeked in. */
.first {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
}

/* ── header ──────────────────────────────────────────────────────────── */

.top { position: relative; z-index: 3; }
.top .wrap { display: flex; align-items: center; gap: 16px; padding-block: clamp(12px, 2.2vh, 20px); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.mark { width: 30px; height: 30px; display: block; }   /* the SVG carries its own corners */
.brand-name { font-weight: 700; font-size: 18px; letter-spacing: -.02em; }
.top nav { margin-left: auto; display: flex; gap: 24px; }
.top nav a { color: var(--dim); text-decoration: none; font-size: 14px; font-weight: 500; }
.top nav a:hover { color: var(--text); }
@media (max-width: 680px) {
  .top nav { display: none; }
  /* On a phone the home page drops the bar entirely: the hero already says
     Mute in letters you cannot miss, so a second, smaller one above it was
     only taking height off the first screen. The written pages keep theirs —
     it is the only way back from them. */
  .first .top { display: none; }
}

/* ── hero ────────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* grow to fill the first screen, but never squash below its own height
     now that a section follows */
  flex: 1 0 auto;
  display: flex;
  align-items: center;
  padding-block: clamp(16px, 3.6vh, 52px);
}

/* the colour, gathered in the middle */
.bloom {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 54%;
  width: min(980px, 142vw);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  pointer-events: none;
  /* Cyan reads far brighter than deep purple at the same strength, so an even
     split leans the whole bloom to the cyan side. The two sit symmetrically
     about the middle and the cyan is held back, so the mass sits in the centre. */
  background:
    radial-gradient(closest-side at 50% 50%, var(--g2), transparent 74%),
    radial-gradient(closest-side at 38% 41%, color-mix(in srgb, var(--g1) 72%, transparent), transparent 62%),
    radial-gradient(closest-side at 62% 59%, var(--g3), transparent 64%);
  filter: blur(64px) saturate(138%);
  opacity: .9;
  animation: breathe 16s ease-in-out infinite alternate;
}
@keyframes breathe {
  from { transform: translate(-50%, -50%) scale(1);    opacity: .82; }
  to   { transform: translate(-50%, -50%) scale(1.06); opacity: .96; }
}

/* a brighter core behind the ring, which follows the pointer a little */
.bloom-core {
  position: absolute;
  z-index: -2;
  left: 50%;
  top: 60%;
  width: min(600px, 92vw);
  aspect-ratio: 1 / 1;
  transform: translate(calc(-50% + var(--mx)), calc(-50% + var(--my)));
  transition: transform .9s cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--g1) 50%, var(--g2)), transparent 70%);
  filter: blur(56px);
  opacity: .85;
}

/* the colour fades into the page instead of being cut off at the hero's edge */
.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0 0;
  height: clamp(70px, 14vh, 160px);
  background: linear-gradient(transparent, var(--bg));
  pointer-events: none;
}

/* grain, so a wide gradient does not band */
.grain {
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: .13;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)' opacity='.5'/></svg>");
}

.hero .wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(6px, 1.3vh, 15px);
}

.eyebrow { color: color-mix(in srgb, var(--text) 60%, transparent); }

/* the name is the headline: wide, heavy and tight */
.hero h1 {
  font-size: clamp(46px, min(12vw, 14.5vh), 148px);
  font-weight: 800;
  font-stretch: 122%;
  line-height: .86;
  letter-spacing: -.045em;
  padding-bottom: .04em;
  /* Plain, visible colour first. A browser that does not know color-mix()
     stops here — a solid "Mute" — instead of the gradient fallback below
     ever being reached: that one sets color: transparent, and a browser
     that cannot read the gradient inside it is left with no fill at all.
     This is what made the headline vanish while the small header logo,
     which uses none of this, stayed fine. */
  color: var(--text);
}
@supports (color: color-mix(in srgb, red, red)) {
  .hero h1 {
    background: linear-gradient(180deg, #FFFFFF 30%, color-mix(in srgb, var(--text) 70%, var(--g2)) 120%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

.tagline {
  font-size: clamp(16px, min(2.4vw, 3vh), 28px);
  font-weight: 600;
  letter-spacing: -.025em;
  line-height: 1.18;
  color: color-mix(in srgb, var(--text) 94%, transparent);
  text-wrap: balance;
}

.lede {
  color: color-mix(in srgb, var(--text) 70%, transparent);
  font-size: clamp(13.5px, min(1.45vw, 1.85vh), 17px);
  line-height: 1.5;
  max-width: 44ch;
  text-wrap: balance;
}

/* ── the circle ──────────────────────────────────────────────────────── */

.ring-wrap {
  position: relative;
  width: clamp(168px, min(33vh, 62vw), 330px);
  aspect-ratio: 1 / 1;
  max-width: 100%;
  margin-block: clamp(2px, .8vh, 10px);
}
.ring-wrap svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.ring-track { fill: none; stroke: color-mix(in srgb, var(--text) 7%, transparent); stroke-width: .5; }
.seat { fill: color-mix(in srgb, var(--text) 15%, transparent); }
.seat.on { filter: url(#dotGlow); }
/* the newest arrival keeps a pulse around it */
.halo {
  fill: none;
  stroke-width: 1;
  transform-box: fill-box;
  transform-origin: center;
  animation: halo 2.4s ease-out infinite;
}
@keyframes halo {
  from { transform: scale(1);   opacity: .95; }
  to   { transform: scale(3.6); opacity: 0; }
}

.ring-core {
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  /* a little shade inside the ring keeps the number legible on the colour */
  background: radial-gradient(circle, color-mix(in srgb, #05060A 38%, transparent), transparent 70%);
}
.count {
  font-size: clamp(44px, min(9.5vh, 15vw), 100px);
  font-weight: 800;
  font-stretch: 110%;
  line-height: .84;
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  color: var(--text);
  text-shadow: 0 10px 50px color-mix(in srgb, #05060A 70%, transparent);
}
.count-label {
  margin-top: 4px;
  color: color-mix(in srgb, var(--text) 86%, transparent);
  font-size: clamp(12.5px, min(1.5vw, 1.9vh), 16px);
  font-weight: 600;
  letter-spacing: -.01em;
}
.count-note { color: color-mix(in srgb, var(--text) 56%, transparent); font-size: 10px; }

/* who just walked in */
.joined {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 15px 8px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, #05060A 44%, transparent);
  border: 1px solid color-mix(in srgb, var(--text) 14%, transparent);
  backdrop-filter: blur(10px);
  color: color-mix(in srgb, var(--text) 74%, transparent);
  font-size: 14px;
  min-height: 34px;
}
.pip {
  width: 7px; height: 7px; border-radius: 50%; background: var(--green); flex: none;
  animation: pulse 2.6s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--green) 60%, transparent); }
  70%  { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
.joined .who { color: var(--text); font-weight: 600; }
.joined-line { animation: slip .45s cubic-bezier(.2,.8,.2,1); }
@keyframes slip { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* ── call to action ──────────────────────────────────────────────────── */

.actions { display: flex; flex-direction: column; align-items: center; margin-top: clamp(2px, .8vh, 10px); }
.btn {
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  padding: clamp(11px, 1.6vh, 15px) 26px; border-radius: 14px;
  background: var(--text); color: #0A0B0F;
  font-weight: 700; font-size: 15.5px; text-decoration: none;
  border: 0;
  box-shadow: 0 18px 46px -18px #000, 0 0 0 1px color-mix(in srgb, var(--text) 30%, transparent);
  transition: transform .18s ease, box-shadow .25s ease;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 50px -18px #000, 0 0 0 4px color-mix(in srgb, var(--g2) 35%, transparent);
}
.btn:focus-visible { outline: 2px solid var(--text); outline-offset: 4px; }

/* ── the arrival ─────────────────────────────────────────────────────── */

/* one short sequence on load, top to bottom; every piece ends fully visible */
.rise {
  animation: rise .8s cubic-bezier(.2,.8,.2,1) both;
  animation-delay: calc(var(--i, 0) * 80ms + 60ms);
}
@keyframes rise {
  from { opacity: 0; transform: translateY(16px); filter: blur(8px); }
  to   { opacity: 1; transform: none; filter: none; }
}
/* A safety net, set by app.js shortly after load. Wherever animations do not
   run — a background tab, power saving, a link-preview crawler taking a
   screenshot — the entrance would otherwise leave everything at opacity 0 for
   good. Once settled, the page shows its normal, fully visible state whether
   or not the entrance ever played. */
.settled .rise { animation: none; }

@media (prefers-reduced-motion: reduce) {
  .bloom, .rise, .halo, .pip, .joined-line { animation: none; }
  .bloom-core { transition: none; }
  .btn:hover { transform: none; }
}


/* ── what's inside ───────────────────────────────────────────────────── */

.what {
  position: relative;
  background: var(--bg);
}
.what .wrap { padding-block: clamp(64px, 10vw, 128px); }

.what-head {
  max-width: 50rem;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.what-head h2 {
  margin: 0;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.045em;
  line-height: 1;
  text-wrap: balance;
}
.what-head .grad {
  background: linear-gradient(90deg, var(--g1), var(--g2) 50%, var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.what-lede {
  color: color-mix(in srgb, var(--text) 62%, transparent);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  max-width: 52ch;
  text-wrap: balance;
}

/* ── the bento ───────────────────────────────────────────────────────── */

.bento {
  margin-top: clamp(40px, 5.5vw, 72px);
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
}
.t-watch { grid-column: span 4; grid-row: span 2; }
.t-rooms { grid-column: span 2; grid-row: span 2; }
.t-chat, .t-feed, .t-privacy { grid-column: span 2; }

@media (max-width: 1000px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .t-watch { grid-column: span 2; grid-row: auto; }
  .t-rooms, .t-chat, .t-feed, .t-privacy { grid-column: span 1; grid-row: auto; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .t-watch, .t-rooms, .t-chat, .t-feed, .t-privacy { grid-column: span 1; }
}

.tile {
  --x: 50%;
  --y: 0%;
  position: relative;
  isolation: isolate;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: clamp(18px, 2vw, 26px);
  border-radius: 26px;
  overflow: hidden;
  background:
    radial-gradient(90% 60% at 50% 0%, color-mix(in srgb, var(--tint) 12%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in srgb, var(--text) 4%, transparent), color-mix(in srgb, var(--text) 1.5%, transparent)),
    #0E1016;
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--text) 9%, transparent),
    0 0 0 1px color-mix(in srgb, var(--text) 7%, transparent),
    0 30px 60px -40px #000;
}
/* a light that follows the pointer across the tile */
.tile::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: radial-gradient(420px circle at var(--x) var(--y), color-mix(in srgb, var(--tint) 16%, transparent), transparent 60%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
/* and lights the edge where the pointer is */
.tile::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: radial-gradient(300px circle at var(--x) var(--y), var(--tint), transparent 55%);
  -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);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.tile:hover::before, .tile:hover::after { opacity: 1; }

.tile-copy { margin-top: auto; display: flex; flex-direction: column; gap: 8px; }
.kicker { color: var(--tint); font-size: 10.5px; }
.tile h3 {
  margin: 0;
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  text-wrap: balance;
}
.t-watch h3 { font-size: clamp(22px, 2.5vw, 32px); letter-spacing: -.035em; }
.tile-copy p:not(.kicker) {
  color: color-mix(in srgb, var(--text) 60%, transparent);
  font-size: 14.5px;
  line-height: 1.55;
  max-width: 56ch;
}

/* ── shared bits of drawn UI ─────────────────────────────────────────── */

.viz { position: relative; min-width: 0; }
.faces { display: inline-flex; align-items: center; }
.faces i {
  width: 22px; height: 22px; border-radius: 50%;
  margin-left: -7px;
  border: 2px solid #0E1016;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 40%, #12141B));
  display: grid; place-items: center;
  font: 600 9px/1 var(--mono); color: #fff; font-style: normal;
}
.faces i:first-child { margin-left: 0; }
.faces em {
  margin-left: 5px;
  font: 600 10px/1 var(--mono); font-style: normal;
  color: #fff; background: #FF4D4F; border-radius: 8px; padding: 3px 6px;
}
.faces.sm i { width: 20px; height: 20px; font-size: 8.5px; }
.faces i { overflow: hidden; }
.faces i img, .av img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.av {
  width: 26px; height: 26px; border-radius: 50%; flex: none; overflow: hidden;
  background: linear-gradient(140deg, var(--c), color-mix(in srgb, var(--c) 40%, #12141B));
  display: grid; place-items: center;
  font: 600 10px/1 var(--mono); color: #fff; font-style: normal;
}

.bub {
  max-width: 78%;
  padding: 8px 13px;
  border-radius: 16px;
  font-size: 13.5px;
  line-height: 1.35;
  width: fit-content;
}
.bub.them { background: #1D2029; border-bottom-left-radius: 5px; color: color-mix(in srgb, var(--text) 90%, transparent); }
.bub.me   { background: linear-gradient(100deg, #229CFF, #6054F0); border-bottom-right-radius: 5px; margin-left: auto; color: #fff; }

/* ── watch party ─────────────────────────────────────────────────────── */

.v-watch { display: flex; flex-direction: column; gap: 12px; }
.player {
  position: relative;
  aspect-ratio: 16 / 8.2;
  border-radius: 18px;
  overflow: hidden;
  background: #090A0E;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent), 0 24px 50px -30px #000;
}
/* a real frame on screen, drifting very slowly so it reads as footage */
.footage {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transform-origin: 60% 40%;
  animation: footage 18s ease-in-out infinite alternate;
}
@keyframes footage {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12) translate(-1.5%, 1%); }
}
.player::after {
  content: ""; position: absolute; inset: 0;
  /* shade top and bottom so the labels and the bar read on any picture */
  background:
    linear-gradient(rgba(5,6,10,.55), transparent 26%),
    linear-gradient(transparent 52%, rgba(5,6,10,.82));
}
.ptop {
  position: absolute; z-index: 2; top: 14px; left: 14px; right: 14px;
  display: flex; align-items: center; gap: 9px;
  color: color-mix(in srgb, var(--text) 82%, transparent);
}
.ptop .faces { margin-left: auto; }
.dot-live {
  width: 7px; height: 7px; border-radius: 50%; background: #FF4D4F;
  box-shadow: 0 0 0 4px color-mix(in srgb, #FF4D4F 22%, transparent);
}
.pbar {
  position: absolute; z-index: 2; left: 14px; right: 14px; bottom: 14px;
  display: flex; align-items: center; gap: 11px;
}
.tc { color: color-mix(in srgb, var(--text) 70%, transparent); font-size: 10px; }
.ptrack {
  position: relative; flex: 1; height: 3px; border-radius: 3px;
  background: color-mix(in srgb, var(--text) 18%, transparent);
}
.pfill { position: absolute; inset: 0 auto 0 0; width: 22%; border-radius: 3px; background: linear-gradient(90deg, #00D4FF, #3E6EFF); }
.phead {
  position: absolute; top: 50%; left: 22%;
  width: 12px; height: 12px; border-radius: 50%;
  transform: translate(-50%, -50%);
  background: #fff;
  box-shadow: 0 0 0 4px color-mix(in srgb, #3E6EFF 35%, transparent), 0 0 16px 2px color-mix(in srgb, #3E6EFF 70%, transparent);
}
.bubbles { display: flex; flex-direction: column; gap: 7px; padding-inline: 4px; }

/* ── world rooms ─────────────────────────────────────────────────────── */

/* the list runs the full height of its tile and fades out behind the words,
   so it reads as a longer list of live rooms than fits */
.v-rooms {
  flex: 1;
  min-height: 0;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 9px;
  -webkit-mask-image: linear-gradient(#000 62%, transparent);
  mask-image: linear-gradient(#000 62%, transparent);
}
.t-rooms .tile-copy { margin-top: 0; }
@media (max-width: 1000px) { .v-rooms { flex: none; height: 320px; } }
.room {
  display: flex; align-items: center; gap: 11px;
  padding: 9px;
  border-radius: 15px;
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent);
}
.rthumb {
  width: 58px; aspect-ratio: 16 / 10; flex: none; border-radius: 9px;
  background: #1D2029;
  position: relative;
  overflow: hidden;
}
.rthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rthumb::before { content: ""; position: absolute; inset: 0; background: rgba(5,6,10,.28); }
.rthumb::after {
  content: ""; position: absolute; z-index: 1; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 8px solid rgba(255,255,255,.9);
  border-top: 5px solid transparent; border-bottom: 5px solid transparent;
}
.rmeta { min-width: 0; flex: 1; display: flex; flex-direction: column; gap: 4px; }
.rmeta b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.live { color: color-mix(in srgb, var(--text) 50%, transparent); font-size: 9.5px; display: inline-flex; align-items: center; gap: 5px; }
.live i { width: 5px; height: 5px; border-radius: 50%; background: #3ED598; }
.room .faces i { width: 18px; height: 18px; margin-left: -6px; }
.room .faces i:first-child { margin-left: 0; }
.room .faces em { font-size: 9px; padding: 2px 5px; }

/* ── messenger ───────────────────────────────────────────────────────── */

.v-chat { display: flex; flex-direction: column; gap: 7px; min-height: 196px; }
.msg { display: flex; align-items: flex-end; gap: 7px; }
.msg .av { width: 22px; height: 22px; }
.edited { display: block; margin-top: 3px; font-size: 8.5px; opacity: .7; text-align: right; }
.lcard {
  display: flex; gap: 9px; align-items: center;
  width: 82%; margin-left: auto;
  padding: 7px; border-radius: 14px;
  background: #1D2029;
}
.lthumb { width: 38px; height: 38px; flex: none; display: block; }
.ltext { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.ltext b { font-size: 11.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ltext em { font-style: normal; font-size: 9px; color: color-mix(in srgb, var(--text) 45%, transparent); }
.typing {
  display: inline-flex; gap: 4px; width: fit-content;
  padding: 10px 13px; border-radius: 16px; border-bottom-left-radius: 5px;
  background: #1D2029;
}
.typing i {
  width: 6px; height: 6px; border-radius: 50%;
  background: color-mix(in srgb, var(--text) 55%, transparent);
  animation: typing 1.2s ease-in-out infinite;
}
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }

/* ── feed ────────────────────────────────────────────────────────────── */

.v-feed { min-height: 196px; display: flex; }
.post {
  flex: 1;
  border-radius: 16px;
  overflow: hidden;
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent);
  display: flex; flex-direction: column;
}
.post-top { display: flex; align-items: center; gap: 8px; padding: 9px 11px; }
.post-top b { font-size: 12.5px; font-weight: 600; }
.post-top .mono { margin-left: auto; font-size: 9px; color: color-mix(in srgb, var(--text) 40%, transparent); }
.post-img {
  flex: 1; min-height: 96px; width: 100%;
  object-fit: cover;
  display: block;
}
.post-foot { display: flex; align-items: center; gap: 7px; padding: 9px 11px; }
.post-foot b { font-size: 12px; }
.post-foot .mono { margin-left: auto; font-size: 9px; color: color-mix(in srgb, var(--text) 45%, transparent); }
.heart { width: 17px; height: 17px; fill: none; stroke: color-mix(in srgb, var(--text) 70%, transparent); stroke-width: 2; transition: fill .3s ease, stroke .3s ease, transform .3s cubic-bezier(.2,.8,.2,1.4); }
.t-feed:hover .heart { fill: #FF4D4F; stroke: #FF4D4F; transform: scale(1.18); }

/* ── privacy ─────────────────────────────────────────────────────────── */

.v-privacy { display: flex; flex-direction: column; gap: 8px; min-height: 196px; }
.crow {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px; border-radius: 14px;
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 6%, transparent);
}
.crow > span:not(.pill):not(.av) { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crow b { font-size: 12.5px; font-weight: 600; }
.crow em { font-style: normal; font-size: 11.5px; color: color-mix(in srgb, var(--text) 50%, transparent); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crow.is-blurred > span:not(.pill) { filter: blur(4.5px); transition: filter .45s ease; }
.t-privacy:hover .crow.is-blurred > span:not(.pill) { filter: blur(0); }
.pill {
  margin-left: auto; flex: none;
  font-size: 8.5px; padding: 4px 8px; border-radius: 8px;
  color: var(--tint);
  background: color-mix(in srgb, var(--tint) 16%, transparent);
}
.req {
  margin-top: auto;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px;
  padding: 10px 11px; border-radius: 14px;
  background: color-mix(in srgb, var(--tint) 10%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--tint) 24%, transparent);
}
.req .mono { font-size: 8.5px; color: var(--tint); grid-column: 1; }
.req b { font-size: 12.5px; grid-column: 1; }
.req-btns { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.req-btns i {
  font-style: normal; font-size: 10.5px; font-weight: 600;
  padding: 6px 10px; border-radius: 9px;
  background: color-mix(in srgb, var(--text) 8%, transparent);
}
.req-btns i:first-child { background: var(--text); color: #0A0B0F; }

@media (prefers-reduced-motion: reduce) {
  .footage, .typing i { animation: none; }
  .heart, .crow.is-blurred > span:not(.pill) { transition: none; }
}


/* ── footer ──────────────────────────────────────────────────────────── */

.foot {
  position: relative;
  overflow: hidden;
  background: var(--bg);
}
.foot .wrap { padding-block: clamp(20px, 3vw, 32px) clamp(28px, 4vw, 44px); }

/* a closing call, set like a tile so it belongs to the page above it */
.foot-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px 32px;
  padding: clamp(26px, 4vw, 48px);
  border-radius: 28px;
  background:
    radial-gradient(80% 140% at 0% 100%, color-mix(in srgb, var(--g1) 26%, transparent), transparent 60%),
    radial-gradient(70% 120% at 100% 0%, color-mix(in srgb, var(--g3) 32%, transparent), transparent 60%),
    linear-gradient(120deg, #101632, #141236);
  box-shadow:
    inset 0 1px 0 color-mix(in srgb, var(--text) 12%, transparent),
    0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent);
}
.foot-cta > div { min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-cta h2 {
  margin: 0;
  font-size: clamp(26px, 3.6vw, 44px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.foot-cta p { color: color-mix(in srgb, var(--text) 68%, transparent); font-size: 15.5px; }

.foot-grid {
  margin-top: clamp(44px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px 28px;
}
@media (max-width: 820px) {
  .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .foot-brand { grid-column: 1 / -1; }
}
.foot-brand { display: flex; flex-direction: column; gap: 14px; }
.foot-brand p { color: color-mix(in srgb, var(--text) 56%, transparent); font-size: 14.5px; max-width: 28ch; }
.foot-col { display: flex; flex-direction: column; gap: 11px; min-width: 0; }
.foot-col .mono { color: color-mix(in srgb, var(--text) 42%, transparent); margin-bottom: 4px; }
.foot-col a {
  color: color-mix(in srgb, var(--text) 72%, transparent);
  text-decoration: none;
  font-size: 14.5px;
  width: fit-content;
  transition: color .2s ease;
}
.foot-col a:hover { color: var(--text); }
.foot-col a:focus-visible, .to-top:focus-visible { outline: 2px solid var(--g1); outline-offset: 3px; border-radius: 4px; }
.mail {
  font-weight: 600;
  overflow-wrap: anywhere;
  background: linear-gradient(90deg, var(--g1), var(--g3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.foot-base {
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 22px;
  border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  color: color-mix(in srgb, var(--text) 42%, transparent);
  font-size: 13.5px;
}
.to-top { color: color-mix(in srgb, var(--text) 50%, transparent); text-decoration: none; }
.to-top:hover { color: var(--text); }

@media (prefers-reduced-motion: reduce) { .footage { animation: none; } }

/* ── the written pages: privacy, terms, child safety, deletion ───────── */

/* These are read, not scanned, so the column is narrow, the type is larger
   than the marketing copy, and the colour stays out of the way. */

.doc-page { background: var(--bg); }

.doc { position: relative; isolation: isolate; overflow: hidden; }
.doc .wrap { max-width: 980px; padding-block: clamp(36px, 6vw, 72px) clamp(56px, 8vw, 100px); }

.doc-glow {
  position: absolute;
  z-index: -1;
  top: -340px;
  left: 50%;
  width: min(1000px, 150vw);
  aspect-ratio: 1 / 1;
  transform: translateX(-50%);
  pointer-events: none;
  background:
    radial-gradient(closest-side at 50% 50%, color-mix(in srgb, var(--g2) 42%, transparent), transparent 72%),
    radial-gradient(closest-side at 38% 44%, color-mix(in srgb, var(--g1) 30%, transparent), transparent 64%),
    radial-gradient(closest-side at 62% 58%, color-mix(in srgb, var(--g3) 38%, transparent), transparent 66%);
  filter: blur(70px) saturate(130%);
  opacity: .5;
}

.doc-head { display: flex; flex-direction: column; gap: 14px; max-width: 40rem; }
.doc-head h1 {
  margin: 0;
  font-size: clamp(34px, 5.6vw, 62px);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -.045em;
  line-height: 1;
  text-wrap: balance;
}
.doc-updated { color: color-mix(in srgb, var(--text) 45%, transparent); }
.doc-intro p {
  color: color-mix(in srgb, var(--text) 72%, transparent);
  font-size: clamp(15.5px, 1.6vw, 18px);
  line-height: 1.6;
}
.doc-intro p + p { margin-top: 12px; }

/* what is on the page, for the long ones */
.doc-toc {
  margin-top: clamp(32px, 4vw, 48px);
  padding: clamp(18px, 2vw, 24px);
  border-radius: 20px;
  background: color-mix(in srgb, var(--text) 3.5%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--text) 8%, transparent);
}
.doc-toc > .mono { color: color-mix(in srgb, var(--text) 42%, transparent); margin-bottom: 14px; }
.toc-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 2px 20px; }
.toc-list a {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 7px 0;
  color: color-mix(in srgb, var(--text) 70%, transparent);
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.35;
  transition: color .2s ease;
}
.toc-list a:hover { color: var(--text); }
.toc-list .mono { color: color-mix(in srgb, var(--text) 32%, transparent); font-size: 10px; flex: none; }

.doc-body { margin-top: clamp(36px, 5vw, 60px); display: flex; flex-direction: column; gap: clamp(26px, 3.4vw, 40px); }

.doc-sec { scroll-margin-top: 90px; }
.doc-sec h2 {
  display: flex;
  gap: 14px;
  align-items: baseline;
  margin: 0 0 16px;
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.2;
  text-wrap: balance;
}
.doc-sec h2 .n {
  flex: none;
  font-size: 11px;
  color: var(--tint, var(--g2));
  padding-top: .3em;
}
.doc-sec h3 {
  margin: 22px 0 10px;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -.02em;
}

/* the words themselves */
.doc-sec p, .doc-sec li {
  color: color-mix(in srgb, var(--text) 68%, transparent);
  font-size: 15.5px;
  line-height: 1.68;
}
.doc-sec p + p { margin-top: 13px; }
/* a paragraph that carries on after a list or a table needs the same air */
.doc-sec ul + p, .doc-sec ol + p, .doc-sec table + p,
.doc-sec ul + h3, .doc-sec ol + h3, .doc-sec table + h3 { margin-top: 16px; }
.doc-sec strong { color: color-mix(in srgb, var(--text) 92%, transparent); font-weight: 600; }
.doc-sec ul, .doc-sec ol { margin: 14px 0 0; padding-left: 0; display: flex; flex-direction: column; gap: 9px; }
.doc-sec ul { list-style: none; }
.doc-sec ul > li { position: relative; padding-left: 20px; }
.doc-sec ul > li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: .72em;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--tint, var(--g2));
  opacity: .7;
}
.doc-sec ol { list-style: decimal; padding-left: 22px; }
.doc-sec ol > li { padding-left: 4px; }
.doc-sec ol > li::marker { color: var(--tint, var(--g2)); font-weight: 600; }
.doc-sec a { color: color-mix(in srgb, var(--g1) 72%, var(--text)); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.doc-sec a:hover { color: var(--text); }

/* the privacy policy has two tables */
.doc-sec table {
  width: 100%;
  margin-top: 18px;
  border-collapse: collapse;
  font-size: 14.5px;
}
.doc-sec thead th {
  text-align: left;
  padding: 10px 14px;
  color: color-mix(in srgb, var(--text) 50%, transparent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 10%, transparent);
}
.doc-sec td {
  padding: 12px 14px;
  color: color-mix(in srgb, var(--text) 68%, transparent);
  border-bottom: 1px solid color-mix(in srgb, var(--text) 6%, transparent);
  line-height: 1.55;
  vertical-align: top;
}
.doc-sec tbody tr:last-child td { border-bottom: 0; }
/* a table that will not fit scrolls on its own, never the page */
.doc-sec table { display: block; overflow-x: auto; }
@media (min-width: 700px) { .doc-sec table { display: table; } }

.doc-back { margin-top: clamp(40px, 5vw, 64px); }
.doc-back a {
  color: color-mix(in srgb, var(--text) 60%, transparent);
  text-decoration: none;
  font-size: 14.5px;
}
.doc-back a:hover { color: var(--text); }

/* the footer sits straight under the words here, so it needs its own line */
.doc-page .foot { border-top: 1px solid color-mix(in srgb, var(--text) 7%, transparent); }
.doc-page .foot .wrap { padding-block: clamp(40px, 5vw, 56px) clamp(28px, 4vw, 44px); }
.doc-page .foot-grid { margin-top: 0; }
