/* pstr.no — POSTR's public website.
 *
 * One stylesheet, no script. The page's Content-Security-Policy allows
 * styles from this file only, so nothing may be styled inline (no
 * style="" attributes, no <style> blocks): everything lives here.
 * Colours are the app's (postr_fe theme.scss): the brand teal, its deep
 * shade for anything that must read as text, and the logo's yellow. */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: light dark;

  --bg: #ffffff;
  --surface: #f5f9fa;
  --surface-raised: #ffffff;
  --border: #dfe8ec;
  --text: #3d4b58;
  --text-strong: #15202b;
  --text-muted: #5d6e7d;
  --accent: #066181;          /* deep teal: buttons, links */
  --accent-hover: #054e68;
  --accent-on: #ffffff;
  --brand: #43b3be;           /* brand teal: decoration only */
  --deep: #066181;            /* a second teal for drawings */
  --brand-soft: #e3f4f6;
  --yellow: #f8c000;          /* the logo */
  --yellow-soft: #fff5d1;     /* notes on the drawn board, the "coming soon" label */
  --yellow-ink: #6b5200;      /* text on --yellow-soft */
  --shadow: 0 1px 2px rgba(21, 32, 43, 0.05), 0 8px 24px rgba(21, 32, 43, 0.06);

  --radius: 18px;
  --gutter: 16px;
  --measure: 1080px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15202b;
    --surface: #1b2935;
    --surface-raised: #1f2f3c;
    --border: #2b3d4c;
    --text: #c9d4de;
    --text-strong: #f1f5f8;
    --text-muted: #9aaab8;
    --accent: #5cc6d1;
    --accent-hover: #7ad3dc;
    --accent-on: #0f1a23;
    --brand: #5cc6d1;
    --deep: #2f7f9c;
    --brand-soft: rgba(92, 198, 209, 0.14);
    --yellow-soft: rgba(248, 192, 0, 0.16);
    --yellow-ink: #ffd65c;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.25);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: 'cv11', 'ss01';
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text-strong);
  line-height: 1.15;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: var(--accent-hover);
}

:focus-visible {
  outline: 3px solid var(--brand);
  outline-offset: 3px;
  border-radius: 6px;
}

