/*
 * Club77's website: the shop window and the help desk (the games are in the app).
 * Brand colours only: near-black, Club77 lime, white letters, the chips' gold.
 * Headlines echo the wordmark (heavy, wide, italic); everything else is Plus Jakarta Sans, as in the app.
 * Pages are generated by site-src/build.mjs; this file is written by hand.
 */
@font-face { font-family: "Archivo"; font-style: normal; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(assets/archivo.woff2) format("woff2"); }
@font-face { font-family: "Archivo"; font-style: italic; font-weight: 400 900; font-stretch: 62% 125%; font-display: swap; src: url(assets/archivo-italic.woff2) format("woff2"); }
@font-face { font-family: "Plus Jakarta Sans"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(assets/plus-jakarta-sans.woff2) format("woff2"); }

:root {
  --bg: #0a0a0b;
  --surface: #131415;
  --surface-2: #1b1c1f;
  --line: #26272b;
  --line-strong: #3a3b40;
  --text: #f2f3f5;
  --soft: #cfd1d6;
  --muted: #9da0a7;
  --lime: #d1fe17;
  --lime-press: #bde30f;
  --on-lime: #0a0c02;
  --gold: #f0c14b;
  /* The lobby's own game colours, used wherever a game type is named. */
  --strip-nlh: #3f9a5f;
  --strip-plo: #4a86d8;
  --strip-mtt: #d88a2a;
  --strip-sng: #9a6be0;
  --radius: 20px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --display: "Archivo", "Arial Black", "Helvetica Neue", Impact, sans-serif;
  --wrap: 1180px;
  --pad: clamp(20px, 4vw, 40px);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--font); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
a { color: inherit; text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--pad)); margin-inline: auto; padding-inline: max(var(--pad), env(safe-area-inset-left, 0px)) max(var(--pad), env(safe-area-inset-right, 0px)); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: var(--lime); color: var(--on-lime); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* Display type: the wordmark's voice. */
.display { font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 118%; text-transform: uppercase; line-height: .94; letter-spacing: -.012em; text-wrap: balance; }
h1.display { font-size: clamp(40px, 5.8vw, 82px); }
h2.display { font-size: clamp(32px, 4.6vw, 60px); }
h3.display { font-size: clamp(22px, 2.4vw, 30px); line-height: 1; }
.lead { color: var(--soft); font-size: clamp(17px, 1.5vw, 20px); max-width: 56ch; }
.muted { color: var(--muted); }

/* Top bar */
.top { position: sticky; top: 0; z-index: 30; background: rgb(10 10 11 / .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: block; flex: none; }
.brand img { height: 26px; width: auto; }
.top nav { margin-inline-start: auto; }
.top nav ul { display: flex; gap: 4px; align-items: center; }
.top nav a { display: block; text-decoration: none; padding: 9px 14px; border-radius: 999px; color: var(--soft); font-weight: 600; font-size: 15px; }
.top nav a:hover { color: var(--text); background: var(--surface-2); }
.top nav a[aria-current="page"] { color: var(--lime); }
.top .get { flex: none; }
.top nav .only-menu { display: none; }
.menu-toggle { display: none; margin-inline-start: auto; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; place-items: center; }
@media (max-width: 900px) {
  .menu-toggle { display: grid; }
  .top .get { display: none; }
  .top nav { position: absolute; inset: 72px 0 auto 0; margin: 0; background: var(--bg); border-bottom: 1px solid var(--line); display: none; padding: 10px var(--pad) 20px; }
  .top[data-open] nav { display: block; }
  .top nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .top nav a { padding: 14px 12px; font-size: 17px; border-radius: 12px; }
  .top nav .only-menu { display: block; }
  .top nav .only-menu a { color: var(--lime); }
}

/* Buttons */
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; border: 0; font: inherit; font-weight: 800; font-size: 16px; text-decoration: none; cursor: pointer; white-space: nowrap; }
.button.small { min-height: 42px; padding: 0 20px; font-size: 15px; }
.button.primary { background: var(--lime); color: var(--on-lime); }
.button.primary:hover { background: #dcff4a; }
.button.primary:active { background: var(--lime-press); }
.button.ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.button.ghost:hover { box-shadow: inset 0 0 0 1.5px var(--lime); color: var(--lime); }
.button[disabled] { opacity: .45; cursor: default; }

/* Store badges. Until the app is in a store the badge is not a link and says so. */
.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-start; }
.store { position: relative; display: inline-flex; align-items: center; gap: 12px; height: 58px; padding: 0 20px 0 16px; border-radius: 14px; background: #fff; color: #000; text-decoration: none; font-weight: 700; font-size: 19px; line-height: 1.1; letter-spacing: -.01em; }
.store svg { flex: none; }
.store small { display: block; font-size: 11px; font-weight: 600; letter-spacing: 0; margin-bottom: 2px; }
a.store:hover { background: var(--lime); }
.store.soon { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.store.soon small { color: var(--lime); }

/* Hero */
.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(assets/art-hero.webp) right center / cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, var(--bg) 0%, rgb(10 10 11 / .94) 34%, rgb(10 10 11 / .35) 62%, rgb(10 10 11 / 0) 80%), linear-gradient(0deg, var(--bg) 0%, rgb(10 10 11 / 0) 22%); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; align-items: center; padding-block: clamp(48px, 7vw, 96px) 0; }
.hero-copy { display: grid; gap: 26px; padding-bottom: clamp(48px, 7vw, 96px); }
@media (min-width: 861px) { .hero .wrap { min-height: 700px; } }
.hero-copy .fine { color: var(--muted); font-size: 14px; max-width: 46ch; }
.hero-phone { align-self: end; justify-self: center; width: min(360px, 100%); margin-bottom: -90px; filter: drop-shadow(0 40px 60px rgb(0 0 0 / .7)); }
@media (max-width: 860px) {
  .hero::after { background: linear-gradient(180deg, rgb(10 10 11 / .9) 0%, rgb(10 10 11 / .72) 55%, rgb(10 10 11 / .2) 100%); }
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .hero-phone { width: min(290px, 76%); margin-bottom: -70px; }
}

