/* WatchingEverything website.

   Styles taken from styles.refero.design, re-keyed to the app's blue:
   - Mercury: the dark blue-hour sections, pill buttons, one blue accent kept
     for the main action, the email box with its button attached.
   - Superhuman: the warm paper background, white cards with hairline borders,
     the sticky blurred header, tight display type.
   - Linear: the product itself as the only imagery, hairlines instead of
     shadows, a dense index of the maps.

   Proportions follow the golden ratio (phi = 1.618):
   - type steps up by phi: 16, 26, 42, 68 (and 20 = 16 x sqrt(phi) between);
   - spacing uses Fibonacci numbers: 8, 13, 21, 34, 55, 89, 144;
   - two-column layouts split 1 : 1.618 (38.2% / 61.8%);
   - body line height is 1.618, pictures are cropped to 1.618 : 1. */

@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans'; font-style: normal; font-display: swap; font-weight: 200 800;
  src: url(fonts/plus-jakarta-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --phi: 1.618;
  /* Fibonacci spacing */
  --s1: 8px; --s2: 13px; --s3: 21px; --s4: 34px; --s5: 55px; --s6: 89px; --s7: 144px;
  /* golden type scale */
  --t0: 16px; --t1: 20px; --t2: 26px; --t3: 42px; --t4: 68px;
  --t3-fluid: clamp(30px, 4.2vw, 42px);
  --t4-fluid: clamp(40px, 6.8vw, 68px);
  /* radii */
  --r1: 8px; --r2: 13px; --r3: 21px; --pill: 999px;

  --blue: #4a7dff; --blue-deep: #3466ec; --blue-soft: #e8eeff;
  --night: #0e1122; --night-2: #161a30; --night-line: #272d4a;
  --night-text: #eceef6; --night-muted: #a3a8bf;
  --canvas: #f4f3ef; --card: #ffffff; --line: #e2e0d9; --ink: #1c1e26; --muted: #5f626d;
  --good: #1f9d55; --bad: #d64545;
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --max: 1200px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: var(--s6); }
body { margin: 0; font: 400 var(--t0)/1.618 var(--font); color: var(--ink); background: var(--canvas); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.025em; }
p { margin: 0; }
.wrap { width: min(var(--max), 100% - 2 * var(--s4)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 6px; }
.eyebrow { display: block; margin-bottom: var(--s2); font-size: 14px; font-weight: 600; color: var(--blue); }

/* ---------- the eye (logo) ---------- */
.eye { width: var(--s, 34px); height: var(--s, 34px); border-radius: 50%; background: var(--blue); display: grid; place-items: center; flex: none; }
.eye svg { width: 64%; height: 64%; overflow: visible; }
.eye svg g { transform-origin: 50% 50%; }
.eye.blink svg g { animation: blink .2s ease-in-out; }
@keyframes blink { 50% { transform: scaleY(.1); } }

/* ---------- header ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; color: var(--night-text); transition: background .3s, box-shadow .3s, color .3s; }
.nav.solid, .page-light .nav { background: rgba(244, 243, 239, .85); backdrop-filter: saturate(1.6) blur(13px); -webkit-backdrop-filter: saturate(1.6) blur(13px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: var(--s4); height: 68px; }
.brand { display: flex; align-items: center; gap: var(--s2); text-decoration: none; font-weight: 700; letter-spacing: -0.02em; font-size: 17px; }
.nav-links { display: flex; gap: 2px; }
.nav-links a { text-decoration: none; padding: var(--s1) var(--s2); border-radius: var(--pill); font-size: 15px; font-weight: 500; opacity: .8; }
.nav-links a:hover { opacity: 1; }
.nav-end { margin-left: auto; display: flex; gap: var(--s1); align-items: center; }
@media (max-width: 860px) { .nav-links { display: none; } .nav .wrap { gap: var(--s2); } }

/* scroll progress, a hairline along the top */
.progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 51; background: var(--blue); transform-origin: 0 50%; transform: scaleX(var(--page, 0)); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--s1); height: 44px; padding: 0 var(--s3); border-radius: var(--pill);
  font: 600 15px/1 var(--font); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .15s, transform .1s, border-color .15s; white-space: nowrap; }
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); }
.btn-ghost { background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 30%, transparent); }
.btn-ghost:hover { border-color: currentColor; }
.btn-quiet { background: transparent; color: inherit; height: 40px; padding: 0 var(--s2); }
.btn-quiet:hover { background: rgba(127, 127, 160, .14); }
.btn-sm { height: 38px; padding: 0 var(--s3); font-size: 14px; }
.btn-danger { background: transparent; color: var(--bad); border-color: color-mix(in srgb, var(--bad) 40%, transparent); }
.btn-danger:hover { background: color-mix(in srgb, var(--bad) 8%, transparent); }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------- hero ---------- */
.hero { background: var(--night); color: var(--night-text); padding: calc(68px + var(--s6)) 0 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s4) var(--s5); }
.hero h1 { grid-column: 1 / -1; }
.hero h1 .rise { display: block; width: fit-content; }
.hero-side { grid-column: 2; }
.hero h1 { font-size: var(--t4-fluid); line-height: 1.03; letter-spacing: -0.035em; font-weight: 600; }
.hero .lede { font-size: var(--t1); line-height: 1.5; color: var(--night-muted); }
.hero-side { display: grid; gap: var(--s3); max-width: 560px; }
.hero-actions { display: flex; gap: var(--s2); flex-wrap: wrap; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: var(--s3); } .hero-side { grid-column: 1; } }

