/*
 * messaging.quest in Confluence lime: near-black, warm white, one acid-lime accent,
 * upright DM Sans (optical sizes) with JetBrains Mono for labels, and pill buttons. The Signal
 * weather background is defined in atmosphere.css and atmosphere.js and occupies the air behind the page.
 *
 * The page, top to bottom: the Visor in the corner, the title screen (the G2 rating, one line, one
 * button) with the video coming up under it, what Quest does, what went out from the founder's own accounts,
 * the two setup steps (Plan B: the extension from a zip), the plans, one last call to start.
 */
:root {
  --bg: #0b0c0b;
  --surface: #161715;
  --card: linear-gradient(#1a1b18f0, #161715f0 140px);
  --ink: #e8e8dc;
  --ink-soft: #c2c3b9;
  --muted: #a4a59b;
  --border: #ffffff1c;
  --border-strong: #ffffff33;
  --accent: #ceff32;
  --on-accent: #161811;
  --sans: "DM Sans", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  /* The page's sides, and the widest its sections grow. */
  --edge: 7%;
  --wide: 1180px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body {
  position: relative;
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
::selection { background: var(--accent); color: var(--on-accent); }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
p { font-size: 15px; line-height: 1.65; text-wrap: pretty; }

h1, h2, h3 { font-family: var(--sans); font-weight: 700; margin: 0; text-wrap: balance; }
h1 em, h2 em { font-style: normal; color: var(--accent); }
h2 { font-size: clamp(32px, 3.4vw, 50px); line-height: 1.08; letter-spacing: -.025em; }
h3 { font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }

.eyebrow, .mono, .plan-name, .step-n, .mrr small {
  font-family: var(--mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.eyebrow { margin: 0 0 16px; font-size: 11px; line-height: 1.6; color: var(--accent); }

/* Read aloud, not shown: the sites' names beside their logos. */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
/* The drawings <use> borrows. Not display:none, which would drop its gradients. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.skip {
  position: absolute; left: 16px; top: -60px; z-index: 10; padding: 10px 16px; border-radius: 999px;
  background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 13px;
}
.skip:focus { top: 16px; }

/* The canvas sits behind the page; atmosphere.css fixes it to the viewport. */
.ink-bed { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.ink { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .8s; }
.ink.ready { opacity: 1; }

/* Header: the Visor alone in one corner of the title screen, the language in the other. */
.site-head {
  position: absolute; top: 0; left: 0; right: 0; z-index: 3;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 5%;
}
.head-logo .logo-mark { height: 40px; margin: 0; filter: drop-shadow(0 2px 14px #0b0c0b); }
.head-language { display: flex; }
.site-head .language-picker { height: 40px; margin: 0; padding: 0 12px; border-color: var(--border-strong); background: #161715e8; color: var(--ink); }
.site-head .language-picker:hover { border-color: var(--accent); }
/* The list it opens. A system list (a phone's sheet, Firefox, Safari) in the page's dark; in Chrome with a mouse,
   the page draws it: a dark card under the button, each language with its flag, the one in use in lime. */
.site-head .language-picker select, .site-head .language-picker option { color-scheme: dark; background: var(--surface); color: var(--ink); }
@supports (appearance: base-select) {
  @media (hover: hover) and (pointer: fine) {
    .site-head .language-picker select, .site-head .language-picker select::picker(select) { appearance: base-select; }
    /* Still invisible over the flag and code, without opacity, so the list it opens shows. The name it holds
       is clipped, or a long one ("Автоматически") runs past the screen edge. */
    .site-head .language-picker select { opacity: 1; padding: 0; border: 0; overflow: hidden; background: transparent; color: transparent; }
    .site-head .language-picker select::picker-icon { display: none; }
    .site-head .language-picker select::picker(select) {
      min-width: 214px; margin-block: 8px; padding: 6px; border: 1px solid var(--border-strong); border-radius: 16px;
      background: #161715f5; color: var(--ink); box-shadow: 0 30px 70px -24px #000;
      -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
      position-area: block-end span-inline-start; position-try-fallbacks: block-start span-inline-start;
    }
    .site-head .language-picker option {
      display: flex; align-items: center; gap: 11px; min-height: 38px; padding: 0 12px; border-radius: 10px;
      background: none; color: var(--ink-soft); font: 500 14px/1.2 var(--sans); cursor: pointer;
    }
    .site-head .language-picker option:hover, .site-head .language-picker option:focus-visible { background: #ffffff12; color: var(--ink); outline: none; }
    .site-head .language-picker option:checked { color: var(--accent); }
    .site-head .language-picker option::checkmark { order: 1; margin-inline-start: auto; color: var(--accent); }
    .site-head .language-picker option .language-flag { flex: none; width: 21px; height: 14px; }
    .site-head .language-picker option .language-globe { box-shadow: none; color: var(--muted); }
  }
}

/* The Visor (brand/visor, drawn from the Q) beside the name, in the footer. */
.logo { display: inline-flex; align-items: center; font-size: 25px; font-weight: 700; letter-spacing: -.03em; white-space: nowrap; }
.logo-mark { flex: none; width: auto; height: 1.6em; margin: -.2em .38em -.2em 0; }
.logo span { color: var(--accent); }

.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border: 1px solid var(--border-strong); border-radius: 999px;
  background: var(--surface); color: var(--ink);
  font-size: 15px; font-weight: 600; white-space: nowrap; transition: transform .2s, border-color .2s, box-shadow .2s;
}
.pill:hover { transform: translateY(-2px); border-color: var(--accent); }
.pill-accent { background: var(--accent); border-color: var(--accent); color: var(--on-accent); box-shadow: 0 8px 28px -10px #ceff3280; }
.pill-accent:hover { box-shadow: 0 12px 32px -10px #ceff32a0; }
.pill svg { width: 20px; height: 20px; flex-shrink: 0; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin: 0; }
.text-link { font-size: 14px; font-weight: 500; color: var(--ink-soft); transition: color .2s; }
.text-link:hover { color: var(--accent); }
button.text-link { padding: 0; border: 0; background: none; text-decoration: underline; text-decoration-color: #ffffff4d; text-underline-offset: 3px; }
button.text-link:hover { text-decoration-color: currentColor; }

/* The title screen: one line, the networks, one button, and the setup video's window coming up under it. */
.hero {
  position: relative;
  display: flex; flex-direction: column; align-items: center;
  padding: clamp(108px, 15vh, 150px) var(--edge) 0; text-align: center;
}
/* The rating people gave Quest on G2: G2's mark, the stars filled to the rating (--rating, out of 5), the number. */
.g2 {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 clamp(18px, 3vh, 30px); padding: 5px 15px 5px 5px;
  border: 1px solid var(--border-strong); border-radius: 999px; background: #0b0c0bb8;
  font-size: 14px; font-weight: 500; line-height: 1.2; color: var(--ink-soft); transition: border-color .2s;
}
.g2:hover { border-color: #ff492c; }
.g2-logo { flex: none; width: 26px; height: 26px; }
.stars { position: relative; flex: none; width: 77px; height: 14px; color: #ffffff2e; }
.stars svg { display: block; width: 77px; height: 14px; fill: currentColor; }
.stars-fill { position: absolute; inset-block: 0; inset-inline-start: 0; width: calc(var(--rating) / 5 * 100%); overflow: hidden; color: #ff492c; }
.g2 b { font-weight: 700; color: var(--ink); }
.headline {
  max-width: 15em; margin: 0 0 clamp(22px, 3.6vh, 34px);
  font-size: clamp(40px, min(5.6vw, 9.4vh), 82px); line-height: 1.02; letter-spacing: -.045em;
  text-shadow: 0 4px 40px #0b0c0b;
}
/* What it does, then when: the second part (the last in every language) on its own line. */
.headline em { display: block; }
/* The networks it runs, as a quiet row in grey: what the product makes, without a word. In colour on a hover. */
.hero-nets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 0 0 clamp(26px, 4.4vh, 40px); padding: 0; list-style: none; }
.hero-nets li {
  display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 50%; background: #0b0c0b80; color: var(--ink);
  opacity: .5; filter: grayscale(1); transition: opacity .25s, filter .25s;
}
.hero-nets li:hover { opacity: 1; filter: none; }
.hero-nets svg { width: 19px; height: 19px; }
.hero .actions { justify-content: center; }

/* One start button, the one that fits the device (html[data-device], from the head's script). With no
   script the page reads for a Chromium desktop. */
.start-web, .alt-web { display: none; }
[data-device="other"] .alt-web { display: inline; }
[data-device="other"] .alt-app, [data-device="phone"] .alt-app { display: none; }
[data-device="chrome"] .start-app, :root:not([data-device]) .start-app { display: none; }
[data-device="chrome"] .start-web, :root:not([data-device]) .start-web { display: inline-flex; }
[data-device="phone"] .hide-phone { display: none; }
/* Only for a phone, and only for a browser that is not Chrome: the line that says what to do next. */
.for-phone, .for-other { display: none; }
[data-device="phone"] .for-phone, [data-device="other"] .for-other { display: block; }

/* What it takes, before the click. */
.needs { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 8px; margin: 18px 0 0; padding: 0; list-style: none; }
.needs li { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px 5px 8px; border: 1px solid var(--border); border-radius: 999px; background: #0b0c0b80; font-size: 12.5px; font-weight: 500; line-height: 1.3; color: var(--muted); }
.needs svg { flex: none; width: 14px; height: 14px; }
.needs li:first-child svg { color: #2aabee; }
.hero-note { max-width: 30em; margin: 14px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); text-shadow: 0 1px 14px #000; text-wrap: balance; }

/* The product video: the picture alone, rounded, with a speaker on it for the sound. */
.watch { width: min(1040px, 100% - 2 * var(--edge)); margin: 0 auto; padding-top: clamp(40px, 6.5vh, 64px); }
.watch-frame {
  position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: #000;
  box-shadow: 0 50px 120px -50px #000, 0 -30px 100px -50px #ceff3233;
}
.watch-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* The picture itself pauses and plays it; a play mark shows while it's paused. */
.watch-hit {
  position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; width: 100%; padding: 0;
  border: 0; border-radius: inherit; background: none; cursor: pointer;
}
.watch-hit[hidden] { display: none; }
.watch-hit:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.watch-hit svg {
  width: 64px; height: 64px; padding: 18px; border-radius: 50%; background: #0b0c0bb3; color: var(--ink);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; scale: .85; transition: opacity .2s, scale .2s;
}
.watch-hit[aria-pressed="true"] svg { opacity: 1; scale: 1; }
/* The sound switch: just a speaker, with waves when the sound is on and a cross when it's off. */
.sound {
  position: absolute; z-index: 3; top: 14px; right: 14px; display: grid; place-items: center; width: 40px; height: 40px; padding: 0;
  border: 1px solid #ffffff2e; border-radius: 50%; background: #0b0c0bb3; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  color: var(--ink); transition: border-color .2s, color .2s;
}
.sound:hover, .sound[aria-checked="true"] { border-color: var(--accent); }
.sound[aria-checked="true"] { color: var(--accent); }
.sound[hidden] { display: none; } /* until the player is ready */
.sound svg { width: 20px; height: 20px; }
.sound-on, .sound[aria-checked="true"] .sound-off { display: none; }
.sound[aria-checked="true"] .sound-on { display: inline; }
/* Muted, it asks once in a while to be turned on. */
.sound[aria-checked="false"] { animation: ask 3.2s ease-in-out 2s infinite; }
@keyframes ask { 0%, 70%, 100% { box-shadow: 0 0 0 0 #ceff3200; } 80% { box-shadow: 0 0 0 6px #ceff3233; } }

/* Below the title screen: sections in one column, as wide as reads well. */
.what, .public, .setup, .pricing, .start { width: min(var(--wide), 100% - 2 * var(--edge)); margin: 0 auto; padding-top: 128px; }
.what { padding-top: 104px; }
.what h2, .public h2, .setup h2, .pricing h2 { max-width: 760px; text-shadow: 0 2px 24px #0b0c0b; }
.lede { max-width: 560px; margin: 18px 0 0; font-size: 17px; color: var(--ink-soft); text-shadow: 0 1px 14px #000; }

/* What it does: a tile a job. The two that show the work get a picture of it. */
.bento {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas: "proof proof nets nets" "proof proof voice talk" "ask mention list learn";
  gap: 16px; margin: 44px 0 0; padding: 0; list-style: none;
}
.tile {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; padding: 26px;
  border: 1px solid var(--border); border-radius: 22px; background: var(--card);
  box-shadow: inset 0 1px 0 #ffffff10, 0 30px 60px -36px #000;
}
.tile h3 { font-size: 20px; }
.tile p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.tile-icon { flex: none; width: 46px; height: 46px; margin-bottom: 6px; padding: 11px; border-radius: 14px; background: #ceff3214; box-shadow: inset 0 0 0 1px #ceff3226; color: var(--accent); }
.tile-proof { grid-area: proof; border-color: #ceff323d; background: radial-gradient(120% 55% at var(--glow-x, 0%) 0%, #ceff3217, transparent 62%), var(--card); }
.tile-nets { grid-area: nets; }
.tile-voice { grid-area: voice; }
.tile-talk { grid-area: talk; }
.tile-ask { grid-area: ask; }
.tile-mention { grid-area: mention; }
.tile-list { grid-area: list; }
.tile-learn { grid-area: learn; }
.tile-proof h3, .tile-nets h3 { font-size: 25px; letter-spacing: -.02em; }
html[dir="rtl"] .tile-proof { --glow-x: 100%; }

/* The proof tile: the post Quest made for Sam, with the chart in it. */
.post { width: 100%; margin-top: auto; padding: 18px 18px 14px; border: 1px solid var(--border-strong); border-radius: 18px; background: #0b0c0bd0; }
.tile-proof > p { margin-bottom: 18px; }
.post-head { display: flex; align-items: center; gap: 11px; }
.post-avatar { flex: none; width: 40px; height: 40px; }
.tile .post-head p { display: flex; flex-direction: column; font-size: 14.5px; line-height: 1.3; color: var(--ink); }
.post-head small { font-size: 13px; color: var(--muted); }
.post-site { flex: none; width: 18px; height: 18px; margin-inline-start: auto; color: var(--ink); }
.tile .post-text { margin-top: 12px; font-size: 15.5px; line-height: 1.5; color: var(--ink); }
.post-chart { margin-top: 14px; padding: 14px 14px 0; border: 1px solid var(--border); border-radius: 12px; background: #ffffff05; overflow: hidden; }
.tile .mrr { display: flex; align-items: baseline; gap: 8px; color: var(--ink); }
.mrr b { font-size: 30px; line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.mrr small { font-size: 11px; color: var(--muted); }
.mrr i { align-self: center; margin-inline-start: auto; padding: 3px 9px; border-radius: 999px; background: #ceff3224; color: var(--accent); font-size: 13px; font-style: normal; font-weight: 600; }
.chart { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 320 / 120; margin-top: 8px; }
.tile .post-meta { display: flex; gap: 20px; margin-top: 12px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* Every network: the logos, then any other site. */
.nets { display: flex; flex-wrap: wrap; gap: 10px; margin: auto 0 0; padding: 16px 0 0; list-style: none; }
.nets li { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid var(--border-strong); border-radius: 50%; background: #0b0c0bb8; color: var(--ink); }
.nets svg { width: 22px; height: 22px; }
.nets .nets-any { display: inline-flex; gap: 9px; width: auto; padding: 0 17px 0 14px; border-style: dashed; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-soft); }
.nets-any svg { width: 18px; height: 18px; color: var(--accent); }

/* Building in public: one card of rows, newest first. A row is the network's logo, where and when, and the
   words as posted, two lines of them (the rest is on the post), the whole row a link to it. */
.feed {
  max-width: 880px; margin: 44px 0 0; padding: 0; list-style: none; overflow: hidden;
  border: 1px solid var(--border); border-radius: 24px; background: var(--card);
  box-shadow: inset 0 1px 0 #ffffff14, 0 30px 60px -36px #000;
}
.feed li + li { border-top: 1px solid var(--border); }
.feed-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 18px; padding: 20px 24px; transition: background-color .2s; }
.feed-row:hover { background: #ceff320a; }
.feed-row:focus-visible { outline-offset: -3px; }
.feed-logo { width: 42px; height: 42px; padding: 11px; border: 1px solid var(--border-strong); border-radius: 50%; background: #0b0c0bb8; color: var(--ink); }
.feed-body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.feed-meta { font-size: 10.5px; line-height: 1.5; color: var(--muted); }
/* The words as written: an English post keeps its own direction on an Arabic page. */
.feed-text {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden;
  font-size: 16.5px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; text-align: start;
}
.feed-go { font-size: 18px; line-height: 1.2; color: var(--muted); transition: color .2s; }
.feed-row:hover .feed-go { color: var(--accent); }
.feed-foot { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 16px 0 0; font-size: 10.5px; color: var(--muted); }
.feed-foot a { text-transform: none; color: var(--ink-soft); transition: color .2s; }
.feed-foot a:hover { color: var(--accent); }

/* Setup: two numbered cards, then three short promises. */
.steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 44px 0 0; padding: 0; list-style: none; }
.step {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px;
  border: 1px solid var(--border-strong); border-radius: 24px; background: var(--card);
  box-shadow: inset 0 1px 0 #ffffff14, 0 30px 60px -36px #000;
}
.step-n {
  display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--accent); border-radius: 50%;
  font-size: 14px; font-weight: 600; color: var(--accent);
}
.step-where { margin: 8px 0 0; font-family: var(--mono); font-size: 11px; font-weight: 500; line-height: 1.5; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.step h3 { margin-top: -4px; font-size: 24px; }
.step-phone { max-width: 22em; font-size: 14.5px; }
.step p { max-width: 460px; margin: 0; color: var(--muted); font-size: 15.5px; }
.step .actions { margin-top: auto; padding-top: 14px; }

.ticks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 28px; margin: 36px 0 0; padding: 0; list-style: none; }
.ticks li { position: relative; padding-left: 28px; font-size: 14.5px; line-height: 1.6; color: var(--muted); text-shadow: 0 1px 12px #000; }
.ticks li::before, .plan-list li::before {
  content: ""; position: absolute; left: 2px; top: 7px; width: 9px; height: 5px;
  border: solid var(--accent); border-width: 0 0 2px 2px; transform: rotate(-45deg);
}
.ticks b { display: block; font-weight: 600; color: var(--ink); }

/* Pricing: the Intern for free, and Senior, the subscription it grows into. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 880px; margin-top: 44px; }
.plan {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 32px;
  border: 1px solid var(--border); border-radius: 24px; background: var(--card);
  box-shadow: inset 0 1px 0 #ffffff14, 0 30px 60px -36px #000;
}
.plan-intern { border-color: #ceff3266; }
.plan-name { margin: 0; padding: 5px 10px; border: 1px solid var(--border-strong); border-radius: 999px; font-size: 10px; color: var(--ink-soft); }
.plan-name b { font-weight: inherit; }
.amount { margin: 6px 0 0; font-size: 64px; font-weight: 700; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.plan-intern .amount { color: var(--accent); }
.amount.amount-soon { display: flex; align-items: center; min-height: 64px; font-size: 30px; letter-spacing: -.02em; color: var(--ink-soft); }
.plan-say { margin: 0; color: var(--ink-soft); }
.plan-list { display: grid; gap: 8px; margin: 4px 0 8px; padding: 0; list-style: none; }
.plan-list li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.5; color: var(--muted); }
.plan-list li::before { top: 6px; }
.plan .pill { margin-top: auto; }

/* The last call: the Visor again, centred, both ways in. */
.start { display: flex; flex-direction: column; align-items: center; padding-bottom: 120px; text-align: center; }
.start-mark { width: 72px; height: auto; margin-bottom: 26px; filter: drop-shadow(0 0 30px #ceff3233); }
.start h2 { font-size: clamp(36px, 4.2vw, 60px); text-shadow: 0 2px 24px #0b0c0b; }
.start p { max-width: 480px; margin: 18px 0 30px; font-size: 17px; color: var(--ink-soft); text-shadow: 0 1px 14px #000; }
.start .actions { justify-content: center; }
.start small { display: block; margin-top: 20px; font-size: 13px; color: var(--muted); }

.install {
  width: min(560px, 100% - 32px); max-height: min(92dvh, 100% - 32px); margin: auto; padding: 30px 30px 28px; overflow-y: auto;
  border: 1px solid var(--border-strong); border-radius: 24px; background: var(--surface); color: var(--ink);
  box-shadow: 0 40px 120px -30px #000;
}
.install::backdrop { background: #050605c7; backdrop-filter: blur(3px); }
.install[open] { animation: rise .25s ease-out; }
@keyframes rise { from { opacity: 0; translate: 0 12px; } }
.install h2 { font-size: clamp(26px, 6vw, 32px); }
.install-close {
  position: absolute; top: 16px; inset-inline-end: 16px; display: grid; place-items: center; width: 40px; height: 40px;
  border: 1px solid var(--border); border-radius: 50%; background: none; color: var(--ink-soft); transition: border-color .2s, color .2s;
}
.install-close:hover { border-color: var(--accent); color: var(--accent); }
.install-close svg { width: 18px; height: 18px; }
.install-steps { display: grid; gap: 12px; margin: 22px 0 18px; padding: 0; list-style: none; counter-reset: step; }
.install-steps li { position: relative; padding-inline-start: 38px; font-size: 15px; line-height: 1.55; color: var(--ink-soft); counter-increment: step; }
.install-steps li::before {
  content: counter(step); position: absolute; top: 0; inset-inline-start: 0; display: grid; place-items: center; width: 26px; height: 26px;
  border: 1px solid var(--border-strong); border-radius: 50%; font-family: var(--mono); font-size: 12px; color: var(--accent);
}
.install-steps li:first-child::before { top: 13px; }
.install-steps .pill { min-height: 52px; }
.install-steps .text-link { margin-inline-start: 4px; font-size: 13.5px; }
.install code { padding: 1px 6px; border-radius: 6px; background: #ffffff14; font-family: var(--mono); font-size: .86em; color: var(--ink); }
.install b { font-weight: 600; color: var(--ink); }
.install > p { margin: 0; font-size: 15px; color: var(--ink-soft); }
.install .install-note { margin-top: 8px; font-size: 13.5px; color: var(--muted); }
.install-ask { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--border); }
.install-ask p { margin: 0; font-size: 15px; font-weight: 600; }
.install-prompt {
  margin: 10px 0 16px; padding: 12px 14px; border-inline-start: 2px solid var(--accent); border-radius: 0 10px 10px 0;
  background: #ffffff0a; font-size: 14px; line-height: 1.55; color: var(--ink-soft); overflow-wrap: anywhere; user-select: all;
}
.install-ask .pill { min-height: 44px; padding: 0 18px; font-size: 14px; }

.foot {
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 28px 40px;
  margin: 0 5%; padding: 44px 0 36px; border-top: 1px solid var(--border);
}
.foot .logo { font-size: 24px; }
.foot-brand p { margin: 8px 0 0; font-size: 14px; color: var(--muted); }
.foot-brand em { font-style: normal; color: var(--ink-soft); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 12px 28px; font-size: 14px; font-weight: 500; color: var(--ink-soft); }
.foot-nav a, .foot-nav button { transition: color .2s; }
.foot-nav button { padding: 0; border: 0; background: none; font: inherit; color: inherit; }
.foot-nav a:hover, .foot-nav button:hover { color: var(--accent); }
.foot-end {
  grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px;
  padding-top: 20px; border-top: 1px solid var(--border);
}
.foot-end .mono { font-size: 10px; color: var(--muted); }
#pause { font-size: 13px; color: var(--muted); }

/*
 * Scrolling in, bound to the scroll itself (scroll-driven animations), so nothing moves on its own, nothing
 * already on screen hides, and scrolling back plays it back:
 * - each block rises 24px and fades in over its first 140px up from the bottom of the screen; blocks side by side
 *   come up a beat apart (--beat, 40px each, by column);
 * - the video grows to full size as it comes up;
 * - the MRR line in Sam's post draws itself left to right.
 * A browser without scroll-driven animations, and anyone who asks for less motion, gets the page standing still.
 */
@media (prefers-reduced-motion: no-preference) {
  @supports (animation-timeline: view()) {
    :is(.what, .public, .setup, .pricing) > :is(.eyebrow, h2, .lede), .tile, .feed li, .feed-foot, .step, .ticks li, .plan, .start > * {
      animation: arrive linear both;
      animation-timeline: view();
      animation-range: entry calc(var(--beat, 0) * 40px) entry calc(140px + var(--beat, 0) * 40px);
    }
    .tile-talk, .tile-mention, .step + .step, .ticks li:nth-child(2), .plan + .plan { --beat: 1; }
    .tile-list, .ticks li:nth-child(3) { --beat: 2; }
    .tile-learn { --beat: 3; }
    .watch-frame { animation: settle linear both; animation-timeline: view(); animation-range: entry 0% cover 35%; }
    .tile-proof .chart { animation: draw linear both; animation-timeline: view(); animation-range: entry 0% cover 45%; }
  }
}
@keyframes arrive { from { opacity: 0; translate: 0 24px; } }
@keyframes settle { from { scale: .94; } }
@keyframes draw { from { clip-path: inset(0 100% 0 0); } }

@media (max-width: 1100px) {
  :root { --edge: 5.5%; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "proof proof" "nets nets" "voice talk" "ask mention" "list learn"; }
  .ticks { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  /* Two tiles a row: the right one a beat behind; the promises one under another. */
  .tile-list { --beat: 0; }
  .tile-learn { --beat: 1; }
  .ticks li:nth-child(n) { --beat: 0; }
}

/* Narrow and upright: one column. */
@media (max-width: 860px), (max-width: 1000px) and (orientation: portrait) {
  :root { --edge: 20px; }
  .site-head { padding: 18px var(--edge); }
  .hero { padding: 96px var(--edge) 0; }
  .watch-frame { border-radius: 16px; }
  .what, .public, .setup, .pricing, .start { padding-top: 96px; }
  .what { padding-top: 80px; }
  .steps, .plans { grid-template-columns: minmax(0, 1fr); }
  .step + .step, .plan + .plan { --beat: 0; }
  .start { padding-bottom: 80px; }
}

@media (max-width: 600px) {
  h2, .start h2 { font-size: clamp(30px, 8.6vw, 38px); }
  /* A tile a row (so none comes up a beat behind another); the small ones with their icon beside their words. */
  .bento { grid-template-columns: minmax(0, 1fr); grid-template-areas: "proof" "nets" "voice" "talk" "ask" "mention" "list" "learn"; gap: 12px; }
  .tile { --beat: 0; padding: 22px; }
  .tile:has(.tile-icon) { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 4px; padding: 20px; }
  .tile-icon { grid-row: span 2; width: 42px; height: 42px; padding: 10px; margin: 2px 0 0; }
  .tile-proof h3, .tile-nets h3 { font-size: 22px; }
  .post { padding: 14px 14px 12px; }
  .nets li { width: 44px; height: 44px; }
  .start .actions .pill { flex: 1 1 100%; }
  /* A long label in another language wraps inside its button instead of running off a small screen. */
  .pill { max-width: 100%; padding-block: 10px; white-space: normal; text-align: center; line-height: 1.25; }
  /* All eight in one row down to 360 px, then smaller still. */
  .hero-nets { gap: 6px; }
  .hero-nets li { width: 34px; height: 34px; }
  .hero-nets svg { width: 16px; height: 16px; }
  /* Three lines of the words on a phone, beside a smaller logo; the arrow goes, the whole row is the link. */
  .feed { border-radius: 20px; }
  .feed-row { grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 18px; }
  .feed-logo { width: 36px; height: 36px; padding: 9px; }
  .feed-text { -webkit-line-clamp: 3; line-clamp: 3; font-size: 15.5px; }
  .feed-go { display: none; }
  .step, .plan { padding: 24px; }
  .step h3 { font-size: 21px; }
  .amount { font-size: 54px; }
  .foot { grid-template-columns: minmax(0, 1fr); margin: 0 var(--edge); }
}
@media (max-width: 480px) {
  .logo-mark { height: 1.4em; margin-inline-end: .3em; }
  .head-logo .logo-mark { height: 34px; }
  .sound { top: 10px; right: 10px; width: 36px; height: 36px; }
  .sound svg { width: 18px; height: 18px; }
  .watch-hit svg { width: 52px; height: 52px; padding: 15px; }
  .install { padding: 26px 20px 22px; }
}
@media (max-width: 360px) {
  .hero-nets { gap: 5px; }
  .hero-nets li { width: 30px; height: 30px; }
  .hero-nets svg { width: 15px; height: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sound, .install[open] { animation: none; }
  .pill, .feed-row, .ink { transition: none; }
}