/* Sections */
.band { padding-block: clamp(64px, 9vw, 120px); border-bottom: 1px solid var(--line); }
.band > .wrap > .head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 56px); max-width: 780px; }
.band.tight { padding-block: clamp(48px, 6vw, 80px); }

/* Three steps: a real sequence, so it is numbered. The club ID plate is the app's own. */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; counter-reset: step; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface); }
.steps li { counter-increment: step; padding: clamp(22px, 3vw, 36px); display: grid; gap: 10px; align-content: start; border-inline-start: 1px solid var(--line); }
.steps li:first-child { border-inline-start: 0; }
.steps li::before { content: counter(step); font-family: var(--display); font-style: italic; font-weight: 900; font-stretch: 118%; font-size: 54px; line-height: 1; color: var(--lime); }
.steps b { font-size: 20px; line-height: 1.25; }
.steps p { color: var(--muted); font-size: 16px; }
.id-plate { display: inline-flex; align-items: center; gap: 8px; margin-top: 8px; padding: 6px 12px 6px 8px; border-radius: 10px; background: #1d1f2e; box-shadow: inset 0 0 0 1px #3b3f66; font-weight: 700; font-size: 15px; letter-spacing: .08em; font-variant-numeric: tabular-nums; width: fit-content; }
.id-plate i { font-style: normal; font-size: 11px; letter-spacing: .04em; padding: 2px 6px; border-radius: 6px; background: #3b3f66; color: #dfe2ff; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } .steps li { border-inline-start: 0; border-top: 1px solid var(--line); } .steps li:first-child { border-top: 0; } }

/* Game rows, drawn like the rows of a club's lobby: a coloured strip names the game. */
.lobby { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lobby li { position: relative; display: grid; gap: 4px; padding: 20px 22px 20px 34px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.lobby li::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 10px; background: var(--strip, var(--strip-nlh)); }
.lobby li[data-game="plo"] { --strip: var(--strip-plo); }
.lobby li[data-game="mtt"] { --strip: var(--strip-mtt); }
.lobby li[data-game="sng"] { --strip: var(--strip-sng); }
.lobby li[data-game="lime"] { --strip: var(--lime); }
.lobby b { font-size: 18px; }
.lobby span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) { .lobby { grid-template-columns: 1fr; } }

/* Phones */
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 4vw, 56px); align-items: start; }
.phones figure { display: grid; gap: 18px; justify-items: center; text-align: center; }
.phones img { width: min(300px, 100%); filter: drop-shadow(0 30px 40px rgb(0 0 0 / .6)); }
.phones figure:nth-child(2) { margin-top: clamp(0px, 4vw, 48px); }
.phones figcaption b { display: block; font-size: 18px; }
.phones figcaption span { color: var(--muted); font-size: 15.5px; }
@media (max-width: 760px) {
  .phones { grid-auto-flow: column; grid-auto-columns: 72%; grid-template-columns: none; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); }
  .phones figure { scroll-snap-align: center; }
  .phones figure:nth-child(2) { margin-top: 0; }
}

