@charset "utf-8";

:root {
  --bg: #09090d;
  --bg-soft: #0d0d13;
  --surface: #111118;
  --surface-2: #15151d;
  --line: #2c2630;
  --line-soft: #221e27;
  --ink: #f4efe7;
  --muted: #a39aa5;
  --quiet: #756c76;
  --red: #ff4d3d;
  --red-deep: #b62b23;
  --amber: #ffd166;
  --green: #a7e8b5;
  --radius: 18px;
  --display: Impact, "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 300px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 15% -10%, rgba(255, 77, 61, .13), transparent 34rem),
    radial-gradient(circle at 90% 12%, rgba(255, 209, 102, .06), transparent 28rem),
    linear-gradient(135deg, #09090d 0%, #0b0a10 50%, #08080c 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: .045;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E");
}

[hidden] { display: none !important; }

a { color: inherit; }

button, input, textarea { font: inherit; }

button { cursor: pointer; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 32px;
  background: rgba(9, 9, 13, .78);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.brand {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: .02em;
  text-decoration: none;
  line-height: 1;
}

.brand span { color: var(--red); }

.topnav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.topnav a {
  color: var(--muted);
  font-size: .78rem;
  letter-spacing: .08em;
  text-decoration: none;
  text-transform: uppercase;
}

.topnav a:hover { color: var(--ink); }

.nav-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-cta {
  padding: 11px 16px;
  border: 1px solid var(--red);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background .2s, color .2s, transform .2s;
}

.nav-cta:hover { background: var(--red); color: #140a09; transform: translateY(-1px); }

.demo-banner {
  padding: 8px 20px;
  background: var(--amber);
  color: #21180a;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr);
  align-items: end;
  gap: 58px;
  width: min(1240px, calc(100% - 64px));
  min-height: calc(100vh - 80px);
  margin: 0 auto;
  padding: 76px 0 58px;
}

.eyebrow, .kicker {
  margin: 0 0 15px;
  color: var(--red);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }

.live-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 5px rgba(255, 77, 61, .12);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255, 77, 61, .10); opacity: .78; }
  50% { box-shadow: 0 0 0 9px rgba(255, 77, 61, .02); opacity: 1; }
}

.hero h1, .dash-head h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4.6rem, 10.5vw, 9.6rem);
  font-weight: 900;
  letter-spacing: -.065em;
  line-height: .78;
  text-transform: uppercase;
}

.hero h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--ink);
}

.hero h1 em, .manifesto h2 em {
  color: var(--red);
  font-family: var(--serif);
  font-size: .88em;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.08em;
  text-transform: none;
}

.lead {
  max-width: 590px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
}

.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 14px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .055em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, opacity .2s;
}

.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:disabled { cursor: not-allowed; opacity: .5; transform: none; }

.btn-primary {
  background: var(--red);
  color: #190b09;
  box-shadow: 0 12px 36px rgba(255, 77, 61, .18);
}

.btn-primary:hover { background: #ff6254; box-shadow: 0 16px 45px rgba(255, 77, 61, .28); }

.btn-secondary { border-color: var(--line); background: transparent; color: var(--ink); }
.btn-secondary:hover { border-color: var(--red); color: var(--red); }
.btn-ghost { min-height: 42px; padding: 10px 16px; border-color: var(--line); background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--ink); border-color: var(--muted); }

.text-link { color: var(--muted); font-size: .82rem; text-decoration: none; }
.text-link span { color: var(--red); }
.text-link:hover { color: var(--ink); }

.hint { margin: 15px 0 0; color: var(--quiet); font-size: .76rem; line-height: 1.5; }

.copy-link {
  margin-top: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--quiet);
  font-size: .74rem;
  letter-spacing: .04em;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copy-link:hover { color: var(--ink); }

.hero-card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, #17141a 0%, #101016 54%, #0d0d12 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .4);
}

