/* Soul Not Found, v02 (2026-11-15).
   v02 keeps the brand of v01: the NITE colours and the original logo (owner's call, 2026-11-15).
   Type rule (owner, 2026-11-15): Azeret Mono is only for data and values (labels, buttons, numbers, system
   messages, the ticker), always in capitals. Headings and running text are Neue Haas Grotesk (the original
   Helvetica, from Adobe Fonts kit rsf3cjf: Display 500 for headings, Text 400 for running text), in
   normal case. Devices that have Helvetica show it while the kit loads. What changed is the layout and the pictures: the painted look-3 frames
   replace the teaser. Colour values come from design/soul-not-found-design-system-brand-tokens.json,
   theme mode NITE, the same as styles-v01.css.
   Spacing and type sizes interpolate between a 390 px and a 1440 px viewport.
   v01 is kept as styles-v01.css for index-v01.html and index-full.html. */

:root {
  /* NITE tokens */
  --bg: #03232b;           /* neutral-900, the page ground */
  --bg-deep: #001d1d;      /* primary-900 */
  --line: #1e3840;         /* neutral-800 */
  --line-strong: #374f56;  /* neutral-700 */
  --line-muted: #52666c;   /* neutral-600 */
  --accent: #03d1ca;       /* primary-500 */
  --accent-hover: #5fede5; /* primary-300 */
  --accent-deep: #00726d;  /* primary-700 */
  --signal: #d7038c;       /* secondary-500 */
  --signal-light: #ff68c1; /* secondary-300 */
  --heading: #e4e8e9;      /* neutral-100 */
  --text: #a7b2b5;         /* neutral-300: 7.6:1 on --bg */
  --fine: #8a989c;         /* neutral-400: 5.5:1 on --bg */
  --link: #5fede5;         /* primary-300 */
  --ground-rgb: 3, 35, 43; /* --bg as channels, for the translucent grounds */
  --deep-rgb: 0, 29, 29;   /* --bg-deep as channels */
  --on-accent: #03232b;    /* text on the teal fill, in both themes */

  --font-display: "neue-haas-grotesk-display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-sans: "neue-haas-grotesk-text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "Azeret Mono", ui-monospace, "SFMono-Regular", monospace;

  --site-margin: clamp(16px, 4.11px + 3.048vw, 48px);
  --space-1: clamp(4px, 2.51px + 0.381vw, 8px);
  --space-2: clamp(8px, 6.51px + 0.381vw, 12px);
  --space-3: clamp(12px, 10.51px + 0.381vw, 16px);
  --space-4: clamp(16px, 13.03px + 0.762vw, 24px);
  --space-5: clamp(24px, 21.03px + 0.762vw, 32px);
  --space-6: clamp(28px, 23.54px + 1.143vw, 40px);
  --space-8: clamp(40px, 31.09px + 2.286vw, 64px);
  --section-space: clamp(64px, 46.17px + 4.571vw, 112px);

  --size-display: clamp(36px, 28.57px + 1.905vw, 56px);
  --size-h2: clamp(34px, 26.57px + 1.905vw, 54px);
  --size-h3: clamp(22px, 20.51px + 0.381vw, 26px);
  --size-lead: clamp(18px, 16.51px + 0.381vw, 22px);
  --size-body: clamp(16px, 15.26px + 0.19vw, 18px);
  --size-small: clamp(12px, 11.63px + 0.095vw, 13px);
  --size-tiny: 12px;
  --radius-small: 3px;

  --content-max: 1344px;
  --hairline: 1px solid var(--line-strong);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 var(--size-body)/1.6 var(--font-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;   /* clip, not hidden: hidden made body a scroll container and broke position: sticky */
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--bg); }
:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }

.skip { position: absolute; left: -9999px; top: 8px; z-index: 50; background: var(--heading); color: var(--bg); padding: 8px 12px; font: 500 12px/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; }
.skip:focus { left: 8px; }

.container { width: 100%; max-width: calc(var(--content-max) + 2 * var(--site-margin)); margin: 0 auto; padding: 0 var(--site-margin); }

/* ---------- type ---------- */

.eyebrow {
  margin: 0 0 var(--space-3);
  font: 500 var(--size-small)/1.3 var(--font-mono);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--heading);
}
.eyebrow::before { content: "//"; margin-right: 8px; color: var(--signal-light); }
.h2, .h3, .hero-title { font-family: var(--font-display); font-weight: 500; color: var(--heading); margin: 0; }
.h2 { font-size: var(--size-h2); line-height: 1.1; letter-spacing: .02em; max-width: 20ch; }
.h3 { font-size: var(--size-h3); line-height: 1.2; letter-spacing: .02em; }
.lead { font: 400 var(--size-lead)/1.5 var(--font-sans); color: var(--text); margin: var(--space-4) 0 0; max-width: 38em; }
.fine { font-size: var(--size-small); color: var(--fine); margin: var(--space-6) 0 0; }
.text-link { color: var(--link); text-decoration: none; font: 500 var(--size-small)/1.3 var(--font-mono); letter-spacing: .06em; text-transform: uppercase; border-bottom: 1px solid transparent; transition: border-color .2s; white-space: nowrap; }
.text-link:hover { border-bottom-color: currentColor; }

/* ---------- buttons: flat fields, hard corners, like the frames ---------- */

.btn {
  --btn-bg: transparent; --btn-line: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; border: 1px solid transparent; border-radius: var(--radius-small); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn-primary { --btn-bg: var(--accent); color: var(--on-accent); }
.btn-primary:hover { --btn-bg: var(--accent-hover); }
.btn-ghost { --btn-bg: rgba(var(--ground-rgb), .28); --btn-line: var(--accent); color: var(--heading); }
.btn-ghost:hover { --btn-bg: var(--accent-deep); --btn-line: var(--accent-deep); }
.btn-small { min-height: 40px; padding: 0 16px; }

/* ---------- nav ---------- */

.nav {
  position: fixed; inset: 0 0 auto; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px var(--site-margin);
  padding-top: max(14px, env(safe-area-inset-top));
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(var(--ground-rgb), .92); border-bottom-color: var(--line); backdrop-filter: blur(10px); }
.wordmark { width: clamp(150px, 117px + 8.6vw, 240px); }

/* ---------- hero ---------- */

.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 120px var(--site-margin) clamp(72px, 9vh, 112px);
  isolation: isolate; overflow: hidden;
}
.hero-frames { position: absolute; inset: 0; z-index: -2; background: var(--bg); }
/* cross-dissolve: the incoming frame fades in ON TOP of the outgoing one, which stays fully opaque until the
   fade is done (.is-prev), so the picture never dips through to the background. Every frame drifts all the
   time, so nothing jumps when a frame changes state. */
.frame { position: absolute; inset: 0; margin: 0; opacity: 0; z-index: 0; transition: opacity 1.6s ease-in-out; }
.frame.is-on { opacity: 1; z-index: 2; }
.frame.is-prev { opacity: 1; z-index: 1; transition: none; }
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; animation: drift 16s ease-in-out infinite alternate; }
@keyframes drift { from { transform: scale(1.0); } to { transform: scale(1.07); } }
@media (prefers-reduced-motion: reduce) { .frame img { animation: none; } .frame { transition: none; } }

.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(var(--ground-rgb), .7) 0, rgba(var(--ground-rgb), 0) 22%),
    linear-gradient(0deg, var(--bg) 0, rgba(var(--ground-rgb), .9) 30%, rgba(var(--ground-rgb), .62) 52%, rgba(var(--ground-rgb), 0) 80%);
}
@media (min-aspect-ratio: 1/1) {
  .hero-scrim { background:
    linear-gradient(180deg, rgba(var(--ground-rgb), .65) 0, rgba(var(--ground-rgb), 0) 20%),
    linear-gradient(90deg, rgba(var(--ground-rgb), .82) 0, rgba(var(--ground-rgb), .45) 42%, rgba(var(--ground-rgb), 0) 68%),
    linear-gradient(0deg, var(--bg) 0, rgba(var(--ground-rgb), 0) 34%); }
}
/* the copy lines up with the logo on the left edge (both sit on --site-margin) and anchors to the lower left */
/* The lower third is set about 20% smaller than the base sizes (owner, 2026-11-15), size by size rather than
   with zoom, so the buttons keep proper proportions and a 44 px touch target. */
.hero-copy { position: relative; width: 100%; margin: 0; }
.hero-copy .hero-title { font-size: clamp(29px, 22.86px + 1.524vw, 45px); }
.hero-copy .hero-actions { margin-top: var(--space-6); gap: 10px; }   /* no lead line since 2026-11-15: the caption is the message */
.hero-copy .btn { min-height: 44px; padding: 0 18px; font-size: 12px; }
.hero-head { display: flex; flex-direction: column; justify-content: flex-end; }
.hero-title { --title-shadow: -2px 0 rgba(215, 3, 140, .55), 2px 0 rgba(3, 209, 202, .55); font-size: var(--size-display); line-height: 1.04; letter-spacing: .015em; max-width: 19ch; text-shadow: var(--title-shadow); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-6); }
@media (max-width: 599px) {
  .hero-actions .btn { flex: 1 1 auto; padding: 0 14px; }
}

/* ---------- ticker ---------- */

.ticker { overflow: hidden; border-top: var(--hairline); border-bottom: var(--hairline); background: var(--bg-deep); }
.ticker-track { display: flex; width: max-content; animation: ticker 80s linear infinite; }
.ticker-track span { padding: 14px 28px; font: 400 var(--size-small)/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--link); white-space: nowrap; }
.ticker-track span::before { content: "//"; margin-right: 12px; color: var(--signal-light); }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- sections ---------- */

.section { padding: var(--section-space) 0; }


.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--space-4); margin-bottom: var(--space-8); }

.dispatches { background: var(--bg-deep); border-top: var(--hairline); }
.cards {
  list-style: none; margin: 0; padding: 0 var(--site-margin);
  display: grid; grid-auto-flow: column; grid-auto-columns: min(78vw, 340px); gap: 16px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--site-margin);
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.cards::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; }
.card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--line); }
.card-line { margin: var(--space-3) 0 0; font: 500 clamp(18px, 17.26px + .19vw, 20px)/1.35 var(--font-display); letter-spacing: .01em; color: var(--heading); }
.card-fine { margin: var(--space-2) 0 0; font-size: var(--size-small); line-height: 1.5; color: var(--fine); }
@media (min-width: 1000px) {
  .cards { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; gap: var(--space-8) var(--space-5); overflow: visible;
           max-width: calc(var(--content-max) + 2 * var(--site-margin)); margin: 0 auto; }
}