/* email box with its button attached (Mercury) */
.pill-form { display: flex; align-items: center; padding: 5px; border-radius: var(--pill); background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); width: min(420px, 100%); }
.pill-form input { flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; color: inherit; font: 500 15px var(--font); padding: 0 var(--s2); outline: none; }
.pill-form input::placeholder { color: var(--night-muted); }
.pill-form .btn { height: 42px; }
.hero-note { font-size: 14px; color: var(--night-muted); }

/* the app, tilting flat as you scroll */
.stage { margin-top: var(--s6); perspective: 1600px; }
.window { border-radius: var(--r2) var(--r2) 0 0; overflow: hidden; background: #e9e8e4; box-shadow: 0 0 0 1px rgba(255,255,255,.12);
  transform-origin: 50% 0;
  transform: rotateX(calc((1 - var(--p, 1)) * 26deg)) scale(calc(.9 + var(--p, 1) * .1)) translateY(calc((1 - var(--p, 1)) * 34px));
  will-change: transform; }
.window-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 var(--s2); background: #f3f2ef; border-bottom: 1px solid #e2e0da; }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d9d7d1; }
.window img { width: 100%; aspect-ratio: 1416 / 808; object-fit: cover; }

/* ---------- light sections ---------- */
.section { padding: var(--s7) 0; }
.section-head { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s5); align-items: end; margin-bottom: var(--s5); }
.section h2 { font-size: var(--t3-fluid); line-height: 1.1; letter-spacing: -0.03em; }
.section-head p { font-size: var(--t1); line-height: 1.5; color: var(--muted); }
@media (max-width: 900px) { .section { padding: var(--s6) 0; } .section-head { grid-template-columns: 1fr; gap: var(--s2); } }

/* a sentence that lights up word by word as you scroll */
.statement { font-size: var(--t3-fluid); line-height: 1.25; letter-spacing: -0.025em; font-weight: 600; max-width: 61.8%; }
.statement .w { opacity: .16; transition: opacity .25s linear; }
.statement .w.on { opacity: 1; }
@media (max-width: 900px) { .statement { max-width: none; } }