.hero-card::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -60px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(255, 77, 61, .22);
  border-radius: 50%;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: -40px;
  right: -30px;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(255, 77, 61, .12);
  border-radius: 50%;
}

.card-top { display: flex; justify-content: space-between; color: var(--quiet); font-size: .66rem; letter-spacing: .13em; text-transform: uppercase; }
.status { color: var(--green); }
.price { display: flex; align-items: baseline; gap: 8px; margin: 28px 0 22px; }
.price span { font-family: var(--display); font-size: 4.2rem; letter-spacing: -.04em; line-height: .8; }
.price small { color: var(--muted); font-size: .76rem; }
.card-rule { height: 1px; background: var(--line); }
.check-list { margin: 22px 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(44, 38, 48, .58); color: var(--muted); font-size: .82rem; }
.check-list li span { color: var(--red); font-family: var(--display); font-size: .9rem; }
.card-foot { margin: 18px 0 0; color: var(--quiet); font-size: .75rem; }
.card-foot strong { color: var(--amber); }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(1240px, calc(100% - 64px));
  margin: 0 auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.stat-strip div { display: flex; align-items: baseline; gap: 12px; padding: 24px 0; border-right: 1px solid var(--line-soft); }
.stat-strip div:not(:first-child) { padding-left: 28px; }
.stat-strip div:last-child { border-right: 0; }
.stat-strip strong { font-family: var(--display); font-size: 2rem; font-weight: 400; }
.stat-strip span { color: var(--quiet); font-size: .74rem; letter-spacing: .06em; text-transform: uppercase; }

.manifesto {
  width: min(1000px, calc(100% - 64px));
  margin: 0 auto;
  padding: 120px 0 90px;
}

.manifesto h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.5rem, 6vw, 5.2rem); font-weight: 400; letter-spacing: -.06em; line-height: .96; }
.manifesto p:last-child { max-width: 680px; margin: 30px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.7; }

.section { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 70px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 30px; }
.section-head h2 { margin: 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); font-weight: 400; letter-spacing: -.05em; }
.section-note { margin: 0; color: var(--quiet); font-size: .76rem; line-height: 1.6; text-align: right; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.step { min-height: 210px; padding: 26px; background: var(--surface); }
.step-num { color: var(--red); font-family: var(--display); font-size: 1.1rem; }
.step h3 { margin: 34px 0 10px; font-family: var(--serif); font-size: 1.45rem; font-weight: 400; }
.step p { margin: 0; color: var(--muted); font-size: .86rem; line-height: 1.65; }

.leader-card { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17, 17, 24, .72); }
.leader-head, .leader-row { display: grid; grid-template-columns: 54px 1fr 100px 90px; align-items: center; gap: 12px; }
.leader-head { padding: 14px 22px; border-bottom: 1px solid var(--line); color: var(--quiet); font-size: .62rem; letter-spacing: .13em; text-transform: uppercase; }
.leader-head span:nth-child(3), .leader-head span:nth-child(4) { text-align: right; }
.leader-list { margin: 0; padding: 0; list-style: none; }
.leader-row { padding: 17px 22px; border-bottom: 1px solid var(--line-soft); }
.leader-row:last-child { border-bottom: 0; }
.leader-row.me { background: rgba(255, 77, 61, .055); }
.leader-rank { color: var(--red); font-family: var(--display); font-size: 1.1rem; }
.leader-name { overflow: hidden; color: var(--ink); font-size: .9rem; text-overflow: ellipsis; white-space: nowrap; }
.leader-count { color: var(--ink); font-family: var(--display); font-size: 1.25rem; text-align: right; }
.leader-tokens { color: var(--quiet); font-size: .8rem; text-align: right; }
.leader-list .empty { padding: 28px 22px; color: var(--quiet); font-size: .84rem; }

.rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rules-grid article { padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17, 17, 24, .5); }
.rule-icon { color: var(--red); font-family: var(--display); font-size: 1.5rem; }
.rules-grid h3 { margin: 26px 0 9px; font-family: var(--serif); font-size: 1.25rem; font-weight: 400; }
.rules-grid p { margin: 0; color: var(--muted); font-size: .83rem; line-height: 1.65; }

.footer { display: flex; justify-content: space-between; gap: 20px; width: min(1240px, calc(100% - 64px)); margin: 40px auto 0; padding: 24px 0 40px; border-top: 1px solid var(--line-soft); color: var(--quiet); font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; }

/* Dashboard */
.dash-wrap { width: min(1240px, calc(100% - 64px)); margin: 0 auto; padding: 64px 0 80px; }
.dash-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 40px; }
.dash-head h1 { font-size: clamp(3.4rem, 7vw, 6.6rem); }
.dash-head h1 span { color: var(--red); font-family: var(--serif); font-size: .58em; font-style: italic; font-weight: 400; letter-spacing: -.06em; text-transform: none; }
.small-lead { font-size: .88rem; }
.dash-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(17, 17, 24, .74); }
.panel-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--quiet); font-size: .64rem; letter-spacing: .12em; text-transform: uppercase; }
.panel-top h2 { margin: 0; color: var(--ink); font-family: var(--serif); font-size: 1.8rem; font-weight: 400; letter-spacing: -.04em; text-transform: none; }
.pill { padding: 5px 9px; border: 1px solid var(--line); border-radius: 999px; color: var(--amber); font-size: .58rem; }
.score { display: flex; align-items: baseline; gap: 12px; margin: 30px 0 18px; }
.score strong { font-family: var(--display); font-size: 5.8rem; font-weight: 400; letter-spacing: -.04em; line-height: .75; }
.score span { color: var(--muted); font-size: .78rem; }
.progress { height: 8px; overflow: hidden; border-radius: 999px; background: #251f27; }
.progress span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--red-deep), var(--red)); transition: width .5s ease; }
.progress-note { min-height: 38px; margin: 12px 0 22px; color: var(--quiet); font-size: .76rem; line-height: 1.5; }
.credits { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.credits div { padding: 13px; border: 1px solid var(--line-soft); border-radius: 12px; background: var(--bg-soft); }
.credits strong { display: block; color: var(--ink); font-family: var(--display); font-size: 1.8rem; font-weight: 400; }
.credits span { color: var(--quiet); font-size: .68rem; }
.topup-panel { margin-top: 18px; }
.topup-copy { max-width: 700px; margin: 16px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.6; }
.topup-options { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 18px; }
.topup-option { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; min-height: 62px; padding: 12px 14px; text-align: left; }
.topup-option strong { color: var(--ink); font-size: .82rem; }
.topup-option span { color: var(--quiet); font-family: var(--display); font-size: 1.15rem; }
.entry-panel { display: flex; flex-direction: column; justify-content: center; background: linear-gradient(145deg, rgba(255, 77, 61, .08), rgba(17, 17, 24, .8) 60%); }
.entry-panel h2 { margin: 0 0 12px; font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.8rem); font-weight: 400; letter-spacing: -.05em; }
.entry-panel > p:not(.kicker):not(.hint) { margin: 0; color: var(--muted); font-size: .9rem; line-height: 1.65; }
.entry-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.entry-actions .btn { min-height: 46px; padding: 12px 18px; }
.leader-panel { margin-top: 18px; }
.dashboard-leader .leader-head, .dashboard-leader .leader-row { grid-template-columns: 44px 1fr 90px 80px; }

