/* Dynamena · product site. Layout: one calm column, the product's own screens as the pictures.
   Colours follow the hub ("D · Quiet"): blue needs you, teal settled, orange late or wrong. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/plex-mono-400.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/plex-mono-500.woff2") format("woff2"); }

:root {
  --bg: #f7f7f5;
  --surface: #ffffff;
  --soft: #f1f1ee;
  --fg: #141414;
  --fg-2: #3c4043;
  --muted: #5f6368;
  --line: #e4e4e0;
  --line-strong: #cbcbc6;
  --needs-you: #2f5bff;
  --settled: #12917e;
  --settled-tint: #e3f4f0;
  --settled-ink: #0b6b5d;
  --late: #e8743f;
  --ink-btn: #141414;
  --on-btn: #ffffff;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #111213; --surface: #1a1b1d; --soft: #232427; --fg: #ececea; --fg-2: #c8cacd; --muted: #9da1a7;
    --line: #2d2f33; --line-strong: #474a4f; --needs-you: #7d99ff; --settled: #43c2ad; --settled-tint: #12302b; --settled-ink: #7fdac9;
    --late: #f08a57; --ink-btn: #ececea; --on-btn: #141414;
    color-scheme: dark;
  }
}

*, *::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(--fg); font: 17px/1.6 var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:focus-visible, .btn:focus-visible, button:focus-visible { outline: 2px solid var(--needs-you); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, p, ul, ol, figure, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { font-weight: 600; }

.wrap { max-width: 1120px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
@media (min-width: 760px) { .wrap { padding-left: 40px; padding-right: 40px; } }

/* Header */
.head { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.head .wrap { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; letter-spacing: -.01em; text-decoration: none; }
.brand svg { width: 28px; height: 28px; flex: none; }
.mark-bg { fill: var(--ink-btn); }
.mark-fg { stroke: var(--on-btn); }
.nav { margin-left: auto; display: none; gap: 26px; font-size: 15px; color: var(--fg-2); }
.nav a { text-decoration: none; }
.nav a:hover { color: var(--fg); text-decoration: underline; }
@media (min-width: 760px) { .nav { display: flex; } }
.head .btn { margin-left: auto; }
@media (min-width: 760px) { .head .btn { margin-left: 0; } }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 20px; border-radius: 999px; background: var(--ink-btn); color: var(--on-btn); font-weight: 600; font-size: 15px; text-decoration: none; border: 1px solid var(--ink-btn); white-space: nowrap; }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--line-strong); }
.btn:hover { opacity: .88; }

/* Hero */
.hero { padding-block: 64px 40px; }
@media (min-width: 760px) { .hero { padding-block: 96px 56px; } }
.eyebrow { font: 500 12.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 18px; }
h1 { font-size: clamp(40px, 6.4vw, 72px); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; max-width: 14ch; text-wrap: balance; }
.lede { font-size: clamp(18px, 2.1vw, 21px); line-height: 1.55; color: var(--fg-2); max-width: 60ch; margin-top: 24px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
/* The three ideas above the hero's headline, on one line; stacked where one line would not fit */
.trio { display: flex; flex-wrap: wrap; align-items: center; row-gap: 6px; margin: 0 0 30px; font-size: clamp(15px, 1.45vw, 18px); font-weight: 600; letter-spacing: -.01em; color: var(--settled-ink); }
.trio li { display: inline-flex; align-items: center; gap: 7px; white-space: nowrap; }
.trio li + li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--settled); opacity: .55; margin: 0 9px 0 16px; }
.trio svg { width: .95em; height: .95em; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
@media (max-width: 819px) { .trio { flex-direction: column; align-items: flex-start; row-gap: 4px; } .trio li + li::before { display: none; } }
.rsi-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 39px; padding: 0 16px 0 13px; border-radius: 999px; background: var(--surface); box-shadow: 0 0 0 1px color-mix(in srgb, var(--settled) 38%, var(--line)), 0 12px 28px -18px color-mix(in srgb, var(--settled) 80%, transparent); color: var(--settled-ink); font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; white-space: nowrap; }
.rsi-chip svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; animation: rsi-turn 6s cubic-bezier(.6, 0, .3, 1) 2s infinite; }
@keyframes rsi-turn { 0%, 72% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
a.rsi-chip:hover { box-shadow: 0 0 0 1px var(--settled), 0 12px 28px -18px color-mix(in srgb, var(--settled) 80%, transparent); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 10px; margin-top: 36px; }
.facts li { font: 500 12.5px/1.3 var(--mono); color: var(--fg-2); border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; display: inline-flex; align-items: center; gap: 8px; }
.facts li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--settled); }

