/* IRL.OS marketing site. One typeface, near-white canvas, black ink, hairlines.
   Colour is kept for the product illustrations: the coral of the IRL.OS mark, and the
   violet of the member app, which appears only on app surfaces. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/fonts/inter-latin-var.woff2") format("woff2");
}

:root {
  --bg: #fdfdfc;
  --surface: #f5f4f1;
  --ink: #111110;
  --muted: #5f5c56;
  --quiet: #76726b;
  --line: #e6e4df;
  --line-strong: #cfccc5;
  --coral: #e4572e;
  --coral-ink: #b03c1a;
  --coral-tint: #fbe9e2;
  --app: #5b5cff;
  --app-tint: #ececff;
  --app-bg: #f7f3ec;
  --wrap: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3.5rem);
  /* phones: 52px above and below a section (72px read as an empty band between sections on a small screen) */
  --space: clamp(3.25rem, 9vw, 8.5rem);
  color-scheme: light;
}

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

html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 5rem; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  line-height: 1.55;
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  /* A short page (the 404) still ends with the footer at the bottom of the window. */
  min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column;
}
main { flex: 1 0 auto; }

h1, h2, h3, h4, p, ul, ol, dl, dd, figure, table, fieldset { margin: 0; padding: 0; }
ul, ol { list-style: none; }
fieldset { border: 0; min-width: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }

h1, h2, h3 { font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
h1 { font-size: clamp(2.15rem, 1.2rem + 3.6vw, 3.5rem); line-height: 1.08; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.9vw, 2.4rem); line-height: 1.14; }
h3 { font-size: 1.125rem; line-height: 1.35; letter-spacing: -0.01em; }
p { text-wrap: pretty; }

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

/* A short hyphenated compound ("check-in", "no-show"): never broken at its hyphen. Set by the controller.
   The span makes no box of its own (display: contents), so inside a flex or grid container it does not become
   an item of its own and split the sentence; its text still inherits nowrap. */
.nw { display: contents; white-space: nowrap; }

.sr {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--gutter); top: -4rem; z-index: 20;
  padding: .6rem .9rem; background: var(--ink); color: #fff; border-radius: 6px;
}
.skip:focus { top: .75rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Text ---------------------------------------------------------------- */

.lead { font-size: clamp(1.05rem, .98rem + .35vw, 1.2rem); line-height: 1.6; color: var(--muted); }
.muted { color: var(--muted); }
.small { font-size: .875rem; line-height: 1.5; }
.label { font-size: .9375rem; line-height: 1.5; color: var(--muted); font-weight: 400; letter-spacing: 0; }
.num { font-size: .875rem; color: var(--quiet); font-variant-numeric: tabular-nums; }

.link {
  text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: .22em; text-decoration-color: var(--line-strong);
}
.link:hover { text-decoration-color: currentColor; }

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.75rem; padding: .7rem 1.15rem;
  border: 1px solid var(--ink); border-radius: 6px;
  background: transparent; color: var(--ink);
  font: inherit; font-size: .9375rem; font-weight: 500; line-height: 1.2;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}
.btn:hover { background: var(--ink); color: #fff; }
.btn-solid { background: var(--ink); color: #fff; }
.btn-solid:hover { background: #33312d; border-color: #33312d; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; }

/* Header -------------------------------------------------------------- */

.site-header { position: sticky; top: 0; z-index: 10; background: var(--bg); border-bottom: 1px solid transparent; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 4.25rem; }

.brand { display: inline-flex; align-items: center; gap: .6rem; font-weight: 600; font-size: 1.0625rem; letter-spacing: -0.01em; text-decoration: none; }
.brand img { width: 1.75rem; height: 1.75rem; }

.nav { display: flex; align-items: center; gap: clamp(1rem, 2.2vw, 1.9rem); }
.nav a:not(.btn) { font-size: .9375rem; text-decoration: none; padding-block: .5rem; }
.nav a:not(.btn):hover, .nav a[aria-current="page"]:not(.btn) { text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.nav .btn { min-height: 2.5rem; padding-block: .55rem; }

.menu { display: none; }
.menu summary { list-style: none; cursor: pointer; font-size: .9375rem; padding: .6rem 0 .6rem .75rem; text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; }
.menu summary::-webkit-details-marker { display: none; }
.menu-close, .menu[open] .menu-open { display: none; }
.menu[open] .menu-close { display: inline; }
.menu-panel {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--bg); border-bottom: 1px solid var(--line);
  padding: .5rem var(--gutter) 1.5rem;
}
.menu-panel a:not(.btn) { display: block; padding: .85rem 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 1.0625rem; }
.menu-panel li:first-child a { border-top: 0; }
.menu-panel .btn { width: 100%; margin-top: 1rem; }

@media (max-width: 54rem) {
  .nav { display: none; }
  .menu { display: block; }
  .site-header .wrap { min-height: 3.75rem; }
  .menu-panel { height: calc(100vh - 3.75rem); height: calc(100dvh - 3.75rem); overflow-y: auto; overscroll-behavior: contain; border-bottom: 0; }
  html:has(.menu[open]) { overflow: hidden; }
}

/* Sections ------------------------------------------------------------ */

main > section { padding-block: var(--space); }
/* Opaque on the canvas: on the home page the story's 3D stage is fixed behind the page and shows only through the story block. */
main > section:not(.story) { position: relative; z-index: 1; background: var(--bg); }
main > section + section:not(.story) { border-top: 1px solid var(--line); }
main > .story + section { border-top: 0; }
main > .hero { padding-block: clamp(2.5rem, 6vw, 5.5rem) var(--space); }
main > .tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
main > .hero.compact { padding-bottom: clamp(3rem, 6vw, 5rem); }
.hero.compact .pricing { margin-top: clamp(2.5rem, 5vw, 4rem); }

.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem); row-gap: 2.5rem; }
.col-text { grid-column: 1 / span 5; }
.col-media { grid-column: 7 / span 6; }
.col-wide { grid-column: 1 / span 8; }
.col-side { grid-column: 1 / span 4; }
.col-main { grid-column: 6 / span 7; }
.flip .col-text { grid-column: 8 / span 5; grid-row: 1; }
.flip .col-media { grid-column: 1 / span 6; grid-row: 1; }
.center { align-items: center; }

@media (max-width: 60rem) {
  .col-text, .col-media, .col-wide, .col-side, .col-main,
  .flip .col-text, .flip .col-media { grid-column: 1 / -1; grid-row: auto; }
}

.stack > * + * { margin-top: 1.25rem; }
.stack > h2 + *, .stack > h1 + * { margin-top: 1.5rem; }
.stack > .btn-row { margin-top: 2rem; }
.section-head { max-width: 44rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head > * + * { margin-top: 1.25rem; }

/* Hero ---------------------------------------------------------------- */

.hero-grid { display: grid; gap: clamp(2.75rem, 6vw, 4rem); align-items: center; }
.hero-copy { max-width: 46rem; }
.hero-copy > * + * { margin-top: 1.5rem; }
.hero-copy .btn-row { margin-top: 2.25rem; }
/* without self-service the hero has one button and a quiet link to the plans; 44px to tap */
.hero-link { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .5rem; font-size: .9375rem; }
/* the hero ends with its buttons; one quiet line of proof under them, no price, no marker */
.hero-copy > .hero-proof { margin-top: 1.5rem; text-wrap: balance; font-size: .875rem; color: var(--muted); }
@media (min-width: 64rem) {
  .hero-grid { grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); column-gap: clamp(3rem, 5vw, 4.5rem); }
  .hero-grid h1 { font-size: clamp(2.5rem, 1rem + 3vw, 3.4rem); }
}

.crumbs { font-size: .875rem; color: var(--muted); margin-bottom: 1.75rem; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; text-underline-offset: .25em; }

/* Feature sections: text on one side, its illustration on the other ---- */

.split { display: grid; gap: clamp(2.5rem, 6vw, 3.5rem); align-items: center; }
.split-text > * + * { margin-top: 1.25rem; }
.split-text > h2 + * { margin-top: 1.5rem; }
.split-text > .ticks { margin-top: 1.75rem; }
.split-text .note { margin-top: 1.5rem; }
@media (min-width: 64rem) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); column-gap: clamp(3rem, 5.5vw, 5.5rem); }
  .split.flip { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
  .split.flip > .split-text { order: 2; }
  /* Two phones need more room than one card: this one stays stacked until there is enough. */
  .split.split-wide { grid-template-columns: minmax(0, 1fr); }
  .split.split-wide > .split-text { order: 0; max-width: 44rem; }
}
/* A long list next to one stage (ownership). Below 75rem one column: heading, the stage, then the list,
   which runs in two columns from 40rem. From 75rem the stage stands beside the list and is exactly as
   tall as heading and list together, so no empty column is left next to the list at any width. */