.wrap {
  width: 100%;
  max-width: calc(var(--measure) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

@media (min-width: 720px) {
  :root {
    --gutter: 28px;
  }
}

/* ── Skip link ─────────────────────────────────────────────────────── */

.skip {
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 10;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 600;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
  color: var(--accent-on);
}

/* ── Header ────────────────────────────────────────────────────────── */

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-strong);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand:hover {
  color: var(--text-strong);
}

.brand img {
  width: 34px;
  height: 33px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
}

.site-nav a {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a[aria-current='page'] {
  color: var(--text-strong);
  background: var(--surface);
}

.site-nav .button {
  margin-left: 6px;
}

/* ── Buttons ───────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 160ms ease;
}

.button:hover {
  background: var(--accent-hover);
  color: var(--accent-on);
}

.site-nav .button {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  font-size: 0.95rem;
  color: var(--accent-on);
}

.site-nav .button:hover {
  background: var(--accent-hover);
  color: var(--accent-on);
}

.button--quiet {
  background: transparent;
  border-color: var(--border);
  color: var(--text-strong);
}

.button--quiet:hover {
  background: var(--surface);
  color: var(--text-strong);
}

/* ── Hero ──────────────────────────────────────────────────────────── */

.hero {
  padding: 40px 0 56px;
}

.hero .wrap {
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 880px) {
  .hero {
    padding: 72px 0 96px;
  }

  .hero .wrap {
    grid-template-columns: 1.25fr 1fr;
    gap: 56px;
  }
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(2.3rem, 6vw, 3.75rem);
  font-weight: 800;
}

.hero .lead {
  margin-top: 20px;
  max-width: 36em;
  font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.fine {
  margin-top: 14px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* The logo mark, large, on a soft teal field with a few "people" dots:
   drawn in SVG in the page, coloured here. */
.hero-art {
  justify-self: center;
  width: min(100%, 420px);
}

.hero-art .field {
  fill: var(--brand-soft);
}

.hero-art .ring {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2;
  stroke-dasharray: 3 9;
  stroke-linecap: round;
  opacity: 0.7;
}

.hero-art .node {
  fill: var(--surface-raised);
  stroke: var(--brand);
  stroke-width: 3;
}

.hero-art .node--yellow {
  stroke: var(--yellow);
}

.hero-art .link {
  stroke: var(--brand);
  stroke-width: 2;
  opacity: 0.55;
}

.hero-art .tile {
  fill: var(--surface-raised);
}

.hero-art .mark {
  fill: var(--yellow);
}

@media (max-width: 879px) {
  .hero-art {
    width: min(70%, 300px);
    order: -1;
  }
}

/* ── Sections ──────────────────────────────────────────────────────── */

.section {
  padding: 64px 0;
}

.section--tint {
  background: var(--surface);
}

@media (min-width: 880px) {
  .section {
    padding: 96px 0;
  }
}

.section-head {
  max-width: 40em;
  margin-bottom: 40px;
}

.section-head h2,
.split h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 750;
}

.section-head p {
  margin-top: 14px;
  font-size: 1.1rem;
}

.cards {
  display: grid;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

.card {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.card h3 {
  margin: 18px 0 8px;
  font-size: 1.2rem;
  font-weight: 700;
}

.icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--accent);
}

.icon svg {
  width: 24px;
  height: 24px;
}

/* Two audiences side by side: organisers and companies. */
.split {
  display: grid;
  gap: 20px;
}

@media (min-width: 880px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

.panel {
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.panel .eyebrow {
  margin-bottom: 10px;
}

.panel h2 {
  font-size: clamp(1.5rem, 3vw, 1.9rem);
}

.panel p {
  margin-top: 14px;
}

.ticks {
  display: grid;
  gap: 10px;
  margin: 20px 0 26px;
  padding: 0;
  list-style: none;
}

.ticks li {
  position: relative;
  padding-left: 30px;
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.panel .button {
  align-self: flex-start;
  margin-top: auto;
}

/* ── Closing call ──────────────────────────────────────────────────── */

.closing {
  padding: 72px 0;
  text-align: center;
}

.closing h2 {
  max-width: 18em;
  margin: 0 auto;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 750;
}

.closing .actions {
  justify-content: center;
}

.closing p {
  max-width: 34em;
  margin: 16px auto 0;
  font-size: 1.1rem;
}

/* ── Six cards: three across on a wide screen ──────────────────────── */

@media (min-width: 1000px) {
  .cards--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── Three audiences side by side ──────────────────────────────────── */

@media (min-width: 1000px) {
  .split--three {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ── "Coming soon" ─────────────────────────────────────────────────── */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 16px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--yellow-soft);
  color: var(--yellow-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
}

/* ── A feature: words on one side, a drawing on the other ──────────── */

.feature {
  display: grid;
  gap: 32px;
  align-items: center;
}

.feature + .feature {
  margin-top: 72px;
}

@media (min-width: 880px) {
  .feature {
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
  }

  .feature--flip {
    grid-template-columns: 1.1fr 1fr;
  }

  .feature--flip .feature-art {
    order: -1;
  }

  .feature + .feature {
    margin-top: 96px;
  }
}

.feature h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.25rem);
  font-weight: 750;
}

.feature h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.4rem);
  font-weight: 800;
}

.feature .lead {
  margin-top: 20px;
  font-size: clamp(1.08rem, 2vw, 1.2rem);
}

.feature p {
  margin-top: 14px;
}

.feature .ticks {
  margin-bottom: 0;
}

.feature .actions {
  margin-top: 28px;
}

.small {
  color: var(--text-muted);
  font-size: 0.93rem;
}

.feature-art {
  margin: 0;
}

/* A short list as small tags. */
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.chips li {
  padding: 5px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.4;
}

.section--tint .chips li {
  background: var(--surface-raised);
}

/* ── The drawings ──────────────────────────────────────────────────── */
/* Plain shapes in the page's SVG, coloured only here, so they follow
   light and dark mode. Text in them inherits the page's font. */

.art {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.art .il-frame { fill: var(--surface-raised); stroke: var(--border); stroke-width: 1.5; }
.art .il-canvas { fill: var(--surface); }
.art .il-gridline { fill: var(--border); }
.art .il-card { fill: var(--surface-raised); stroke: var(--border); stroke-width: 1.5; }
.art .il-note { fill: var(--yellow-soft); stroke: var(--border); stroke-width: 1.5; }
.art .il-ink { fill: var(--text-strong); }
.art .il-muted { fill: var(--text-muted); }
.art .il-yellow-ink { fill: var(--yellow-ink); }
.art .il-on-accent { fill: var(--accent-on); }
.art .il-line { stroke: var(--text-muted); stroke-width: 4; stroke-linecap: round; opacity: 0.35; }
.art .il-line--thin { stroke-width: 3; }
.art .il-ghost { stroke: var(--accent); stroke-width: 4; stroke-linecap: round; opacity: 0.35; stroke-dasharray: 2 7; }
.art .il-axis { stroke: var(--text-muted); stroke-width: 1.5; fill: none; }
.art .il-err { stroke: var(--text-strong); stroke-width: 1.5; fill: none; }
.art .il-bar { fill: var(--brand-soft); stroke: var(--brand); stroke-width: 1.5; }
.art .il-teal { fill: var(--brand); }
.art .il-deep { fill: var(--accent); }
.art .il-yellow { fill: var(--yellow); }
.art .il-soft { fill: var(--brand-soft); }
.art .il-yellow-soft { fill: var(--yellow-soft); }
.art .il-accent { fill: var(--accent); }
.art .il-curve { stroke: var(--brand); stroke-width: 3; fill: none; stroke-linecap: round; }
.art .il-curve--yellow { stroke: var(--yellow); }
.art .il-curve--deep { stroke: var(--accent); }
.art .il-fill-soft { fill: var(--brand-soft); }
.art .il-fill-yellow { fill: var(--yellow-soft); }
.art .il-dash { stroke: var(--accent); stroke-width: 1.5; stroke-dasharray: 5 5; fill: none; }
.art .il-gate { stroke: var(--accent); stroke-width: 2; stroke-dasharray: 6 4; fill: none; stroke-linejoin: round; }
.art .il-link { stroke: var(--accent); stroke-width: 2; fill: none; }
.art .il-arrowhead { fill: var(--accent); }
.art .il-ribbon { stroke: var(--brand); stroke-width: 7; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.art .il-ribbon--yellow { stroke: var(--yellow); }
.art .il-ribbon--deep { stroke: var(--accent); stroke-width: 4; }
.art .il-d1 { fill: var(--brand); opacity: 0.12; }
.art .il-d2 { fill: var(--brand); opacity: 0.22; }
.art .il-d3 { fill: var(--brand); opacity: 0.4; }
.art .il-d4 { fill: var(--brand); opacity: 0.7; }
.art .il-e1 { fill: var(--yellow); opacity: 0.18; }
.art .il-e2 { fill: var(--yellow); opacity: 0.35; }
.art .il-e3 { fill: var(--yellow); opacity: 0.6; }
.art .il-pill { fill: var(--surface); stroke: var(--border); stroke-width: 1.2; }
.art .il-pill--on { fill: var(--brand-soft); stroke: var(--brand); }
.art .il-over { fill: var(--yellow); }
.art .il-track { fill: var(--surface); }

/* ══ The company site, 2026-11: three pillars and motion ══════════════ */

/* The slogan's underlined words, as on the logo sheet. */
.mark {
  background: linear-gradient(transparent 87%, var(--yellow) 87%, var(--yellow) 94%, transparent 94%);
}

/* ── Header: links on a wide screen, a menu on a narrow one ────────── */

.site-header {
  position: relative;
  z-index: 5;
}

.site-nav .button--quiet,
.site-nav .button--quiet:hover {
  background: transparent;
  border-color: var(--border);
  color: var(--text-strong);
}

.site-nav .button--quiet:hover {
  background: var(--surface);
}

.menu {
  display: none;
  position: relative;
}

.menu summary {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-strong);
  cursor: pointer;
  list-style: none;
}

.menu summary::-webkit-details-marker {
  display: none;
}

.menu summary svg {
  width: 22px;
  height: 22px;
}

.menu[open] summary {
  background: var(--surface);
}

.menu ul {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 2px;
  min-width: 230px;
  margin: 0;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  list-style: none;
}

.site-nav .menu a {
  display: block;
  padding: 11px 12px;
  font-size: 1rem;
}

@media (max-width: 999px) {
  .site-nav .nav-link,
  .site-nav .nav-demo {
    display: none;
  }

  .menu {
    display: block;
  }
}

@media (max-width: 379px) {
  .site-nav .button {
    padding: 0 12px;
  }
}

/* ── Hero: the slogan and the network map ──────────────────────────── */

.hero--home h1 {
  font-size: clamp(2.2rem, 5.4vw, 3.5rem);
}

/* A hero of words alone. */
@media (min-width: 880px) {
  .hero--solo .wrap {
    grid-template-columns: 1fr;
  }
}

.hero--solo h1 {
  max-width: 17em;
}

.hero--solo .lead {
  max-width: 42em;
}

.net {
  justify-self: center;
  width: min(100%, 560px);
  height: auto;
  overflow: visible;
}

.net-blob { fill: var(--brand-soft); }
.net-blob--y { fill: var(--yellow-soft); }
.net-blob--d { fill: var(--surface); stroke: var(--border); stroke-width: 1.5; }
.net-link { stroke: var(--brand); stroke-width: 2; fill: none; opacity: 0.6; }
.net-link--y { stroke: var(--yellow); opacity: 0.9; }
.net-link--d { stroke: var(--deep); opacity: 0.5; }
.net-hub { stroke: var(--text-muted); stroke-width: 1.5; fill: none; opacity: 0.35; }
.net-cross { stroke: var(--accent); stroke-width: 2.5; fill: none; stroke-linecap: round; }
.net-signal { stroke: var(--yellow); stroke-width: 5; fill: none; stroke-linecap: round; }
.net-node { fill: var(--surface-raised); stroke: var(--brand); stroke-width: 3; }
.net-node--y { stroke: var(--yellow); }
.net-node--d { stroke: var(--deep); }
.net-ping { fill: none; stroke: var(--accent); stroke-width: 2; }
.net-tile { fill: var(--yellow); }
.net-mark { fill: #ffffff; }
.net-tag { fill: var(--surface-raised); stroke: var(--border); stroke-width: 1.2; }
.net-tag-text { fill: var(--text-muted); }
.net-why { fill: var(--surface-raised); stroke: var(--border); stroke-width: 1.2; filter: drop-shadow(0 4px 10px rgba(21, 32, 43, 0.12)); }
.net-why-dot { fill: var(--yellow); }
.net-why-text { fill: var(--text-strong); }

/* ── Who uses it ───────────────────────────────────────────────────── */

.proof {
  padding: 26px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.proof .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 28px;
}

.proof-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proof ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.proof li {
  color: var(--text-strong);
  font-weight: 650;
  font-size: 1.05rem;
}

/* ── A pillar: number, words, a moving picture ─────────────────────── */

.pillar-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pillar-kicker .badge {
  margin: 0;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 650;
  text-decoration: none;
}

.more::after {
  content: '→';
  transition: translate 160ms ease;
}

.more:hover::after {
  translate: 4px 0;
}

.feature .actions {
  align-items: center;
  gap: 12px 22px;
}

/* ── The app window the dashboards are shown in ────────────────────── */

.demo {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.9rem;
}

.demo-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.demo-bar img {
  width: 22px;
  height: 21px;
}

.demo-title {
  color: var(--text-strong);
  font-weight: 700;
}

.demo-sub {
  margin-left: auto;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.demo-tabs {
  display: flex;
  gap: 4px;
  padding: 8px 10px 0;
  border-bottom: 1px solid var(--border);
  overflow-x: auto;
}

.demo-tabs input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.demo-tabs label {
  padding: 8px 12px 10px;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.demo-tabs label:hover {
  color: var(--text-strong);
}

.demo-tabs input:checked + label {
  border-bottom-color: var(--yellow);
  color: var(--text-strong);
}

.demo-tabs input:focus-visible + label {
  outline: 3px solid var(--brand);
  outline-offset: -3px;
  border-radius: 8px;
}

.demo-panel {
  display: none;
  padding: 16px;
}

.demo:has(.tab-1:checked) .panel-1,
.demo:has(.tab-2:checked) .panel-2,
.demo:has(.tab-3:checked) .panel-3,
.demo:has(.tab-4:checked) .panel-4 {
  display: block;
}

.demo-panel svg {
  width: 100%;
  height: auto;
}

.demo-hint {
  margin-top: 12px;
  color: var(--text-muted);
  font-size: 0.88rem;
  text-align: center;
}

/* Number tiles */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 12px;
  padding: 0;
  list-style: none;
}

@media (min-width: 520px) {
  .tiles {
    grid-template-columns: repeat(4, 1fr);
  }
}

.tiles li {
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface);
}

.tiles b {
  display: block;
  color: var(--text-strong);
  font-size: 1.45rem;
  font-weight: 750;
  line-height: 1.2;
  font-variant-numeric: tabular-nums;
}

.tiles span {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* Rows of a list in a window or a phone */
.rows {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-raised);
}

.rows b {
  display: block;
  color: var(--text-strong);
  font-weight: 650;
  line-height: 1.25;
}

.rows small {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.3;
}

.rows .grow {
  flex: 1;
  min-width: 0;
}

.av {
  flex: none;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
}

.av--y {
  background: var(--yellow-soft);
  color: var(--yellow-ink);
}

.av--sq {
  border-radius: 10px;
}

.pill {
  flex: none;
  padding: 3px 9px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--accent);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill--y {
  background: var(--yellow-soft);
  color: var(--yellow-ink);
}

.pill--solid {
  background: var(--accent);
  color: var(--accent-on);
}

/* Horizontal bars */
.bars {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars li {
  display: grid;
  grid-template-columns: minmax(0, 10.5em) 1fr auto;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.84rem;
}

.bars li > span:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bars i {
  display: block;
  height: 10px;
  border-radius: 5px;
  background: var(--surface);
  overflow: hidden;
}

.bars i::before {
  content: '';
  display: block;
  width: var(--w, 50%);
  height: 100%;
  border-radius: 5px;
  background: var(--brand);
  transform-origin: left center;
}

.bars .y::before { background: var(--yellow); }
.bars .d::before { background: var(--deep); }
.w95 { --w: 95%; } .w90 { --w: 90%; } .w80 { --w: 80%; } .w70 { --w: 70%; } .w60 { --w: 60%; }
.w50 { --w: 50%; } .w40 { --w: 40%; } .w30 { --w: 30%; } .w20 { --w: 20%; } .w10 { --w: 10%; }

.bars em {
  color: var(--text-muted);
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.demo-h {
  margin: 14px 0 8px;
  color: var(--text-muted);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.demo-h:first-child {
  margin-top: 0;
}

/* ── The map in a window ───────────────────────────────────────────── */

.map .m-link { stroke: var(--text-muted); stroke-width: 1.4; fill: none; opacity: 0.35; }
.map .m-link--x { stroke: var(--accent); stroke-width: 2; opacity: 0.7; }
.map .m-node { stroke: var(--surface-raised); stroke-width: 2; }
.map .g-a { fill: var(--brand); }
.map .g-b { fill: var(--deep); }
.map .g-c { fill: var(--yellow); }
.map .g-d { fill: var(--text-muted); }
.map .m-co { fill: var(--surface-raised); stroke: var(--yellow); stroke-width: 3; }
.map .m-hub { fill: var(--surface-raised); stroke: var(--accent); stroke-width: 3; }
.map .m-label { fill: var(--text-strong); }
.map .m-sub { fill: var(--text-muted); }
.map .m-halo { fill: var(--brand-soft); }
.map .m-halo--y { fill: var(--yellow-soft); }
.map .m-signal { stroke: var(--yellow); stroke-width: 4; fill: none; stroke-linecap: round; }
.map .m-card { fill: var(--surface-raised); stroke: var(--border); stroke-width: 1.2; filter: drop-shadow(0 4px 10px rgba(21, 32, 43, 0.12)); }

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.legend li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 4px 11px;
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  font-size: 0.8rem;
  cursor: default;
}

.legend li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

.legend .lg-b::before { background: var(--deep); }
.legend .lg-c::before { background: var(--yellow); }
.legend .lg-d::before { background: var(--text-muted); }

/* ── A phone, and a walk through its screens ───────────────────────── */

.tour {
  display: grid;
  gap: 22px;
  justify-items: center;
}

@media (min-width: 480px) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

/* One column of page: room for the steps beside the phone. */
@media (min-width: 660px) and (max-width: 879px) {
  .tour {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: stretch;
    gap: 32px;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

.phone {
  position: relative;
  flex: none;
  width: 258px;
  height: 492px;
  border: 9px solid var(--text-strong);
  border-radius: 40px;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
  overflow: hidden;
  font-size: 0.8rem;
  line-height: 1.4;
}

.phone::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 50%;
  z-index: 2;
  width: 70px;
  height: 18px;
  border-radius: 10px;
  background: var(--text-strong);
  translate: -50% 0;
}

.screen {
  position: absolute;
  inset: 0 0 60px;
  padding: 40px 12px 6px;
  background: var(--surface-raised);
  opacity: 0;
}

.screen h4 {
  margin: 0 0 2px;
  color: var(--text-strong);
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.01em;
}

.screen > p {
  margin-bottom: 10px;
  color: var(--text-muted);
  font-size: 0.76rem;
}

.screen .rows {
  gap: 6px;
}

.screen .rows li {
  padding: 7px 8px;
  gap: 8px;
}

.screen .av {
  width: 30px;
  height: 30px;
}

.tabbar {
  position: absolute;
  inset: auto 8px 8px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--yellow);
}

.tabbar-pill,
.tabbar-ai {
  display: flex;
  align-items: center;
  justify-content: space-around;
  height: 46px;
  border-radius: 23px;
  background: var(--surface-raised);
  box-shadow: 0 2px 14px rgba(21, 32, 43, 0.16);
}

.tabbar-pill {
  flex: 1;
  padding: 0 6px;
}

.tabbar-ai {
  flex: none;
  width: 46px;
  color: var(--brand);
}

.tabbar svg {
  width: 21px;
  height: 21px;
}

.tabbar .on {
  display: grid;
  place-items: center;
  width: 44px;
  height: 36px;
  border-radius: 18px;
  background: var(--surface);
}

/* The event's own page, as in the app. */
.screen--event {
  padding-top: 36px;
}

.ev-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.ev-head h4 {
  flex: 1;
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.15;
}

.ev-logo {
  flex: none;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: var(--brand-soft);
  box-shadow: inset 0 0 0 2px var(--brand);
}

.ev-gear {
  color: var(--yellow);
}

.ev-gear svg {
  width: 20px;
  height: 20px;
}

.ev-quick {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin: 0 -2px 10px;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: 0.52rem;
  text-align: center;
  white-space: nowrap;
}

.ev-quick li {
  width: 42px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ev-quick span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 2px auto 4px;
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow: 0 1px 8px rgba(21, 32, 43, 0.14);
  color: var(--brand);
}

.ev-quick svg {
  width: 17px;
  height: 17px;
}

.ev-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.ev-card-head {
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}

.ev-card-head b {
  display: block;
  color: var(--text-strong);
  font-size: 0.86rem;
}

.ev-card-head small {
  color: var(--text-muted);
  font-size: 0.64rem;
}

.ev-card-head em {
  color: var(--text-strong);
  font-style: normal;
}

.ev-prog {
  margin: 0;
  padding: 0 10px;
  list-style: none;
}

.ev-prog li {
  position: relative;
  padding: 7px 0 7px 8px;
  font-size: 0.7rem;
  line-height: 1.3;
}

.ev-prog li + li {
  border-top: 1px solid var(--border);
}

.ev-prog b {
  display: block;
  color: var(--text-strong);
  font-weight: 650;
}

.ev-prog span {
  display: block;
  color: var(--brand);
  font-weight: 650;
}

.ev-prog i {
  position: absolute;
  right: 0;
  top: 6px;
  padding: 1px 7px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-style: normal;
  font-weight: 700;
}

.ev-tiles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  color: var(--text);
  font-size: 0.6rem;
  font-weight: 650;
  text-align: center;
}

.ev-tiles li {
  padding: 8px 2px;
  border-radius: 14px;
  background: var(--surface-raised);
  box-shadow: 0 1px 8px rgba(21, 32, 43, 0.14);
}

.ev-tiles svg {
  width: 19px;
  height: 19px;
  margin: 0 auto 3px;
  color: var(--brand);
}

.code {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 18px 0 14px;
}

.code b {
  display: grid;
  place-items: center;
  width: 34px;
  height: 42px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text-strong);
  font-size: 1.1rem;
  font-weight: 750;
}

.fake-button {
  display: block;
  padding: 9px 12px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-on);
  font-weight: 650;
  text-align: center;
}

.slots {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin: 8px 0 10px;
  padding: 0;
  list-style: none;
}

.slots li {
  padding: 7px 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-weight: 600;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.slots .taken {
  color: var(--text-muted);
  text-decoration: line-through;
  opacity: 0.6;
}

.slots .picked {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-on);
}

.poster-thumb {
  display: grid;
  place-items: center;
  height: 150px;
  margin-bottom: 10px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}

.poster-thumb svg {
  width: 78%;
  height: auto;
}

.stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin: 8px 0 10px;
  color: var(--yellow);
  font-size: 1.5rem;
  line-height: 1;
}

.stars .off {
  color: var(--border);
}

/* The steps beside the phone: pick one, or let it play. */
.steps {
  display: grid;
  gap: 8px;
  width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.steps label {
  display: block;
  position: relative;
  padding: 12px 14px 12px 50px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--surface-raised);
  cursor: pointer;
  counter-increment: step;
}

.steps label::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
}

.steps label b {
  display: block;
  color: var(--text-strong);
  font-weight: 650;
}

.steps label span {
  display: block;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.steps input:focus-visible + label {
  outline: 3px solid var(--brand);
  outline-offset: 2px;
}

.steps li:last-child {
  grid-column: 1 / -1;
}

.steps .replay {
  display: none;
  padding: 4px 2px;
  border: 0;
  background: none;
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 650;
}

.steps .replay::before {
  content: none;
}

.tour:not(:has(.pick-0:checked)) .replay {
  display: block;
}

/* A picked step: its screen, its label. */
.tour:has(.pick-0:checked) .screen-1,
.tour:has(.pick-1:checked) .screen-1,
.tour:has(.pick-2:checked) .screen-2,
.tour:has(.pick-3:checked) .screen-3,
.tour:has(.pick-4:checked) .screen-4 {
  opacity: 1;
}

.tour:has(.pick-0:checked) .label-1,
.steps input:checked + label {
  border-color: var(--accent);
}

.tour:has(.pick-0:checked) .label-1::before,
.steps input:checked + label::before {
  background: var(--yellow);
  color: #15202b;
}

/* ── Three doors on the home page ──────────────────────────────────── */

.doors {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 880px) {
  .doors {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

.door {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
  color: var(--text);
  text-decoration: none;
  transition: translate 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}

.door:hover {
  border-color: var(--yellow);
  box-shadow: var(--shadow);
  color: var(--text);
  translate: 0 -3px;
}

.door h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
  font-weight: 700;
}

.door .more {
  margin-top: auto;
  padding-top: 16px;
  color: var(--accent);
}

/* ── The yellow band ───────────────────────────────────────────────── */

.band {
  padding: 64px 0;
  background: var(--yellow);
  color: #15202b;
  text-align: center;
}

.band h2 {
  max-width: 20em;
  margin: 0 auto;
  color: #15202b;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
}

.band p {
  max-width: 36em;
  margin: 16px auto 0;
  font-size: 1.1rem;
}

.band .actions {
  justify-content: center;
}

.band .button {
  background: #15202b;
  color: #ffffff;
}

.band .button:hover {
  background: #000000;
  color: #ffffff;
}

.band .button--quiet {
  background: transparent;
  border-color: #15202b;
  color: #15202b;
}

.band .button--quiet:hover {
  background: rgba(21, 32, 43, 0.1);
  color: #15202b;
}

.band :focus-visible {
  outline-color: #15202b;
}

/* ── Company facts, footer ─────────────────────────────────────────── */

.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 20px;
  margin: 16px 0 0;
}

.facts dt {
  color: var(--text-muted);
}

.facts dd {
  margin: 0;
  color: var(--text-strong);
  font-weight: 600;
}

.motion-off {
  display: none;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  cursor: pointer;
}

.motion-off input {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

/* ══ Motion ══════════════════════════════════════════════════════════ */
/* Without motion (the visitor's setting, the switch in the footer, an
   older browser) every drawing is simply shown complete. With it:
   .on-load drawings build once when the page opens; .on-scroll drawings
   build as they scroll into view, where the browser can tie an animation
   to scrolling; a few details keep moving quietly. Steps .s0–.s14 set
   the order. No script anywhere. */

.s0 { --s: 0; } .s1 { --s: 1; } .s2 { --s: 2; } .s3 { --s: 3; } .s4 { --s: 4; }
.s5 { --s: 5; } .s6 { --s: 6; } .s7 { --s: 7; } .s8 { --s: 8; } .s9 { --s: 9; }
.s10 { --s: 10; } .s11 { --s: 11; } .s12 { --s: 12; } .s13 { --s: 13; } .s14 { --s: 14; }

.amb-travel,
.amb-pulse,
.cyc {
  opacity: 0;
}

.cyc.c1 {
  opacity: 1;
}

.rv-pop,
.amb-pulse {
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes rv-rise {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}

@keyframes rv-pop {
  from { opacity: 0; scale: 0.4; }
  to { opacity: 1; scale: 1; }
}

@keyframes rv-draw {
  from { stroke-dasharray: 1; stroke-dashoffset: 1; }
  to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}

@keyframes rv-grow {
  from { scale: 0 1; }
  to { scale: 1 1; }
}

@keyframes amb-pulse {
  0% { opacity: 0.55; scale: 1; }
  70%, 100% { opacity: 0; scale: 2.3; }
}

@keyframes amb-travel {
  0% { opacity: 0; stroke-dashoffset: 1; }
  4%, 30% { opacity: 1; }
  34%, 100% { opacity: 0; stroke-dashoffset: 0.12; }
}

@keyframes amb-drift {
  0%, 100% { translate: 0 0; }
  30% { translate: -46px -30px; }
  60% { translate: -110px 14px; }
  80% { translate: -30px 26px; }
}

@keyframes amb-blink {
  0%, 60%, 100% { opacity: 1; }
  30% { opacity: 0.35; }
}

@keyframes cyc-3 {
  0% { opacity: 0; translate: 0 6px; }
  4%, 30% { opacity: 1; translate: 0 0; }
  34%, 100% { opacity: 0; translate: 0 0; }
}

@keyframes cyc-4 {
  0% { opacity: 0; }
  2.5%, 24.5% { opacity: 1; }
  25.5%, 100% { opacity: 0; }
}

@keyframes cyc-4-label {
  0%, 25% { border-color: var(--accent); }
  28%, 100% { border-color: var(--border); }
}

@keyframes cyc-4-dot {
  0%, 25% { background: var(--yellow); color: #15202b; }
  28%, 100% { background: var(--surface); color: var(--text-muted); }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-off {
    display: inline-flex;
  }

  /* Built as it scrolls into view. */
  @supports (animation-timeline: view()) {
    .on-scroll {
      view-timeline-name: --fig;
      view-timeline-axis: block;
    }

    .on-scroll .rv { animation: rv-rise linear both; }
    .on-scroll .rv-pop { animation: rv-pop linear both; }
    .on-scroll .rv-draw { animation: rv-draw linear both; }
    .on-scroll .rv-grow::before { animation: rv-grow linear both; }

    .on-scroll .rv,
    .on-scroll .rv-pop,
    .on-scroll .rv-draw,
    .on-scroll .rv-grow::before {
      animation-timeline: --fig;
      animation-range: cover calc(6% + var(--s, 0) * 2.2%) cover calc(20% + var(--s, 0) * 2.2%);
    }
  }

  /* Built once, when the page opens. */
  .on-load .rv { animation: rv-rise 620ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }
  .on-load .rv-pop { animation: rv-pop 520ms cubic-bezier(0.2, 1.4, 0.4, 1) both; }
  .on-load .rv-draw { animation: rv-draw 800ms ease-out both; }
  .on-load .rv-grow::before { animation: rv-grow 900ms cubic-bezier(0.2, 0.7, 0.2, 1) both; }

  .on-load .rv,
  .on-load .rv-pop,
  .on-load .rv-draw,
  .on-load .rv-grow::before {
    animation-delay: calc(var(--s, 0) * 150ms + 150ms);
  }

  /* Quiet movement that keeps going. */
  .amb-pulse { animation: amb-pulse 3s ease-out 2.6s infinite; }
  .amb-pulse.amb-2 { animation-delay: 3.6s; }
  .amb-pulse.amb-3 { animation-delay: 4.6s; }

  .amb-travel {
    stroke-dasharray: 0.12 0.88;
    animation: amb-travel 12s linear 2.5s infinite;
  }

  .amb-travel.amb-2 { animation-delay: 6.5s; }
  .amb-travel.amb-3 { animation-delay: 10.5s; }

  .amb-drift { animation: amb-drift 9s ease-in-out infinite; }
  .amb-blink { animation: amb-blink 1.6s ease-in-out infinite; }

  /* One reason at a time. */
  .cyc,
  .cyc.c1 {
    opacity: 0;
    animation: cyc-3 12s linear 2.5s infinite;
  }

  .cyc.c2 { animation-delay: 6.5s; }
  .cyc.c3 { animation-delay: 10.5s; }

  /* The phone plays through its screens until a step is picked. */
  .tour:has(.pick-0:checked) .screen {
    opacity: 0;
    animation: cyc-4 16s linear infinite;
  }

  .tour:has(.pick-0:checked) .steps .label-1,
  .tour:has(.pick-0:checked) .steps .step-label {
    border-color: var(--border);
    animation: cyc-4-label 16s linear infinite;
  }

  .tour:has(.pick-0:checked) .steps .step-label::before {
    background: var(--surface);
    color: var(--text-muted);
    animation: cyc-4-dot 16s linear infinite;
  }

  .tour:has(.pick-0:checked) .screen-2,
  .tour:has(.pick-0:checked) .steps .label-2,
  .tour:has(.pick-0:checked) .steps .label-2::before { animation-delay: 4s; }
  .tour:has(.pick-0:checked) .screen-3,
  .tour:has(.pick-0:checked) .steps .label-3,
  .tour:has(.pick-0:checked) .steps .label-3::before { animation-delay: 8s; }
  .tour:has(.pick-0:checked) .screen-4,
  .tour:has(.pick-0:checked) .steps .label-4,
  .tour:has(.pick-0:checked) .steps .label-4::before { animation-delay: 12s; }

  /* The switch in the footer: everything shown complete and still. */
  body:has(#motion-off:checked) *,
  body:has(#motion-off:checked) *::before {
    animation: none !important;
  }

  body:has(#motion-off:checked) .cyc.c1,
  body:has(#motion-off:checked) .tour:has(.pick-0:checked) .screen-1 {
    opacity: 1;
  }

  body:has(#motion-off:checked) .tour:has(.pick-0:checked) .steps .label-1 {
    border-color: var(--accent);
  }

  body:has(#motion-off:checked) .tour:has(.pick-0:checked) .steps .label-1::before {
    background: var(--yellow);
    color: #15202b;
  }
}

.art-mini .pm-band { fill: var(--accent); }
.art-mini .pm-box { fill: var(--surface-raised); stroke: var(--border); stroke-width: 1.2; }
.art-mini .pm-line { stroke: var(--text-muted); stroke-width: 3; stroke-linecap: round; opacity: 0.35; fill: none; }
.art-mini .pm-curve { stroke: var(--brand); stroke-width: 3; stroke-linecap: round; fill: none; }

.demo-panel.shown {
  display: block;
}

.demo-tabs--still span {
  padding: 8px 12px 10px;
  border-bottom: 3px solid transparent;
  color: var(--text-muted);
  font-weight: 600;
}

.demo-tabs--still .on {
  border-bottom-color: var(--yellow);
  color: var(--text-strong);
}

.legend--plain li {
  border: 0;
  padding-left: 0;
}

.legend .lg-diamond::before {
  border-radius: 0;
  rotate: 45deg;
}

.legend .lg-line::before {
  width: 18px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
}

.card--plain h3 {
  margin-top: 0;
}

.feature-art figcaption {
  margin-top: 12px;
}

/* ── Plain pages: about, privacy, 404 ──────────────────────────────── */

.page {
  padding: 40px 0 80px;
}

@media (min-width: 880px) {
  .page {
    padding: 64px 0 112px;
  }
}

.prose {
  max-width: 44rem;
}

.prose h1 {
  font-size: clamp(2.1rem, 5vw, 3rem);
  font-weight: 800;
}

.prose .lead {
  margin-top: 18px;
  font-size: 1.2rem;
}

.prose h2 {
  margin: 48px 0 12px;
  font-size: 1.5rem;
  font-weight: 700;
}

.prose h3 {
  margin: 28px 0 8px;
  font-size: 1.12rem;
  font-weight: 700;
}

.prose p + p,
.prose ul + p,
.prose p + ul {
  margin-top: 14px;
}

.prose ul {
  padding-left: 1.25em;
}

.prose li + li {
  margin-top: 6px;
}

.updated {
  margin-top: 10px;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.team {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding: 0;
  list-style: none;
}

@media (min-width: 720px) {
  .team {
    grid-template-columns: 1fr 1fr;
  }
}

.person {
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface-raised);
}

.person img {
  width: 112px;
  height: 112px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--surface);
}

.person h3 {
  margin: 18px 0 2px;
  font-size: 1.2rem;
}

.person .role {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
}

.person p + p {
  margin-top: 12px;
}

.notfound {
  text-align: center;
}

.notfound .prose {
  margin: 0 auto;
}

.notfound .actions {
  justify-content: center;
}

/* ── Footer ────────────────────────────────────────────────────────── */

.site-footer {
  padding: 40px 0 48px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer .wrap {
  display: grid;
  gap: 22px;
}

@media (min-width: 720px) {
  .site-footer .wrap {
    grid-template-columns: 1fr auto;
    align-items: start;
  }
}

.site-footer .brand {
  font-size: 1rem;
}

.site-footer .brand img {
  width: 26px;
  height: 25px;
}

.site-footer p {
  margin-top: 10px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-links a {
  color: var(--text);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

@media print {
  .site-header .site-nav,
  .skip,
  .hero-art {
    display: none;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* ══ Polish, after the app's own look (2026-11-22) ════════════════════
   White surfaces that float on soft shadows, round icon buttons, teal
   icons and yellow accents — the event page's design, carried over. */

:root {
  --radius: 24px;
  --card-border: transparent;
  --shadow: 0 1px 2px rgba(21, 32, 43, 0.04), 0 12px 32px rgba(21, 32, 43, 0.08);
  --shadow-soft: 0 1px 3px rgba(21, 32, 43, 0.05), 0 4px 16px rgba(21, 32, 43, 0.07);
}

@media (prefers-color-scheme: dark) {
  :root {
    --card-border: var(--border);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 32px rgba(0, 0, 0, 0.28);
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.3), 0 4px 16px rgba(0, 0, 0, 0.22);
  }
}

[id] {
  scroll-margin-top: 96px;
}

/* ── Header: stays with you, lightly frosted ───────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--bg) 84%, transparent);
  -webkit-backdrop-filter: saturate(1.5) blur(14px);
  backdrop-filter: saturate(1.5) blur(14px);
}

.site-header .wrap {
  min-height: 68px;
}

.site-nav a {
  border-radius: 999px;
  padding: 8px 14px;
}

.site-nav a[aria-current='page'] {
  background: var(--brand-soft);
  color: var(--accent);
}

/* ── Buttons ───────────────────────────────────────────────────────── */

.button {
  min-height: 46px;
  padding: 0 22px;
  box-shadow: 0 1px 2px rgba(21, 32, 43, 0.12);
  transition: background-color 160ms ease, translate 160ms ease, box-shadow 160ms ease;
}

.button:hover {
  box-shadow: 0 6px 16px rgba(6, 97, 129, 0.22);
  translate: 0 -1px;
}

.button--quiet,
.site-nav .button--quiet {
  background: var(--surface-raised);
  border-color: var(--border);
  box-shadow: none;
}

.button--quiet:hover {
  box-shadow: var(--shadow-soft);
}

/* ── Hero ──────────────────────────────────────────────────────────── */

/* The yellow glow at the top right only (owner, 2026-11-30: the teal one at
   the top left taken out). */
.hero {
  background: radial-gradient(40% 60% at 92% 6%, var(--yellow-soft), transparent 72%);
}

.hero h1 {
  letter-spacing: -0.03em;
}

.hero--center {
  padding: 64px 0 48px;
  text-align: center;
}

@media (min-width: 880px) {
  .hero--center {
    padding: 104px 0 64px;
  }
}

.hero--center h1,
.hero--center .lead {
  margin-left: auto;
  margin-right: auto;
}

.hero--center .actions {
  justify-content: center;
}

/* Three round doors under the headline, like the app's shortcuts. */
.quick {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 6vw, 56px);
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
}

.quick a {
  display: grid;
  justify-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}

.quick span {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  color: var(--brand);
  transition: translate 180ms ease, box-shadow 180ms ease;
}

.quick svg {
  width: 28px;
  height: 28px;
}

.quick a:hover {
  color: var(--text-strong);
}

.quick a:hover span {
  box-shadow: var(--shadow);
  translate: 0 -3px;
}

.quick small {
  display: block;
  color: var(--yellow-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Who uses it ───────────────────────────────────────────────────── */

.proof {
  padding: 30px 0;
  border: 0;
  background: var(--surface);
}

.proof .wrap {
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.proof ul {
  justify-content: center;
  gap: 10px;
}

.proof li {
  padding: 9px 18px;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  font-size: 0.98rem;
}

/* ── Sections and cards ────────────────────────────────────────────── */

.section-head {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head .pillar-kicker {
  justify-content: center;
}

.card,
.panel,
.person,
.door,
.demo {
  border-color: var(--card-border);
  box-shadow: var(--shadow-soft);
}

.card {
  padding: 28px;
  transition: translate 200ms ease, box-shadow 200ms ease;
}

.card:hover {
  box-shadow: var(--shadow);
  translate: 0 -2px;
}

.demo {
  box-shadow: var(--shadow);
}

.icon {
  width: 52px;
  height: 52px;
  border: 1px solid var(--card-border);
  border-radius: 50%;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  color: var(--brand);
}

.section--tint .icon {
  background: var(--surface);
  box-shadow: none;
}

.door:hover {
  border-color: var(--card-border);
}

.steps label {
  border-color: var(--card-border);
  box-shadow: var(--shadow-soft);
  border-width: 1.5px;
}

.art {
  box-shadow: var(--shadow);
}

/* Ticks become checks. */
.ticks li::before {
  top: 0.3em;
  left: 0;
  width: 20px;
  height: 20px;
  background: var(--brand-soft);
  box-shadow: none;
}

.ticks li::after {
  content: '';
  position: absolute;
  left: 7px;
  top: calc(0.3em + 4px);
  width: 5px;
  height: 9px;
  border: solid var(--accent);
  border-width: 0 2px 2px 0;
  rotate: 45deg;
}

/* ── The phone, with the app's real screens ────────────────────────── */

/* Whole-screen captures of the app (2026-11-30), its light look and its
   dark one, shown as the site is: each screen a <picture> whose dark
   source the browser takes in dark mode. Fictional names (README). */
.phone {
  height: 538px;
  border: 9px solid #0b1117;
  border-radius: 42px;
}

.phone::before {
  z-index: 5;
  background: #0b1117;
}

/* On the site's dark page a black frame is lost: an edge it shows on. */
@media (prefers-color-scheme: dark) {
  .phone {
    border-color: #2b3d4c;
  }
}

/* A screenshot fills the screen: the capture's status bar under the
   phone's top edge, the app's own tab bar at its foot. */
.screen--shot {
  inset: 0;
  z-index: 3;
  padding: 0;
}

.screen--shot picture {
  display: block;
  height: 100%;
}

.screen--shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* ── The yellow band, as a card ────────────────────────────────────── */

.band {
  padding: 0 var(--gutter) 80px;
  background: none;
}

.band .wrap {
  max-width: var(--measure);
  padding: 56px 24px;
  border-radius: 32px;
  background: var(--yellow);
  box-shadow: var(--shadow-soft);
}

.section + .band,
.section--tint + .band {
  padding-top: 72px;
}

/* ── Footer ────────────────────────────────────────────────────────── */

.site-footer {
  padding: 56px 0 32px;
  background: var(--surface);
  border-top: 0;
}

.site-footer .wrap {
  display: grid;
  gap: 32px;
}

/* The logo, then the two lists side by side; on a computer three even
   columns (owner, 2026-11-30: the slogan under the logo was taken out, and
   the logo's column no longer needs the room). */
.site-footer .wrap {
  grid-template-columns: 1fr 1fr;
}

.site-footer .wrap > div:first-child {
  grid-column: 1 / -1;
}

@media (min-width: 720px) {
  .site-footer .wrap {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .site-footer .wrap > div:first-child {
    grid-column: auto;
  }
}

.site-footer h2 {
  margin-bottom: 12px;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-links {
  flex-direction: column;
  gap: 8px;
}

.footer-legal {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.footer-legal p,
.footer-legal .motion-off {
  margin: 0;
}

@media print {
  .site-header {
    position: static;
  }
}

/* ── The co-authorship graph, as the dashboard draws it ─────────────── */
/* People on a ring, coloured by research field and sized by their
   links; a curved line is shared papers, thicker for more of them. */

.map .m-arc { fill: none; stroke: var(--text-muted); opacity: 0.24; stroke-linecap: round; }
.map .m-dot { stroke: var(--surface-raised); stroke-width: 1.5; transition: opacity 200ms ease; }
.map .n-teal { fill: #4ec9d0; }
.map .n-pink { fill: #f0749f; }
.map .n-blue { fill: #5b8dea; }

.legend .lg-teal::before { background: #4ec9d0; }
.legend .lg-pink::before { background: #f0749f; }
.legend .lg-blue::before { background: #5b8dea; }

/* The legend is a key to the colours, not a control (owner, 2026-11-30:
   pointing at it dimmed the map, and a click did nothing). */

/* ── One page for the three parts (2026-11-29) ─────────────────────── */

/* The phone alone (owner, 2026-11-29: no steps beside it, no voting
   screen): its three real screens in turn, the first when still. */
.tour .screen {
  opacity: 0;
}

.tour .screen-1 {
  opacity: 1;
}

@keyframes cyc-3-screen {
  0% { opacity: 0; }
  2.5%, 31% { opacity: 1; }
  34.5%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: no-preference) {
  .tour .screen {
    animation: cyc-3-screen 12s linear infinite;
  }

  .tour .screen-2 {
    animation-delay: 4s;
  }

  .tour .screen-3 {
    animation-delay: 8s;
  }

  /* The switch in the footer: the first screen, still. */
  body:has(#motion-off:checked) .tour .screen {
    animation: none;
  }

  body:has(#motion-off:checked) .tour .screen-1 {
    opacity: 1;
  }
}

/* The real project board, from screenshots (owner, 2026-11-30): its
   light look, or its dark one in dark mode (a <picture>). */
.board-shot {
  display: block;
  width: 100%;
  max-width: 560px;
  height: auto;
  margin-inline: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

/* ── The dashboard window: one height whatever tab is open ────────────── */

/* Its panels share one cell, so the window is as tall as the tallest of
   them and stays so as the tabs change — and the words centred beside it
   stay where they are (owner, 2026-11-30: they jumped up and down). The
   panels not shown are hidden in place; their builds wait (no animation)
   and play as their tab opens, as they did before. */
.demo:has(.demo-tabs input) {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.demo:has(.demo-tabs input) > .demo-panel {
  display: block;
  grid-row: 3;
  grid-column: 1;
}

.demo:has(.tab-1:checked) > .demo-panel:not(.panel-1),
.demo:has(.tab-2:checked) > .demo-panel:not(.panel-2),
.demo:has(.tab-3:checked) > .demo-panel:not(.panel-3) {
  visibility: hidden;
}

.demo:has(.tab-1:checked) > .demo-panel:not(.panel-1) :is(.rv, .rv-pop, .rv-draw),
.demo:has(.tab-2:checked) > .demo-panel:not(.panel-2) :is(.rv, .rv-pop, .rv-draw),
.demo:has(.tab-3:checked) > .demo-panel:not(.panel-3) :is(.rv, .rv-pop, .rv-draw),
.demo:has(.tab-1:checked) > .demo-panel:not(.panel-1) .rv-grow::before,
.demo:has(.tab-2:checked) > .demo-panel:not(.panel-2) .rv-grow::before,
.demo:has(.tab-3:checked) > .demo-panel:not(.panel-3) .rv-grow::before {
  animation-name: none;
}

/* A person on /about/ without a photo yet: their initials, in a circle the
   size of the photos. */
.person-initials {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border-radius: 50%;
  background: var(--brand-soft);
  color: var(--accent);
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* /about/ across the page's whole width, as the home page is (owner,
   2026-11-30), its lines still short enough to read: "Why we built it"
   with its heading beside the words, the three people side by side, and
   the contact, the company and where POSTR is used in three columns. */
.page--about .prose {
  max-width: none;
}

.page--about .about-intro .lead {
  max-width: 46rem;
}

.about-team h2 {
  margin-bottom: 0;
}

.page--about .team {
  margin-top: 20px;
}

.about-facts {
  display: grid;
  gap: 0 40px;
}

.about-facts h2 {
  margin-top: 48px;
}

/* The people one above the other (owner, 2026-11-30), each card split as
   "Why we built it" is: photo, name and role in the left third, the words
   in the right two thirds — and those words start where the paragraphs
   above start (the card's 26 px padding taken off its first column). */
.page--about .team {
  grid-template-columns: minmax(0, 1fr);
}

.page--about .person-text {
  margin-top: 12px;
}

@media (min-width: 880px) {
  .about-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 40px;
    align-items: start;
  }

  .about-split > div > p:first-child {
    margin-top: 48px;
  }

  .page--about .person {
    display: grid;
    grid-template-columns: calc((100% + 12px) / 3 - 26px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }

  .page--about .person-text {
    margin-top: 0;
  }

  .about-facts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* The dashboard window stands out from a white page all round — its top
   too, where the shadow is faint (owner, 2026-11-30): a hairline ring under
   the shadow. In dark mode its border does that already. */
.demo {
  box-shadow: 0 0 0 1px rgba(21, 32, 43, 0.08), var(--shadow);
}

@media (prefers-color-scheme: dark) {
  .demo {
    box-shadow: var(--shadow);
  }
}