/* Sections */
section { padding-block: 56px; }
@media (min-width: 760px) { section { padding-block: 80px; } }
.rule { border-top: 1px solid var(--line); }
h2 { font-size: clamp(28px, 3.6vw, 40px); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; max-width: 22ch; text-wrap: balance; }
.sub { font-size: 18px; color: var(--fg-2); max-width: 62ch; margin-top: 16px; }
h3 { font-size: 19px; line-height: 1.3; letter-spacing: -.01em; font-weight: 600; }

.cols { display: grid; gap: 28px; margin-top: 40px; }
@media (min-width: 860px) { .cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } .cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.cols p { color: var(--fg-2); margin-top: 8px; font-size: 16px; }
.item { border-top: 2px solid var(--fg); padding-top: 16px; min-width: 0; }

/* Steps */
.steps { display: grid; gap: 0; margin-top: 40px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-top: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); width: 32px; height: 32px; border-radius: 50%; background: var(--ink-btn); color: var(--on-btn); font: 500 13px/32px var(--mono); text-align: center; }
.steps p { color: var(--fg-2); margin-top: 6px; font-size: 16px; max-width: 62ch; }
.split { display: grid; gap: 40px; align-items: start; }
@media (min-width: 980px) { .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 56px; } .split .steps { margin-top: 32px; } }

/* The hub's screens, redrawn */
.screen { background: var(--surface); border: 1px solid var(--line-strong); border-radius: 18px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 18px 48px -24px rgba(0,0,0,.28); font-size: 14px; line-height: 1.45; min-width: 0; }
.screen-bar { display: flex; align-items: center; gap: 14px; padding: 12px 18px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 12.5px; }
.screen-bar b { color: var(--fg); font-weight: 600; font-size: 13.5px; display: inline-flex; align-items: center; gap: 8px; margin-right: auto; white-space: nowrap; }
.screen-bar b svg { width: 18px; height: 18px; }
.screen-bar span { display: none; white-space: nowrap; }
@media (min-width: 560px) { .screen-bar span { display: inline; } }
.screen-body { padding: 26px 22px 24px; }
@media (min-width: 560px) { .screen-body { padding: 34px 32px 30px; } }
.screen-h { font-size: clamp(24px, 3.4vw, 34px); line-height: 1.08; letter-spacing: -.03em; font-weight: 700; text-wrap: balance; }
.screen-p { color: var(--muted); margin-top: 10px; }
.needs { border: 1px solid var(--line); border-radius: 14px; margin-top: 22px; }
.needs li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 18px; }
.needs li + li { border-top: 1px solid var(--line); }
.needs b { display: block; font-weight: 600; font-size: 15px; }
.needs small { color: var(--muted); font-size: 13px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--needs-you); }
.dot.late { background: var(--late); }
.pill { font-weight: 600; font-size: 13px; background: var(--ink-btn); color: var(--on-btn); border-radius: 999px; padding: 7px 14px; white-space: nowrap; }
.pill.ghost { background: transparent; color: var(--fg); border: 1px solid var(--line-strong); }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.tile { border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; min-width: 0; }
.tile small { color: var(--muted); font-size: 12.5px; display: block; }
@media (max-width: 519px) { .tiles { grid-template-columns: minmax(0, 1fr); gap: 8px; } .tile { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 12px 16px; } .tile b { margin-top: 0; } }
.tile b { display: block; font-size: clamp(18px, 2.6vw, 24px); letter-spacing: -.02em; font-weight: 700; margin-top: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sides { display: grid; gap: 12px; margin-top: 20px; }
@media (min-width: 520px) { .sides { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.side { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; min-width: 0; }
.side h4 { margin: 0; font-size: 14px; font-weight: 600; }
.side .amt { font-size: 26px; font-weight: 700; letter-spacing: -.02em; margin: 8px 0 10px; font-variant-numeric: tabular-nums; }
.side dl { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; font-size: 13px; }
.side dt { color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; align-items: center; }
.actions .later { color: var(--muted); font-size: 13px; font-weight: 500; }
.foot-note { color: var(--muted); font-size: 12.5px; margin-top: 14px; }
figcaption { font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.hero-shot { margin-top: 56px; }

/* Table of loops */
.table { overflow-x: auto; margin-top: 36px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15.5px; }
th { text-align: left; font: 500 11.5px/1.3 var(--mono); letter-spacing: .07em; text-transform: uppercase; color: var(--muted); padding: 14px 18px 10px; border-bottom: 1px solid var(--line-strong); }
td { padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--fg-2); }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; color: var(--fg); white-space: nowrap; }

/* Trust list, status */
.checks { display: grid; gap: 0; margin-top: 36px; }
@media (min-width: 860px) { .checks { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; } }
.checks li { padding: 18px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; }
.checks li::before { content: ""; width: 18px; height: 18px; margin-top: 4px; border-radius: 50%; background: var(--settled-tint); border: 1.5px solid var(--settled); }
.checks b { display: block; font-weight: 600; }
.checks span { color: var(--fg-2); font-size: 16px; }
.status { display: grid; gap: 20px; margin-top: 36px; }
@media (min-width: 860px) { .status { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; min-width: 0; }
.tag { font: 500 11.5px/1 var(--mono); letter-spacing: .07em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; color: var(--fg-2); margin-bottom: 14px; }
.tag::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--settled); }
.tag.next::before { background: var(--needs-you); }
.card li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--fg-2); font-size: 16px; }
.card li:first-child { border-top: 0; }