/* the 15 maps, as an index (Linear) */
.index { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.index li { display: grid; grid-template-columns: var(--s3) 1fr; gap: 0 var(--s2); padding: var(--s3) var(--s3) var(--s3) 0; border-bottom: 1px solid var(--line); }
.index i { width: 13px; height: 13px; margin-top: 6px; border-radius: 4px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.index b { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.index span { grid-column: 2; font-size: 15px; color: var(--muted); line-height: 1.5; }
@media (max-width: 900px) { .index { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .index { grid-template-columns: 1fr; } }

/* sliding band of map names, moved by the scroll */
.band-names { overflow: hidden; border-block: 1px solid var(--line); padding: var(--s3) 0; white-space: nowrap; }
.band-names div { display: inline-flex; gap: var(--s5); font-size: var(--t3-fluid); font-weight: 600; letter-spacing: -0.03em; color: #c9c6bd;
  transform: translateX(calc(var(--p, .5) * -38.2%)); will-change: transform; }
.band-names div span:nth-child(3n+1) { color: var(--ink); }

/* ---------- the tour: text scrolls, picture stays and wipes to the next map ---------- */
.tour { display: grid; grid-template-columns: 1fr 1.618fr; gap: var(--s5); }
.tour-steps { padding: 20vh 0; }
.tour-step { min-height: 62vh; display: flex; flex-direction: column; justify-content: center; opacity: .3; transition: opacity .4s var(--ease); }
.tour-step.active { opacity: 1; }
.tour-step .dot { width: 13px; height: 13px; border-radius: 4px; background: var(--c); margin-bottom: var(--s2); }
.tour-step h3 { font-size: var(--t2); letter-spacing: -0.02em; line-height: 1.2; }
.tour-step p { margin-top: var(--s2); color: var(--muted); font-size: 17px; }
.tour-step img { display: none; }
.tour-media { position: sticky; top: max(89px, calc(50vh - 22vw)); height: fit-content; }
.tour-frame { position: relative; aspect-ratio: 1.618; border-radius: var(--r3); overflow: hidden; background: #e9e8e4; border: 1px solid var(--line); }
.tour-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top;
  clip-path: inset(100% 0 0 0); transform: scale(1.06); transition: clip-path .7s var(--ease), transform 1.1s var(--ease); }
.tour-frame img.shown, .tour-frame img.past { clip-path: inset(0 0 0 0); transform: scale(1); }
.tour-label { position: absolute; left: var(--s2); bottom: var(--s2); padding: 6px var(--s2); border-radius: var(--r1); background: rgba(14,17,34,.8); color: #fff; font-size: 14px; font-weight: 600; z-index: 9; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-media { display: none; }
  .tour-steps { padding: 0; }
  .tour-step { min-height: 0; opacity: 1; padding: var(--s4) 0; }
  .tour-step img { display: block; margin-top: var(--s3); border-radius: var(--r2); border: 1px solid var(--line); aspect-ratio: 1.618; object-fit: cover; object-position: left top; }
}

/* ---------- numbers (dark, Mercury) ---------- */
.dark { background: var(--night); color: var(--night-text); }
.dark .section-head p { color: var(--night-muted); }
.facts { display: grid; grid-template-columns: 1.618fr 1fr 1fr; border-top: 1px solid var(--night-line); }
.fact { padding: var(--s4) var(--s4) 0 0; }
.fact + .fact { padding-left: var(--s4); border-left: 1px solid var(--night-line); }
.fact b { display: block; font-size: var(--t4-fluid); line-height: 1; font-weight: 600; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.fact span { display: block; margin-top: var(--s2); color: var(--night-muted); max-width: 30ch; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr; } .fact + .fact { padding-left: 0; border-left: 0; border-top: 1px solid var(--night-line); margin-top: var(--s4); } }

/* ---------- Telegram ---------- */
.community { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s5); align-items: center; padding: var(--s5); border-radius: var(--r3); background: var(--card); border: 1px solid var(--line); }
.community h2 { font-size: var(--t3-fluid); line-height: 1.1; letter-spacing: -0.03em; }
.community p { margin-top: var(--s2); color: var(--muted); font-size: 17px; }
.community .actions { justify-self: end; }
.btn-telegram { background: #229ed9; color: #fff; }
.btn-telegram:hover { background: #1b8cc2; }
@media (max-width: 900px) { .community { grid-template-columns: 1fr; padding: var(--s4); } .community .actions { justify-self: start; } }

/* ---------- last call ---------- */
.cta { background: var(--night); color: var(--night-text); padding: var(--s7) 0; }
.cta-grid { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s5); align-items: end; }
.cta h2 { font-size: var(--t4-fluid); line-height: 1.03; letter-spacing: -0.035em; }
.cta p { color: var(--night-muted); font-size: var(--t1); line-height: 1.5; margin-bottom: var(--s3); }
@media (max-width: 900px) { .cta-grid { grid-template-columns: 1fr; } }

/* ---------- footer ---------- */
.foot { background: var(--night); color: var(--night-muted); padding: var(--s4) 0 var(--s5); font-size: 14px; border-top: 1px solid var(--night-line); }
.foot .wrap { display: flex; gap: var(--s3); align-items: center; flex-wrap: wrap; }
.foot .brand { color: var(--night-text); font-size: 15px; }
.foot nav { display: flex; gap: var(--s3); margin-left: auto; flex-wrap: wrap; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--night-text); }

/* ---------- reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(var(--s4)); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--i, 0) * 55ms); }
.reveal.in { opacity: 1; transform: none; }
.rise { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.rise > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 89ms); }
.rise.in > span { transform: none; }

/* ---------- forms: sign up, sign in, account, admin ---------- */
.page-light { background: var(--canvas); }
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1.618fr; padding-top: 68px; }
.auth-side { background: var(--night); color: var(--night-text); padding: var(--s5) var(--s5) 0; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; }
.auth-side h2 { font-size: var(--t3-fluid); line-height: 1.1; letter-spacing: -0.03em; }
.auth-side p { margin-top: var(--s3); color: var(--night-muted); font-size: 17px; }
.auth-side .peek { margin-top: var(--s5); border-radius: var(--r2) var(--r2) 0 0; width: 161.8%; max-width: none; aspect-ratio: 1416 / 808; object-fit: cover; object-position: left top; box-shadow: 0 0 0 1px rgba(255,255,255,.12); }
.auth-main { display: grid; place-items: start center; padding: var(--s6) var(--s3) var(--s5); }
.panel { width: min(420px, 100%); }
.panel h1 { font-size: var(--t3-fluid); letter-spacing: -0.03em; line-height: 1.1; }
.panel .sub { margin-top: var(--s1); color: var(--muted); }
.form { margin-top: var(--s4); display: grid; gap: var(--s3); }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input { width: 100%; height: 48px; border-radius: var(--r2); border: 1px solid var(--line); background: var(--card); padding: 0 var(--s2); font: 500 15.5px var(--font); color: var(--ink); transition: border-color .15s, box-shadow .15s; }
.field input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74,125,255,.16); }
.field input[aria-invalid="true"] { border-color: var(--bad); }
.field .hint { margin-top: 6px; font-size: 13px; color: var(--muted); }
.pw { position: relative; }
.pw button { position: absolute; right: 6px; top: 6px; height: 36px; padding: 0 10px; border: 0; background: transparent; color: var(--muted); font: 600 13px var(--font); cursor: pointer; border-radius: var(--r1); }
.pw button:hover { background: #f0efea; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--blue); flex: none; }
.check a { color: var(--ink); }
.form .btn { width: 100%; height: 50px; font-size: 16px; }
.msg { display: none; padding: var(--s2); border-radius: var(--r2); font-size: 14.5px; }
.msg.show { display: block; }
.msg.err { background: #fdeeee; color: #a42f2f; }
.msg.ok { background: #e9f7ef; color: #17693b; }
.swap { margin-top: var(--s3); text-align: center; font-size: 14.5px; color: var(--muted); }
.swap a { color: var(--blue); font-weight: 600; text-decoration: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.meter { height: 4px; border-radius: 4px; background: var(--line); margin-top: var(--s1); overflow: hidden; }
.meter i { display: block; height: 100%; width: 0; background: var(--bad); transition: width .2s, background .2s; }
@media (max-width: 900px) { .auth { grid-template-columns: 1fr; } .auth-side { display: none; } }

/* account and admin pages */
.page { padding: calc(68px + var(--s5)) 0 var(--s6); min-height: 100vh; }
.page h1 { font-size: var(--t3-fluid); letter-spacing: -0.03em; line-height: 1.1; }
.page .sub { margin-top: var(--s1); color: var(--muted); font-size: 17px; }
.grid2 { display: grid; grid-template-columns: 1.618fr 1fr; gap: var(--s3); margin-top: var(--s4); }
@media (max-width: 900px) { .grid2 { grid-template-columns: 1fr; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s4); }
.card h3 { font-size: var(--t1); letter-spacing: -0.015em; }
.card.hero-card { background: var(--night); color: var(--night-text); border: 0; }
.card.hero-card p { color: var(--night-muted); }
.card .actions { margin-top: var(--s3); display: flex; gap: 10px; flex-wrap: wrap; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 10px var(--s3); margin: var(--s2) 0 0; font-size: 15px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; word-break: break-all; }
.toggle-row { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); font-size: 15px; }
.switch { position: relative; width: 46px; height: 28px; flex: none; }
.switch input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span { position: absolute; inset: 0; border-radius: 99px; background: #d6d4ce; transition: background .2s; }
.switch span::after { content: ''; position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: transform .2s; }
.switch input:checked + span { background: var(--blue); }
.switch input:checked + span::after { transform: translateX(18px); }
.switch input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
details.danger { margin-top: var(--s3); padding-top: var(--s3); border-top: 1px solid var(--line); }
details.danger summary { cursor: pointer; color: var(--bad); font-weight: 600; font-size: 14.5px; }
details.danger form { margin-top: var(--s2); display: grid; gap: 10px; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s3); margin-top: var(--s4); }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r3); padding: var(--s3); }
.stat b { display: block; font-size: var(--t3); letter-spacing: -0.03em; font-weight: 650; line-height: 1.1; }
.stat span { color: var(--muted); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.toolbar { display: flex; gap: 10px; align-items: center; margin: var(--s4) 0 var(--s2); flex-wrap: wrap; }
.toolbar input { flex: 1; min-width: 200px; height: 42px; border-radius: var(--pill); border: 1px solid var(--line); background: var(--card); padding: 0 var(--s3); font: 500 15px var(--font); }
.toolbar input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(74,125,255,.16); }
.table { background: var(--card); border: 1px solid var(--line); border-radius: var(--r3); overflow: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border-bottom: 0; }
td.when { color: var(--muted); white-space: nowrap; font-size: 13.5px; }
.tag { display: inline-block; padding: 3px 9px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--blue-soft); color: var(--blue-deep); }
.empty { padding: var(--s5); text-align: center; color: var(--muted); }
.x { border: 0; background: transparent; color: var(--muted); cursor: pointer; padding: 6px 10px; border-radius: var(--r1); font: 600 13px var(--font); }
.x:hover { background: #fdeeee; color: var(--bad); }

/* privacy page text */
.prose { max-width: 680px; }
.prose h2 { font-size: var(--t1); margin: var(--s4) 0 var(--s1); letter-spacing: -0.015em; }
.prose p, .prose li { color: #3c3f4a; font-size: 17px; }
.prose ul { padding-left: var(--s3); }
.prose li { margin: 6px 0; }
.prose a { color: var(--blue); }

/* small message at the top of the page */
.toast { position: fixed; z-index: 60; left: 50%; top: 84px; transform: translate(-50%, -16px); opacity: 0; padding: var(--s2) var(--s3); border-radius: var(--pill);
  background: #fff; color: var(--ink); font-weight: 600; font-size: 14.5px; box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 12px 32px rgba(10,14,40,.25); transition: opacity .25s, transform .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* "Reduce motion" turned on in Windows: keep gentle fades, drop the movement.
   site.js adds .calm to <html> (add ?motion=full to a link to see everything). */
.calm .reveal { transform: none; transition: opacity .6s ease; }
.calm .rise > span { transform: none; transition: none; }
.calm .window, .calm .band-names div { transform: none !important; }
.calm .tour-frame img { clip-path: none !important; transform: none !important; opacity: 0; transition: opacity .5s ease; }
.calm .tour-frame img.shown, .calm .tour-frame img.past { opacity: 1; }
.calm .eye.blink svg g { animation: none; }
.calm .progress { display: none; }