.split.split-top { grid-template-columns: minmax(0, 1fr); row-gap: 0; align-items: start; }
.split-top > .split-text { display: contents; }
.split-top > .split-text > .label { order: 1; }
.split-top > .split-text > h2 { order: 2; }
.split-top > .ill { order: 3; margin-top: 2rem; }
.split-top > .split-text > .owned { order: 4; }
@media (min-width: 40rem) and (max-width: 74.99rem) {
  .split-top .owned { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .split-top .owned > div { grid-template-columns: minmax(0, 1fr); align-content: start; row-gap: .2rem; }
}
@media (min-width: 75rem) {
  .split.split-top { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: auto auto 1fr; }
  .split-top > .split-text > * { grid-column: 1; }
  .split-top > .split-text > .label { grid-row: 1; }
  .split-top > .split-text > h2 { grid-row: 2; }
  .split-top > .split-text > .owned { grid-row: 3; }
  .split-top > .ill { grid-column: 2; grid-row: 1 / 4; align-self: stretch; margin-top: 0; }
}
@media (min-width: 76rem) {
  .split.split-wide { grid-template-columns: minmax(0, 7fr) minmax(0, 4.6fr); }
  .split.split-wide > .split-text { order: 2; }
}

/* A section that breaks the left-right run: heading, one stage, its points in a row. */
.showcase > .section-head { max-width: 46rem; margin-inline: auto; text-align: center; }
.showcase > .ill { max-width: 54rem; margin-inline: auto; }
.ticks.ticks-row { display: grid; gap: .55rem; max-width: 54rem; margin: clamp(2rem, 4vw, 3rem) auto 0; }
.ticks.ticks-row > li + li { margin-top: 0; }
@media (min-width: 60rem) { .ticks.ticks-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem; } }
/* 4: on a phone the heading reads from the left like every other section. */
@media (max-width: 40rem) { .showcase > .section-head { margin-inline: 0; text-align: left; } }

/* Home: text sections (no pictures) --------------------------------------- */

.see-as { margin-bottom: 1.25rem; font-size: .9375rem; color: var(--muted); }
.text-split { display: grid; gap: 2rem clamp(2rem, 5vw, 5rem); }
.text-split-head > * + * { margin-top: 1.25rem; }
.text-split-head > h2 + * { margin-top: 1.5rem; }
@media (min-width: 64rem) { .text-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: start; } .text-split > .ticks { padding-top: 2.6rem; } }
.text-split .ticks > li + li { margin-top: .8rem; }
.owned-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 clamp(1.5rem, 3vw, 3rem); border-bottom: 0; }
.owned-grid > div { display: block; padding-block: 1.15rem 1.3rem; }
.owned-grid dd { margin-top: .35rem; }
@media (min-width: 37.5rem) { .owned-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .owned-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.band { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.75rem 3rem; padding: clamp(1.75rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: 18px; background: var(--surface); }
.band-text { max-width: 44rem; }
.band-text > * + * { margin-top: 1rem; }

/* Use-case pages: the feature board. Six tiles, each a small illustration, a title and a sentence. */
.board { --cols: 1; --cg: clamp(1rem, 2.5vw, 2rem); container-type: inline-size; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 2.5rem) var(--cg); }
@media (min-width: 37.5rem) { .board { --cols: 2; } }
@media (min-width: 64rem) { .board { --cols: 3; } }
.tile { display: grid; grid-row: span 3; grid-template-rows: subgrid; grid-template-columns: minmax(0, 1fr); row-gap: 0; align-content: start; min-width: 0; }
.tile > .ill-tile { align-self: stretch; }
.tile h3 { margin-top: 1.1rem; font-size: 1.0625rem; font-weight: 600; }
.tile p { margin-top: .45rem; color: var(--muted); font-size: .9375rem; }

/* Numbered rows ------------------------------------------------------- */

.rows { border-bottom: 1px solid var(--line); }
.rows > li, .rows > div {
  display: grid; grid-template-columns: 3rem minmax(8rem, 13rem) minmax(0, 1fr);
  column-gap: 1rem; padding-block: 1.15rem; border-top: 1px solid var(--line); align-items: baseline;
}
.rows h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.rows p { color: var(--muted); }
.rows.plain > li, .rows.plain > div { grid-template-columns: minmax(8rem, 15rem) minmax(0, 1fr); }
@media (max-width: 40rem) {
  .rows > li, .rows > div { grid-template-columns: 2.5rem minmax(0, 1fr); row-gap: .3rem; }
  .rows > li > p, .rows > div > p { grid-column: 2; }
  .rows.plain > li, .rows.plain > div { grid-template-columns: minmax(0, 1fr); }
  .rows.plain > li > p, .rows.plain > div > p { grid-column: 1; }
}

.ticks > li { position: relative; padding-left: 1.6rem; color: var(--muted); }
.ticks > li + li { margin-top: .55rem; }
.ticks > li::before {
  content: ""; position: absolute; left: .1rem; top: .5em; width: .8rem; height: .45rem;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg);
}
.ticks strong { color: var(--ink); font-weight: 500; }

.cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 3rem); }
.cols > * > * + * { margin-top: .6rem; }
.cols p { color: var(--muted); }
.cols.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 5vw, 5rem); }
.cols.two > * > * + * { margin-top: .8rem; }
.cols.two > * > .ill + * { margin-top: 1.75rem; }
.cols.two h3 { font-size: 1.25rem; }
.cols.two p { max-width: 34rem; }
@media (max-width: 60rem) { .cols, .cols.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .cols, .cols.four, .cols.two { grid-template-columns: minmax(0, 1fr); } }

.stat { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); line-height: 1.1; letter-spacing: -0.02em; font-weight: 500; }

/* Pricing ------------------------------------------------------------- */