/* Company, contact, footer */
.company { display: grid; gap: 32px; margin-top: 36px; }
@media (min-width: 860px) { .company { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 56px; } }
.company p { color: var(--fg-2); max-width: 62ch; }
.company p + p { margin-top: 14px; }
.reg { font: 400 14px/1.7 var(--mono); color: var(--fg-2); border-left: 2px solid var(--fg); padding-left: 18px; align-self: start; }
.reg b { font-weight: 500; color: var(--fg); }
.foot { border-top: 1px solid var(--line); padding-block: 28px 40px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.foot a:hover { color: var(--fg); }
.foot .push { margin-left: auto; }

/* Plain text pages */
.prose { padding-block: 56px 80px; max-width: 70ch; }
.prose h1 { font-size: clamp(32px, 4.6vw, 48px); max-width: none; }
.prose h2 { font-size: 22px; letter-spacing: -.01em; margin-top: 40px; }
.prose p, .prose li { color: var(--fg-2); margin-top: 12px; }
.prose ul { list-style: disc; padding-left: 22px; }

/* ---- Revision 2: the thesis, the loop, under the hood ------------------------------------------ */
:root { --band: #111213; --band-2: #1a1b1d; --band-fg: #ececea; --band-muted: #9da1a7; --band-line: #2d2f33; --band-teal: #43c2ad; --band-blue: #7d99ff; }
@media (prefers-color-scheme: dark) { :root { --band: #08090a; --band-2: #141517; } }

.hero { position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px; mask-image: radial-gradient(ellipse 70% 60% at 78% 10%, #000 0%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 78% 10%, #000 0%, transparent 70%); }
.hero .wrap { position: relative; }
.hero h1 { max-width: 15ch; }
.hero h1 em { font-style: normal; color: var(--settled); }

.stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin-top: 48px; border-top: 1px solid var(--line-strong); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.stats li { padding: 20px 18px 4px 0; min-width: 0; }
.stats b { display: block; font-size: clamp(30px, 4vw, 44px); line-height: 1; letter-spacing: -.03em; font-weight: 700; font-variant-numeric: tabular-nums; }
.stats span { display: block; color: var(--fg-2); font-size: 14.5px; line-height: 1.45; margin-top: 8px; max-width: 24ch; }

/* The loop */
.loop { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 20px; }
.loop svg { display: none; width: 100%; height: auto; font-family: var(--sans); }
@media (min-width: 860px) { .loop { padding: 28px; } .loop svg { display: block; } .loop ol { display: none; } }
.loop .n-box { fill: var(--bg); stroke: var(--line-strong); stroke-width: 1.25; }
.loop .n-box.hot { stroke: var(--settled); stroke-width: 2; }
.loop .n-t { font-size: 15.5px; font-weight: 600; fill: var(--fg); }
.loop .n-s { font-size: 12.5px; fill: var(--muted); }
.loop .n-k { font: 500 11px var(--mono); letter-spacing: .08em; fill: var(--settled); }
.loop .arr { fill: none; stroke: var(--fg-2); stroke-width: 1.6; }
.loop .arr-h { fill: var(--fg-2); }
.loop .mid { font-size: 14px; fill: var(--fg-2); }
.loop .mid-b { font-size: 17px; font-weight: 700; fill: var(--fg); letter-spacing: -.01em; }
.loop ol { counter-reset: l; display: grid; gap: 0; }
.loop ol li { counter-increment: l; display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-top: 1px solid var(--line); }
.loop ol li:first-child { border-top: 0; }
.loop ol li::before { content: counter(l, decimal-leading-zero); font: 500 12px/24px var(--mono); color: var(--settled); }
.loop ol b { display: block; font-weight: 600; }
.loop ol span { color: var(--muted); font-size: 14.5px; }

/* Under the hood: always dark */
.band { background: var(--band); color: var(--band-fg); }
.band h2 { color: var(--band-fg); }
.band .sub { color: var(--band-muted); }
.band .eyebrow { color: var(--band-teal); }
.hood { display: grid; gap: 14px; margin-top: 40px; }
@media (min-width: 700px) { .hood { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .hood { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hood li { background: var(--band-2); border: 1px solid var(--band-line); border-radius: 16px; padding: 22px 22px 20px; min-width: 0; }
.hood h3 { color: var(--band-fg); margin-top: 12px; }
.hood p { color: var(--band-muted); font-size: 15px; line-height: 1.55; margin-top: 8px; }
.st { font: 500 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 8px; color: var(--band-muted); }
.st::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--band-teal); }
.st.b::before { background: transparent; border: 1.5px solid var(--band-blue); }
.record { margin-top: 28px; background: var(--band-2); border: 1px solid var(--band-line); border-radius: 16px; padding: 20px 22px; overflow-x: auto; }
.record pre { margin: 0; font: 400 13.5px/1.75 var(--mono); color: var(--band-fg); white-space: pre; }
.record .k { color: var(--band-muted); }
.record .ok { color: var(--band-teal); }
.record .bl { color: var(--band-blue); }
.band figcaption { color: var(--band-muted); }
.stack { display: grid; gap: 18px; margin-top: 36px; border-top: 1px solid var(--band-line); padding-top: 28px; }
@media (min-width: 860px) { .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; } }
.stack h3 { font: 500 11.5px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--band-muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.chips li { font: 400 13px/1 var(--mono); color: var(--band-fg); border: 1px solid var(--band-line); border-radius: 8px; padding: 8px 10px; }

/* Why now, the plan */
.why li { border-top: 2px solid var(--fg); padding-top: 16px; min-width: 0; }
.why .num { font: 500 12px/1 var(--mono); color: var(--settled); letter-spacing: .08em; }
.why h3 { margin-top: 10px; }
.shots { display: grid; gap: 28px; margin-top: 40px; align-items: start; }
@media (min-width: 980px) { .shots { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); } }

/* ---- Revision 3: a short, visual landing page ------------------------------------------------- */
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 1000px) { .hero-grid { grid-template-columns: minmax(0, 11fr) minmax(0, 10fr); gap: 56px; } }
.hero-grid h1 { max-width: 11ch; }
.hero-grid .lede { max-width: 44ch; }
.stage { position: relative; }
.stage .screen { font-size: 13px; }
.stage .screen-body { padding: 24px 22px 22px; }
.stage .screen-h { font-size: clamp(22px, 2.6vw, 30px); }
.float { position: static; display: inline-flex; align-items: center; gap: 8px; margin: 12px 8px 0 0; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 999px; padding: 9px 14px; font-size: 13.5px; font-weight: 600; box-shadow: 0 10px 30px -14px rgba(0,0,0,.35); white-space: nowrap; }
.float i { width: 9px; height: 9px; border-radius: 50%; background: var(--settled); }
.float.blue i { background: var(--needs-you); }
@media (min-width: 1000px) { .float { position: absolute; margin: 0; } .float.a { top: -18px; left: -26px; } .float.b { bottom: -18px; right: -14px; } }

.center { text-align: center; }
.center h2, .center .sub { margin-left: auto; margin-right: auto; }
.how { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 640px) { .how { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .how { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.how li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px 18px 22px; min-width: 0; text-align: left; }
.how svg, .ctrl svg, .chart svg { display: block; width: 100%; height: auto; }
.how .ill { background: var(--soft); border-radius: 14px; padding: 10px; }
.how .step { font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--settled); display: block; margin-top: 18px; }
.how h3 { margin-top: 8px; font-size: 20px; }
.how p { color: var(--fg-2); font-size: 15.5px; margin-top: 6px; }

.i-s { fill: none; stroke: var(--fg-2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i-s.thin { stroke-width: 1.5; }
.i-s.dash { stroke-dasharray: 2 6; }
.i-card { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.i-ink { fill: var(--ink-btn); }
.i-on { fill: none; stroke: var(--on-btn); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.i-teal { fill: var(--settled); }
.i-teal-s { fill: none; stroke: var(--settled); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.i-blue { fill: var(--needs-you); }
.i-late { fill: var(--late); }
.i-soft { fill: var(--line-strong); }
.i-tint { fill: var(--settled-tint); }
.i-t { font: 600 11px var(--sans); fill: var(--fg); }
.i-tm { font: 500 10px var(--mono); fill: var(--muted); letter-spacing: .04em; }

.grow { display: grid; gap: 36px; align-items: center; }
/* Dynamena improves itself: a band of its own, a large headline, bars that rise (better.js) */
.rsi-band { background: linear-gradient(180deg, var(--settled-tint), color-mix(in srgb, var(--settled-tint) 45%, var(--bg))); }
@media (min-width: 760px) { .rsi-band { padding-block: 112px 104px; } }
.rsi-h { max-width: none; margin-top: 24px; font-size: clamp(40px, 6.6vw, 80px); line-height: 1.02; letter-spacing: -.04em; }
.rsi-h em { font-style: normal; color: var(--settled); }
.rsi-band .grow { margin-top: 36px; }
.rsi-band .chart { box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--settled) 70%, transparent); }
.chart .mo { transform-box: view-box; transform-origin: 0 236px; }
.chart.pre .mo { transform: scaleY(0); }
.chart.pre .trend { opacity: 0; }
.chart.go .mo { transition: transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: calc(var(--i) * 110ms); }
.chart.go .trend { transition: opacity .6s ease .9s; }
@media (min-width: 980px) { .grow { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 64px; } }
.chart { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 14px; }
.legend { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; font-size: 14.5px; color: var(--fg-2); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 11px; height: 11px; border-radius: 3px; background: var(--settled); }
.legend i.b { background: var(--needs-you); }

.ctrl { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 860px) { .ctrl { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ctrl li { border: 1px solid var(--line); border-radius: 20px; padding: 26px 24px; background: var(--surface); text-align: left; min-width: 0; }
.ctrl svg { width: 52px; }
.ctrl h3 { margin-top: 16px; font-size: 20px; }
.ctrl p { color: var(--fg-2); font-size: 15.5px; margin-top: 6px; }
.band-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px; margin-top: 40px; font: 500 12.5px/1.4 var(--mono); color: var(--muted); letter-spacing: .03em; }
.band-note b { color: var(--fg-2); font-weight: 500; border: 1px solid var(--line-strong); border-radius: 999px; padding: 7px 12px; }
@media (min-width: 1000px) { .float.a { top: -50px; left: -8px; } .stage { margin-top: 24px; } }
.stage .tile { padding: 12px 14px; }
.stage .tile b { font-size: clamp(16px, 1.55vw, 20px); }

/* ---- Revision 4: the whole business, not one chore ---------------------------------------------- */
/* The hero figure (hero.js): an app of frosted glass drawn on a canvas, the tools of one business round it. */
.glass { position: relative; width: 100%; max-width: 520px; margin: 0 auto; }
.glass-stage { position: relative; height: 440px; perspective: 1000px; }
@media (max-width: 559px) { .glass-stage { height: 350px; } }
.glass-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
/* Without the script: a still glass app */
.glass-still { position: absolute; left: 50%; top: 50%; width: 44%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 31%; border: 2px solid rgba(255, 255, 255, .9); background: linear-gradient(135deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .18)), radial-gradient(90% 90% at 30% 25%, #b9eedf, #57c3ab 55%, #2a9d8f); box-shadow: 0 34px 50px -34px rgba(6, 60, 52, .5); }
.glass-still svg { display: block; width: 100%; height: 100%; fill: none; stroke: #093e38; stroke-width: 4.6; stroke-linecap: round; }
.glass.ready .glass-still { display: none; }
.fit { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin-top: 14px; }
.fit[hidden] { display: none; }
.fit-l { flex-basis: 100%; text-align: center; font: 500 11.5px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.fit-dots { display: inline-flex; gap: 2px; }
.fit-dots button { appearance: none; width: 24px; height: 24px; margin: 0; padding: 0; border: 0; background: none; display: grid; place-items: center; cursor: pointer; }
.fit-dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); transition: background .2s, transform .2s; }
.fit-dots button:hover::before { background: var(--muted); }
.fit-dots button[aria-pressed="true"]::before { background: var(--settled); transform: scale(1.3); }
.fit-pp { position: absolute; top: 2px; right: 0; appearance: none; width: 30px; height: 30px; padding: 0; border: 1px solid var(--line-strong); border-radius: 50%; background: var(--surface); color: var(--fg-2); display: inline-grid; place-items: center; cursor: pointer; }
.fit-pp:hover { color: var(--fg); border-color: var(--settled); }
.fit-pp svg { width: 11px; height: 11px; }
.fit-pp .i-pause { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.fit-pp .i-play { fill: currentColor; display: none; }
.fit-pp.paused .i-pause { display: none; }
.fit-pp.paused .i-play { display: block; }
@media (prefers-reduced-motion: reduce) { .rsi-chip svg { animation: none; } .fit-dots button::before { transition: none; } .glass-stage canvas { transition: none; } }
.ba { display: grid; gap: 18px; margin-top: 44px; }
@media (min-width: 860px) { .ba { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }
.ba figure { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px 22px 20px; text-align: left; min-width: 0; }
.ba svg { display: block; width: 100%; height: auto; background: var(--soft); border-radius: 14px; }
.ba figcaption { margin-top: 16px; font-size: 16px; color: var(--fg-2); }
.ba figcaption b { display: block; color: var(--fg); font-size: 20px; letter-spacing: -.01em; margin-bottom: 4px; }
.t-mess { fill: none; stroke: var(--late); stroke-width: 1.6; stroke-linecap: round; stroke-dasharray: 3 5; }
.t-clean { fill: none; stroke: var(--settled); stroke-width: 2; stroke-linecap: round; }
.t-tool { fill: var(--surface); stroke: var(--line-strong); stroke-width: 1.5; }
.t-person { fill: var(--fg-2); }
.see { display: grid; gap: 36px; align-items: center; }
@media (min-width: 980px) { .see { grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: 64px; } }

/* What it runs: the areas */
.areas { display: grid; gap: 14px; margin-top: 44px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .areas { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; } }
.areas li { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 22px 20px; text-align: left; min-width: 0; }
.areas svg { width: 44px; height: 44px; display: block; }
.areas h3 { margin-top: 14px; font-size: 18px; }

/* The end of the page: the invitation, over a small living colony (colony.js). Tap the water to feed it. */
.co-stage { position: relative; border-radius: 24px; overflow: hidden; background: #04131b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.co-stage canvas { position: absolute; inset: 0; z-index: 0; display: block; width: 100%; height: 100%; cursor: pointer; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.co-talk { position: relative; z-index: 1; padding: clamp(52px, 7vw, 76px) 24px 0; text-align: center; pointer-events: none; }
.co-talk h2 { color: #f1f8f6; margin: 0 auto; }
.co-talk .sub { color: rgba(214, 236, 231, .8); margin-left: auto; margin-right: auto; }
.co-talk .mail { pointer-events: auto; display: inline-block; margin-top: 20px; color: #ffffff; font-size: clamp(22px, 3.2vw, 32px); font-weight: 700; letter-spacing: -.02em; text-decoration-color: rgba(255, 255, 255, .35); overflow-wrap: anywhere; }
.co-talk .mail:hover { text-decoration-color: currentColor; }
.co-room { height: clamp(230px, 27vw, 290px); }
.co-cap { position: absolute; z-index: 1; left: 20px; bottom: 18px; font: 500 11px/1.3 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(196, 232, 226, .5); pointer-events: none; }
.co-pp { position: absolute; z-index: 1; right: 14px; bottom: 11px; width: 32px; height: 32px; padding: 0; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .05); color: rgba(226, 244, 240, .85); display: grid; place-items: center; cursor: pointer; opacity: .65; transition: opacity .2s; }
.co-pp:hover, .co-pp:focus-visible { opacity: 1; }
.co-pp svg { width: 12px; height: 12px; }
.co-pp .i-pause { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.co-pp .i-play { fill: currentColor; display: none; }
.co-pp.paused .i-pause { display: none; }
.co-pp.paused .i-play { display: block; }