/* Room */
.room { position: fixed; inset: 0; z-index: 100; overflow-y: auto; background: #07070a; }
.room-shell { width: min(1100px, calc(100% - 40px)); margin: 0 auto; padding: 30px 0 60px; }
.room-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.room-state, .room-meta { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.room-meta { color: var(--quiet); }
.room-meta #roomTimer { color: var(--ink); font-family: monospace; font-size: 1rem; letter-spacing: .04em; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; min-height: 32px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: .7rem; text-transform: uppercase; }
.icon-btn:hover { border-color: var(--red); color: var(--ink); }
.room-body { display: grid; grid-template-columns: .8fr 1.2fr; gap: 40px; align-items: start; padding-top: 46px; }
.void { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 390px; text-align: center; }
.void-ring { position: relative; width: 170px; height: 170px; margin-bottom: 30px; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(255, 77, 61, .8), transparent 35%, rgba(255, 209, 102, .35), transparent 70%); animation: spin 8s linear infinite; filter: blur(.2px); }
.void-ring::before { content: ""; position: absolute; inset: 18px; border-radius: 50%; background: #07070a; box-shadow: inset 0 0 46px rgba(255, 77, 61, .3); }
.void-ring::after { content: ""; position: absolute; inset: 58px; border-radius: 50%; background: var(--red); box-shadow: 0 0 40px rgba(255, 77, 61, .55); animation: breathe 3s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(.86); opacity: .6; } 50% { transform: scale(1.12); opacity: 1; } }
.void h2 { position: relative; margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 4vw, 3.6rem); font-weight: 400; letter-spacing: -.06em; }
.void p { position: relative; max-width: 300px; margin: 14px 0 0; color: var(--quiet); font-size: .84rem; line-height: 1.6; }
.compose textarea { display: block; width: 100%; min-height: 250px; resize: vertical; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius); outline: none; background: var(--surface); color: var(--ink); font-family: var(--serif); font-size: 1.25rem; line-height: 1.5; transition: border-color .2s; }
.compose textarea:focus { border-color: var(--red); }
.compose textarea::placeholder { color: #625963; }
.compose-meta { display: flex; justify-content: space-between; gap: 10px; margin: 9px 2px 0; color: var(--quiet); font-size: .66rem; letter-spacing: .07em; text-transform: uppercase; }
.room-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }
.room-actions .btn { min-height: 48px; }
.btn-mic { border-color: var(--line); background: transparent; color: var(--muted); }
.btn-mic.listening { border-color: var(--red); color: var(--red); background: rgba(255, 77, 61, .08); }
.mic-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.voice-note { margin: 12px 0 0; color: var(--quiet); font-size: .72rem; }
.burn-display { min-height: 76px; margin-top: 24px; color: var(--amber); font-family: var(--serif); font-size: 1.1rem; line-height: 1.5; opacity: 0; }
.burn-display.burning { animation: burn 4s ease forwards; }
@keyframes burn { 0% { opacity: 0; transform: translateY(8px); filter: blur(3px); } 15% { opacity: 1; transform: translateY(0); filter: blur(0); } 72% { opacity: 1; } 100% { opacity: 0; transform: translateY(-10px); filter: blur(8px); } }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 20px; background: rgba(4, 4, 7, .78); backdrop-filter: blur(10px); }
.modal-card { position: relative; width: min(440px, 100%); max-height: calc(100vh - 40px); overflow-y: auto; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: var(--surface); box-shadow: 0 30px 100px rgba(0, 0, 0, .65); }
.modal-close { position: absolute; top: 15px; right: 15px; border-radius: 50%; }
.modal-card h2 { margin: 0 0 24px; font-family: var(--serif); font-size: 2rem; font-weight: 400; letter-spacing: -.05em; }
.auth-tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--line); border-radius: 999px; }
.auth-tab { flex: 1; padding: 10px; border: 0; border-radius: 999px; background: transparent; color: var(--quiet); font-size: .75rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.auth-tab.active { background: var(--red); color: #190b09; }
.auth-form { display: grid; gap: 14px; margin-top: 22px; }
.auth-form label { display: grid; gap: 7px; color: var(--muted); font-size: .72rem; letter-spacing: .05em; text-transform: uppercase; }
.auth-form input { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 10px; outline: none; background: var(--bg-soft); color: var(--ink); font-size: .95rem; letter-spacing: 0; text-transform: none; }
.auth-form input:focus { border-color: var(--red); }
.auth-form .btn { margin-top: 5px; }
.form-note { margin: 0; color: var(--quiet); font-size: .72rem; line-height: 1.5; }
.form-error { min-height: 20px; margin: 14px 0 0; color: #ff8b7e; font-size: .8rem; line-height: 1.5; }

.toast { position: fixed; right: 20px; bottom: 20px; z-index: 300; max-width: min(380px, calc(100% - 40px)); padding: 14px 18px; border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 10px; background: var(--surface-2); color: var(--ink); box-shadow: 0 20px 60px rgba(0, 0, 0, .45); font-size: .82rem; line-height: 1.5; }
.toast.success { border-left-color: var(--green); }
.no-js { position: fixed; inset: 0; z-index: 999; display: grid; place-items: center; padding: 30px; background: var(--bg); color: var(--ink); text-align: center; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; min-height: auto; gap: 42px; padding-top: 64px; }
  .hero-card { max-width: 480px; }
  .room-body { grid-template-columns: 1fr; }
  .void { min-height: 280px; }
  .void-ring { width: 130px; height: 130px; margin-bottom: 22px; }
  .void-ring::after { inset: 44px; }
}

@media (max-width: 720px) {
  .topbar { padding: 14px 20px; }
  .topnav { gap: 12px; }
  .topnav a { display: none; }
  .hero, .stat-strip, .manifesto, .section, .footer, .dash-wrap { width: calc(100% - 40px); }
  .hero { padding: 50px 0 40px; }
  .hero h1 { font-size: clamp(3.7rem, 16vw, 6.5rem); }
  .lead { font-size: .94rem; }
  .stat-strip { grid-template-columns: 1fr; }
  .stat-strip div { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 16px 0; }
  .stat-strip div:not(:first-child) { padding-left: 0; }
  .stat-strip div:last-child { border-bottom: 0; }
  .manifesto { padding: 80px 0 55px; }
  .section { padding: 52px 0; }
  .section-head, .dash-head { display: block; }
  .section-note { margin-top: 12px; text-align: left; }
  .steps, .rules-grid, .dash-grid { grid-template-columns: 1fr; }
  .topup-options { grid-template-columns: repeat(2, 1fr); }
  .step { min-height: auto; }
  .leader-head, .leader-row, .dashboard-leader .leader-head, .dashboard-leader .leader-row { grid-template-columns: 36px 1fr 70px 64px; gap: 8px; padding-left: 14px; padding-right: 14px; }
  .leader-head { font-size: .55rem; }
  .leader-count { font-size: 1rem; }
  .leader-tokens { font-size: .7rem; }
  .footer { display: block; line-height: 1.8; }
  .footer span { display: block; }
  .dash-head h1 { font-size: clamp(3rem, 13vw, 5rem); }
  .dash-head .btn { margin-top: 20px; }
  .score strong { font-size: 4.5rem; }
  .room-shell { width: calc(100% - 28px); padding-top: 20px; }
  .room-body { padding-top: 26px; gap: 22px; }
  .void { min-height: 230px; }
  .void-ring { width: 105px; height: 105px; }
  .void-ring::before { inset: 12px; }
  .void-ring::after { inset: 36px; }
  .void h2 { font-size: 2.1rem; }
  .compose textarea { min-height: 220px; font-size: 1.08rem; }
  .room-actions { align-items: stretch; }
  .room-actions .btn { flex: 1; padding-left: 12px; padding-right: 12px; font-size: .68rem; }
  .modal-card { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
.share-friend {
  max-width: 520px;
}

.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.share-row input {
  flex: 1 1 170px;
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: .9rem;
}

.share-row input:focus {
  outline: none;
  border-color: var(--red);
}

.share-note {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: .74rem;
  line-height: 1.5;
}