/* Picture and words side by side */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 5vw, 72px); align-items: center; }
.split.flip > :first-child { order: 2; }
.split .words { display: grid; gap: 22px; }
.split .art { border-radius: 28px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.split .art:not(.tall) img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; }
.split .art.tall { background: #050506 center bottom / cover no-repeat; display: grid; justify-items: center; padding: 40px 24px 0; }
.split .art.tall img { width: min(300px, 80%); margin-bottom: -90px; filter: drop-shadow(0 30px 40px rgb(0 0 0 / .65)); }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

.ticks { display: grid; gap: 14px; }
.ticks li { position: relative; padding-inline-start: 34px; color: var(--soft); }
.ticks li::before { content: ""; position: absolute; left: 0; top: .28em; width: 20px; height: 20px; border-radius: 50%; background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%230a0c02' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.ticks b { color: var(--text); }

/* Plain facts in a grid (fair play, roles) */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts li { background: var(--surface); padding: 26px; display: grid; gap: 8px; align-content: start; }
.facts b { font-size: 18px; line-height: 1.3; }
.facts span { color: var(--muted); font-size: 15.5px; }
.facts svg { color: var(--lime); margin-bottom: 6px; }

/* Questions */
.faq { display: grid; gap: 10px; max-width: 860px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; }
.faq details[open] { border-color: var(--line-strong); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--lime); border-bottom: 2px solid var(--lime); transform: rotate(45deg) translate(-2px, -2px); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(225deg) translate(-2px, -2px); }
.faq .answer { padding: 0 22px 20px; color: var(--soft); display: grid; gap: 10px; max-width: 70ch; }
.faq .answer a { color: var(--lime); }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }

/* The closing band */
.closing { position: relative; isolation: isolate; text-align: center; padding-block: clamp(72px, 10vw, 140px); border-bottom: 1px solid var(--line); }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg), rgb(10 10 11 / .35) 60%, rgb(10 10 11 / .1)), url(assets/art-band.webp) center bottom / cover no-repeat; }
.closing .wrap { display: grid; gap: 26px; justify-items: center; }
.closing .stores { justify-content: center; }

/* Inner pages */
.page-head { position: relative; isolation: isolate; padding-block: clamp(56px, 8vw, 104px) clamp(40px, 5vw, 64px); border-bottom: 1px solid var(--line); overflow: hidden; }
.page-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 120% at 85% 0%, rgb(209 254 23 / .13), transparent 60%); }
.page-head .wrap { display: grid; gap: 20px; }
.page-head h1.display { font-size: clamp(38px, 6vw, 76px); max-width: 16ch; }

/* Long text (terms, privacy, guidelines) */
.prose { max-width: 760px; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); display: grid; gap: 14px; }
.prose h2 { font-size: 22px; line-height: 1.3; margin-top: 26px; scroll-margin-top: 96px; }
.prose h3 { font-size: 18px; margin-top: 10px; }
.prose p, .prose li { color: var(--soft); }
.prose ul, .prose ol { padding-inline-start: 22px; display: grid; gap: 8px; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose a { color: var(--lime); }
.prose .updated { color: var(--muted); font-size: 15px; }
.prose .callout { background: var(--surface); border: 1px solid var(--line); border-inline-start: 4px solid var(--lime); border-radius: 14px; padding: 18px 20px; color: var(--text); }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-block: 8px 6px; }
.toc a { text-decoration: none; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--soft); font-size: 14.5px; font-weight: 600; }
.toc a:hover { border-color: var(--lime); color: var(--lime); }