.signup { position: relative; isolation: isolate; overflow: hidden; }
.signup-bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.signup-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; opacity: 0; transition: opacity 2.2s ease-in-out; }
.signup-bg img.is-on { opacity: 1; }
/* the gallery behind the form is visual noise, not pictures: heavy blur, a little more colour, scaled past the blur's soft edge */
html.js .signup-bg { animation: noise-drift 14s ease-in-out infinite alternate; }
html.js .signup-bg img { filter: blur(26px) saturate(1.35); transform: scale(1.15); }
.signup-bg img.is-on { z-index: 1; }
.signup-bg img.is-prev { opacity: 1; z-index: 0; transition: none; }
@keyframes noise-drift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-2%, 1.5%); } }
@media (prefers-reduced-motion: reduce) { .signup-bg img { transition: none; } html.js .signup-bg { animation: none; } }
.signup::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, var(--bg) 0, rgba(var(--ground-rgb), .82) 40%, rgba(var(--ground-rgb), .7) 100%); }
.signup-grid { display: grid; gap: var(--space-8); align-items: end; }
@media (min-width: 900px) { .signup-grid { grid-template-columns: 1.1fr 1fr; } }
.signup-form { background: rgba(var(--ground-rgb), .8); border: var(--hairline); padding: var(--space-6); -webkit-backdrop-filter: blur(40px) saturate(1.5); backdrop-filter: blur(40px) saturate(1.5); }
.label { display: block; margin-bottom: 10px; font: 500 var(--size-small)/1.3 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--heading); }
.field-row { display: flex; flex-wrap: wrap; gap: 10px; }
.input {
  flex: 1 1 220px; min-height: 48px; padding: 0 14px; border-radius: var(--radius-small);
  font: 400 16px/1 var(--font-sans); color: var(--heading);
  background: var(--bg-deep); border: 1px solid var(--line-muted);
}
.input::placeholder { color: var(--fine); }
.input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 2px var(--link); }
.input[aria-invalid="true"] { border-color: #db6363; }
.signup-form .btn { flex: 0 0 auto; }
@media (max-width: 479px) { .signup-form .btn { flex: 1 1 100%; } }
.signup-form.is-busy .btn { opacity: .6; pointer-events: none; }
.status { min-height: 1.6em; margin: 12px 0 0; font: 500 var(--size-small)/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; }
.status.is-ok { color: var(--link); }
.status.is-error { color: #db6363; }
.terms-note { margin: 4px 0 0; font-size: var(--size-small); line-height: 1.55; color: var(--fine); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- footer ---------- */

.footer { border-top: var(--hairline); padding: var(--space-8) 0 calc(var(--space-8) + env(safe-area-inset-bottom)); }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: var(--space-5); }
.signoff { margin: 0; font: 400 var(--size-small)/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #c5cdcf; max-width: 40ch; }
.footer-meta { margin: var(--space-3) 0 0; font: 400 var(--size-small)/1.5 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--fine); }
.footer-meta a { color: var(--text); text-decoration-color: var(--line-muted); text-underline-offset: 3px; }
.footer-meta a:hover { color: var(--link); }
.footer-mark { width: 44px; flex: none; }

/* ---------- segmented, drifting buttons (2026-11-15) ----------
   The wordmark's letters are cut into horizontal bands that slip sideways. Every button is drawn that way:
   ::before is the body with one band cut out, ::after is the band. At rest --slip is 0, so the band sits
   flush and the button reads as one plain block. While hovered or keyboard-focused, the band jumps a few
   pixels and the label splits into two colour channels (an RGB split), in held pixel-art frames that loop
   with no pauses. The cut positions are registered properties so they can interpolate. Reduced motion: plain. */

@property --cut-a { syntax: "<percentage>"; inherits: true; initial-value: 30%; }
@property --cut-b { syntax: "<percentage>"; inherits: true; initial-value: 50%; }
@property --slip  { syntax: "<length>";     inherits: true; initial-value: 0px; }

.btn {
  position: relative; isolation: isolate;
  background: none; border: 0;
  --cut-a: 30%; --cut-b: 50%; --slip: 0px;
  --split-a: var(--signal-light); --split-b: var(--accent);
}
.btn-primary { --split-a: var(--signal); --split-b: #6c4dff; }
.btn::before, .btn::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  background: var(--btn-bg); border: 1px solid var(--btn-line);
  transition: background-color .3s var(--ease), border-color .3s var(--ease);
}
.btn-ghost::before, .btn-ghost::after { -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); }
/* hovered, the ghost button is opaque; dropping the blur stops a darker line where the band overlaps */
.btn-ghost:hover::before, .btn-ghost:hover::after, .btn-ghost:focus-visible::before, .btn-ghost:focus-visible::after { -webkit-backdrop-filter: none; backdrop-filter: none; }
/* At rest the button is one whole, uncut block (::before) and the band (::after) doesn't exist, so there is
   no seam to show. The cut and the band only appear while hovered or keyboard-focused, and vanish the
   moment that ends, so a button always comes back to this clean state. */
.btn::before { inset: 0; border-radius: var(--radius-small); }
.btn::after {
  display: none;
  top: var(--cut-a); bottom: calc(100% - var(--cut-b));
  left: var(--slip); right: calc(-1 * var(--slip));
  border-top: 0; border-bottom: 0;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  /* top slab and bottom slab, joined by a zero-width seam down the left edge: the band between is cut out */
  .btn:hover::before { clip-path: polygon(0 0, 100% 0, 100% var(--cut-a), 0 var(--cut-a), 0 var(--cut-b), 100% var(--cut-b), 100% 100%, 0 100%); }
  .btn:hover::after { display: block; }
}
@media (prefers-reduced-motion: no-preference) {
  .btn:focus-visible::before { clip-path: polygon(0 0, 100% 0, 100% var(--cut-a), 0 var(--cut-a), 0 var(--cut-b), 100% var(--cut-b), 100% 100%, 0 100%); }
  .btn:focus-visible::after { display: block; }
}

.btn-label { position: relative; display: inline-block; isolation: isolate; }
.btn-label::before, .btn-label::after {
  content: attr(data-text); position: absolute; inset: 0; opacity: 0; pointer-events: none;
  transition: opacity .5s var(--ease);
}
.btn-label::before { color: var(--split-a); }
.btn-label::after { color: var(--split-b); }

/* The hover state: an RGB channel split and a twitching band, animated like pixel art. Every keyframe is a
   held frame (steps(1, end): no tweening between them) and every offset is a whole pixel (1-3 px), so it
   moves in small chunky jumps at roughly 16 frames a second. The loops have unequal lengths (0.36 s,
   0.48 s, 0.7 s) so the combination never visibly repeats, and none of them pauses. */
@media (prefers-reduced-motion: no-preference) {
  /* keyboard focus plays the glitch twice and rests, so a parked focus does not flicker forever */
  .btn:focus-visible { animation: btn-twitch .7s steps(1, end) 2; }
  .btn:focus-visible::after { top: calc(var(--cut-a) - 1px); bottom: calc(100% - var(--cut-b) - 1px); }
  .btn:focus-visible .btn-label::before { opacity: .85; animation: btn-rgb-a .36s steps(1, end) 4, btn-hue 1s steps(1, end) 2; }
  .btn:focus-visible .btn-label::after  { opacity: .8;  animation: btn-rgb-b .48s steps(1, end) 3, btn-hue 1.2s steps(1, end) 2 reverse; }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn:hover { animation: btn-twitch .7s steps(1, end) infinite; }
  /* the band overlaps the body by 1 px top and bottom so no hairline seam opens up */
  .btn:hover::after { top: calc(var(--cut-a) - 1px); bottom: calc(100% - var(--cut-b) - 1px); }
  .btn:hover .btn-label::before { opacity: .85; animation: btn-rgb-a .36s steps(1, end) infinite, btn-hue 1s steps(1, end) infinite; }
  .btn:hover .btn-label::after  { opacity: .8;  animation: btn-rgb-b .48s steps(1, end) infinite, btn-hue 1.2s steps(1, end) infinite reverse; }
}
/* the ghosts sit behind the label, so the real letters stay crisp on top */
.btn-label::before, .btn-label::after { z-index: -1; }

@keyframes btn-twitch {
  0%   { --cut-a: 30%; --cut-b: 50%; --slip: 0px; }
  8%   { --cut-a: 30%; --cut-b: 50%; --slip: 2px; }
  17%  { --cut-a: 38%; --cut-b: 56%; --slip: 1px; }
  25%  { --cut-a: 38%; --cut-b: 56%; --slip: -1px; }
  33%  { --cut-a: 24%; --cut-b: 42%; --slip: 2px; }
  42%  { --cut-a: 24%; --cut-b: 42%; --slip: 0px; }
  50%  { --cut-a: 44%; --cut-b: 62%; --slip: -2px; }
  58%  { --cut-a: 44%; --cut-b: 62%; --slip: 1px; }
  67%  { --cut-a: 32%; --cut-b: 50%; --slip: 3px; }
  75%  { --cut-a: 28%; --cut-b: 46%; --slip: -1px; }
  83%  { --cut-a: 28%; --cut-b: 46%; --slip: 1px; }
  92%  { --cut-a: 40%; --cut-b: 58%; --slip: 0px; }
}
@keyframes btn-rgb-a {
  0%   { transform: translate(-1px, 0);  clip-path: inset(0 0 0 0); }
  17%  { transform: translate(-2px, 0);  clip-path: inset(0 0 40% 0); }
  33%  { transform: translate(-1px, 1px); clip-path: inset(20% 0 10% 0); }
  50%  { transform: translate(-2px, 0);  clip-path: inset(0 0 0 0); }
  67%  { transform: translate(-1px, 0);  clip-path: inset(50% 0 0 0); }
  83%  { transform: translate(-3px, 0);  clip-path: inset(10% 0 30% 0); }
}
@keyframes btn-rgb-b {
  0%   { transform: translate(1px, 0);   clip-path: inset(0 0 0 0); }
  13%  { transform: translate(2px, -1px); clip-path: inset(30% 0 0 0); }
  25%  { transform: translate(1px, 0);   clip-path: inset(0 0 0 0); }
  38%  { transform: translate(3px, 0);   clip-path: inset(0 0 50% 0); }
  50%  { transform: translate(1px, 0);   clip-path: inset(20% 0 20% 0); }
  63%  { transform: translate(2px, 0);   clip-path: inset(0 0 0 0); }
  75%  { transform: translate(1px, 1px); clip-path: inset(40% 0 0 0); }
  88%  { transform: translate(2px, 0);   clip-path: inset(0 0 30% 0); }
}
/* the ghosts' hue jumps between a few fixed points in the magenta-violet-cyan family */
@keyframes btn-hue {
  0%   { filter: hue-rotate(0deg) saturate(1.3); }
  25%  { filter: hue-rotate(30deg) saturate(1.3); }
  50%  { filter: hue-rotate(-20deg) saturate(1.3); }
  75%  { filter: hue-rotate(45deg) saturate(1.3); }
}

/* ---------- the logo glitches on hover (2026-11-15) ----------
   Only the logo's own shapes move: two coloured drop-shadows of the logo (magenta and cyan) jump 1-3 px either
   side in held pixel frames, the RGB split the buttons use. Drop-shadows follow the logo's outline, so nothing
   is drawn outside the letters: no bands, no box edges. Plain at rest, on touch and with reduced motion. */
.glitch-logo { display: inline-block; }
.glitch-logo img { display: block; width: 100%; height: auto; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .glitch-logo:hover img { animation: logo-rgb .42s steps(1, end) infinite; }
}
@keyframes logo-rgb {
  0%   { transform: translate(0, 0);   filter: drop-shadow(-2px 0 0 rgba(255, 104, 193, .85)) drop-shadow(2px 0 0 rgba(3, 209, 202, .85)); }
  14%  { transform: translate(1px, 0); filter: drop-shadow(-3px 0 0 rgba(255, 104, 193, .85)) drop-shadow(1px 0 0 rgba(3, 209, 202, .85)); }
  29%  { transform: translate(0, 0);   filter: drop-shadow(-1px 1px 0 rgba(255, 104, 193, .85)) drop-shadow(3px 0 0 rgba(3, 209, 202, .85)); }
  43%  { transform: translate(-1px, 0); filter: drop-shadow(-2px 0 0 rgba(255, 104, 193, .85)) drop-shadow(2px -1px 0 rgba(3, 209, 202, .85)); }
  57%  { transform: translate(0, 0);   filter: drop-shadow(-3px 0 0 rgba(255, 104, 193, .85)) drop-shadow(2px 0 0 rgba(3, 209, 202, .85)); }
  71%  { transform: translate(1px, 0); filter: drop-shadow(-1px 0 0 rgba(255, 104, 193, .85)) drop-shadow(1px 1px 0 rgba(3, 209, 202, .85)); }
  86%  { transform: translate(0, 0);   filter: drop-shadow(-2px -1px 0 rgba(255, 104, 193, .85)) drop-shadow(3px 0 0 rgba(3, 209, 202, .85)); }
}

/* ---------- hero typewriter (2026-11-15) ---------- */
.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; }
.hero-title { position: relative; transition: height .7s cubic-bezier(.4, 0, .2, 1); }
@media (prefers-reduced-motion: reduce) { .hero-title { transition: none; } }
.typer-ghost { display: block; visibility: hidden; white-space: pre-line; text-wrap: balance; }
/* The whole line being typed is laid out from the first keystroke: what isn't typed yet sits in .typer-rest,
   invisible but taking its space. So the block has its final height and wrapping before typing starts, and
   no line moves or rewraps as letters arrive or are deleted. Balanced wrapping (and a no-break space before
   the last word, set in app.js) means no line ends up with a lone word. */
/* Top-anchored, right under the eyebrow. app.js puts the tallest of all the lines into the ghost, so the
   reserved height fits every line and the buttons below never move. */
.typer { position: absolute; left: 0; right: 0; top: 0; white-space: pre-line; text-wrap: balance; }
.typer-rest { visibility: hidden; }
.typer-text .off { visibility: hidden; }
/* The caret is an inline span holding only a word joiner (U+2060), so it is glued to the letters on both
   sides: it can never cause a line break or drop to the next line. Its bar is drawn absolutely. */
.caret { position: relative; }
.caret::after {
  content: ""; position: absolute; left: .04em; top: .08em; width: .07em; height: .86em;
  background: var(--accent); animation: caret-blink 1.06s steps(1, end) infinite;
}
.hero-title.is-typing .caret::after { animation: none; opacity: 1; }
@keyframes caret-blink { 50% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .caret::after { display: none; } }

/* no orphans or widows anywhere: headings balance their lines, running text avoids a lone last word */
.h2, .h3, .card-line { text-wrap: balance; }
p { text-wrap: pretty; }

/* random hero (2026-11-15): with JS and motion the fallback frame never shows; the first random picture
   dissolves in from the dark ground */
.hero-live .frame.is-fallback { display: none; }

/* each typed letter manifests: three colour channels (red, green, blue) arrive apart and blurred, converge,
   and resolve to the white letter with the title's usual magenta/cyan edge, like a ghost coming into focus */
.mf { animation: manifest .55s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes manifest {
  0%   { color: transparent; filter: blur(2px);
         text-shadow: -6px 0 rgba(255, 40, 90, .9), 5px -2px rgba(40, 255, 170, .9), 1px 4px rgba(70, 110, 255, .9); }
  40%  { color: rgba(228, 232, 233, .35); filter: blur(.6px);
         text-shadow: -3px 0 rgba(255, 40, 90, .75), 2px -1px rgba(40, 255, 170, .75), 0 2px rgba(70, 110, 255, .75); }
  100% { color: var(--heading); filter: none; text-shadow: var(--title-shadow); }
}
@media (prefers-reduced-motion: reduce) { .mf { animation: none; } }

/* ---------- polish pass (2026-11-15, after the impeccable critique) ---------- */

/* the first picture appears at once (no fade from the dark ground), so the first caption types immediately */
.frame.is-instant { transition: none; }


/* the ticker stops while pointed at, so a line can be read through */
.ticker:hover .ticker-track { animation-play-state: paused; }

/* the hero label sits on changing pictures; a soft shadow keeps it above 4.5:1 on the bright ones */
.hero-head .eyebrow { text-shadow: 0 1px 6px rgba(0, 0, 0, .7); }

/* on phones the title's chromatic edge is 1 px, so 29 px letters stay crisp */
@media (max-width: 599px) {
  .hero-title { --title-shadow: -1px 0 rgba(215, 3, 140, .55), 1px 0 rgba(3, 209, 202, .55); }
}

/* the punchlines live in the card fine print: give it body-text contrast */
.card-fine { color: var(--text); }

/* without JS the nav never learns it has scrolled: give it its solid ground from the start */
html:not(.js) .nav { background: rgba(var(--ground-rgb), .92); border-bottom-color: var(--line); }

/* touch targets: small inline links and the nav button reach 44 px without changing the layout */
@media (pointer: coarse) {
  .text-link, .footer-meta a { display: inline-block; padding: 14px 0; margin: -14px 0; }
  .wordmark { padding: 9px 0; margin: -9px 0; }
  .btn-small { min-height: 44px; }
}

/* the fine print starts on the same line across a row of cards, however many lines each card line takes:
   on desktop each card spans three rows of the grid (picture, line, fine print) and shares them (subgrid);
   in the phone carousel every card line reserves two lines */
.card-line { min-height: calc(2 * 1.35em); }
@media (min-width: 1000px) {
  .cards { row-gap: 0; }
  .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; margin-bottom: var(--space-8); }
  .card-line { min-height: 0; }
}