.billing-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.25rem; margin-bottom: 2rem; }
.billing { display: inline-flex; align-items: center; padding: .25rem; border: 1px solid var(--line-strong); border-radius: 8px; }
.billing input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.billing label { display: inline-flex; align-items: center; min-height: 2.75rem; padding: .45rem 1.1rem; border-radius: 5px; font-size: .9375rem; font-weight: 500; cursor: pointer; }
.billing input:checked + label { background: var(--ink); color: #fff; }
.billing input:focus-visible + label { outline: 2px solid var(--ink); outline-offset: 3px; }

/* Both billing states are in the markup; the bar shows one. Without :has() both stay visible, which is still correct. */
.pricing:has(#bill-month:checked) .per-year,
.pricing:has(#bill-year:checked) .per-month { display: none; }
/* "No monthly billing" is a neutral fact: the same muted grey as every billing note, never a warning colour */

/* Three cards side by side from 768: a subgrid of the same six rows, so names, prices, buttons and lists line up. */
.plans {
  --plan-gap: clamp(1.25rem, 3vw, 3rem);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(6, auto);
  column-gap: var(--plan-gap); border-top: 1px solid var(--ink);
}
.plan { position: relative; display: grid; grid-template-rows: subgrid; grid-row: span 6; row-gap: 0; padding-block: 1.75rem 2rem; scroll-margin-top: 8rem; }
.plan + .plan::before { content: ""; position: absolute; top: 0; bottom: 0; left: calc(var(--plan-gap) / -2); border-left: 1px solid var(--line); }
.plan.is-rec::after { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--coral); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.plan h3 { font-size: 1.125rem; }
.plan-rec { padding: .15rem .55rem; border-radius: 999px; background: var(--coral-tint); color: var(--coral-ink); font-size: .75rem; font-weight: 500; line-height: 1.4; white-space: nowrap; }
.plan-for { color: var(--muted); font-size: .9375rem; margin-top: .4rem; }
.plan .price { margin-top: 1.5rem; }
.price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; }
.price b { font-size: clamp(1.9rem, 1.5rem + 1.2vw, 2.4rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: .9375rem; }
.price-note { color: var(--muted); font-size: .875rem; margin-top: .5rem; }
.plan-cta { margin-top: 1.25rem; }
.plan-cta .btn { width: 100%; }
.plan-list { margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); font-size: .9375rem; }
.plan-plus { margin-bottom: .6rem; font-weight: 500; }
/* "Show everything": a real button. Without a script every line is shown and the button is not. */
.plan-toggle { display: none; }
html.js .plan:not(.is-all) .plan-more { display: none; }
html.js .plan-toggle {
  display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; padding: 0;
  border: 0; background: none; color: var(--ink); font: inherit; font-size: .9375rem; font-weight: 500;
  text-decoration: underline; text-underline-offset: .22em; text-decoration-thickness: 1px; text-decoration-color: var(--line-strong); cursor: pointer;
}
html.js .plan-toggle:hover { text-decoration-color: currentColor; }

/* The own app: a band under the three cards; it has no price, so it does not stand in the price row. */
.own-app { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; margin-top: 1.5rem; padding: 1.5rem clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.own-app-text { max-width: 44rem; }
.own-app h3 { font-size: 1.125rem; }
.own-app-features { margin-top: .5rem; font-size: .9375rem; }
.own-app .btn { flex: none; }

/* The plan switcher is the phone pattern: hidden from 768. */
.plan-tabs { display: none; }
@media (max-width: 47.99rem) {
  /* three tabs with the three current prices stick under the header while the block is on screen */
  .plan-tabs {
    position: sticky; top: calc(3.75rem + 1px); z-index: 3; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-inline: calc(var(--gutter) * -1); padding: .35rem var(--gutter); background: var(--bg); border-bottom: 1px solid var(--line);
  }
  .plan-tabs a { display: grid; justify-items: center; align-content: center; min-height: 3.25rem; padding: .3rem .25rem; border-radius: 8px; text-decoration: none; color: var(--muted); }
  .plan-tabs .pt-name { font-size: .8125rem; }
  .plan-tabs .pt-price { font-size: 1rem; font-weight: 500; color: var(--ink); font-variant-numeric: tabular-nums; }
  .plan-tabs a[aria-current] { background: var(--surface); box-shadow: inset 0 -2px 0 var(--ink); color: var(--ink); }
  /* the cards in one row, one card per view */
  .plans {
    display: flex; gap: 0; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); border-top: 0;
  }
  .plans::-webkit-scrollbar { display: none; }
  .plan { display: block; flex: 0 0 100%; padding: 1.5rem var(--gutter) 1.75rem; scroll-snap-align: start; }
  .plan + .plan::before { content: none; }
  .plan.is-rec::after { left: var(--gutter); right: var(--gutter); }
  .own-app { display: grid; justify-items: start; }
}

.fineprint { margin-top: 1.75rem; color: var(--muted); font-size: .9375rem; max-width: 46rem; }
.fineprint + .fineprint { margin-top: .6rem; }

/* The full comparison: folded by default, so the add-on row is in no default view. */
.compare-all { margin-top: clamp(2.5rem, 5vw, 4rem); border-top: 1px solid var(--ink); }
.compare-all > summary {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1.5rem;
  padding-block: 1.25rem; list-style: none; cursor: pointer;
}
.compare-all > summary::-webkit-details-marker { display: none; }
.compare-all-title { font-size: clamp(1.4rem, 1.1rem + 1vw, 1.75rem); font-weight: 500; letter-spacing: -.02em; }
.compare-all-title::after { content: "+"; margin-left: .6rem; font-weight: 400; color: var(--muted); }
.compare-all[open] .compare-all-title::after { content: "\2212"; }
.compare-all-note { color: var(--muted); font-size: .9375rem; }
.compare-all[open] > summary { margin-bottom: 1rem; }

.compare { width: 100%; border-collapse: collapse; font-size: .9375rem; table-layout: fixed; }
.compare caption { text-align: left; }
.compare th, .compare td { text-align: left; padding: .8rem .75rem .8rem 0; border-bottom: 1px solid var(--line); vertical-align: top; font-weight: 400; }
.compare thead th { width: 15%; font-weight: 500; border-bottom-color: var(--ink); position: sticky; top: 4.2rem; z-index: 2; background: var(--bg); box-shadow: inset 0 -1px 0 var(--ink); }
.compare thead th:first-child { width: 40%; }
.compare tbody th { color: var(--muted); width: 40%; }
.compare tbody th small { display: block; font-size: .8125rem; color: var(--quiet); margin-top: .15rem; }
.compare .group th { color: var(--ink); font-weight: 500; padding-top: 2rem; border-bottom-color: var(--line-strong); }
/* The recommended plan's column: a faint coral tint, and "Recommended" under its name. Every plan cell has the
   same inner padding, so the tint sits evenly around its content and the next column keeps its distance. */
.compare td, .compare thead th + th { padding-inline: .6rem; }
.compare .is-rec { background: rgba(228, 87, 46, .05); }
.compare thead .is-rec { background: linear-gradient(rgba(228, 87, 46, .07), rgba(228, 87, 46, .07)), var(--bg); }
.compare-rec { display: block; margin-top: .1rem; font-size: .75rem; font-weight: 500; color: var(--coral-ink); }
.compare .yes, .compare .no { display: inline-block; }
.compare .yes::before {
  content: ""; display: inline-block; width: .8rem; height: .45rem; margin-bottom: .2rem;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg);
}
.compare .no::before { content: ""; display: inline-block; width: .7rem; border-top: 1.5px solid var(--line-strong); margin-bottom: .3rem; }
/* Phones: each feature name gets its own line, the four values sit in a row below it. */
@media (max-width: 40rem) {
  .compare, .compare thead, .compare tbody { display: block; }
  .compare tr { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: .5rem; }
  /* The row of plan names sticks as a whole; a sticky cell has no room to move inside a block-level thead. */
  .compare thead { position: sticky; top: 3.7rem; z-index: 2; background: var(--bg); }
  .compare thead tr { border-bottom: 1px solid var(--ink); }
  .compare thead th:first-child { display: none; }
  .compare thead th { position: static; width: auto; font-size: .8125rem; padding-right: 0; background: none; box-shadow: none; border-bottom: 0; }
  .compare tbody th { grid-column: 1 / -1; width: auto; border-bottom: 0; padding-bottom: .15rem; }
  .compare td { padding-top: .3rem; padding-right: 0; }
  .compare td, .compare thead th + th { padding-inline: .35rem; }
  .compare thead .is-rec { background: rgba(228, 87, 46, .07); }
  .compare-rec { display: none; }
  .compare .group th { border-bottom: 1px solid var(--line-strong); padding-bottom: .8rem; }
}

/* The narrowest phones: four plan names in a row need a slightly smaller size to keep their distance. */
@media (max-width: 23rem) {
  .compare thead th { font-size: .75rem; }
  .compare td { font-size: .875rem; }
}

/* FAQ ----------------------------------------------------------------- */

.faq { border-bottom: 1px solid var(--line); }
.faq details { border-top: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 1.5rem; padding-block: 1.15rem; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; color: var(--muted); flex: none; line-height: 1.4; }
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 2.5rem 1.4rem 0; color: var(--muted); max-width: 46rem; }
.faq details > div > * + * { margin-top: .8rem; }