/* Help centre */
.help-search { position: relative; max-width: 620px; }
.help-search input { height: 60px; padding-inline: 54px 20px; border-radius: 999px; font-size: 17px; background: var(--surface); }
.help-search svg { position: absolute; left: 20px; top: 50%; translate: 0 -50%; color: var(--muted); pointer-events: none; }
.help { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; padding-block: clamp(40px, 6vw, 72px) clamp(64px, 8vw, 104px); }
.help-nav { position: sticky; top: 96px; display: grid; gap: 2px; }
.help-nav a { text-decoration: none; padding: 10px 14px; border-radius: 12px; color: var(--soft); font-weight: 600; font-size: 15.5px; }
.help-nav a:hover { background: var(--surface); color: var(--text); }
.help-topics { display: grid; gap: 44px; }
.help-topics section { display: grid; gap: 16px; scroll-margin-top: 96px; }
.help-topics h2 { font-size: 24px; }
.help-empty { color: var(--muted); }
.help-more { margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; padding: 24px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.help-more p { flex: 1 1 260px; color: var(--soft); }
@media (max-width: 860px) { .help { grid-template-columns: 1fr; } .help-nav { position: static; display: flex; overflow-x: auto; gap: 8px; margin-inline: calc(-1 * var(--pad)); padding-inline: var(--pad); } .help-nav a { white-space: nowrap; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; } }

/* Roles table (who can do what) */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
table.roles { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15.5px; }
table.roles th, table.roles td { padding: 14px 18px; text-align: start; border-bottom: 1px solid var(--line); }
table.roles thead th { background: var(--surface-2); font-size: 14px; color: var(--soft); }
table.roles tbody th { font-weight: 600; color: var(--soft); }
table.roles tr:last-child > * { border-bottom: 0; }
table.roles td { text-align: center; color: var(--muted); }
table.roles td.yes { color: var(--lime); font-weight: 800; }

/* Footer */
.foot { padding-block: 56px 40px; color: var(--muted); font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(4, minmax(0, 1fr)); gap: 32px; }
.foot .about { display: grid; gap: 14px; align-content: start; max-width: 30ch; }
.foot .about img { height: 34px; width: auto; }
.foot h2 { font-size: 14px; color: var(--text); font-weight: 700; margin-bottom: 12px; }
.foot ul { display: grid; gap: 9px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot .legal { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: 13.5px; max-width: 100ch; }
.age { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--muted); color: var(--text); font-weight: 800; font-size: 12px; }
@media (max-width: 860px) { .foot .cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot .about { grid-column: 1 / -1; } }

/* Forms (support) */
.support { padding-block: clamp(32px, 5vw, 56px) clamp(64px, 8vw, 96px); }
.support-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 22px; align-items: start; }
@media (max-width: 860px) { .support-grid { grid-template-columns: 1fr; } }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.panel h2 { font-size: 20px; margin-bottom: 4px; }
.panel > p { margin-bottom: 16px; color: var(--muted); font-size: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.field label { font-size: 13.5px; color: var(--muted); }
input, textarea { width: 100%; font: inherit; color: var(--text); background: var(--surface-2); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
input::placeholder, textarea::placeholder { color: #7d8087; }
input:focus, textarea:focus { border-color: var(--lime); outline: none; }
textarea { min-height: 130px; resize: vertical; }
.notice { border-radius: 12px; padding: 14px 16px; font-size: 15px; margin-bottom: 12px; }
.notice.good { background: #1d2309; border: 1px solid rgb(209 254 23 / .35); }
.notice.bad { background: #2a1112; border: 1px solid #5a2326; color: #ffb4b4; }

/* Live chat */
.chat { display: flex; flex-direction: column; height: 560px; padding: 0; overflow: hidden; }
.chat header { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat header .avatar { width: 40px; height: 40px; border-radius: 50%; background: radial-gradient(circle at 50% 40%, #2b330d, #121408); display: grid; place-items: center; border: 1px solid rgb(209 254 23 / .4); }
.chat header .avatar img { width: 26px; }
.chat header b { display: block; font-size: 16px; }
.chat header .status { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13px; }
.chat header .status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--status, #7a7d83); }
.chat[data-state="online"] header .status { --status: #3ddc84; }
.chat .log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.bubble { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; white-space: pre-wrap; overflow-wrap: anywhere; }
.bubble.agent { align-self: flex-start; background: var(--surface-2); border-bottom-left-radius: 6px; }
.bubble.me { align-self: flex-end; background: var(--lime); color: var(--on-lime); border-bottom-right-radius: 6px; }
.bubble time { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }
.chat .intro { display: grid; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); background: #101112; }
.chat .intro p { color: var(--muted); font-size: 14px; }
.chat .intro .row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chat form.compose { display: flex; gap: 10px; padding: 14px 18px; border-top: 1px solid var(--line); }
.chat form.compose input { flex: 1; }
.chat form.compose button { min-height: 48px; height: 48px; width: 48px; padding: 0; border-radius: 50%; }
@media (prefers-reduced-motion: no-preference) { .bubble { animation: rise .18s ease-out; } @keyframes rise { from { opacity: 0; transform: translateY(6px); } } }

/* Download page */
.devices { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.device { display: grid; gap: 14px; align-content: start; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.device h2 { font-size: 22px; }
.device p { color: var(--muted); font-size: 15.5px; }

/* The one moment of motion: the hero's phone rises once as the page opens. */
@media (prefers-reduced-motion: no-preference) {
  .hero-phone { animation: lift .9s cubic-bezier(.2, .8, .2, 1) both; }
  @keyframes lift { from { opacity: 0; transform: translateY(48px) rotate(2deg); } }
}