/* =====================================================================================================
   AFFORDANCES AND FEEDBACK (2026-11-15, owner: "add a ton of affordances and feedback", at the fidelity of the
   Inverted Chaos digital-declutter page). Every control says what it does before it is used, answers when it
   is used, and says what happened after. Touch gets the same answers as the mouse (.is-tap mirrors :hover).
   Reduced motion keeps every state change and drops the movement.
   ===================================================================================================== */

/* ---------- icons: one family, 1.5 px strokes, drawn here ---------- */
.icon { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: square; stroke-linejoin: miter; }
.btn .icon { width: 14px; height: 14px; margin-left: 2px; transition: transform .25s var(--ease); }
.btn:hover .icon, .btn.is-tap .icon, .btn:focus-visible .icon { transform: translateX(3px); }
.btn[href="#account"]:hover .icon, .btn[href="#account"].is-tap .icon, .btn[href="#account"]:focus-visible .icon { transform: translateY(3px); }

/* ---------- press: every control gives under the finger or the click ---------- */
.btn, .round-btn, .feed-btn, .tool-btn, .card-media, .nav-links a { -webkit-tap-highlight-color: transparent; }
.btn:active, .round-btn:active, .feed-btn:active, .tool-btn:active { transform: translateY(1px) scale(.985); transition-duration: .05s; }
.ic-pop { animation: ic-pop .32s var(--ease); }
@keyframes ic-pop { 0% { scale: 1; } 35% { scale: .7; } 100% { scale: 1; } }

/* ---------- touch gets the hover answers: app.js adds .is-tap for the press and a beat after ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn.is-tap { animation: btn-twitch .7s steps(1, end) 1; }
  .btn.is-tap::before { clip-path: polygon(0 0, 100% 0, 100% var(--cut-a), 0 var(--cut-a), 0 var(--cut-b), 100% var(--cut-b), 100% 100%, 0 100%); }
  .btn.is-tap::after { display: block; }
  .btn.is-tap .btn-label::before { opacity: .85; animation: btn-rgb-a .36s steps(1, end) 2; }
  .btn.is-tap .btn-label::after { opacity: .8; animation: btn-rgb-b .48s steps(1, end) 2; }
}
.btn-primary.is-tap { --btn-bg: var(--accent-hover); }

/* ---------- nav: section links, each with a bar that fills as you read its section ---------- */
.nav { flex-wrap: nowrap; }
.nav-links { display: none; gap: 28px; margin-left: auto; margin-right: 28px; }
@media (min-width: 900px) { .nav-links { display: flex; } }
.nav-links a {
  position: relative; padding: 12px 0; text-decoration: none;
  font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text);
  transition: color .2s var(--ease);
}
.nav-links a i { position: absolute; left: 0; right: 0; bottom: 4px; height: 1px; background: var(--line-strong); overflow: hidden; }
.nav-links a i::after { content: ""; position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; }
.nav-links a:hover, .nav-links a.is-tap, .nav-links a.is-current { color: var(--heading); }
.nav-links a:hover i, .nav-links a.is-current i { background: var(--line-muted); }
.readline { position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; pointer-events: none; }
.readline i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(var(--read, 0)); transform-origin: left; opacity: .7; }

/* ---------- hero feed: count, pause, next, and a hold bar that shows how long this caption stays ---------- */
.hero-side {
  position: absolute; right: var(--site-margin); bottom: clamp(16px, 3vh, 28px); z-index: 3;
  display: flex; flex-direction: column; align-items: flex-end; gap: 12px;
}
.feed-controls {
  display: flex; align-items: center; gap: 4px;
  font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
}
.feed-controls[hidden] { display: none; }
.feed-count { color: var(--heading); opacity: .75; margin-right: 8px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 6px rgba(0, 0, 0, .75); }
.feed-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px;
  font: inherit; letter-spacing: inherit; text-transform: inherit; color: var(--heading);
  background: rgba(var(--ground-rgb), .55); border: 1px solid rgba(228, 232, 233, .18); border-radius: var(--radius-small); cursor: pointer;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  transition: border-color .2s var(--ease), background-color .2s var(--ease), color .2s var(--ease);
}
.feed-btn:hover, .feed-btn.is-tap { border-color: var(--accent); color: var(--accent-hover); }
.feed-btn .icon { width: 12px; height: 12px; }
#feed-toggle .i-play { display: none; fill: currentColor; stroke: none; }
#feed-toggle[aria-pressed="true"] .i-pause { display: none; }
#feed-toggle[aria-pressed="true"] .i-play { display: inline; }
#feed-toggle[aria-pressed="true"] { border-color: var(--accent); color: var(--accent-hover); }
@media (max-width: 599px) {
  .hero-side { bottom: auto; top: 76px; flex-direction: column-reverse; gap: 10px; }
  .feed-btn span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .feed-btn { width: 44px; justify-content: center; padding: 0; }
}
.feed-hold { height: 2px; margin-top: 14px; width: min(220px, 40%); background: rgba(228, 232, 233, .14); overflow: hidden; opacity: 0; transition: opacity .3s var(--ease); }
.feed-hold i { display: block; height: 100%; width: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.hero.is-holding .feed-hold { opacity: 1; }
.hero.is-holding .feed-hold i { animation: feed-hold var(--hold, 4200ms) linear forwards; }
.hero.is-paused .feed-hold i { animation-play-state: paused; }
.hero.is-paused .feed-hold { opacity: 1; }
@keyframes feed-hold { to { transform: scaleX(1); } }
html:not(.hero-live) .feed-hold { display: none; }

/* ---------- reveals: sections arrive as they come into view ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
  html.js .reveal.in { opacity: 1; transform: none; }
  html.js .reveal-group > * { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--k, 0) * 80ms); }
  html.js .reveal-group.in > * { opacity: 1; transform: none; }
}


/* ---------- ticker: the line under the pointer comes forward ---------- */
.ticker-track span { transition: color .2s var(--ease); }
.ticker:hover .ticker-track span:hover { color: var(--heading); }

/* ---------- cards: the picture is a button; it lifts, shows a zoom mark, and opens the viewer ---------- */
.card-media { position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--line); cursor: zoom-in; overflow: hidden; border-radius: var(--radius-small); }
.card-media img { transition: transform .6s var(--ease), filter .6s var(--ease); }
.card-zoom {
  position: absolute; right: 10px; bottom: 10px; display: grid; place-items: center; width: 36px; height: 36px;
  color: var(--heading); background: rgba(var(--ground-rgb), .7); border: 1px solid rgba(228, 232, 233, .25); border-radius: var(--radius-small);
  opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.card-media:hover img, .card-media.is-tap img, .card-media:focus-visible img { transform: scale(1.035); filter: saturate(1.15); }
.card-media:hover .card-zoom, .card-media.is-tap .card-zoom, .card-media:focus-visible .card-zoom { opacity: 1; transform: none; }
.card-line { transition: color .25s var(--ease); }
.card:hover .card-line { color: #ffffff; }
@media (prefers-reduced-motion: reduce) { .card-media img, .card-zoom { transition: none; } .card-media:hover img { transform: none; } }

/* ---------- phone carousel: which dispatch, and step buttons ---------- */
.cards-nav { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: var(--space-5); }
@media (min-width: 1000px) { .cards-nav { display: none; } }
.cards-count { font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .12em; color: var(--text); font-variant-numeric: tabular-nums; min-width: 6ch; text-align: center; }
.round-btn {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0; cursor: pointer;
  color: var(--heading); background: var(--bg); border: 1px solid var(--line-muted); border-radius: var(--radius-small);
  transition: border-color .2s var(--ease), color .2s var(--ease), opacity .2s var(--ease);
}
.round-btn:hover, .round-btn.is-tap { border-color: var(--accent); color: var(--accent-hover); }
.round-btn:disabled { opacity: .35; cursor: default; border-color: var(--line-muted); color: var(--heading); }

/* ---------- the viewer: one dispatch, large, with its caption; arrows, keys and swipes walk the six ---------- */
.viewer {
  width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 20, 22, .94); color: var(--text); overflow: hidden;
}
.viewer::backdrop { background: transparent; }
.viewer[open] { display: grid; place-items: center; animation: viewer-in .35s var(--ease); }
@keyframes viewer-in { from { opacity: 0; } }
.viewer-fig { margin: 0; display: grid; grid-template-columns: auto minmax(0, 360px); gap: 32px; align-items: end; max-width: calc(100% - 2 * var(--site-margin) - 120px); }
.viewer-pic { display: contents; }
.viewer-fig img { max-height: calc(100vh - 140px); max-height: calc(100svh - 140px); width: auto; max-width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius-small); animation: viewer-img .45s var(--ease); }
@keyframes viewer-img { from { opacity: 0; transform: scale(.96); } }
.viewer-count { font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .12em; color: var(--accent); font-variant-numeric: tabular-nums; }
.viewer-line { margin: 12px 0 0; font: 500 clamp(22px, 19px + .8vw, 30px)/1.3 var(--font-display); color: var(--heading); text-wrap: balance; }
.viewer-fine { margin: 12px 0 0; font-size: var(--size-body); line-height: 1.5; color: var(--text); }
.viewer .round-btn { position: absolute; background: rgba(var(--ground-rgb), .7); }
.viewer-prev { left: var(--site-margin); top: 50%; translate: 0 -50%; }
.viewer-next { right: var(--site-margin); top: 50%; translate: 0 -50%; }
.viewer-close { right: var(--site-margin); top: var(--site-margin); }
@media (max-width: 799px) {
  .viewer-fig { grid-template-columns: 1fr; gap: 16px; max-width: calc(100% - 2 * var(--site-margin)); }
  .viewer-pic { display: contents; }
.viewer-fig img { max-height: 58vh; max-height: 58svh; justify-self: center; }
  .viewer-prev, .viewer-next { top: auto; bottom: var(--site-margin); translate: none; }
  .viewer-prev { left: auto; right: calc(var(--site-margin) + 52px); }
}
@media (prefers-reduced-motion: reduce) { .viewer[open], .viewer-pic { display: contents; }
.viewer-fig img { animation: none; } }

/* ---------- form: the field confirms a good address, the button shows it is working, the panel answers ---------- */
.field { position: relative; flex: 1 1 220px; display: flex; }
.field .input { flex: 1 1 auto; padding-right: 40px; }
.field-ok { position: absolute; right: 12px; top: 50%; translate: 0 -50%; color: var(--accent); opacity: 0; transform: scale(.6); transition: opacity .2s var(--ease), transform .25s var(--ease); pointer-events: none; }
.field.is-valid .field-ok { opacity: 1; transform: none; }
.field.is-valid .input { border-color: var(--accent-deep); }
.signup-form.is-busy .btn { cursor: progress; }
.signup-form.is-busy .btn .icon { animation: busy-nudge .8s steps(4, end) infinite; }
@keyframes busy-nudge { to { transform: translateX(6px); } }
.signup-form.is-shake .field-row { animation: shake .36s steps(6, end); }
@keyframes shake { 0%, 100% { transform: none; } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); } 60% { transform: translateX(-3px); } 80% { transform: translateX(2px); } }
.status { display: flex; align-items: center; gap: 8px; }
.status.is-ok::before { content: ""; width: 10px; height: 10px; flex: none; background: var(--accent); }
.status.is-error::before { content: ""; width: 10px; height: 10px; flex: none; background: #db6363; }
.signup-form.is-done { border-color: var(--accent-deep); }
.signup-form.is-done .field-row { opacity: .45; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .signup-form.is-shake .field-row, .signup-form.is-busy .btn .icon { animation: none; } }

/* ---------- footer tools: copy the link, back to the top ---------- */
.footer-tools { display: flex; flex-wrap: wrap; gap: 8px; margin: var(--space-4) 0 0; }
.tool-btn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 12px; text-decoration: none; cursor: pointer;
  font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase;
  color: var(--text); background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-small);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.tool-btn:hover, .tool-btn.is-tap { color: var(--heading); border-color: var(--accent); }
.tool-btn.is-done { color: var(--accent-hover); border-color: var(--accent); }
.tool-btn .icon { width: 13px; height: 13px; }
@media (pointer: coarse) { .tool-btn { min-height: 44px; } }