/* Links list (use cases) ---------------------------------------------- */

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: clamp(1rem, 2.5vw, 2.5rem); border-bottom: 1px solid var(--line); }
.cards a { display: flex; align-items: flex-start; gap: 1rem; padding-block: 1.25rem 1.4rem; border-top: 1px solid var(--line); text-decoration: none; }
.cards .ill-cover { display: block; flex: none; width: 3.25rem; aspect-ratio: 1; border-radius: .8rem; }
.cards-text { flex: 1; min-width: 0; }
.cards h3 { font-size: 1rem; font-weight: 500; letter-spacing: 0; }
.cards h3::after { content: "\2192"; display: inline-block; margin-left: .4rem; color: var(--quiet); transition: transform .15s ease; }
.cards a:hover h3 { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.cards a:hover h3::after { transform: translateX(.2rem); color: var(--ink); }
.cards p { color: var(--muted); font-size: .9375rem; margin-top: .3rem; }
@media (max-width: 60rem) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 36rem) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* Capability overview -------------------------------------------------- */

.caps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
.cap { padding: 1.4rem 1.35rem 1rem; border: 1px solid var(--line); border-radius: 1.125rem; background: #fff; }
.cap-icon { display: grid; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: .7rem; background: var(--coral-tint); color: var(--coral-ink); }
.cap-icon .ill-icon { width: 1.2rem; height: 1.2rem; }
.cap h3 { margin-top: 1.1rem; font-size: 1.0625rem; font-weight: 600; }
.cap ul { margin-top: .9rem; }
.cap li { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; padding-block: .55rem; border-top: 1px solid var(--line); font-size: .9375rem; line-height: 1.4; color: var(--muted); }
@media (max-width: 68rem) { .caps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* On a phone the eight cards are one row to swipe through; the next card always shows at the edge. */
@media (max-width: 40rem) {
  .caps {
    display: flex; gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .caps::-webkit-scrollbar { display: none; }
  .cap { flex: 0 0 84%; scroll-snap-align: start; }
}

/* Who makes it: the one proof, as a band --------------------------------- */

main > .proof { background: var(--surface); }
.proof-grid { display: grid; gap: 2.5rem; align-items: end; }
.proof-stat { display: grid; gap: .9rem; }
.proof-over { margin-bottom: -.35rem; font-size: 1.25rem; font-weight: 500; letter-spacing: -.01em; }
.proof-stat .stat { font-size: clamp(4.5rem, 2rem + 9vw, 8.5rem); line-height: .9; letter-spacing: -.045em; }
@media (min-width: 60rem) {
  .proof-grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: clamp(3rem, 6vw, 6rem); }
  .proof-stat { justify-items: end; text-align: right; }
}

/* It stays your community ------------------------------------------------ */

.split-text > .owned { margin-top: 2rem; border-bottom: 1px solid var(--line); }
.owned > div { display: grid; grid-template-columns: minmax(7rem, 9.5rem) minmax(0, 1fr); column-gap: 1.25rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.owned dt { font-weight: 500; }
.owned dd { color: var(--muted); }
@media (max-width: 36rem) { .owned > div { grid-template-columns: minmax(0, 1fr); row-gap: .2rem; } }

/* Closing band: call to action and contact ------------------------------- */

main > .cta { padding-block: clamp(2.5rem, 5vw, 4rem) clamp(4rem, 8vw, 6.5rem); }
main > section + .cta { border-top: 0; }
.cta-band {
  position: relative; isolation: isolate;
  padding: clamp(3rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem);
  border-radius: 1.75rem; color: #fff; text-align: center;
  background: radial-gradient(60% 90% at 100% 0%, rgba(228, 87, 46, .42), transparent 65%), radial-gradient(45% 70% at 0% 100%, rgba(228, 87, 46, .18), transparent 70%), var(--ink);
}
.cta-band h2 { max-width: 38rem; margin-inline: auto; font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3rem); }
.cta-band .lead { max-width: 36rem; margin: 1.5rem auto 0; color: #d6d2ca; }
.cta-band .btn-row { justify-content: center; margin-top: 2.25rem; }
.cta-band .btn { border-color: rgba(255, 255, 255, .55); color: #fff; }
.cta-band .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .btn-solid { background: #fff; border-color: #fff; color: var(--ink); }
.cta-band .btn-solid:hover { background: #e9e6df; border-color: #e9e6df; }
.cta-band :focus-visible { outline-color: #fff; }
.cta-mail { margin-top: 1.5rem; font-size: .9375rem; color: #d6d2ca; user-select: all; -webkit-user-select: all; }
/* Two pieces of the hero illustration, on wide screens only. */
.cta-art { display: none; }
@media (min-width: 72rem) {
  .cta-art { display: block; font-size: .875rem; line-height: 1.35; color: var(--ink); text-align: left; user-select: none; -webkit-user-select: none; }
  .cta-art > * { position: absolute; z-index: 1; }
  .cta-art > .ill-ticket { left: -1.5rem; bottom: 3rem; width: 15.5rem; }
  .cta-art > .ill-chip { right: -1.25rem; top: 3.25rem; }
}

/* Footer -------------------------------------------------------------- */

.site-footer { position: relative; z-index: 1; border-top: 1px solid var(--line); background: var(--surface); padding-block: clamp(3.5rem, 7vw, 5.5rem) 2rem; font-size: .9375rem; }
.footer-top { display: grid; gap: 3rem; }
.footer-about p { max-width: 21rem; margin-top: 1.1rem; color: var(--muted); }
.footer-about .btn { margin-top: 1.5rem; }
/* Phones and tablets: Product and Company side by side, the use cases in a row of their own. */
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; }
.footer-nav h2 { margin-bottom: .9rem; font-size: .8125rem; font-weight: 500; letter-spacing: 0; color: var(--muted); }
.footer-nav ul + h2 { margin-top: 2rem; }
.footer-nav li + li { margin-top: .6rem; }
.footer-nav a { color: var(--ink); text-decoration: none; }
.footer-nav a:hover { text-decoration: underline; text-underline-offset: .25em; text-decoration-thickness: 1px; }
.footer-nav a > span { display: block; margin-top: .15rem; color: var(--muted); font-size: .875rem; }
.footer-wide { grid-column: 1 / -1; grid-row: 2; }
.footer-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1.5rem; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .4rem 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding-top: 1.5rem; border-top: 1px solid var(--line-strong); color: var(--muted); font-size: .875rem; }
/* Wide screens: brand on the left; the three groups take the width of their longest link, so none can run into the next. */
@media (min-width: 76rem) {
  .footer-top { grid-template-columns: minmax(0, 1fr) auto; column-gap: clamp(3rem, 6vw, 6rem); }
  .footer-nav { grid-template-columns: repeat(3, max-content); column-gap: clamp(2.5rem, 4vw, 4rem); }
  .footer-wide { grid-column: auto; grid-row: auto; }
  .footer-pair { grid-template-columns: repeat(2, max-content); column-gap: 2.5rem; }
  .footer-nav a { white-space: nowrap; }
}

/* Long-form pages (imprint, privacy, AI info) ------------------------- */

.prose { max-width: 44rem; }
.prose h1 { font-size: clamp(1.9rem, 1.4rem + 2vw, 2.6rem); margin-bottom: 1.5rem; }
.prose h2 { font-size: 1.25rem; letter-spacing: -0.01em; margin-top: 2.75rem; margin-bottom: .75rem; }
.prose h3 { font-size: 1rem; margin-top: 1.75rem; margin-bottom: .4rem; letter-spacing: 0; }
.prose p, .prose li, .prose dd { color: var(--muted); line-height: 1.65; overflow-wrap: anywhere; }
.prose p + p, .prose ul + p, .prose p + ul, .prose dl + p { margin-top: .9rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; }
.prose li + li { margin-top: .35rem; }
.prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .22em; color: var(--ink); }
.prose address { font-style: normal; color: var(--muted); line-height: 1.65; }
.prose dl { display: grid; grid-template-columns: minmax(9rem, 15rem) minmax(0, 1fr); gap: .5rem 1.5rem; }
.prose dt { color: var(--ink); }
@media (max-width: 36rem) { .prose dl { grid-template-columns: minmax(0, 1fr); gap: 0; } .prose dd { margin-bottom: .75rem; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .001ms !important; scroll-behavior: auto !important; }
}


/* Product illustrations ------------------------------------------------
   Drawn in HTML and SVG from the real product: its layouts, its labels, demo data.
   No screenshots, no browser chrome. Every illustration is one stage (.ill) holding a
   few cards (.ill-card) and chips (.ill-chip) that overlap; .ill-a is the main piece,
   .ill-b the second, .ill-c the small one on top. The stage is role="img" with a label,
   so the markup inside is spans and never reaches a screen reader as content.
   Nothing in here is smaller than 12px. */

.ill, .cta-art {
  --r-card: 1.125rem;
  --r-row: .875rem;
  --card-line: rgba(17, 17, 16, .07);
  --shadow-card: 0 1px 2px rgba(17, 17, 16, .05), 0 8px 18px -8px rgba(17, 17, 16, .12), 0 28px 56px -24px rgba(17, 17, 16, .2);
  --shadow-chip: 0 1px 2px rgba(17, 17, 16, .06), 0 12px 24px -10px rgba(17, 17, 16, .28);
}
.ill {
  position: relative; isolation: isolate;
  display: grid; align-items: start;
  padding: clamp(1.75rem, 5vw, 3rem) clamp(1.25rem, 4vw, 2.75rem);
  border: 1px solid var(--line); border-radius: 1.75rem;
  background:
    radial-gradient(60% 55% at 94% 2%, rgba(228, 87, 46, .17), transparent 70%),
    radial-gradient(45% 45% at 0% 100%, rgba(228, 87, 46, .07), transparent 70%),
    var(--surface);
  font-size: .875rem; line-height: 1.35; color: var(--ink); text-align: left;
  cursor: default; user-select: none; -webkit-user-select: none;
}
/* A dot grid that fades out towards the edges. */
.ill::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(circle, rgba(17, 17, 16, .13) 1px, transparent 1.3px) 0 0 / 1.25rem 1.25rem;
  -webkit-mask-image: radial-gradient(75% 70% at 30% 45%, #000, transparent 75%);
  mask-image: radial-gradient(75% 70% at 30% 45%, #000, transparent 75%);
}
:where(.ill, .cta-art) span { display: block; }
.ill-a, .ill-b, .ill-c { position: relative; min-width: 0; }
.ill-b { z-index: 2; }
.ill-c { z-index: 3; }

/* Type */
.ill-title { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.015em; line-height: 1.25; }
.ill-meta { display: flex; align-items: center; gap: .4rem; font-size: .8125rem; color: var(--muted); }
.ill-label { font-size: .75rem; font-weight: 500; color: var(--muted); }
.ill-big { font-size: 2.25rem; font-weight: 600; letter-spacing: -.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.ill-icon { width: 1rem; height: 1rem; flex: none; }
.ill-qr { display: block; width: 100%; height: auto; color: var(--ink); }

/* Pieces */
.ill-card { background: #fff; border: 1px solid var(--card-line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }

.ill-chip {
  display: inline-flex; align-items: center; gap: .45rem; width: max-content; max-width: 100%;
  padding: .55rem .95rem; border: 1px solid var(--card-line); border-radius: 999px;
  background: #fff; box-shadow: var(--shadow-chip);
  font-size: .8125rem; font-weight: 500; white-space: nowrap;
}
.ill-chip-dark { background: var(--ink); border-color: transparent; color: #fff; }
.ill-chip-dark .ill-icon { color: #7fe3a6; stroke-width: 2.6; }
.ill-chip-s { padding: .28rem .6rem .28rem .5rem; gap: .3rem; box-shadow: none; font-size: .75rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.ill-chip-s .ill-icon { width: .8rem; height: .8rem; }

.ill-pill { display: inline-flex; align-items: center; gap: .3rem; width: max-content; padding: .2rem .6rem; border-radius: 999px; background: var(--surface); font-size: .75rem; font-weight: 500; color: var(--muted); }
.ill-pill-ok { background: #e4f3e8; color: #14532d; font-weight: 600; }
.ill-pill .ill-icon { width: .8rem; height: .8rem; stroke-width: 2.6; }

.ill-btn { display: inline-flex; align-items: center; justify-content: center; padding: .55rem .9rem; border-radius: .625rem; background: var(--ink); color: #fff; font-size: .8125rem; font-weight: 600; white-space: nowrap; }
.ill-btn-app { border-radius: 999px; background: var(--app); box-shadow: 0 2px 0 var(--app-edge, #1d1c4a); }
.ill-btn-ghost { background: none; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }

.ill-track { position: relative; height: .5rem; border-radius: 999px; background: var(--line); }
.ill-fill { height: 100%; border-radius: inherit; background: var(--coral); }
.ill-mark { position: absolute; top: -.3rem; bottom: -.3rem; width: 2px; border-radius: 1px; background: var(--ink); }
.ill-w-1 { width: 10%; } .ill-w-2 { width: 20%; } .ill-w-3 { width: 27%; } .ill-w-4 { width: 40%; } .ill-w-5 { width: 50%; }
.ill-w-6 { width: 61%; } .ill-w-7 { width: 70%; } .ill-w-8 { width: 80%; } .ill-w-9 { width: 88%; } .ill-w-10 { width: 100%; }
.ill-at-5 { left: 50%; } .ill-at-6 { left: 60%; } .ill-at-7 { left: 70%; } .ill-at-8 { left: 77%; }

.ill-avatars { display: flex; }
.ill-avatars > span { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border: 2px solid #fff; border-radius: 50%; background: var(--coral-tint); font-size: .75rem; font-weight: 600; }
.ill-avatars > span + span { margin-left: -.5rem; }
.ill-avatars > span:nth-child(2) { background: #e3eee1; }
.ill-avatars > span:nth-child(3) { background: #e9e6f7; }
.ill-avatars > span:nth-child(4) { background: #f4ebd3; }
.ill-going { display: flex; align-items: center; gap: .6rem; font-size: .8125rem; font-weight: 500; }

.ill-stats { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: .75rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.ill-stat-value { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; font-variant-numeric: tabular-nums; }
.ill-stat-label { font-size: .75rem; color: var(--muted); }

/* Event covers: stand-ins for the photo an organiser uploads */
.ill-cover { position: relative; aspect-ratio: 2 / 1; overflow: hidden; }
.ill-cover svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ill-cover-plates { background: linear-gradient(135deg, #a8431f, #d9743a 55%, #f2b272); }
.ill-cover-run { background: linear-gradient(135deg, #1c463d, #3d866b 58%, #a5d39c); }
.ill-cover-mixer { background: linear-gradient(135deg, #2c1b3f, #7b4391 58%, #e0a4c8); }
.ill-cover-book { background: linear-gradient(135deg, #5f411a, #b3843a 58%, #ebcd88); }
.ill-cover-wreath { background: linear-gradient(135deg, #5a2839, #b65a6c 58%, #f3b7a6); }
.ill-cover-club { background: linear-gradient(135deg, #1b2937, #426080 58%, #a7c1d6); }
.ill-cover-brand { background: linear-gradient(135deg, #2a1c13, #6b4630 58%, #c79a6b); }
.ill-cover-ticket { background: linear-gradient(135deg, #1b1a18, #55504a 58%, #b9b1a4); }
.ill-cover-members { background: linear-gradient(135deg, #143d4a, #2f7f8f 58%, #a6d6d9); }

/* Event card */
.ill-event { overflow: hidden; }
.ill-event-body { display: grid; gap: .45rem; padding: 1rem 1.1rem 1.15rem; }
.ill-event-body .ill-title { margin-bottom: .15rem; }
.ill-event-body .ill-going { margin-top: .4rem; }

/* Ticket with a tear-off stub. The notches are cut with a mask, so the shadow is a filter on the wrapper. */
.ill-ticket { filter: drop-shadow(0 1px 1px rgba(17, 17, 16, .08)) drop-shadow(0 14px 22px rgba(17, 17, 16, .16)); }
.ill-ticket-in {
  --stub: 5.5rem;
  display: flex; background: #fff; border-radius: var(--r-card);
  -webkit-mask: radial-gradient(circle .5rem at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle .5rem at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle .5rem at calc(100% - var(--stub)) 0, #0000 97%, #000) top / 100% 51% no-repeat, radial-gradient(circle .5rem at calc(100% - var(--stub)) 100%, #0000 97%, #000) bottom / 100% 51% no-repeat;
}
.ill-ticket-main { display: grid; align-content: center; gap: .3rem; flex: 1; min-width: 0; padding: 1.05rem 1.15rem; }
.ill-ticket-stub { display: grid; place-items: center; flex: none; width: var(--stub); padding: .55rem; border-left: 2px dashed var(--line-strong); }

/* Rows: ticket types, groups, plans */
.ill-rows { display: grid; gap: .55rem; padding: 1.05rem; }
.ill-rows-head { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem 1rem; flex-wrap: wrap; padding: .15rem .2rem .3rem; }
.ill-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; border: 1px solid var(--line); border-radius: var(--r-row); background: #fff; }
.ill-row-main { display: grid; gap: .1rem; min-width: 0; }
.ill-row-name { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
.ill-row-note { font-size: .8125rem; font-weight: 400; color: var(--muted); }
.ill-row-value { flex: none; font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ill-row.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ill-row.is-on .ill-row-note { position: relative; padding-left: .8rem; color: var(--ink); font-weight: 500; }
.ill-row.is-on .ill-row-note::before { content: ""; position: absolute; left: 0; top: .5em; width: .4rem; height: .4rem; border-radius: 50%; background: var(--coral); }
.ill-row.is-off { border-color: transparent; background: var(--surface); }
.ill-row.is-off .ill-row-name, .ill-row.is-off .ill-row-value { color: var(--muted); }

/* Membership card (dark, as in the app) */
.ill-member {
  display: grid; gap: 1.15rem; padding: 1.25rem 1.3rem 1.35rem; border-radius: 1.375rem; color: #fff;
  background: radial-gradient(90% 80% at 100% 0%, rgba(228, 87, 46, .34), transparent 60%), #151412;
  box-shadow: var(--shadow-card);
}
.ill-member-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ill-member-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; }
.ill-member-plan { padding: .25rem .7rem; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: .75rem; font-weight: 600; }
.ill-member-body { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.ill-member-facts { display: grid; gap: .1rem; min-width: 0; }
.ill-member-label { font-size: .75rem; color: #bdb9b1; }
.ill-member-name { margin-bottom: .65rem; font-size: 1.375rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ill-member-value { font-size: .9375rem; font-weight: 600; }
.ill-member-qr { flex: none; width: 5.25rem; padding: .3rem; border-radius: .9rem; background: #fff; }

/* Chat, poll */
.ill-chat, .ill-poll { display: grid; gap: .6rem; padding: 1rem; }
.ill-chat-head { display: flex; align-items: center; gap: .6rem; padding-bottom: .3rem; }
.ill-chat-dot { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; background: var(--app-tint); color: var(--app); }
.ill-msg { display: flex; align-items: flex-end; gap: .45rem; max-width: 94%; }
.ill-msg-me { justify-self: end; }
.ill-msg-av { display: grid; place-items: center; flex: none; width: 1.625rem; height: 1.625rem; border-radius: 50%; background: var(--coral-tint); font-size: .75rem; font-weight: 600; }
.ill-msg:nth-of-type(odd) .ill-msg-av { background: #e3eee1; }
.ill-bubble { padding: .55rem .8rem; border-radius: 1rem 1rem 1rem .3rem; background: var(--surface); font-size: .8125rem; line-height: 1.4; }
.ill-msg-me .ill-bubble { border-radius: 1rem 1rem .3rem 1rem; background: var(--app); color: #fff; }
.ill-msg-name { margin-bottom: .1rem; font-size: .75rem; font-weight: 600; color: var(--muted); }
.ill-composer { margin-top: .25rem; padding: .55rem .95rem; border: 1px solid var(--card-line); border-radius: 999px; background: #fff; font-size: .8125rem; color: var(--quiet); }

.ill-poll-q { font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.ill-poll-opt { position: relative; display: flex; justify-content: space-between; gap: .75rem; overflow: hidden; padding: .6rem .8rem; border-radius: .7rem; background: var(--surface); font-size: .8125rem; font-weight: 500; }
.ill-poll-bar { position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: var(--app-tint); }
.ill-poll-opt.is-top .ill-poll-bar { background: #d5d6ff; }
.ill-poll-text, .ill-poll-votes { position: relative; }
.ill-poll-votes { font-variant-numeric: tabular-nums; color: var(--muted); }

/* Meter, profile, brand */
.ill-meter, .ill-profile, .ill-brand { display: grid; gap: .65rem; padding: 1.1rem 1.15rem 1.2rem; }
.ill-meter-top { display: flex; align-items: center; justify-content: space-between; gap: .75rem; }
.ill-meter-value { display: flex; align-items: baseline; gap: .5rem; }
.ill-profile, .ill-brand { gap: 1rem; }
.ill-profile-head, .ill-brand-head { display: flex; align-items: center; gap: .8rem; }
.ill-profile-av { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--coral-tint); box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--coral); font-size: 1rem; font-weight: 600; }
.ill-profile-id { display: grid; gap: .1rem; min-width: 0; }
.ill-brand-mark { display: grid; place-items: center; flex: none; width: 2.75rem; height: 2.75rem; border-radius: .8rem; background: #6b4630; color: #fff; font-size: 1.25rem; font-weight: 600; }
.ill-swatches { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: .9rem; border-top: 1px solid var(--line); }
.ill-swatch-row { display: flex; gap: .5rem; }
.ill-swatch { width: 1.5rem; height: 1.5rem; border-radius: 50%; background: #6b4630; }
.ill-swatch-2 { background: #c79a6b; }
.ill-swatch-3 { background: #1c463d; }
.ill-swatch-4 { background: #151412; }
.ill-swatch.is-on { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #6b4630; }

/* Phone: a host's or a member's screen, without status bar and tab bar */
.ill-phone { width: 100%; max-width: 17rem; padding: .2rem; border-radius: 2.3rem; background: var(--ink); box-shadow: var(--shadow-card); }
.ill-screen { position: relative; display: grid; gap: .65rem; overflow: hidden; padding: 2.4rem .9rem 1.1rem; border-radius: 2.1rem; background: var(--app-bg); }
.ill-screen::before { content: ""; position: absolute; z-index: 1; top: .6rem; left: 50%; width: 4.4rem; height: 1.15rem; margin-left: -2.2rem; border-radius: 999px; background: var(--ink); }
.ill-app-title { font-size: 1.125rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.2; }
.ill-screen-event { gap: 0; padding: 0; }
.ill-screen-event .ill-cover { aspect-ratio: 16 / 10; }
.ill-app-body { display: grid; gap: .65rem; padding: .95rem .9rem 1rem; }
.ill-app-facts { display: grid; gap: .45rem; padding: .7rem .8rem; border: 1px solid var(--card-line); border-radius: .9rem; background: #fff; }
.ill-app-h { margin-top: .15rem; font-size: .9375rem; font-weight: 600; letter-spacing: -.01em; }
.ill-app-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .5rem .6rem; padding: .75rem .9rem 1rem; border-top: 1px solid var(--card-line); background: #fff; }
.ill-app-price { font-size: .9375rem; font-weight: 600; }
.ill-screen-chat .ill-bubble { background: #fff; }
.ill-screen-chat .ill-msg-me .ill-bubble { background: var(--app); }

/* A community's own colour on its app (the brand page): the same tokens, another value. */
.ill-accent-brand { --app: #6b4630; --app-tint: #f1e7dc; --app-edge: #2a1c13; }

/* Compositions -------------------------------------------------------- */

/* A tile's illustration: one whole card on a stage of at least 16:10 (of a column of .board, the size container). Nothing
   is cut: a card that needs more room makes the stage taller, and the tiles of a row share their heights
   (subgrid on .board), so titles still line up. */
.ill-tile { min-height: calc((100cqi - (var(--cols, 1) - 1) * var(--cg, 0px)) / var(--cols, 1) * 10 / 16); min-width: 0; grid-template-columns: minmax(0, 1fr); align-content: center; justify-items: center; padding: 1.25rem; border-radius: 1.25rem; }
.ill-tile > :not(.ill-tile-chip) { width: 100%; max-width: 20rem; }
.ill-tile .ill-event .ill-cover { aspect-ratio: 4 / 1; }
.ill-tile-chip { position: relative; z-index: 5; justify-self: end; margin-top: .6rem; }
.ill-tile .ill-member { padding-bottom: 1.3rem; }
/* Seating rounds and pace groups: the round's card and a chip */
.ill-round > .ill-a { width: 100%; max-width: 26rem; justify-self: center; }
.ill-round > .ill-c { justify-self: end; margin: -1rem 0 0; }
/* the finance card: a bar per week, no figures */
.ill-bars { display: flex; align-items: flex-end; gap: .35rem; height: 2.5rem; margin-block: .35rem .2rem; }
.ill-bars > span { flex: 1; height: auto; min-width: 1.1rem; border-radius: .3rem .3rem 0 0; background: var(--coral); }
.ill-bar-4 { height: 40%; } .ill-bar-5 { height: 52%; } .ill-bar-6 { height: 64%; } .ill-bar-8 { height: 100%; }

/* One card on a small stage (the two audiences on the home page). */
.ill-mini { justify-items: center; padding: clamp(1.5rem, 4vw, 2.25rem) clamp(1.25rem, 4vw, 2.25rem); }
.ill-mini > * { width: 100%; max-width: 21rem; }

/* Hero and use-case heroes: event card, second card over its lower right corner, chip over the cover. */
.ill-scene { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ill-scene > .ill-a { grid-column: 1 / span 10; grid-row: 1; }
.ill-scene > .ill-b { grid-column: 3 / -1; grid-row: 2; margin-top: -1rem; }
.ill-scene > .ill-c { grid-column: 1 / -1; grid-row: 1; justify-self: end; margin: .9rem -.4rem 0 0; }
@media (min-width: 30rem) {
  .ill-scene > .ill-a { grid-column: 1 / span 8; }
  .ill-scene > .ill-b { grid-column: 6 / -1; margin-top: -4.5rem; }
  .ill-scene > .ill-c { grid-column: 7 / -1; justify-self: start; margin: 1.1rem 0 0; }
}

/* Setup guide */
.ill-setup { justify-items: center; }
.ill-checklist { display: grid; width: 100%; max-width: 29rem; padding: 1.25rem 1.25rem .6rem; }
.ill-checklist-head { display: flex; align-items: baseline; justify-content: space-between; gap: .5rem 1rem; flex-wrap: wrap; }
.ill-steps { display: grid; grid-template-columns: repeat(7, 1fr); gap: .3rem; margin: .9rem 0 .5rem; }
.ill-steps > span { height: .3rem; border-radius: 999px; background: var(--line); }
.ill-steps > .is-done { background: var(--coral); }
.ill-step { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: .5rem .75rem; padding: .8rem 0; border-top: 1px solid var(--line); font-size: .9375rem; font-weight: 500; }
.ill-steps + .ill-step { border-top-color: transparent; }
.ill-tick { display: grid; place-items: center; width: 1.375rem; height: 1.375rem; border: 1.5px solid var(--line-strong); border-radius: 50%; color: #fff; }
.ill-tick .ill-icon { width: .8rem; height: .8rem; stroke-width: 3; }
.ill-step.is-done .ill-tick { border-color: var(--ink); background: var(--ink); }
.ill-step.is-done .ill-step-text { color: var(--muted); }
.ill-step.is-next { margin: .15rem -.7rem; padding: .85rem .7rem; border-top-color: transparent; border-radius: var(--r-row); background: var(--surface); }
.ill-step.is-next + .ill-step { border-top-color: transparent; }
.ill-step.is-next .ill-tick { border-color: var(--coral); box-shadow: 0 0 0 3px var(--coral-tint); }
.ill-step-note { margin-top: .15rem; font-size: .8125rem; font-weight: 400; color: var(--muted); }
.ill-step .ill-btn { grid-column: 2; justify-self: start; }
@media (min-width: 30rem) {
  .ill-step.is-next { grid-template-columns: auto minmax(0, 1fr) auto; }
  .ill-step .ill-btn { grid-column: auto; }
}

/* Ticket types */
.ill-tickets > .ill-a { width: 100%; max-width: 27rem; }
.ill-capacity { display: grid; gap: .55rem; justify-self: end; width: 12.5rem; margin: -1.1rem -.4rem 0 0; padding: .8rem 1rem .95rem; }
.ill-capacity-top { display: flex; align-items: baseline; gap: .5rem; }
@media (min-width: 30rem) { .ill-capacity { margin-right: -1.25rem; } }

/* The door */
.ill-door { justify-items: center; }
.ill-door-count { display: flex; align-items: baseline; gap: .5rem; margin-top: .1rem; }
.ill-guest { display: flex; align-items: center; gap: .6rem; padding: .6rem .7rem; border: 1px solid var(--card-line); border-radius: .9rem; background: #fff; }
.ill-guest-av { display: grid; place-items: center; flex: none; width: 2rem; height: 2rem; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--coral); font-size: .8125rem; font-weight: 600; }
.ill-guest:nth-of-type(odd) .ill-guest-av { box-shadow: inset 0 0 0 2px #3d866b; }
.ill-guest-name { flex: 1; min-width: 0; font-size: .875rem; font-weight: 600; }
.ill-guest.is-next { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.ill-guest .ill-btn { padding: .4rem .75rem; }
.ill-pass { display: flex; align-items: center; gap: .6rem; justify-self: start; margin: -1.4rem 0 0 -.4rem; padding: .5rem .9rem .5rem .5rem; }
.ill-pass-qr { width: 3.5rem; }
.ill-pass-text { display: grid; gap: .05rem; }
.ill-pass .ill-row-name { font-size: .875rem; }
/* From here the ticket sits beside the phone and overlaps its edge by a fixed 1.5rem. */
@media (min-width: 30rem) {
  .ill-door { grid-template-columns: 7.5rem minmax(0, 17rem); justify-content: center; justify-items: stretch; align-items: end; }
  .ill-door > .ill-a { grid-column: 2; grid-row: 1; }
  .ill-pass { grid-column: 1 / span 2; grid-row: 1; display: grid; gap: .5rem; width: 9rem; margin: 0 0 2.5rem; padding: .7rem .7rem .85rem; }
  .ill-pass-qr { width: auto; }
  .ill-pass-text { padding-inline: .2rem; }
}

/* Member app: two phones. On a phone the second one becomes a chat card tucked under the first. */
.ill-phones { justify-items: start; }
.ill-phones > .ill-b { justify-self: end; width: 86%; max-width: 16rem; margin-top: -.9rem; padding: 0; border-radius: var(--r-card); background: none; }
.ill-phones > .ill-b .ill-screen { padding: 1rem; border: 1px solid var(--card-line); border-radius: var(--r-card); background: #fff; }
.ill-phones > .ill-b .ill-screen::before, .ill-phones > .ill-b .ill-composer, .ill-phones > .ill-b .ill-msg:nth-of-type(n + 4) { display: none; }
.ill-phones > .ill-b .ill-bubble { background: var(--surface); }
.ill-phones > .ill-b .ill-msg-me .ill-bubble { background: var(--app); }
@media (min-width: 40rem) {
  .ill-phones { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 2vw, 1.5rem); }
  .ill-phones > .ill-a { justify-self: end; }
  .ill-phones > .ill-b { justify-self: start; width: 100%; max-width: 17rem; margin: 3rem 0 0; padding: .2rem; border-radius: 2.3rem; background: var(--ink); }
  .ill-phones > .ill-b .ill-screen { padding: 2.4rem .9rem 1.1rem; border: 0; border-radius: 2.1rem; background: var(--app-bg); }
  .ill-phones > .ill-b .ill-screen::before, .ill-phones > .ill-b .ill-composer { display: block; }
  .ill-phones > .ill-b .ill-msg:nth-of-type(n + 4) { display: flex; }
  .ill-phones > .ill-b .ill-bubble { background: #fff; }
  .ill-phones > .ill-b .ill-msg-me .ill-bubble { background: var(--app); }
}

/* Memberships */
.ill-membership { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.ill-membership > .ill-a { grid-column: 1 / span 11; grid-row: 1; padding-bottom: 2.6rem; }
.ill-membership > .ill-b { grid-column: 2 / -1; grid-row: 2; margin-top: -1.5rem; }
@media (min-width: 30rem) {
  .ill-membership > .ill-a { grid-column: 1 / span 9; padding-bottom: 3.6rem; }
  .ill-membership > .ill-b { grid-column: 4 / -1; margin-top: -2.5rem; }
}

/* Campaign: audience, then the message, then the result, joined by a line */
.ill-campaign { justify-items: center; align-content: center; min-height: 24rem; }
.ill-campaign > * { width: 100%; max-width: 24rem; }
.ill-campaign > .ill-chip { width: fit-content; white-space: normal; }
.ill-link { width: 0; max-width: none; height: 1.6rem; border-left: 2px dashed var(--line-strong); }
.ill-push { display: flex; align-items: flex-start; gap: .85rem; padding: 1.05rem 1.1rem 1.15rem; border-radius: 1.25rem; }
.ill-push-icon { display: grid; place-items: center; flex: none; width: 2.6rem; height: 2.6rem; border-radius: .75rem; background: #a8431f; color: #fff; font-size: 1.25rem; font-weight: 600; }
.ill-push-text { display: grid; gap: .2rem; flex: 1; min-width: 0; }
.ill-push-from { display: flex; justify-content: space-between; gap: 1rem; font-size: .75rem; color: var(--muted); }
.ill-push-body { font-size: .875rem; line-height: 1.4; color: var(--muted); }
.ill-result { display: grid; gap: .6rem; max-width: 15rem; padding: .85rem 1.1rem 1rem; }
.ill-result-top { display: flex; align-items: baseline; gap: .5rem; }
.ill-result .ill-stat-value { font-size: 1.5rem; }

/* Ownership: a payment on the community's own account, the export on top, its own address */
.ill-owned { grid-template-columns: repeat(12, minmax(0, 1fr)); align-content: center; min-height: 22rem; }
.ill-pay { grid-column: 1 / span 11; grid-row: 1; display: grid; gap: .65rem; padding: 1.2rem 1.25rem 2.1rem; }
.ill-export { grid-column: 3 / -1; grid-row: 2; display: flex; align-items: center; gap: .8rem; margin-top: -1.1rem; padding: .9rem 1.05rem; }
.ill-export-icon { display: grid; place-items: center; flex: none; width: 2.5rem; height: 2.5rem; border-radius: .7rem; background: var(--surface); }
.ill-export-icon .ill-icon { width: 1.2rem; height: 1.2rem; }
.ill-export-text { display: grid; gap: .05rem; min-width: 0; }
.ill-owned > .ill-c { grid-column: 1 / -1; grid-row: 3; justify-self: start; margin: -.7rem 0 0 -.4rem; }
@media (min-width: 30rem) {
  .ill-pay { grid-column: 1 / span 9; }
  .ill-export { grid-column: 5 / -1; margin-top: -1.5rem; }
  .ill-owned > .ill-c { margin-left: 1rem; }
}

/* Analytics */
.ill-kpi { display: grid; gap: .8rem; width: 100%; max-width: 27rem; padding: 1.2rem 1.25rem 1.25rem; }
.ill-kpi-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.ill-kpi-value { display: flex; align-items: center; gap: .75rem; }
.ill-delta { display: inline-flex; align-items: center; gap: .3rem; padding: .22rem .6rem; border-radius: 999px; background: #e4f3e8; color: #14532d; font-size: .8125rem; font-weight: 600; }
.ill-delta .ill-icon { width: .9rem; height: .9rem; stroke-width: 2.4; }
.ill-spark { display: block; width: 100%; height: 5.25rem; }
.ill-income { display: grid; gap: .15rem; justify-self: end; width: max-content; max-width: 100%; margin: -.75rem -.4rem 0 0; padding: .9rem 1.15rem 1rem; }
.ill-income .ill-stat-value { font-size: 1.5rem; }
@media (min-width: 30rem) { .ill-income { margin-right: -1.25rem; } }

/* Languages */
.ill-languages { gap: 1rem; }
.ill-langs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.ill-lang { display: grid; gap: .65rem; padding: 1rem 1.1rem 1.1rem; }
.ill-lang-name { font-size: 1.25rem; font-weight: 600; letter-spacing: -.02em; }
.ill-lang-regions { display: flex; flex-wrap: wrap; gap: .35rem; }
.ill-lang-regions > span { padding: .15rem .5rem; border-radius: .4rem; background: var(--surface); font-size: .75rem; font-weight: 600; color: var(--muted); }
.ill-lang-more { grid-column: 1 / -1; display: flex; align-items: center; gap: .6rem; padding: .8rem 1.1rem; border: 1.5px dashed var(--line-strong); border-radius: var(--r-card); }
.ill-lang-more .ill-lang-name { font-size: 1rem; }
.ill-lang-more .ill-meta { margin-left: auto; }
.ill-editor { display: grid; gap: .55rem; justify-self: end; width: 100%; max-width: 23rem; padding: 1.05rem 1.1rem 1.15rem; }
.ill-editor-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-bottom: .2rem; }
.ill-editor-row { display: grid; gap: .15rem; padding: .7rem .9rem; border-radius: var(--r-row); background: var(--surface); }
.ill-editor-row.is-on { background: #fff; box-shadow: 0 0 0 1.5px var(--ink); }
.ill-editor-old { font-size: .9375rem; color: var(--muted); text-decoration: line-through; text-decoration-color: var(--line-strong); }
.ill-editor-new { font-size: 1rem; font-weight: 600; letter-spacing: -.01em; }
@media (min-width: 30rem) { .ill-editor { margin-right: -1.25rem; } }