/* ---------- text links: the arrow travels ---------- */
.text-link { display: inline-flex; align-items: center; gap: 8px; }
.text-link .icon { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.text-link:hover .icon, .text-link.is-tap .icon { transform: translateX(4px); }

/* ---------- browser surfaces carry the palette too ---------- */
html { scrollbar-color: var(--line-muted) var(--bg); }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-strong); border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--line-muted); }
.input { caret-color: var(--accent); }
a { text-underline-offset: 3px; }



/* ---------- the "cookie policy": a satire disclaimer in the world's notice styling (2026-11-15) ---------- */
.notice {
  position: fixed; left: var(--site-margin); right: var(--site-margin); bottom: var(--site-margin); z-index: 40;
  max-width: 560px; margin-left: auto;
  background: rgba(var(--deep-rgb), .96); border: 1px solid var(--line-muted); border-top: 2px solid var(--signal);
  border-radius: 0;   /* square: a 2 px accent rule on a rounded corner reads as a mistake */ box-shadow: 0 18px 48px rgba(0, 0, 0, .45);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.notice[hidden] { display: none; }
.notice.is-in { animation: notice-in .45s var(--ease); }
@keyframes notice-in { from { opacity: 0; transform: translateY(16px); } }
.notice.is-out { opacity: 0; transform: translateY(12px); transition: opacity .25s var(--ease), transform .25s var(--ease); }
.notice-inner { padding: var(--space-5); }
.notice-kicker { margin: 0; font: 500 var(--size-small)/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--signal-light); }
.notice-kicker::before { content: "// "; }
.notice-title { margin: 10px 0 0; font: 500 clamp(24px, 21.8px + .57vw, 30px)/1.1 var(--font-display); letter-spacing: .01em; color: var(--heading); }
.notice-body { margin: 12px 0 0; font-size: var(--size-body); line-height: 1.55; color: var(--text); text-wrap: pretty; }
.notice-body strong { color: var(--heading); font-weight: 500; }
.notice-actions { display: flex; gap: 10px; margin-top: var(--space-4); }
@media (max-width: 599px) {
  .notice { left: 8px; right: 8px; bottom: 8px; max-width: none; }
  .notice-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .notice.is-in { animation: none; } .notice.is-out { transition: none; } }
.footer-satire { margin: var(--space-3) 0 0; max-width: 60ch; font-size: var(--size-small); line-height: 1.5; color: var(--text); }

/* =====================================================================================================
   YOUR ACCOUNT v3 (2026-11-15): account settings. The Settings list sits beside the panes (sticky); on
   narrower screens it is a bar along the bottom that opens into the list. Each setting is one pane, one
   screen tall: what it is and what to try on the left, the setting itself, drawn as the everyday object it
   would be, on the right. Every toy fits inside one screen at 1280 x 720 and up.
   Mono only for data: values, chips, field names, file names, amounts. Everything you read is Haas.
   ===================================================================================================== */
.account { --nav-h: 72px; border-top: var(--hairline); padding-bottom: var(--space-6); }
.account-head > * { max-width: 760px; }
.settings { display: grid; margin-top: var(--space-8); }
@media (min-width: 1100px) {
  .settings { grid-template-columns: 248px minmax(0, 1fr); column-gap: clamp(32px, 3.5vw, 56px); align-items: start; }
}
.panes { list-style: none; margin: 0; padding: 0; min-width: 0; }

/* a pane: one screen, the explanation and the object side by side, centred in the height */
.pane {
  display: grid; align-content: center; gap: 24px;
  min-height: calc(100vh - var(--nav-h)); min-height: calc(100svh - var(--nav-h));
  padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: var(--nav-h);
  transition: opacity .5s var(--ease);
}
.pane:first-child { border-top: 0; min-height: 0; padding-top: 8px; }   /* the first follows the heading straight away */
@media (min-width: 820px) {
  .pane { grid-template-columns: minmax(0, 300px) minmax(0, 1fr); align-items: center; column-gap: clamp(28px, 3.5vw, 56px); padding: 24px 0; }
}
.pane-copy { display: flex; flex-direction: column; gap: 14px; }
.pane-title { margin: 0; font: 500 clamp(28px, 23.5px + 1.15vw, 40px)/1.08 var(--font-display); letter-spacing: .01em; color: var(--heading); text-wrap: balance; }
.pane-text { margin: 0; font-size: var(--size-body); line-height: 1.55; color: var(--text); text-wrap: pretty; }
.pane-try { display: flex; align-items: baseline; gap: 10px; margin: 6px 0 0; font-size: 15px; line-height: 1.45; color: var(--heading); }
.pane-try span { flex: none; padding: 4px 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover); border: 1px solid var(--accent-deep); border-radius: var(--radius-small); }
.pane-note { position: relative; margin: 0; padding-left: 16px; font-size: var(--size-small); line-height: 1.5; color: var(--text); text-wrap: pretty; transition: color .3s var(--ease); }
.pane-note::before { content: ""; position: absolute; left: 0; top: .5em; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); transition: background-color .3s var(--ease); }
.pane-note.is-warn { color: var(--signal-light); }
.pane-note.is-warn::before { background: var(--signal); }

/* the objects share a frame: an app window */
.toy { position: relative; display: grid; gap: 12px; min-width: 0; width: 100%; max-width: 640px; }
.app {
  display: flex; flex-direction: column; min-width: 0; overflow: hidden;
  background: var(--bg-deep); border: 1px solid var(--line-strong); border-radius: 8px;
  box-shadow: 0 1px 0 rgba(228, 232, 233, .04) inset, 0 24px 48px -28px rgba(0, 0, 0, .8);
  transition: border-color .3s var(--ease);
}
.pane.is-live .app, .pane.is-live .letter, .pane.is-live .idcard { border-color: var(--accent-deep); }
.app-bar {
  display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 14px; border-bottom: 1px solid var(--line);
  font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); background: rgba(var(--ground-rgb), .6);
}
.app-bar .state { margin-left: auto; font-weight: 500; padding: 5px 8px; border: 1px solid var(--line-muted); border-radius: var(--radius-small); color: var(--heading); white-space: nowrap; transition: border-color .3s var(--ease), color .3s var(--ease); }
.app-bar .state.is-warn { border-color: var(--signal); color: var(--signal-light); }
.app-bar .state.is-ok { border-color: var(--accent-deep); color: var(--accent-hover); }
.app-bar .state.is-pop { animation: chip-pop .4s var(--ease); }
.app-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); }

/* 01 a message thread with your manager, and the assistant in the compose field */
.av { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #2c4c55; color: var(--heading); font: 500 11px/1 var(--font-mono); letter-spacing: .06em; }
.app-who { display: grid; gap: 3px; text-transform: none; letter-spacing: 0; }
.app-who b { font: 500 14px/1.1 var(--font-sans); color: var(--heading); }
.app-who em { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--text); }
.chat-body { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px 16px; min-height: 216px; }
.day { align-self: center; margin: 0 0 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--fine); }
.msg { max-width: 80%; padding: 9px 14px; font-size: 15px; line-height: 1.4; border-radius: 16px; }
.msg.in { align-self: flex-start; background: var(--line); color: var(--heading); }
.msg.in + .msg.in { border-top-left-radius: 5px; }
.msg.out { align-self: flex-end; margin-top: 6px; background: var(--accent); color: var(--on-accent); border-bottom-right-radius: 5px; animation: msg-in .4s var(--ease); }
.msg.out::after { content: "Sent for you"; display: block; margin-top: 4px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; opacity: .7; text-align: right; }
.msg[hidden] { display: none; }
.msg.reply { margin-top: 6px; animation: msg-in .45s var(--ease) .5s both; }
@keyframes msg-in { from { opacity: 0; transform: translateY(8px); } }
.chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chips:empty { display: none; }
.sug {
  display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; cursor: pointer;
  font: 400 14px/1 var(--font-sans); color: var(--heading); background: var(--bg);
  border: 1px solid var(--line-muted); border-radius: 17px; transition: border-color .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease);
}
.sug em { font: 500 11px/1 var(--font-mono); letter-spacing: .06em; font-style: normal; color: var(--text); font-variant-numeric: tabular-nums; }
.sug.top { border-color: var(--accent); background: rgba(3, 209, 202, .12); }
.sug.top em { color: var(--accent-hover); }
.sug:hover { border-color: var(--accent); }
.sug.is-gone { opacity: .35; text-decoration: line-through; pointer-events: none; }
.sug.is-refused { animation: shake .36s steps(6, end); border-color: var(--signal); }
.composer { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); }
.draft { flex: 1; min-width: 0; min-height: 44px; padding: 11px 16px; font-size: 15px; line-height: 1.4; color: var(--heading); background: var(--bg); border: 1px solid var(--accent-deep); border-radius: 22px; }
.draft .ghost { color: var(--fine); }
.draft .new { animation: accepted .7s var(--ease); }
@keyframes accepted { from { color: var(--accent-hover); } }
.draft .caret::after { content: ""; display: inline-block; width: 2px; height: 1.05em; margin-left: 1px; vertical-align: -.15em; background: var(--accent); animation: caret-blink 1.06s steps(1, end) infinite; }
.draft.is-empty { border-color: var(--line-muted); color: var(--fine); }
.draft.is-empty::before { content: "Nothing to add."; }
.draft.is-empty .caret { display: none; }
@media (pointer: coarse) { .sug { min-height: 44px; border-radius: 22px; } }

/* 02 six logins, then one account */
.sources { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 14px; }
.src {
  display: grid; grid-template-columns: 24px 1fr; grid-template-rows: auto auto; column-gap: 10px; row-gap: 4px; align-items: center;
  padding: 14px 12px; background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
  transition: transform .6s var(--ease), opacity .45s var(--ease); transition-delay: calc(var(--k, 0) * 80ms);
}
.src svg { grid-row: span 2; width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.src b { font-weight: 500; font-size: 14px; line-height: 1.2; color: var(--heading); }
.src em { font: 500 11px/1.2 var(--font-mono); letter-spacing: .04em; font-style: normal; color: var(--text); font-variant-numeric: tabular-nums; }
.one {
  position: absolute; inset: 14px; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center;
  background: var(--bg); border: 1px solid var(--accent-deep); border-radius: 6px; opacity: 0; transform: scale(.94); pointer-events: none;
  transition: opacity .5s var(--ease) .55s, transform .5s var(--ease) .55s;
}
.one b { font: 500 24px/1.1 var(--font-display); color: var(--heading); }
.one em { font: 500 12px/1.3 var(--font-mono); letter-spacing: .04em; font-style: normal; color: var(--accent-hover); font-variant-numeric: tabular-nums; }
.one-see { margin-top: 4px; font-size: 13px; color: var(--text); }
.one-stack { position: relative; width: 44px; height: 34px; margin-bottom: 6px; }
.one-stack i { position: absolute; inset: 0; border: 1px solid var(--accent); border-radius: 4px; background: var(--bg-deep); }
.one-stack i:nth-child(1) { transform: translate(-6px, 6px); opacity: .4; }
.one-stack i:nth-child(2) { transform: translate(-3px, 3px); opacity: .7; }
.sources.is-merged .src { opacity: 0; transform: translate(var(--dx, 0), var(--dy, 0)) scale(.4); }
.sources.is-merged .one { opacity: 1; transform: none; }

/* 03 the org chart that draws itself */
.org { padding: 18px 14px 16px; }
.parent {
  display: grid; justify-items: center; gap: 4px; width: max-content; margin: 0 auto; padding: 10px 16px;
  border: 1px solid var(--line-muted); border-radius: 6px; background: var(--bg); opacity: .15; transform: translateY(-4px);
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.parent b { font-weight: 500; font-size: 14px; color: var(--heading); }
.parent em { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--signal-light); }
.sigil { width: 18px; height: 18px; background: var(--heading); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.org-bar { position: relative; height: 24px; margin: 0 calc(100% / 12); }
.org-bar::before { content: ""; position: absolute; left: 50%; top: 0; height: 12px; border-left: 1px solid var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .3s var(--ease) .3s; }
.org-bar::after { content: ""; position: absolute; left: 0; right: 0; top: 12px; border-top: 1px solid var(--accent); transform: scaleX(0); transition: transform .45s var(--ease) .5s; }
.provs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.provs li {
  position: relative; display: grid; justify-items: center; align-content: start; gap: 8px; padding: 14px 6px; text-align: center;
  background: var(--bg); border: 1px solid var(--line); border-radius: 6px;
}
.provs li::before { content: ""; position: absolute; left: 50%; top: -12px; height: 12px; border-left: 1px solid var(--accent); transform: scaleY(0); transform-origin: top; transition: transform .25s var(--ease); transition-delay: calc(.9s + var(--k, 0) * 120ms); }
.provs b { font-weight: 500; font-size: 13px; line-height: 1.3; color: var(--heading); }
.provs em { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--text); }
.mark { display: block; width: 28px; height: 28px; border-radius: 3px; transition: transform .5s var(--ease), background-color .2s, border-radius .2s, clip-path .2s; transition-delay: calc(.9s + var(--k, 0) * 120ms); }
.m1 { background: #c98a3c; } .m2 { background: #6f9e74; border-radius: 50%; } .m3 { background: #b0605a; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.m4 { background: #6d8fd1; } .m5 { background: #a58ac9; border-radius: 50% 50% 3px 3px; }
.m6 { background: #4fb3a6; clip-path: polygon(35% 0, 65% 0, 65% 35%, 100% 35%, 100% 65%, 65% 65%, 65% 100%, 35% 100%, 35% 65%, 0 65%, 0 35%, 35% 35%); }
.org.is-one .parent { opacity: 1; transform: none; }
.org.is-one .org-bar::before { transform: scaleY(1); }
.org.is-one .org-bar::after { transform: scaleX(1); }
.org.is-one .provs li::before { transform: scaleY(1); }
.org.is-one .provs .mark { transform: rotateY(180deg); background: var(--heading); border-radius: 0; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
@media (max-width: 719px) {
  .provs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 20px; }
  .org-bar { margin: 0 calc(100% / 6); }
  .provs li:nth-child(n+4)::before { display: none; }
}

/* 04 laptop, pipe and cloud */
.store { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: center; padding: 22px 16px; }
.laptop { display: grid; justify-items: center; }
.screen { position: relative; width: 100%; min-height: 200px; padding: 10px; background: var(--bg); border: 2px solid var(--line-muted); border-radius: 8px 8px 2px 2px; }
.base { width: 114%; height: 9px; background: linear-gradient(var(--line-muted), var(--line-strong)); border-radius: 0 0 8px 8px; }
.where { display: block; margin-bottom: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.files { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.files li { padding: 6px 8px; font: 500 11px/1.2 var(--font-mono); color: var(--heading); background: var(--bg-deep); border: 1px solid var(--line); border-radius: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.files li::before { content: ""; display: inline-block; width: 7px; height: 9px; margin-right: 7px; vertical-align: -1px; border: 1px solid var(--accent); }
.screen .empty { display: none; position: absolute; inset: 34px 10px 10px; place-items: center; text-align: center; font-size: 13px; line-height: 1.45; color: var(--text); }
.store.is-cloud .screen .empty { display: grid; }
.pipe { position: relative; height: 2px; background: var(--line-strong); }
.pipe i { position: absolute; inset: 0; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.store.is-moving .pipe i { animation: pipe 1.2s linear infinite; }
@keyframes pipe { 0% { transform: scaleX(0); transform-origin: left; } 50% { transform: scaleX(1); transform-origin: left; } 51% { transform-origin: right; } 100% { transform: scaleX(0); transform-origin: right; } }
.cloud { display: flex; flex-direction: column; min-height: 200px; padding: 10px; background: rgba(3, 209, 202, .05); border: 1px dashed var(--accent-deep); border-radius: 14px; }
.cloud .where { display: flex; align-items: center; gap: 8px; color: var(--accent-hover); }
.cloud .where svg { width: 22px; height: 15px; fill: none; stroke: var(--accent); stroke-width: 1.4; }
.vault-note { margin-top: auto; padding-top: 8px; font: 500 11px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); opacity: 0; transition: opacity .4s var(--ease); }
.store.is-cloud .vault-note { opacity: 1; }
@media (max-width: 559px) {
  .store { grid-template-columns: 1fr; padding: 16px 14px; }
  .pipe { width: 2px; height: 24px; justify-self: center; }
  .pipe i { transform: scaleY(0); }
  .store.is-moving .pipe i { animation-name: pipe-v; }
  @keyframes pipe-v { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
  .screen, .cloud { min-height: 0; }
  .screen .empty { position: static; display: none; padding: 8px 0; }
  .store .files { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* switches */
.switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; font-size: 14px; color: var(--heading); }
.switch { position: relative; width: 46px; height: 26px; flex: none; padding: 0; cursor: pointer; background: var(--line-strong); border: 1px solid var(--line-muted); border-radius: 13px; transition: background-color .2s var(--ease), border-color .2s var(--ease); }
.switch i { position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: var(--heading); box-shadow: 0 1px 2px rgba(0, 0, 0, .35); transition: transform .22s var(--ease); }
.switch[aria-checked="true"] { background: var(--accent-deep); border-color: var(--accent); }
.switch[aria-checked="true"] i { transform: translateX(20px); }
.switch:hover { border-color: var(--accent); }
.switch.is-refused { animation: shake .36s steps(6, end); border-color: var(--signal); }

/* 05 the package, on paper (v5): a capacity bar like a phone's storage bar, what comes with the job, and extras */
.letter {
  position: relative; overflow: hidden; padding: 16px 18px 14px; color: #1c2b30; background: #ece6dc;
  border: 1px solid #d8d0c2; border-radius: 4px; box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .85);
  font-size: var(--size-small); line-height: 1.45;
}
.lh { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 12px; border-bottom: 2px solid #1c2b30; }
.lh .mark { width: 22px; height: 22px; transition: none; }
.lh b { font: 500 16px/1 var(--font-display); }
.lh em { margin-left: auto; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: #45545a; }
.cap { padding: 12px 14px; border-radius: 6px; color: #ece6dc; background: #1c2b30; transition: background-color .4s var(--ease); }
.cap.is-over { animation: shake .36s steps(6, end); }
.cap-top { display: flex; align-items: baseline; gap: 10px; }
.cap-top > span { display: inline-flex; align-items: center; gap: 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #b9c6c8; }
.cap-top > span svg { width: 13px; height: 13px; fill: #6fe3d8; }
.cap-top b { font: 500 20px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
.cap-top em { margin-left: auto; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: #6fe3d8; white-space: nowrap; }
.cap-top em.is-full { color: #ece6dc; }
.cap-top em.is-warn { color: #ff8fc9; }
.cap-bar { position: relative; display: flex; gap: 2px; height: 14px; margin: 10px 0 8px; padding: 2px; border-radius: 4px; background: rgba(236, 230, 220, .12); overflow: hidden; }
.cap-bar .seg { flex: none; height: 100%; border-radius: 2px; background: #03d1ca; transition: width .45s var(--ease), opacity .3s var(--ease); }
.cap-bar .seg.is-base { background: #8fa3a7; }
.cap-bar .seg.is-new { animation: seg-in .5s var(--ease); }
@keyframes seg-in { from { filter: brightness(1.6); } }
.cap-bar .ghost { position: absolute; top: 2px; bottom: 2px; width: 0; border-radius: 2px; pointer-events: none; opacity: 0;
  background: rgba(3, 209, 202, .3); outline: 1px dashed #6fe3d8; outline-offset: -1px; transition: opacity .2s var(--ease); }
.cap-bar .ghost.is-on { opacity: 1; }
.cap-bar .ghost.is-over { background: rgba(255, 104, 193, .45); outline-color: #ff8fc9; }
.cap-key { display: flex; gap: 14px; margin: 0; font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: #b9c6c8; }
.cap-key span { display: inline-flex; align-items: center; gap: 6px; }
.cap-key span::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: #8fa3a7; }
.cap-key .k-x::before { background: #03d1ca; }
.cap-key .k-free::before { background: rgba(236, 230, 220, .25); }
/* what comes with the job: locked, one row */
.incl { margin-top: 12px; }
.base-l, .x-l { display: flex; align-items: center; gap: 6px; margin: 0 0 6px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: #45545a; }
.base-l svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.base-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.base-list li { position: relative; display: flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 8px; border: 1px solid #d3cabb; border-radius: 6px; background: #e3dccf; }
.base-list .ic { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 5px; background: #8fa3a7; color: #fbf8f3; }
.base-list .ic svg, .extras .ic svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.base-list b { font-weight: 500; font-size: 13px; line-height: 1.3; }
.base-list em { margin-left: auto; font: 500 11px/1 var(--font-mono); font-style: normal; color: #45545a; font-variant-numeric: tabular-nums; }
/* the extras: a menu to pick from until the bar is full */
.x-l { margin-top: 12px; }
.extras { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.xt {
  position: relative; display: grid; grid-template-columns: 26px 1fr; grid-template-rows: auto auto auto; column-gap: 8px; row-gap: 4px; align-items: center;
  width: 100%; height: 100%; padding: 8px 10px 9px; cursor: pointer; text-align: left; font: inherit; color: #1c2b30;
  background: #f5f0e8; border: 1px solid #d3cabb; border-radius: 6px;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), box-shadow .2s var(--ease), opacity .3s var(--ease);
}
.xt .ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 6px; background: #d3cabb; color: #45545a; transition: background-color .2s var(--ease), color .2s var(--ease); }
.xt em { justify-self: end; font: 500 12px/1 var(--font-mono); font-style: normal; color: #45545a; font-variant-numeric: tabular-nums; }
.xt b { grid-column: 1 / -1; font-weight: 500; font-size: 13.5px; line-height: 1.3; }
.xt .sub { grid-column: 1 / -1; font-size: 12px; line-height: 1.35; color: #45545a; }
.xt:hover { border-color: #1c2b30; box-shadow: 0 6px 16px -12px rgba(28, 43, 48, .8); }
.xt[aria-pressed="true"] { background: #fbf8f3; border-color: #00726d; box-shadow: inset 0 0 0 1px #00726d; }
.xt[aria-pressed="true"] .ic { background: #00726d; color: #ece6dc; }
.xt[aria-pressed="true"] em { color: #00726d; }
.xt[aria-pressed="true"]::after { content: ""; position: absolute; top: 9px; right: 30px; width: 5px; height: 9px; border: solid #00726d; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.xt.is-bump { animation: tile-bump .45s var(--ease); }
@keyframes tile-bump { 35% { background-color: #d8f3f0; } }
.xt.is-refused { animation: shake .36s steps(6, end); border-color: #b5234a; }
.xt.is-tight:not([aria-pressed="true"]) { opacity: .55; }
.totals { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 10px 2px 0; }
.totals .pbtn { margin-right: auto; min-height: 36px; }
.totals div { display: flex; align-items: baseline; gap: 8px; }
.totals span { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: #45545a; }
.totals b { font: 500 13px/1 var(--font-mono); font-variant-numeric: tabular-nums; }
/* resigning: everything is struck and says what happens to it; the stamp lands last */
.base-list li::after, .xt::before {
  content: attr(data-end); position: absolute; left: 6px; right: 6px; bottom: 6px; z-index: 1; padding: 4px 5px; text-align: center;
  font: 500 11px/1.1 var(--font-mono); letter-spacing: .04em; text-transform: uppercase; color: #ece6dc; background: #b5234a; border-radius: 2px;
  opacity: 0; transform: scale(.9); pointer-events: none; transition: opacity .25s var(--ease), transform .25s var(--ease); transition-delay: calc(var(--k, 0) * 70ms + 80ms);
}
.base-list li::after { top: 50%; bottom: auto; translate: 0 -50%; }
.letter.is-void .base-list li::after, .letter.is-void .xt::before { opacity: 1; transform: none; }
.letter.is-void .base-list b, .letter.is-void .xt b, .letter.is-void .xt .sub { text-decoration: line-through; color: #6b7477; }
.letter.is-void .xt { pointer-events: none; background: #e9e3d9; border-color: #d3cabb; box-shadow: none; }
.letter.is-void .xt::after, .letter.is-void .xt em, .letter.is-void .base-list em { visibility: hidden; }
.letter.is-void .ic { background: #8b8378 !important; color: #ece6dc !important; }
.letter.is-void .cap { background: #4a2230; }
.stamp {
  /* above the struck lines and their red labels, on its own paper, so it always reads (owner, 2026-11-15) */
  position: absolute; left: 50%; top: 55%; translate: -50% -50%; z-index: 4; padding: 10px 20px; border: 3px solid #b5234a; color: #b5234a; background: #ece6dc;
  box-shadow: 0 0 0 6px rgba(236, 230, 220, .85), 0 10px 24px -10px rgba(28, 43, 48, .5);
  font: 500 22px/1 var(--font-mono); letter-spacing: .2em; text-transform: uppercase; transform: rotate(-12deg) scale(1.6); opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .3s var(--ease);
}
.letter.is-void .stamp { opacity: 1; transform: rotate(-12deg) scale(1); transition-delay: .9s; }
.confirm {
  position: absolute; left: 16px; right: 16px; bottom: 56px; z-index: 3; padding: 16px; color: var(--heading);
  background: var(--bg-deep); border: 1px solid var(--signal); border-radius: 6px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9);
  animation: msg-in .3s var(--ease);
}
.confirm[hidden] { display: none; }
.confirm p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; color: var(--text); }
.confirm p b { color: var(--heading); font-weight: 500; }
.confirm-ctl { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
@media (max-width: 699px) {
  .base-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  .letter { padding: 14px 12px 12px; }
  .xt { grid-template-columns: 24px 1fr; padding: 7px 8px 8px; }
  .xt .ic { width: 24px; height: 24px; }
  .xt b { font-size: 12.5px; }
  .xt .sub { display: none; }
  .xt[aria-pressed="true"]::after { right: auto; left: 38px; top: 12px; }
}

/* 06 the identity card */
.idcard {
  position: relative; overflow: hidden; padding: 16px 18px 12px; border-radius: 12px; color: var(--heading);
  background: linear-gradient(135deg, #0b3a44 0%, #052a31 55%, #103b3f 100%); border: 1px solid var(--line-muted);
  box-shadow: 0 24px 48px -28px rgba(0, 0, 0, .85), inset 0 1px 0 rgba(255, 255, 255, .06);
  transition: border-color .3s var(--ease);
}
.id-top { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid rgba(228, 232, 233, .18); }
.id-top b { font: 500 15px/1 var(--font-display); letter-spacing: .02em; }
.id-top em { margin-left: auto; font: 500 11px/1 var(--font-mono); letter-spacing: .04em; font-style: normal; color: var(--text); }
.id-main { position: relative; display: grid; grid-template-columns: 124px 1fr; gap: 20px; align-items: start; }
.id-photo { aspect-ratio: 2 / 3; background: rgba(0, 0, 0, .25); border: 1px solid rgba(228, 232, 233, .2); border-radius: 4px; overflow: hidden; }
.id-photo svg { width: 100%; height: 100%; }
.id-photo .grid path { stroke: rgba(228, 232, 233, .08); stroke-width: 1; }
.id-photo .ground { stroke: rgba(228, 232, 233, .3); stroke-width: 1; }
.fig path { fill: var(--heading); stroke: var(--heading); stroke-width: 1.2; stroke-linejoin: round; transition: fill .4s var(--ease), stroke .4s var(--ease); }
.idcard.is-colony .fig path { fill: #c9b9a4; stroke: #c9b9a4; }
/* the drawn detail on the body: collarbones, chest, navel, knees, in the card's own dark */
.fig path#r6-arms { fill: none; stroke: rgba(5, 42, 49, .5); stroke-width: .7; stroke-linecap: round; }
.idcard.is-colony .fig path#r6-arms { fill: none; stroke: rgba(5, 42, 49, .45); }
.id-fields { margin: 0; display: grid; gap: 12px; }
.id-fields div { display: grid; gap: 4px; }
.id-fields dt { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.id-fields dd { margin: 0; font: 500 15px/1.2 var(--font-mono); text-transform: uppercase; font-variant-numeric: tabular-nums; color: var(--heading); transition: color .3s var(--ease); }
.idcard.is-colony #r6-or, .idcard.is-colony #r6-rs { color: var(--signal-light); }
.idcard.is-colony { border-color: var(--signal); }
.id-stamp {
  position: absolute; right: 0; bottom: 0; padding: 6px 10px; border: 2px solid var(--accent); border-radius: 3px;
  font: 500 13px/1 var(--font-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--accent-hover); transform: rotate(-6deg);
}
.idcard.is-colony .id-stamp { border-color: var(--signal); color: var(--signal-light); }
.id-stamp.is-pop { animation: stamp .35s var(--ease); }
@keyframes stamp { from { transform: rotate(-6deg) scale(1.5); opacity: 0; } }
.id-mrz { margin: 14px -18px -12px; padding: 9px 18px; overflow: hidden; white-space: nowrap; font: 500 11px/1 var(--font-mono); letter-spacing: .14em; color: rgba(228, 232, 233, .55); background: rgba(0, 0, 0, .2); }
.gauge { display: grid; gap: 8px; padding: 2px 2px 0; }
.range-l { display: flex; justify-content: space-between; font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.range-l b { color: var(--heading); font-weight: 500; }
.range { width: 100%; margin: 0; accent-color: var(--accent); }
/* the slider runs 0.6 to 1.8 g; Earth is 0.9 to 1.1, so its band sits at 25% to 41.7% */
.bands { display: grid; grid-template-columns: 25% 16.7% 1fr; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fine); }
.bands span { padding-top: 8px; border-top: 2px solid var(--line-strong); }
.bands .earth { color: var(--accent-hover); border-top-color: var(--accent); text-align: center; }
.bands span:last-child { text-align: right; }

/* 07 checkout */
.co-item { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 12px; padding: 16px; border-bottom: 1px solid var(--line); }
.co-ic { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: var(--line); }
.co-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--heading); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.co-what { display: grid; gap: 3px; }
.co-what b { font-weight: 500; font-size: 16px; color: var(--heading); }
.co-what span { font-size: 13px; color: var(--text); }
.co-item em { font: 500 12px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--accent-hover); font-variant-numeric: tabular-nums; }
.methods { display: grid; gap: 8px; padding: 16px; }
.method {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 12px; min-height: 52px; padding: 0 14px; cursor: pointer; text-align: left;
  color: var(--heading); background: var(--bg); border: 1px solid var(--line-muted); border-radius: 6px; transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.method b { font: 500 16px/1 var(--font-sans); }
.method em { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; font-style: normal; color: var(--text); }
.method i { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--line-muted); position: relative; }
.method[aria-checked="true"] { border-color: var(--accent); background: rgba(3, 209, 202, .08); }
.method[aria-checked="true"] i { border-color: var(--accent); }
.method[aria-checked="true"] i::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--accent); }
.method[data-m="cash"][aria-checked="true"] { border-color: var(--signal); background: rgba(215, 3, 140, .08); }
.method[data-m="cash"][aria-checked="true"] i { border-color: var(--signal); }
.method[data-m="cash"][aria-checked="true"] i::after { background: var(--signal-light); }
.method:hover { border-color: var(--accent); }
.co-warn { margin: 0 16px 16px; padding: 10px 12px; font-size: 14px; line-height: 1.5; color: var(--heading); background: rgba(215, 3, 140, .1); border: 1px solid var(--signal); border-radius: 6px; }
.co-warn[hidden], .receipt[hidden] { display: none; }
.receipt { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 16px 16px; padding: 12px; border: 1px dashed var(--line-muted); border-radius: 6px; animation: msg-in .35s var(--ease); }
.receipt span { font: 500 11px/1.4 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.receipt b { font: 500 13px/1.4 var(--font-mono); text-transform: uppercase; text-align: right; color: var(--heading); }
.receipt b.is-warn { color: var(--signal-light); }

/* shared controls */
.pbtn {
  display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 14px; cursor: pointer;
  font: 500 12px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase;
  color: var(--heading); background: var(--bg); border: 1px solid var(--line-muted); border-radius: var(--radius-small);
  transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease), opacity .2s var(--ease);
}
.pbtn[hidden] { display: none; }
.pbtn:hover, .pbtn.is-tap { border-color: var(--accent); color: var(--accent-hover); }
.pbtn:active { transform: translateY(1px) scale(.985); }
.pbtn-main { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.pbtn-main:hover, .pbtn-main.is-tap { background: var(--accent-hover); color: var(--on-accent); }
.pbtn[aria-disabled="true"], .pbtn:disabled { opacity: .5; cursor: default; }
.pbtn[aria-disabled="true"]:hover, .pbtn:disabled:hover { border-color: var(--line-muted); color: var(--heading); }
.pbtn-main:disabled { background: var(--bg); border-color: var(--line-muted); color: var(--heading); }
.pbtn-warn { color: var(--heading); border-color: var(--signal); background: rgba(215, 3, 140, .14); }
.pbtn-warn:hover { color: #fff; border-color: var(--signal-light); background: rgba(215, 3, 140, .3); }
.pbtn .icon { width: 13px; height: 13px; }
.pbtn kbd { font: inherit; padding: 2px 5px; border: 1px solid currentColor; border-radius: 2px; opacity: .8; }
@media (pointer: coarse) { .pbtn { min-height: 44px; } .pbtn kbd { display: none; } .switch { width: 52px; height: 30px; border-radius: 15px; } .switch i { width: 24px; height: 24px; } .switch[aria-checked="true"] i { transform: translateX(22px); } }
.chip { padding: 5px 8px; border: 1px solid var(--line-muted); border-radius: var(--radius-small); color: var(--heading); white-space: nowrap; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; transition: border-color .3s var(--ease), color .3s var(--ease); }
.chip-ok { border-color: var(--accent-deep); color: var(--accent-hover); }
.chip.is-warn { border-color: var(--signal); color: var(--signal-light); }
.chip.is-pop { animation: chip-pop .4s var(--ease); }
@keyframes chip-pop { 40% { transform: scale(1.12); } }

/* the Settings list: the account holder, the seven settings with their values, the verdict */
.set-nav { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--bg-deep); border: 1px solid var(--line-muted); border-radius: 8px; }
/* sticky at the height of the pane's centre line, so the list sits level with the setting beside it */
@media (min-width: 1100px) { .set-nav { position: sticky; top: max(calc(var(--nav-h) + 24px), calc(var(--nav-h) + (100vh - var(--nav-h) - 600px) / 2)); } }
.sn-holder { display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 12px; }
.sn-av { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--line); }
.sn-av svg { width: 22px; height: 22px; fill: none; stroke: var(--heading); stroke-width: 1.5; stroke-linecap: round; }
.sn-who { display: grid; gap: 4px; min-width: 0; }
.sn-who h3 { margin: 0; font: 500 18px/1 var(--font-display); color: var(--heading); }
.sn-who span { font: 500 11px/1 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sn-step { display: none; }
.fields { list-style: none; margin: 0 -8px; padding: 0; display: grid; gap: 2px; }
.fields a {
  position: relative; display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 10px; min-height: 42px; padding: 4px 8px;
  text-decoration: none; color: var(--text); border-radius: 6px; transition: background-color .3s var(--ease), color .3s var(--ease);
}
.fields a:hover { background: rgba(228, 232, 233, .05); color: var(--heading); }
.fields svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sn-name { font-size: 14px; line-height: 1.2; color: var(--heading); }
.sn-val { font: 500 11px/1.2 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; text-align: right; color: var(--text); transition: color .5s var(--ease); }
.fields li.is-here a { background: rgba(3, 209, 202, .09); color: var(--accent); }
.fields li.is-lit a { background: rgba(3, 209, 202, .2); }
.fields li.is-lit .sn-val { color: var(--accent-hover); }
.fields li.is-warn .sn-val { color: var(--signal-light); }
.sn-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 14px; border-top: 1px solid var(--line); font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--text); }
.sum-out { margin: 0; font-size: 13px; line-height: 1.5; color: var(--text); min-height: 4.5em; }
.set-nav > .pbtn { align-self: flex-start; }
.sum-toggle { display: none; }

/* phones and narrow screens: the list is a bar along the bottom of the section that opens */
@media (max-width: 1099px) {
  .account { --nav-h: 64px; }
  .set-nav {
    /* a strip pinned under the nav (owner, 2026-11-15: at the bottom it covered each toy's button) */
    position: sticky; top: calc(var(--nav-h) - 1px); z-index: 5; gap: 12px; padding: 12px 14px; border-radius: 0 0 8px 8px;
    background: rgba(var(--deep-rgb), .97); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .9);
  }
  .set-nav:not(.is-open) > :not(.sn-step):not(.sum-toggle) { display: none; }
  .set-nav.is-open { max-height: calc(100svh - var(--nav-h) - 24px); overflow-y: auto; }
  .sn-step { display: flex; align-items: center; gap: 10px; margin: 0; padding-right: 64px; min-height: 24px; font: 500 11px/1.2 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
  .sn-step b { font-weight: 500; color: var(--accent); }
  .sn-step span { color: var(--heading); }
  .sn-step em { margin-left: auto; font-style: normal; color: var(--accent-hover); white-space: nowrap; }
  .sn-step.is-warn em { color: var(--signal-light); }
  .set-nav.is-open .sn-step { display: none; }
  .sum-toggle { display: block; position: absolute; inset: 0; width: 100%; padding: 0; opacity: 0; cursor: pointer; border: 0; background: none; }
  .set-nav.is-open .sum-toggle { inset: 0 0 auto 0; height: 52px; }
  .set-nav::after { content: ""; position: absolute; right: 18px; top: 18px; width: 8px; height: 8px; border: solid var(--accent); border-width: 0 2px 2px 0; transform: rotate(45deg); transition: transform .25s var(--ease); pointer-events: none; }
  .set-nav.is-open::after { transform: rotate(-135deg); top: 26px; }
  .pane { padding-bottom: 32px; scroll-margin-top: calc(var(--nav-h) + 64px); }
  .settings { margin-top: var(--space-6); }
}
@media (max-width: 819px) {
  .pane { align-content: start; gap: 20px; padding-top: 28px; }
  .pane-copy { gap: 10px; }
  .pane-text { font-size: 15.5px; line-height: 1.5; }
  .pane-try { margin-top: 2px; }
  .chat-body { min-height: 0; }
  .msg { max-width: 88%; }
}

@media (prefers-reduced-motion: reduce) {
  .src, .one, .mark, .xt, .xt::before, .base-list li::after, .cap-bar .seg, .fig path, .switch i, .fields a, .sn-val, .org-bar::before, .org-bar::after, .provs li::before, .parent, .stamp, .pane { transition: none !important; }
  .switch.is-refused, .chip.is-pop, .app-bar .state.is-pop, .draft .new, .msg.out, .msg.reply, .id-stamp.is-pop, .sug.is-refused, .store.is-moving .pipe i, .xt.is-bump, .xt.is-refused, .cap.is-over, .cap-bar .seg.is-new, .confirm, .receipt { animation: none; }
}
html:not(.js) .app-foot .pbtn, html:not(.js) .composer .pbtn, html:not(.js) .totals .pbtn, html:not(.js) .set-nav .pbtn { display: none; }

/* the blurred gallery shows through: a lighter veil than the old single picture needed */
html.js .signup::before { background: linear-gradient(0deg, var(--bg) 0, rgba(var(--ground-rgb), .6) 35%, rgba(var(--ground-rgb), .35) 100%); }

/* ---------- the concept teaser (2026-11-15) ---------- */
.btn-teaser .icon-play { fill: currentColor; stroke: none; width: 11px; height: 11px; }
.btn-teaser:hover .icon-play, .btn-teaser.is-tap .icon-play { transform: scale(1.2); }
.lightbox {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: rgba(0, 12, 14, .94); color: var(--heading); overflow: hidden;
}
.lightbox::backdrop { background: transparent; }
.lightbox[open] { animation: viewer-in .3s var(--ease); }
/* app.js sizes the frame in whole device pixels so the 16:9 video never leaves a 1 px light line */
.lightbox-frame { position: absolute; background: #000; box-shadow: 0 24px 80px rgba(0, 0, 0, .6); }
.lightbox-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.lightbox-label { position: absolute; left: var(--site-margin); top: calc(var(--site-margin) + 12px); margin: 0; font: 500 12px/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--heading); }
.lightbox-label::before { content: "// "; color: var(--signal-light); }
.lightbox-label span { color: var(--text); margin-left: 8px; }
.lightbox-close { position: absolute; right: var(--site-margin); top: var(--site-margin); }
@media (prefers-reduced-motion: reduce) { .lightbox[open] { animation: none; } }

/* ---------- the nav links glitch like the buttons on hover (owner, 2026-11-15) ----------
   No body to cut, so the label takes the RGB split and slips sideways in the same held frames, and the
   underline twitches with it. */
.nav-links .btn-label { --split-a: var(--signal-light); --split-b: var(--accent); }
.nav-links .btn-label::before { color: var(--signal-light); }
.nav-links .btn-label::after { color: var(--accent); }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .nav-links a:hover .btn-label { animation: nav-slip .7s steps(1, end) infinite; }
  .nav-links a:hover .btn-label::before { opacity: .85; animation: btn-rgb-a .36s steps(1, end) infinite, btn-hue 1s steps(1, end) infinite; }
  .nav-links a:hover .btn-label::after  { opacity: .8;  animation: btn-rgb-b .48s steps(1, end) infinite, btn-hue 1.2s steps(1, end) infinite reverse; }
  .nav-links a:hover i { animation: nav-slip .48s steps(1, end) infinite reverse; }
}
@media (prefers-reduced-motion: no-preference) {
  .nav-links a:focus-visible .btn-label::before { opacity: .85; animation: btn-rgb-a .36s steps(1, end) 4; }
  .nav-links a:focus-visible .btn-label::after  { opacity: .8;  animation: btn-rgb-b .48s steps(1, end) 3; }
}
@keyframes nav-slip { 0% { translate: 0; } 17% { translate: 1px 0; } 33% { translate: -1px 0; } 50% { translate: 2px 0; } 67% { translate: 0; } 83% { translate: -2px 0; } }
@media (max-width: 599px) { .totals div:first-child { flex-basis: 100%; } }
@media (max-width: 559px) { .base { width: 100%; } }

/* ---------- the glitch is random (owner, 2026-11-15: "not the same 3 jitters over and over") ----------
   With JS, app.js picks a new cut, slip, colour offset, clip and hue for every frame and holds each frame for a
   random 40-150 ms, so no two moments repeat. The keyframe loops above stay as the no-JS fallback. */
html.js .btn:hover, html.js .btn:focus-visible { animation: none; }
html.js .btn:hover .btn-label::before, html.js .btn:focus-visible .btn-label::before,
html.js .nav-links a:hover .btn-label::before, html.js .nav-links a:focus-visible .btn-label::before {
  animation: none; transform: translate(var(--ra-x, -1px), var(--ra-y, 0)); clip-path: inset(var(--ra-t, 0) 0 var(--ra-b, 0) 0); filter: hue-rotate(var(--ra-h, 0deg)) saturate(1.3);
}
html.js .btn:hover .btn-label::after, html.js .btn:focus-visible .btn-label::after,
html.js .nav-links a:hover .btn-label::after, html.js .nav-links a:focus-visible .btn-label::after {
  animation: none; transform: translate(var(--rb-x, 1px), var(--rb-y, 0)); clip-path: inset(var(--rb-t, 0) 0 var(--rb-b, 0) 0); filter: hue-rotate(var(--rb-h, 0deg)) saturate(1.3);
}
html.js .nav-links a:hover .btn-label, html.js .nav-links a:hover i { animation: none; translate: var(--slip, 0px) 0; }
html.js .nav-links a:hover i { translate: calc(-1 * var(--slip, 0px)) 0; }

/* ---------- the light theme (owner, 2026-11-15: "a theme switch at the bottom in the footer") ----------
   LITE from the brand tokens: neutral-200 ground, neutral-100 raised surfaces, neutral-900 headings, neutral-700
   text, primary-700/800 for teal that has to read as text. The teal fills stay primary-500 with dark text. The nav,
   hero, ticker, ID card, viewer, lightbox and notice keep NITE: they sit on the painted frames or are objects. */
html[data-theme="lite"] {
  color-scheme: light;
  --bg: #c5cdcf; --bg-deep: #e4e8e9; --line: #a7b2b5; --line-strong: #8a989c; --line-muted: #6d7f84;
  --accent: #00726d; --accent-hover: #004643; --accent-deep: #00a09a; --signal: #d7038c; --signal-light: #a3026b;
  --heading: #03232b; --text: #374f56; --fine: #52666c; --link: #004643;
  --ground-rgb: 197, 205, 207; --deep-rgb: 228, 232, 233;
}
html[data-theme="lite"] .nav, html[data-theme="lite"] .hero, html[data-theme="lite"] .ticker, html[data-theme="lite"] .idcard,
html[data-theme="lite"] .viewer, html[data-theme="lite"] .lightbox, html[data-theme="lite"] .notice {
  --bg: #03232b; --bg-deep: #001d1d; --line: #1e3840; --line-strong: #374f56; --line-muted: #52666c;
  --accent: #03d1ca; --accent-hover: #5fede5; --accent-deep: #00726d; --signal: #d7038c; --signal-light: #ff68c1;
  --heading: #e4e8e9; --text: #a7b2b5; --fine: #8a989c; --link: #5fede5; --ground-rgb: 3, 35, 43; --deep-rgb: 0, 29, 29;
  color-scheme: dark;
}
html[data-theme="lite"] .btn-primary { --btn-bg: #03d1ca; }
html[data-theme="lite"] .btn-primary:hover { --btn-bg: #5fede5; }
html[data-theme="lite"] .pbtn-main { background: #03d1ca; border-color: #00a09a; }
html[data-theme="lite"] .pbtn-main:hover, html[data-theme="lite"] .pbtn-main.is-tap { background: #5fede5; }
html[data-theme="lite"] .msg.out { background: #03d1ca; }
html[data-theme="lite"] .av { background: #a7b2b5; }
html[data-theme="lite"] .sug.top { background: rgba(3, 209, 202, .22); }
html[data-theme="lite"] .app, html[data-theme="lite"] .set-nav { box-shadow: 0 24px 48px -32px rgba(3, 35, 43, .45); }
html[data-theme="lite"] .dispatches { background: #d6dcdd; }
html[data-theme="lite"] .signup-form { box-shadow: 0 24px 48px -32px rgba(3, 35, 43, .45); }
html[data-theme="lite"] .signup-form .input { background: #ffffff; }
html[data-theme="lite"] .eyebrow::before, html[data-theme="lite"] .pane-note.is-warn { color: var(--signal-light); }
.theme-btn .i-sun { display: none; }
html[data-theme="lite"] .theme-btn .i-sun { display: inline; }
html[data-theme="lite"] .theme-btn .i-moon { display: none; }
html[data-theme="lite"] .signoff { color: var(--heading); }

/* ---------- hero actions (owner, 2026-11-15): Manage your life first, the teaser second and plainly a video ---------- */
.btn-teaser { gap: 10px; }
.play-dot { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--heading); color: var(--bg); flex: none; transition: transform .2s var(--ease), background-color .2s var(--ease); }
.play-dot svg { width: 11px; height: 11px; margin-left: 1px; fill: currentColor; }
.btn-teaser:hover .play-dot, .btn-teaser.is-tap .play-dot { transform: scale(1.12); background: var(--accent); }
.btn-meta { font-variant-numeric: tabular-nums; opacity: .7; }
.hero-copy .btn-primary { padding: 0 22px; }

/* ---------- phones: the accounts grid and the ID card (owner, 2026-11-15: "these screens need some help on mobile") ---------- */
.bands i { font-style: normal; }
@media (max-width: 559px) {
  .sources { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px; }
  .src { grid-template-columns: 20px minmax(0, 1fr); column-gap: 10px; padding: 12px 10px; }
  .src svg { width: 20px; height: 20px; }
  .src b { font-size: 14px; }
  .src em { overflow-wrap: anywhere; }
  .bands i { display: none; }
  .id-main { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .id-fields { gap: 10px; }
  .id-fields dd { font-size: 14px; }
  .id-stamp { position: static; grid-column: 1 / -1; justify-self: end; margin-top: 2px; }
  .id-mrz { letter-spacing: .02em; text-overflow: clip; }
  .id-top em { font-size: 11px; }
}
@media (max-width: 559px) {
  .cap-top { flex-wrap: wrap; row-gap: 8px; }
  .cap-top > span { flex-basis: 100%; }
  .cap-top b { white-space: nowrap; }
  .id-mrz { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
}

@media (max-width: 559px) {
  .org { padding: 14px 12px 12px; }
  .parent { padding: 8px 14px; }
  .org-bar { height: 18px; }
  .cloud { min-height: 0; }
  .cloud .files:empty { display: none; }
  .vault-note { display: none; }
  .store.is-cloud .vault-note { display: block; }
}

/* ---------- a clean first screen (owner, 2026-11-15) ----------
   Get updates appears once you scroll; the feed's count and buttons are gone from view (swipe for the next picture;
   the buttons stay for keyboards and screen readers and show when focused); the teaser is a glass ghost button;
   "Pilot in production" is a small tag beside the label. */
html.js .nav > .btn { transition: opacity .3s var(--ease), visibility .3s var(--ease); }
html.js .nav:not(.is-scrolled) > .btn { opacity: 0; visibility: hidden; pointer-events: none; }
.feed-controls:not(:focus-within) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.hero { touch-action: pan-y; }
.hero-actions .btn-teaser { --btn-bg: rgba(228, 232, 233, .1); --btn-line: rgba(228, 232, 233, .38); color: var(--heading); }
.hero-actions .btn-teaser::before, .hero-actions .btn-teaser::after { -webkit-backdrop-filter: blur(18px) saturate(150%); backdrop-filter: blur(18px) saturate(150%); }
.hero-label { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.hero-label::before { margin-right: -6px; }
.status-tag {
  display: inline-flex; align-items: center; gap: 6px; padding: 3px 6px;
  font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(228, 232, 233, .78);
  border: 1px solid rgba(228, 232, 233, .22); border-radius: 2px;
}
.status-tag i { width: 5px; height: 5px; border-radius: 50%; background: var(--signal-light); }
/* the picture runs further down: the buttons sit close to the bottom of the first screen (owner, 2026-11-15) */
.hero { padding-bottom: clamp(40px, 6vh, 72px); }
@media (max-width: 599px) { .hero { padding-bottom: calc(20px + env(safe-area-inset-bottom)); } }

/* ---------- critique polish on the toys (2026-11-15) ---------- */
/* the payoff states read clearly: a spent action is a dashed, legible stamp of what happened, not a faded button */
.app-foot .pbtn:disabled { opacity: 1; cursor: default; color: var(--text); background: transparent; border-style: dashed; border-color: var(--line-muted); }
.app-foot .pbtn:disabled:hover { color: var(--text); border-color: var(--line-muted); }
/* the hidden parent company is faint but readable before the update */
.parent { opacity: .45; border-style: dashed; }
/* one state-colour rule: before is teal, every twist is magenta, in the note and in the list */
.fields li.is-warn .sn-val, .sn-step.is-warn em { color: var(--signal-light); }
/* focus on the paper letter: the teal ring disappears on cream, so it goes dark there */
.letter :focus-visible { outline-color: #03232b; }
/* resign: the consequence sits past the icon on the locked chips, and under the title on phones */
.base-list li::after { left: 38px; right: 6px; }
@media (max-width: 599px) {
  .letter.is-void .xt::before { position: static; grid-column: 1 / -1; grid-row: 4; margin-top: 2px; transform: none; }
  .letter.is-void .base-list li::after { left: 34px; }
}
/* mono is always in capitals: record counts, file names, card numbers */
.src em, .one em, .files li, .id-top em, .sug em { text-transform: uppercase; }
/* touch: switches, the resign button and the gravity slider get a full-size target */
@media (pointer: coarse) {
  .switch { overflow: visible; }
  .switch::after { content: ""; position: absolute; inset: -9px -4px; }
  .totals .pbtn { min-height: 44px; }
  .range { height: 44px; }
}

/* ---------- two panes break the pattern (owner, 2026-11-15) ----------
   Providers runs full width under a heading row, so the org chart can spread out; the offer puts the letter
   first and the explanation after it. Phones keep the single column. */
@media (min-width: 820px) {
  .pane.is-wide { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .pane.is-wide .pane-copy { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); column-gap: clamp(28px, 3.5vw, 56px); row-gap: 12px; align-items: start; }
  .pane.is-wide .pane-title { grid-row: 1 / span 3; }
  .pane.is-wide .pane-text, .pane.is-wide .pane-try, .pane.is-wide .pane-note { grid-column: 2; }
  .pane.is-wide .pane-try { margin-top: 0; }
  .pane.is-wide .toy { max-width: none; }
  .pane.is-wide .provs li { padding: 18px 8px; }
  .pane.is-wide .mark { width: 32px; height: 32px; }
  .pane.is-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
  .pane.is-flip .pane-copy { order: 2; }
  .pane.is-flip .toy { max-width: none; }
}
.xt { align-content: start; }

/* ---------- the account reads as a life settings page (owner, 2026-11-15) ----------
   An app header (who is signed in, synced), the page title "Life settings", a system notice of what changed
   overnight, and a breadcrumb on every setting. */
.acct-bar { display: flex; align-items: center; gap: 12px; max-width: none; padding-bottom: 16px; margin-bottom: var(--space-5); border-bottom: 1px solid var(--line); }
.acct-who { display: grid; gap: 4px; }
.acct-who b { font: 500 16px/1 var(--font-display); color: var(--heading); }
.acct-who span { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.acct-sync { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--text); }
.acct-sync i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.account-head .acct-bar { max-width: none; }
.acct-notice {
  display: flex; align-items: flex-start; gap: 12px; margin: var(--space-5) 0 0; padding: 14px 16px;
  font-size: 15px; line-height: 1.5; color: var(--text); background: rgba(3, 209, 202, .06); border: 1px solid var(--accent-deep); border-radius: 6px;
}
.acct-notice svg { flex: none; width: 18px; height: 18px; margin-top: 2px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; }
.acct-notice b { font-weight: 500; color: var(--heading); }
.pane-crumb { display: flex; align-items: center; gap: 8px; margin: 0 0 -4px; font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover); }
.pane-crumb a { color: var(--text); text-decoration: none; }
.pane-crumb a:hover { color: var(--heading); }
.pane-crumb span { color: var(--line-muted); }
.pane.is-wide .pane-crumb { grid-column: 1 / -1; }
.pane.is-wide .pane-title { grid-row: 2 / span 3; }

/* =====================================================================================================
   FLAIR (2026-11-15, owner: "high-fidelity Apple design motifs, more visual flair and micro animations").
   One motion language: a spring-like ease-out (fast start, long settle), presses that give, things that arrive
   from a soft blur. All of it switches off under reduced motion.
   ===================================================================================================== */
:root { --settle: cubic-bezier(.22, 1, .36, 1); }

/* the island: a black pill that grows out of a dot under the nav, says what changed, and shrinks away */
.island {
  position: fixed; left: 50%; top: 136px; z-index: 40; display: flex; align-items: center; gap: 10px;
  max-width: calc(100vw - 32px); padding: 10px 16px 10px 12px; border-radius: 999px; color: #f5f7f7; background: #000;
  box-shadow: 0 14px 34px -14px rgba(0, 0, 0, .85); pointer-events: none;
  opacity: 0; transform: translateX(-50%) scale(.5, .3); filter: blur(4px);
  transition: opacity .25s var(--ease), transform .45s var(--settle), filter .3s var(--ease);
}
.island.is-on { opacity: 1; transform: translateX(-50%) scale(1); filter: none; }
.island i { width: 8px; height: 8px; flex: none; border-radius: 50%; background: #03d1ca; box-shadow: 0 0 0 3px rgba(3, 209, 202, .25); }
.island.is-warn i { background: #ff68c1; box-shadow: 0 0 0 3px rgba(255, 104, 193, .25); }
.island b { font: 500 14px/1 var(--font-sans); white-space: nowrap; }
.island em { font: 500 11px/1 var(--font-mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: #5fede5; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.island.is-warn em { color: #ff8fc9; }

/* values roll in from below when they change */
.sn-val.is-roll { animation: val-roll .5s var(--settle); }
@keyframes val-roll { from { transform: translateY(70%); opacity: 0; filter: blur(2px); } }

/* every pressable tile gives under the finger and springs back */
.xt, .src, .provs li, .method, .sug, .fields a, .base-list li { transition-property: transform, border-color, background-color, box-shadow, opacity, color; transition-timing-function: var(--settle); }
.xt:active, .method:active, .sug:active, .fields a:active { transform: scale(.965); transition-duration: .12s; }
.xt, .method, .sug { transition-duration: .35s; }
.xt:hover { transform: translateY(-2px); }
.xt.is-tight:hover { transform: none; }

/* the iOS switch: the knob stretches while pressed, and slides with a spring */
.switch i { transition: transform .4s var(--settle), width .2s var(--ease), left .2s var(--ease); }
.switch:active i { width: 26px; }
.switch[aria-checked="true"]:active i { transform: translateX(14px); }
@media (pointer: coarse) { .switch:active i { width: 30px; } .switch[aria-checked="true"]:active i { transform: translateX(16px); } }

/* panes arrive once: copy steps in line by line, the device sharpens out of a soft blur */
html.has-arrive .pane-copy > *, html.has-arrive .pane .toy { transition: opacity .7s var(--ease), transform .9s var(--settle), filter .8s var(--ease); }
html.has-arrive .pane:not(.is-seen) .pane-copy > * { opacity: 0; transform: translateY(14px); }
html.has-arrive .pane:not(.is-seen) .toy { opacity: 0; transform: translateY(28px) scale(.97); filter: blur(10px); }
html.has-arrive .pane .pane-copy > :nth-child(2) { transition-delay: .06s; }
html.has-arrive .pane .pane-copy > :nth-child(3) { transition-delay: .12s; }
html.has-arrive .pane .pane-copy > :nth-child(4) { transition-delay: .18s; }
html.has-arrive .pane .pane-copy > :nth-child(5) { transition-delay: .24s; }
html.has-arrive .pane .toy { transition-delay: .1s; }

/* the device spotlight: a soft light follows the pointer across the dark devices */
.has-light { position: relative; }
.has-light::after {
  content: ""; position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; opacity: 0;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 50%), rgba(95, 237, 229, .07), transparent 70%);
  transition: opacity .4s var(--ease);
}
.has-light:hover::after { opacity: 1; }

/* the catalogue posters tilt toward the pointer, with a glare where the light catches them */
.card-media { transition: transform .6s var(--settle), box-shadow .6s var(--settle); transform-style: preserve-3d; will-change: transform; }
.card-media.is-tilt { transition: transform .12s linear, box-shadow .3s var(--ease); box-shadow: 0 30px 50px -28px rgba(0, 0, 0, .9); }
.card-media::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(60% 60% at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .22), transparent 70%); mix-blend-mode: soft-light;
}
.card-media.is-tilt::after { opacity: 1; }

/* the theme opens as a circle from the switch */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-new(root) { animation: theme-open .7s var(--settle); }
@keyframes theme-open { from { clip-path: circle(0 at var(--vt-x, 50%) var(--vt-y, 100%)); } to { clip-path: circle(150vmax at var(--vt-x, 50%) var(--vt-y, 100%)); } }

@media (prefers-reduced-motion: reduce) {
  .island { transition: opacity .2s linear; filter: none; transform: translateX(-50%); }
  .sn-val.is-roll { animation: none; }
  .xt:active, .method:active, .sug:active, .fields a:active, .xt:hover { transform: none; }
  ::view-transition-new(root) { animation: none; }
}

/* ---------- consequence badges line up (owner, 2026-11-15) ----------
   Every red badge is the same height and sits on the same line across a row: the tile's last row takes it,
   pinned to the bottom, two lines tall whether its words need one line or two. */
.letter.is-void .xt { grid-template-rows: auto auto 1fr auto; }
.xt::before { min-height: 34px; display: flex; align-items: center; justify-content: center; line-height: 1.15; }
.letter.is-void .xt::before { position: static; grid-column: 1 / -1; grid-row: 4; align-self: end; margin-top: 8px; transform: none; }
.base-list li::after { top: 5px; bottom: 5px; translate: none; display: flex; align-items: center; justify-content: center; line-height: 1.15; }
@media (max-width: 599px) {
  .xt::before { min-height: 38px; }
  .totals { row-gap: 12px; }
  .totals .pbtn { order: 3; }
}

/* ---------- the notes: messages from your provider that are hard to miss (owner, 2026-11-15) ---------- */
.pane-note {
  display: grid; gap: 4px; padding: 12px 14px 12px 38px; border-radius: 10px; font-size: 14px; line-height: 1.45; color: var(--heading);
  background: rgba(3, 209, 202, .07); border: 1px solid rgba(3, 209, 202, .28); transform-origin: 50% 0;
}
.pane-note::before { left: 15px; top: 17px; width: 9px; height: 9px; box-shadow: 0 0 0 3px rgba(3, 209, 202, .2); }
.note-from { font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--accent-hover); }
.pane-note.is-warn { color: var(--heading); background: rgba(215, 3, 140, .1); border-color: rgba(255, 104, 193, .5); }
.pane-note.is-warn::before { box-shadow: 0 0 0 3px rgba(255, 104, 193, .22); }
.pane-note.is-warn .note-from { color: var(--signal-light); }
.pane-note.is-new { animation: note-in .7s var(--settle); }
@keyframes note-in {
  0% { opacity: 0; transform: translateY(-10px) scale(.97); filter: blur(4px); }
  45% { box-shadow: 0 0 0 0 rgba(255, 104, 193, .0); }
  60% { box-shadow: 0 0 0 6px rgba(3, 209, 202, .14); }
  100% { box-shadow: 0 0 0 10px rgba(3, 209, 202, 0); }
}
.pane-note.is-warn.is-new { animation-name: note-in-warn; }
@keyframes note-in-warn {
  0% { opacity: 0; transform: translateY(-10px) scale(.97); filter: blur(4px); }
  60% { box-shadow: 0 0 0 6px rgba(255, 104, 193, .18); }
  100% { box-shadow: 0 0 0 10px rgba(255, 104, 193, 0); }
}
html[data-theme="lite"] .pane-note { background: rgba(0, 114, 109, .08); border-color: rgba(0, 114, 109, .35); }
html[data-theme="lite"] .pane-note.is-warn { background: rgba(215, 3, 140, .08); border-color: rgba(163, 2, 107, .45); }
html[data-theme="lite"] .note-from { color: var(--accent); }

/* the island expands into a card carrying the message, like a live activity */
.island { flex-wrap: wrap; row-gap: 6px; border-radius: 22px; max-width: min(420px, calc(100vw - 24px)); }
.island span { flex-basis: 100%; padding-left: 18px; font: 400 14px/1.4 var(--font-sans); color: #d9e1e2; white-space: normal; }
.island span:empty { display: none; }
@media (prefers-reduced-motion: reduce) { .pane-note.is-new, .pane-note.is-warn.is-new { animation: none; } }
.island.has-note { width: min(420px, calc(100vw - 24px)); }

/* ---------- icon buttons (owner, 2026-11-16: "if they can easily be replaced with just icon buttons i would prefer it") ----------
   The footer tools and the chat's Start over are icons. Each keeps its words as a label that shows as a tooltip on
   hover, keyboard focus and confirmation ("Link copied"); the words also stay the button's accessible name. */
.tool-btn, .composer #r1-reset { position: relative; justify-content: center; width: 44px; height: 44px; min-height: 44px; padding: 0; gap: 0; }
.composer #r1-reset { border-radius: 50%; flex: none; }
.tool-btn .icon, .composer #r1-reset .icon { width: 18px; height: 18px; }
.tool-btn > span, .composer #r1-reset > span {
  position: absolute; left: 50%; bottom: calc(100% + 8px); z-index: 3; padding: 6px 8px; white-space: nowrap; pointer-events: none;
  font: 500 11px/1 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bg); background: var(--heading); border-radius: 4px;
  opacity: 0; transform: translate(-50%, 4px); transition: opacity .2s var(--ease), transform .25s var(--settle, var(--ease));
}
.tool-btn:hover > span, .tool-btn:focus-visible > span, .tool-btn.is-done > span,
.composer #r1-reset:hover > span, .composer #r1-reset:focus-visible > span { opacity: 1; transform: translate(-50%, 0); }
.tool-btn.is-done > span { background: var(--accent); color: var(--on-accent); }
.footer-tools { gap: 10px; }
@media (prefers-reduced-motion: reduce) { .tool-btn > span, .composer #r1-reset > span { transition: opacity .2s linear; transform: translate(-50%, 0); } }
/* inside the chat window (which clips), Start over's label sits to its left */
.composer #r1-reset > span { left: auto; right: calc(100% + 8px); bottom: auto; top: 50%; transform: translate(4px, -50%); }
.composer #r1-reset:hover > span, .composer #r1-reset:focus-visible > span { transform: translate(0, -50%); }

/* ---------- the provider marks (owner's Figma, Soul Not Found Design System, "Provider marks" 16481:1228, 2026-11-16):
   each is its monochrome master as a mask, filled with the provider colour; joined, they become the Rebirth mark ---------- */
.mark { border-radius: 0; clip-path: none; }
.m1 { background: #d1984e; border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-halvorsen.svg) center / contain no-repeat; mask: url(assets/v02/mark-halvorsen.svg) center / contain no-repeat; }
.m2 { background: #82ad89; border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-linden.svg) center / contain no-repeat; mask: url(assets/v02/mark-linden.svg) center / contain no-repeat; }
.m3 { background: #cb776f; border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-pellworth.svg) center / contain no-repeat; mask: url(assets/v02/mark-pellworth.svg) center / contain no-repeat; }
.m4 { background: #83a2de; border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-skymind.svg) center / contain no-repeat; mask: url(assets/v02/mark-skymind.svg) center / contain no-repeat; }
.m5 { background: #bda6d6; border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-chapel.svg) center / contain no-repeat; mask: url(assets/v02/mark-chapel.svg) center / contain no-repeat; }
.m6 { background: #64c1b5; border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-ostrava.svg) center / contain no-repeat; mask: url(assets/v02/mark-ostrava.svg) center / contain no-repeat; }
.org.is-one .provs .mark { border-radius: 0; clip-path: none; -webkit-mask: url(assets/v02/mark-rebirth.svg) center / contain no-repeat; mask: url(assets/v02/mark-rebirth.svg) center / contain no-repeat; }

/* the footer mark in light mode: the owner's Lite app icon colours (Figma 12798:4848, 2026-11-16) */
.footer-mark .is-lite { display: none; }
html[data-theme="lite"] .footer-mark .is-nite { display: none; }
html[data-theme="lite"] .footer-mark .is-lite { display: block; }
