/* Upside, in the Kaizen website's look (kaizenict-website concepts/flagship/styles.css): the same fonts,
   colours, eyebrow rules, square buttons, hairlines and numbered rows, extended to forms and the call room. */

@font-face { font-family: "Instrument Sans"; src: url("/assets/InstrumentSans-Variable.woff2") format("woff2"); font-weight: 400 700; font-stretch: 75% 100%; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/assets/InstrumentSerif-Italic.woff2") format("woff2"); font-style: italic; font-weight: 400; font-display: swap; }
/* the Upside wordmark as a font (u p s d e and a dotless i), so it gets the browser's text smoothing */
@font-face { font-family: "Upside Wordmark"; src: url("/assets/UpsideWordmark.woff2") format("woff2"); font-display: block; }

:root {
  color-scheme: light;
  --chalk: #f6f2f6;
  --paper: #fffbff;
  --white: #ffffff;
  --ink: #2b162b;
  --aubergine: #6b2a6b;
  --mauve: #655362;
  --activation: #c8d53b;
  --rule: #d8cdd7;
  --field: #cbbdc9;
  --soft-rule: rgba(43, 22, 43, 0.16);
  --danger: #a4262c;
  --night-text: #cfc2cf;
  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Instrument Sans", "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--chalk); color: var(--ink); font-family: var(--sans); font-size: 1rem; line-height: 1.55; overflow-wrap: anywhere; }
/* the website's faint column lines */
body::before {
  position: fixed; z-index: -1; inset: 0; content: ""; pointer-events: none;
  background-image:
    linear-gradient(to right, transparent calc(25% - 0.5px), rgba(43, 22, 43, 0.035) 25%, transparent calc(25% + 0.5px)),
    linear-gradient(to right, transparent calc(50% - 0.5px), rgba(43, 22, 43, 0.035) 50%, transparent calc(50% + 0.5px)),
    linear-gradient(to right, transparent calc(75% - 0.5px), rgba(43, 22, 43, 0.035) 75%, transparent calc(75% + 0.5px));
}
a { color: inherit; text-decoration-color: var(--aubergine); text-decoration-thickness: 0.08em; text-underline-offset: 0.28em; }
a:hover { text-decoration-thickness: 0.14em; }
button, input, textarea { color: inherit; font: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--aubergine); outline-offset: 3px; }
img { max-width: 100%; }

.u-skip { position: fixed; z-index: 100; top: 0.75rem; left: 0.75rem; transform: translateY(-180%); background: var(--ink); color: var(--paper); font-weight: 700; padding: 0.7rem 1rem; text-decoration: none; }
.u-skip:focus { transform: none; }
.u-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.u-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.u-shell { width: min(100%, 84rem); margin-inline: auto; padding-inline: var(--gutter); }
.u-stack > * + * { margin-top: 1rem; }

/* ---------------------------------------------------------------- header and footer */
/* solid, not see-through: Chrome only gives text (and the wordmark) its sharpest sub-pixel smoothing on an opaque background */
.u-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid var(--soft-rule); background: var(--paper); }
.u-header__inner { display: flex; align-items: center; gap: 1.1rem; min-height: 4.75rem; }
.u-brand { display: block; flex: none; line-height: 0; }
/* the logo is drawn on a pixel grid for exactly 46px tall: keep it at that size so its edges stay sharp */
/* 46px: the size the letters are drawn for (every stem exactly 4px). The dot's place is in em, from the artwork. */
.u-wordmark { position: relative; display: block; font-family: "Upside Wordmark", "Instrument Sans", sans-serif; font-size: 46px; line-height: normal; color: #37152E; letter-spacing: 0; font-kerning: none; white-space: nowrap; }
.u-wordmark__dot { position: absolute; left: 1.4304em; top: 0.1522em; width: 0.1087em; height: 0.1087em; border-radius: 50%; background: var(--activation); }
.u-wordmark--light { color: #F4F0F2; }
.u-brand { text-decoration: none; }
/* "by kaizen": the maker, quieter than the product */
.u-header__by { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0 0.35rem 1.1rem; border-left: 1px solid var(--rule); color: var(--mauve); font-size: 0.82rem; text-decoration: none; }
.u-header__by img { display: block; height: 20px; width: auto; margin-top: 2px; }
.u-header__meta { margin: 0 0 0 auto; color: var(--ink); font-size: 0.72rem; font-weight: 640; letter-spacing: 0.055em; text-transform: uppercase; }
.u-header__meta span { color: var(--aubergine); margin-inline: 0.35rem; }

/* the footer: one quiet line on a hairline, small and muted, so the page ends on the booking, not on a slab */
/* on a short page it still sits at the bottom of the window, never halfway up */
body, body > #front { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
body > #front { flex: 1 0 auto; }
.u-footer { margin-top: auto; border-top: 1px solid var(--soft-rule); color: var(--mauve); font-size: 0.8rem; line-height: 1.4; }
.u-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 2rem; padding-block: 1.1rem; }
.u-footer__made { margin: 0; padding-block: 0.3rem; }
.u-footer__nav { display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.u-footer__nav a { display: inline-block; padding-block: 0.3rem; text-decoration: none; }
.u-footer__nav a:hover { color: var(--ink); text-decoration: underline; }

/* ---------------------------------------------------------------- type */
.u-eyebrow { display: flex; align-items: center; gap: 0.75rem; margin: 0 0 1.2rem; color: var(--aubergine); font-size: 0.75rem; font-weight: 680; letter-spacing: 0.14em; text-transform: uppercase; }
.u-eyebrow::before { width: 1.3rem; height: 1px; flex: none; background: currentColor; content: ""; }
.u-display { max-width: 11ch; margin: 0; font-family: var(--serif); font-size: clamp(3.2rem, 6.2vw, 6.6rem); font-weight: 400; letter-spacing: -0.05em; line-height: 0.92; text-wrap: balance; }
.u-display em { color: var(--aubergine); font-weight: 400; }
.u-display:focus { outline: none; }
.u-display--md { max-width: 15ch; font-size: clamp(2.7rem, 4.6vw, 4.8rem); }
.u-lede { max-width: 34rem; margin: 1.75rem 0 0; color: var(--mauve); font-size: clamp(1.08rem, 1.5vw, 1.3rem); line-height: 1.55; }
.u-lede strong { color: var(--ink); font-weight: 600; }

/* ---------------------------------------------------------------- page layout: intro and panel side by side, panel stays in view */
.u-main { display: block; }
.u-hero {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(25rem, 31rem);
  grid-template-areas: "intro panel" "more panel";
  grid-template-rows: auto 1fr;
  column-gap: clamp(3rem, 7vw, 7.5rem); row-gap: clamp(2.5rem, 4vw, 3.5rem);
  align-items: start; padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 7vw, 7rem);
}
.u-hero__intro { grid-area: intro; }
.u-hero__panel { grid-area: panel; scroll-margin-top: 6rem; }
.u-hero__more { grid-area: more; }
.u-message { padding-block: clamp(4.5rem, 10vw, 9rem); }
.u-message > * { max-width: 46rem; }
.u-message .u-btn { margin-top: 2.25rem; }

/* numbered rows, as on the website's "how it works" */
.u-points { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--ink); max-width: 40rem; }
.u-points li { display: grid; grid-template-columns: 3.25rem minmax(0, 1fr); padding-block: 1.25rem 1.3rem; border-bottom: 1px solid var(--rule); }
.u-points__n { padding-top: 0.2rem; color: var(--aubergine); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; }
.u-points h3 { margin: 0 0 0.3rem; font-size: 1.1rem; font-weight: 650; letter-spacing: -0.02em; line-height: 1.25; }
.u-points p { margin: 0; color: var(--mauve); font-size: 0.95rem; }
.u-points--tight li { grid-template-columns: 2.5rem minmax(0, 1fr); padding-block: 1rem; }
.u-points--tight h3 { font-size: 1rem; }
.u-points--tight p { font-size: 0.9rem; }

/* an example of what a call gives you, in the website's proof style */
.u-example { max-width: 40rem; margin: 2.75rem 0 0; padding: 1.4rem 1.5rem 1.5rem; border: 1px solid var(--ink); background: rgba(255, 251, 255, 0.6); }
.u-example figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.75rem; color: var(--aubergine); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.u-example figcaption span { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--ink); }
.u-example figcaption span::before { width: 0.55rem; height: 0.55rem; background: var(--activation); content: ""; }
.u-example__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 0.9rem; margin: 1.1rem 0 1.2rem; }
.u-example__num { font-family: var(--serif); font-size: clamp(3rem, 5vw, 4.4rem); letter-spacing: -0.04em; line-height: 0.95; }
.u-example__unit { color: var(--mauve); font-size: 1rem; }
.u-example__rows { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--rule); }
.u-example__rows div { padding: 0.8rem 0.9rem 0 0; }
.u-example__rows div + div { padding-left: 0.9rem; border-left: 1px solid var(--rule); }
.u-example__rows dt { color: var(--mauve); font-size: 0.75rem; line-height: 1.3; }
.u-example__rows dd { margin: 0.3rem 0 0; font-family: var(--serif); font-size: 1.65rem; letter-spacing: -0.02em; line-height: 1; }

/* ---------------------------------------------------------------- the panel and its form */
.u-panel { position: relative; padding: clamp(1.4rem, 3vw, 2.1rem); border: 1px solid var(--soft-rule); border-top: 3px solid var(--ink); background: var(--paper); box-shadow: 0 2.25rem 4rem -2rem rgba(43, 22, 43, 0.28); }
.u-panel__title { margin: 0 0 1.35rem; font-size: 1.5rem; font-weight: 650; letter-spacing: -0.03em; line-height: 1.15; }
.u-panel__title:focus { outline: none; }
.u-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; margin: 0 0 1.6rem; padding: 0; list-style: none; }
.u-steps__item { border-top: 2px solid var(--rule); padding-top: 0.6rem; color: var(--mauve); font-size: 0.75rem; font-weight: 680; letter-spacing: 0.1em; text-transform: uppercase; }
.u-steps__item span { margin-right: 0.35rem; color: inherit; }
.u-steps__item[aria-current] { border-top-color: var(--ink); color: var(--ink); }
.u-steps__item[aria-current] span, .u-steps__item[data-done] span { color: var(--aubergine); }
.u-steps__item[data-done] { border-top-color: var(--aubergine); color: var(--ink); }

.u-field { margin: 0 0 1.15rem; }
.u-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 0.9rem; }
.u-label { display: block; margin: 0 0 0.4rem; color: var(--ink); font-size: 0.85rem; font-weight: 650; line-height: 1.3; }
.u-label span { color: var(--mauve); font-weight: 450; }
.u-input { display: block; width: 100%; min-height: 3rem; margin: 0; padding: 0.7rem 0.85rem; border: 1px solid var(--field); border-radius: 0; background: var(--white); font-size: 1rem; line-height: 1.4; transition: border-color 120ms ease, box-shadow 120ms ease; }
.u-input::placeholder { color: #8e7f8c; }
.u-input:hover { border-color: var(--mauve); }
.u-input:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.u-input[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 3px 0 0 var(--danger); }
.u-textarea { min-height: 5.75rem; resize: vertical; }
.u-hint { margin: 0.4rem 0 0; color: var(--mauve); font-size: 0.82rem; line-height: 1.4; }
/* a hint under a pair of fields (the company test page) */
.u-namepair .u-pair .u-field { margin-bottom: 0; }
.u-namepair .u-pair { row-gap: 1.15rem; }
select.u-input { color: var(--ink); appearance: none; padding-right: 2.6rem; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232b162b' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.95rem center; cursor: pointer; }
.u-error { display: flex; gap: 0.5rem; margin: 0.45rem 0 0; color: var(--danger); font-size: 0.85rem; font-weight: 600; line-height: 1.4; }
.u-error::before { width: 0.45rem; height: 0.45rem; flex: none; margin-top: 0.45em; background: currentColor; content: ""; }
/* the booking form's message when a booking is refused (not .u-status: that is the call room's status pill) */
.u-alert { scroll-margin-top: 6.5rem; margin: 0 0 1.25rem; padding: 0.85rem 1rem; border-left: 3px solid var(--danger); background: #fbeff1; color: var(--ink); font-size: 0.92rem; }

/* team size: one even row of five */
.u-segments { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid var(--field); background: var(--white); }
.u-choice { min-height: 2.9rem; padding: 0.4rem 0.2rem; border: 0; background: transparent; cursor: pointer; font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; transition: background-color 120ms ease, color 120ms ease; }
.u-choice + .u-choice { border-left: 1px solid var(--field); }
.u-choice:hover { background: var(--chalk); }
.u-choice[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.u-choice:focus-visible { outline: 2px solid var(--aubergine); outline-offset: -4px; }
.u-segments[aria-invalid="true"] { border-color: var(--danger); box-shadow: inset 3px 0 0 var(--danger); }

/* buttons, as on the website */
.u-btn { display: inline-flex; min-height: 3.25rem; align-items: center; justify-content: center; gap: 0.85rem; padding: 0.9rem 1.3rem; border: 0; border-radius: 0; background: var(--ink); color: var(--paper); cursor: pointer; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.09em; text-decoration: none; text-transform: uppercase; transition: background-color 140ms ease; }
.u-btn::after { width: 1.5rem; height: 1px; background: currentColor; content: ""; }
.u-btn:hover { background: var(--aubergine); }
.u-btn:disabled { cursor: progress; opacity: 0.7; }
.u-btn--block { display: flex; width: 100%; }
.u-back { display: inline-flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; padding: 0.35rem 0; border: 0; background: none; color: var(--aubergine); cursor: pointer; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.u-back::before { width: 1.3rem; height: 1px; background: currentColor; content: ""; }
.u-back:hover { color: var(--ink); }

/* day and time picker: soonest first, then three day tabs, three parts of the day, half-hour times */
.u-tabs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); border: 1px solid var(--field); background: var(--white); }
.u-tab { display: grid; place-items: center; align-content: center; gap: 0.1rem; min-height: 2.9rem; padding: 0.45rem 0.35rem; border: 0; background: transparent; cursor: pointer; font-size: 0.92rem; font-weight: 650; line-height: 1.2; transition: background-color 120ms ease, color 120ms ease; }
.u-tab + .u-tab { border-left: 1px solid var(--field); }
.u-tab small { color: var(--mauve); font-size: 0.74rem; font-weight: 600; }
.u-tab:hover:not(:disabled) { background: var(--chalk); }
.u-tab[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.u-tab[aria-pressed="true"] small { color: var(--activation); }
.u-tab:disabled { color: #b3a6b1; cursor: default; }
.u-tab:focus-visible { outline: 2px solid var(--aubergine); outline-offset: -4px; }
.u-tabs--days .u-tab { min-height: 3.6rem; }
.u-slots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.45rem; margin-top: 0.75rem; }
.u-time { min-height: 2.75rem; padding: 0.4rem 0.2rem; border: 1px solid var(--field); background: var(--white); cursor: pointer; font-size: 0.92rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.u-time:hover { border-color: var(--mauve); }
.u-time[aria-pressed="true"] { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.u-now { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.75rem; align-items: center; width: 100%; margin: 0 0 1.4rem; padding: 0.85rem 1rem; border: 1px solid var(--ink); background: var(--white); cursor: pointer; text-align: left; }
.u-now::before { grid-row: 1 / span 2; width: 0.65rem; height: 0.65rem; background: var(--activation); content: ""; }
.u-now strong { font-size: 1rem; font-weight: 700; }
.u-now span { color: var(--mauve); font-size: 0.86rem; line-height: 1.35; }
.u-now:hover { background: var(--chalk); }
.u-now[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.u-now[aria-pressed="true"] span { color: var(--night-text); }
.u-chosen { margin: 0 0 1.15rem; padding: 0.8rem 1rem; border-left: 3px solid var(--activation); background: var(--chalk); color: var(--mauve); font-size: 0.92rem; line-height: 1.4; }
.u-chosen strong { display: block; margin-top: 0.1rem; color: var(--ink); font-size: 1rem; font-weight: 650; }

.u-check { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; align-items: start; color: var(--mauve); font-size: 0.88rem; line-height: 1.45; cursor: pointer; }
.u-check strong { color: var(--ink); font-weight: 650; }
.u-check input { width: 1.25rem; height: 1.25rem; margin: 0.1rem 0 0; border: 1px solid var(--ink); border-radius: 0; background: var(--white); appearance: none; -webkit-appearance: none; cursor: pointer; }
.u-check input:checked { background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4.5 10.5l3.5 3.5 7.5-8' fill='none' stroke='%23fffbff' stroke-width='2.2'/%3E%3C/svg%3E") center / 0.95rem no-repeat; }
.u-check input:focus-visible { outline: 3px solid var(--aubergine); outline-offset: 2px; }
.u-check input[aria-invalid="true"] { border-color: var(--danger); box-shadow: 0 0 0 1px var(--danger); }

.u-fine { margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--rule); color: var(--mauve); font-size: 0.82rem; line-height: 1.45; }
.u-devnote { margin: 1.25rem 0 0; padding: 0.75rem; border: 1px dashed var(--field); font-size: 0.85rem; }
.u-devnote[data-dev=""] { display: none; }
.u-when { display: inline-grid; gap: 0.15rem; margin: 2.25rem 0 0; padding: 1rem 2.5rem 1rem 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.u-when span:first-child { font-family: var(--serif); font-size: 1.9rem; letter-spacing: -0.02em; line-height: 1.05; }
.u-when span:last-child { color: var(--mauve); font-size: 0.95rem; }

/* the call's front card: setup steps, microphone meter, summary */
.u-setup { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; margin: 0; padding: 0; list-style: none; }
.u-setup li { border-top: 2px solid var(--rule); padding-top: 0.6rem; color: var(--mauve); font-size: 0.82rem; font-weight: 600; line-height: 1.3; }
.u-setup li span { display: block; margin-bottom: 0.15rem; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.08em; }
.u-setup li[aria-current] { border-top-color: var(--ink); color: var(--ink); }
.u-setup li[data-done] { border-top-color: var(--aubergine); color: var(--ink); }
.u-setup li[aria-current] span, .u-setup li[data-done] span { color: var(--aubergine); }
.u-meter { height: 0.5rem; background: var(--chalk); border: 1px solid var(--rule); overflow: hidden; }
.u-meter > i { display: block; height: 100%; width: 0; background: var(--activation); transition: width 80ms linear; }
.u-meter-hint { margin: 0.5rem 0 0; color: var(--mauve); font-size: 0.85rem; }
#readingUp + .u-meter-hint { margin-top: 1rem; }
.u-panel p { margin: 0; }
.u-panel .u-fine { margin-top: 1.5rem; }

/* ---------------------------------------------------------------- the call room: the website's dark band */
.u-room { position: relative; display: grid; grid-template-rows: auto 1fr auto; min-height: 100vh; min-height: 100dvh; color: var(--paper);
  background: radial-gradient(70rem 46rem at 50% 0%, rgba(107, 42, 107, 0.32), transparent 70%), var(--ink); }
.u-room :focus-visible { outline-color: var(--paper); }

/* the bar: brand, what this is, time left, and the time as a line that shortens along the bottom */
.u-room__bar { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 4.75rem; padding-inline: var(--gutter); border-bottom: 1px solid rgba(255, 251, 255, 0.1); }
.u-room__brand { display: flex; align-items: center; gap: 1.1rem; }
.u-room__by { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.35rem 0 0.35rem 1.1rem; border-left: 1px solid rgba(255, 251, 255, 0.25); color: var(--night-text); font-size: 0.82rem; }
.u-room__by img { display: block; height: 20px; width: auto; margin-top: 2px; }
.u-room__title { margin: 0; color: var(--night-text); font-size: 0.72rem; font-weight: 680; letter-spacing: 0.14em; text-transform: uppercase; }
.u-clock { justify-self: end; display: inline-flex; align-items: baseline; gap: 0.5rem; font-variant-numeric: tabular-nums; }
.u-clock #clock { font-size: 1.15rem; font-weight: 650; letter-spacing: 0.02em; }
.u-clock__dot { align-self: center; width: 0.5rem; height: 0.5rem; background: var(--activation); }
.u-clock__unit { color: var(--night-text); font-size: 0.78rem; }
.u-clock[data-low] { color: #f7d08a; }
.u-clock[data-low] .u-clock__dot { background: #f2b84b; animation: u-blink 1s steps(2) infinite; }
@keyframes u-blink { 50% { opacity: 0.2; } }
.u-room__progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: rgba(255, 251, 255, 0.06); }
.u-room__progress i { display: block; height: 100%; background: var(--activation); transform-origin: left; transition: transform 1s linear; }
.u-clock[data-low] ~ .u-room__progress i { background: #f2b84b; }

/* the stage: Upside on the left, "Your upside" on the right */
.u-room__main { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(22rem, 27rem); gap: clamp(2rem, 5vw, 5.5rem); align-items: center; width: min(100%, 86rem); margin-inline: auto; padding: clamp(1.25rem, 3.5vh, 3rem) var(--gutter) clamp(1rem, 3vh, 2rem); }
.u-room__main:focus { outline: none; }
.u-room__presence { display: grid; justify-items: center; text-align: center; }
.u-orb { position: relative; width: min(40vh, 25rem, 74vw); aspect-ratio: 1; }
/* a warm glow that sits behind the orb wherever the layout puts it */
.u-orb::before { position: absolute; inset: -38%; z-index: -1; border-radius: 50%; content: ""; pointer-events: none;
  background: radial-gradient(closest-side, rgba(250, 196, 120, 0.16), rgba(142, 79, 142, 0.2) 48%, transparent 74%); }
.u-orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; -webkit-mask-image: radial-gradient(closest-side, #000 82%, transparent); mask-image: radial-gradient(closest-side, #000 82%, transparent); }

/* who has the floor, with a small level meter that moves with the voice */
.u-status { display: inline-flex; align-items: center; gap: 0.65rem; min-height: 2.25rem; margin: 0.6rem 0 1.25rem; padding: 0.4rem 0.9rem; border: 1px solid rgba(255, 251, 255, 0.16); background: rgba(255, 251, 255, 0.04); color: var(--paper); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.13em; text-transform: uppercase; }
.u-status__wave { display: inline-flex; align-items: center; gap: 2px; height: 0.85rem; }
.u-status__wave i { width: 3px; height: 30%; background: var(--night-text); opacity: 0.5; }
.u-status[data-mode="speak"] .u-status__wave i { background: var(--activation); opacity: 1; animation: u-wave 0.9s ease-in-out infinite; }
.u-status[data-mode="listen"] .u-status__wave i { background: var(--paper); opacity: 0.9; animation: u-wave 1.3s ease-in-out infinite; }
.u-status[data-mode="connecting"] .u-status__wave i { animation: u-dots 1.2s ease-in-out infinite; }
.u-status[data-mode="muted"] { border-color: rgba(242, 184, 75, 0.5); color: #f7d08a; }
.u-status[data-mode="muted"] .u-status__wave i { background: #f2b84b; }
.u-status__wave i:nth-child(2) { animation-delay: -0.3s !important; }
.u-status__wave i:nth-child(3) { animation-delay: -0.6s !important; }
.u-status__wave i:nth-child(4) { animation-delay: -0.15s !important; }
@keyframes u-wave { 0%, 100% { height: 25%; } 50% { height: 100%; } }
@keyframes u-dots { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

.u-captions { width: min(46rem, 100%); min-height: 9rem; }
.u-captions b { display: block; margin-bottom: 0.45rem; color: var(--activation); font-family: var(--sans); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.u-captions__her { margin: 0; font-family: var(--serif); font-size: clamp(1.5rem, 2.3vw, 2.15rem); letter-spacing: -0.012em; line-height: 1.22; text-wrap: balance; }
.u-captions__you { margin: 1rem auto 0; max-width: 38rem; color: var(--night-text); font-size: 0.98rem; line-height: 1.5; }
.u-captions__you b { display: inline; margin: 0 0.55rem 0 0; color: var(--paper); }

/* ---------------------------------------------------------------- "Your upside": the scorecard */
.u-score {
  --s-text: var(--paper); --s-muted: var(--night-text); --s-rule: rgba(255, 251, 255, 0.12); --s-accent: var(--activation);
  --s-track: rgba(255, 251, 255, 0.09); --s-time: var(--activation); --s-growth: rgba(200, 213, 59, 0.42); --s-invest: rgba(255, 251, 255, 0.7);
  --s-wash: rgba(200, 213, 59, 0.07);
  color: var(--s-text);
}
.u-score--light {
  --s-text: var(--ink); --s-muted: var(--mauve); --s-rule: var(--rule); --s-accent: var(--aubergine);
  --s-track: var(--chalk); --s-time: var(--aubergine); --s-growth: rgba(107, 42, 107, 0.38); --s-invest: var(--ink); --s-wash: var(--chalk);
  border-top: 1px solid var(--ink); padding-top: 1rem;
}
.u-room .u-score { position: relative; padding: 1.35rem 1.5rem 1.2rem; border: 1px solid rgba(255, 251, 255, 0.12); border-top: 2px solid var(--activation);
  background: linear-gradient(180deg, rgba(255, 251, 255, 0.07), rgba(255, 251, 255, 0.025)); box-shadow: 0 2.5rem 4.5rem -2.5rem rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.u-score__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.u-score__eyebrow { display: flex; align-items: center; gap: 0.7rem; margin: 0; color: var(--s-text); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.u-score__eyebrow::before { width: 1.3rem; height: 1px; background: currentColor; content: ""; }
.u-score--light .u-score__eyebrow { color: var(--aubergine); margin-bottom: 0.9rem; }
.u-score__live { display: inline-flex; align-items: center; gap: 0.45rem; margin: 0; color: var(--s-muted); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.u-score__live i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--activation); box-shadow: 0 0 0 0 rgba(200, 213, 59, 0.6); animation: u-live 2s ease-out infinite; }
@keyframes u-live { 0% { box-shadow: 0 0 0 0 rgba(200, 213, 59, 0.55); } 70%, 100% { box-shadow: 0 0 0 0.45rem rgba(200, 213, 59, 0); } }
.u-score__for { margin: 0.55rem 0 0; font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.015em; line-height: 1.1; }
#scoreBody { margin-top: 1.1rem; }

/* before any numbers: what Upside works out, in order */
.u-score__intro { margin: 0 0 1rem; font-family: var(--serif); font-size: 2rem; letter-spacing: -0.02em; line-height: 1.05; }
.u-journey { margin: 0; padding: 0; list-style: none; }
.u-journey:not(.u-journey--bar) li { display: grid; grid-template-columns: 2.1rem minmax(0, 1fr) auto; align-items: baseline; padding-block: 0.78rem; border-top: 1px solid var(--s-rule); color: var(--s-muted); font-size: 0.95rem; }
.u-journey:not(.u-journey--bar) li:last-child { border-bottom: 1px solid var(--s-rule); }
.u-journey:not(.u-journey--bar) li span { color: var(--s-muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em; }
.u-journey:not(.u-journey--bar) li[aria-current] { color: var(--s-text); }
.u-journey:not(.u-journey--bar) li[aria-current] span { color: var(--s-accent); }
.u-journey:not(.u-journey--bar) li[aria-current]::after { color: var(--s-accent); content: "Now"; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.u-journey:not(.u-journey--bar) li[data-done] { color: var(--s-text); }
.u-journey:not(.u-journey--bar) li[data-done]::after { width: 0.85rem; height: 0.85rem; background: var(--s-accent); content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M4 10.5l4 4 8-9' fill='none' stroke='%23000' stroke-width='2.4'/%3E%3C/svg%3E") center / contain no-repeat; }

/* with numbers: progress as four segments */
.u-journey--bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.35rem; margin-bottom: 1.15rem; }
.u-journey--bar li { padding-top: 0.45rem; border-top: 3px solid var(--s-track); color: var(--s-muted); font-size: 0.64rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.u-journey--bar li[data-done] { border-top-color: var(--s-accent); color: var(--s-text); }
.u-journey--bar li[aria-current] { border-top-color: rgba(255, 251, 255, 0.55); color: var(--s-text); }

.u-score__label { margin: 0; color: var(--s-muted); font-size: 0.8rem; font-weight: 600; }
.u-score__big { margin: 0.35rem 0 0; color: var(--s-accent); font-family: var(--serif); font-size: clamp(3.2rem, 4vw, 4rem); font-variant-numeric: tabular-nums; letter-spacing: -0.035em; line-height: 0.95; }
.u-score__hero[data-new] .u-score__big { animation: u-glow 1.6s ease-out; }
@keyframes u-glow { 0% { text-shadow: 0 0 2.5rem rgba(200, 213, 59, 0.75); } 100% { text-shadow: 0 0 0 rgba(200, 213, 59, 0); } }
.u-score__bar { display: flex; gap: 2px; height: 6px; margin-top: 0.85rem; background: var(--s-track); }
.u-score__bar i { display: block; height: 100%; transform-origin: left; animation: u-grow 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.u-score__time { background: var(--s-time); }
.u-score__growth { background: var(--s-growth); }
@keyframes u-grow { from { transform: scaleX(0); } }
.u-score__rows { margin: 0.8rem 0 0; }
.u-score__rows > div { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-block: 0.5rem; border-top: 1px solid var(--s-rule); }
.u-score__rows dt { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--s-muted); font-size: 0.86rem; }
.u-score__rows dd { margin: 0; font-family: var(--serif); font-size: 1.45rem; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; line-height: 1; white-space: nowrap; }
.u-key { width: 0.55rem; height: 0.55rem; flex: none; }
.u-key--time { background: var(--s-time); }
.u-key--growth { background: var(--s-growth); }
.u-score__invest { margin-top: 0.8rem; padding-top: 0.1rem; border-top: 1px solid var(--s-text); }
.u-score__invest .u-score__rows { margin: 0; }
.u-score__invest .u-score__rows > div:first-child { border-top: 0; }
.u-score__scope { margin-top: 0.9rem; padding: 0.75rem 0.9rem; border-left: 2px solid var(--s-accent); background: var(--s-wash); }
.u-score__scope .u-score__label { color: var(--s-accent); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.u-score__scope p:last-child { margin: 0.35rem 0 0; font-size: 0.85rem; line-height: 1.45; }
.u-score__note { margin: 0.9rem 0 0; color: var(--s-muted); font-size: 0.76rem; line-height: 1.45; }
.u-score [data-new] { animation: u-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
@keyframes u-rise { from { opacity: 0; transform: translateY(0.4rem); } }
.u-score__hero[data-new] { animation: u-rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both; }
.u-panel .u-score { margin-bottom: 1.5rem; border-top: 0; padding-top: 0; }
.u-panel .u-score__big { font-size: clamp(3rem, 5vw, 3.8rem); }

/* ---------------------------------------------------------------- the controls: one dock */
.u-room__controls { position: sticky; bottom: 0; z-index: 2; display: flex; justify-content: center; padding: 0.9rem var(--gutter) calc(1rem + env(safe-area-inset-bottom)); background: linear-gradient(transparent, rgba(43, 22, 43, 0.92) 40%); }
.u-dock { display: inline-flex; gap: 0.4rem; padding: 0.4rem; border: 1px solid rgba(255, 251, 255, 0.14); background: rgba(24, 10, 24, 0.55); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.u-dock__btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; white-space: nowrap; min-height: 2.9rem; padding: 0 1.15rem; border: 0; border-radius: 0; background: rgba(255, 251, 255, 0.06); color: var(--paper); cursor: pointer; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; transition: background-color 140ms ease; }
.u-dock__btn:hover { background: rgba(255, 251, 255, 0.13); }
.u-dock__icon { flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.u-dock__slash { display: none; }
#mute[aria-pressed="true"] { background: rgba(242, 184, 75, 0.16); color: #f7d08a; }
#mute[aria-pressed="true"] .u-dock__slash { display: inline; }
#captionsToggle[aria-pressed="false"] { color: var(--night-text); }
#captionsToggle[aria-pressed="false"] .u-dock__slash { display: inline; }
.u-dock__btn--end { margin-left: 0.3rem; background: #b3364a; }
.u-dock__btn--end:hover { background: #9a2b3e; }
.u-dock__btn:disabled { opacity: 0.6; cursor: default; }

@media (prefers-reduced-motion: reduce) {
  .u-status__wave i, .u-score__live i, .u-score [data-new], .u-score__bar i, .u-score__hero[data-new] .u-score__big { animation: none !important; }
  .u-room__progress i { transition: none; }
}

/* ---------------------------------------------------------------- smaller screens */
@media (max-width: 62rem) {
  .u-hero { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "panel" "more"; grid-template-rows: auto; row-gap: 2.5rem; }
  .u-hero { max-width: 46rem; }
  .u-display { font-size: clamp(3.4rem, 8.5vw, 5rem); }
  .u-room__main { grid-template-columns: minmax(0, 1fr); align-items: start; row-gap: 1.5rem; }
  .u-room .u-score { max-width: 34rem; width: 100%; justify-self: center; }
  .u-room__title { display: none; }
  .u-room__bar { grid-template-columns: 1fr auto; }
}
@media (max-width: 40rem) {
  .u-header__meta { display: none; }
  .u-display { font-size: clamp(3rem, 14vw, 4rem); }
  .u-pair { grid-template-columns: minmax(0, 1fr); }
  .u-slots { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .u-example__rows { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .u-example__rows div:nth-child(3) { padding-left: 0; border-left: 0; }
  .u-example__rows div:nth-child(n + 3) { border-top: 1px solid var(--rule); margin-top: 0.8rem; }
  .u-footer__inner { flex-direction: column-reverse; align-items: flex-start; }
  .u-orb { width: min(42vw, 10.5rem); }
  .u-room__main { padding-top: 1rem; }
  .u-room__by { display: none; }
  .u-status { margin: 0.6rem 0 1rem; }
  .u-captions { min-height: 5.5rem; }
  .u-captions__her { font-size: 1.3rem; }
  .u-captions__you { font-size: 0.9rem; }
  .u-room .u-score { padding: 1.2rem 1.15rem 1.1rem; }
  .u-score__intro { font-size: 1.65rem; }
  .u-score__big { font-size: 3.3rem; }
  .u-dock { display: flex; width: 100%; }
  .u-dock__btn { flex: 1 1 auto; padding-inline: 0.6rem; gap: 0.45rem; }
  .u-dock__more { display: none; }
  .u-dock__btn--end { margin-left: 0; }
  .u-setup { gap: 0.5rem; }
}
/* short screens, such as a 13-inch laptop: the full scorecard still fits above the controls */
@media (max-height: 52rem) and (min-width: 62.01rem) {
  .u-orb { width: min(36vh, 22rem); }
  .u-room__main { padding-block: 1rem; }
  .u-journey--bar[data-all] { display: none; }
  .u-score__for { font-size: 1.25rem; }
  #scoreBody { margin-top: 0.9rem; }
  .u-room .u-score__big { font-size: 3.4rem; }
  .u-room .u-score__rows > div { padding-block: 0.4rem; }
  .u-room .u-score__rows dd { font-size: 1.35rem; }
  .u-room .u-score__scope p:last-child { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
  .u-room .u-score__note { margin-top: 0.7rem; }
}
/* very narrow phones: keep button labels such as "Book my consultation" on one line */
@media (max-width: 22.5rem) {
  #mute .u-dock__icon, #captionsToggle .u-dock__icon { display: none; }
  .u-btn { letter-spacing: 0.04em; padding-inline: 0.9rem; }
  .u-btn::after { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
}

/* ================================================================ the new Kaizen site's look (26 Oct 2026)
   As on the homepage: deep plum, cream cards, lime accents, pill buttons, Upside's gold orb in each hero.
   The pages are dark; the booking card and the call's front card are cream, with the form in plum. */
:root {
  color-scheme: dark;
  --night: #2a0f23;
  --plum: #37152e;
  --plum-mid: #4a1d3e;
  --plum-soft: #5c2a4f;
  --cream: #f4f1e8;
  --muted-dark: rgba(244, 241, 232, 0.76);
  --line-dark: rgba(244, 241, 232, 0.16);
}
body { background: radial-gradient(ellipse 90% 55% at 50% 0%, var(--plum-mid) 0%, var(--night) 72%) no-repeat, var(--night); color: var(--cream); }
body::before { display: none; }
:focus-visible { outline-color: var(--activation); }
a { text-decoration-color: var(--activation); }

/* header and footer: the homepage's dark bar */
.u-header { border-bottom-color: rgba(244, 241, 232, 0.06); background: var(--night); }
.u-header__by { border-left-color: rgba(244, 241, 232, 0.25); color: var(--muted-dark); }
.u-header__meta { color: var(--muted-dark); }
.u-header__meta span { color: var(--activation); }
.u-footer { border-top-color: rgba(244, 241, 232, 0.08); background: var(--night); color: var(--muted-dark); }
.u-footer__nav a:hover { color: var(--activation); }

/* the hero: Upside's orb, a lime eyebrow, cream headline with a lime accent */
/* Upside introduces itself: the gold orb, following the pointer, and what it says in a speech bubble */
.u-meet { display: flex; align-items: center; margin: -2rem 0 1.5rem; }
.u-hero__orb { --orb: clamp(11rem, 15vw, 14rem); position: relative; flex: none; width: var(--orb); aspect-ratio: 1; margin: 0 calc(var(--orb) * -0.17) 0 calc(var(--orb) * -0.23); }
.u-hero__orb::before { position: absolute; inset: -10%; z-index: -1; border-radius: 50%; content: ""; pointer-events: none; background: radial-gradient(closest-side, rgba(250, 196, 120, 0.2), rgba(142, 79, 142, 0.2) 50%, transparent 75%); }
.u-hero__orb-still { position: absolute; inset: 24%; border-radius: 50%; background: radial-gradient(circle at 36% 30%, #fbe7c2 0%, #f2b68c 30%, #c9658f 62%, var(--plum-soft) 100%); box-shadow: 0 0 60px rgba(242, 182, 140, 0.4); transition: opacity 0.6s ease; }
.u-hero__orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.u-hero__orb[data-live] .u-hero__orb-still { opacity: 0; }
.u-meet__bubble { position: relative; max-width: 25rem; padding: 0.95rem 1.25rem 1.1rem; border: 1px solid var(--line-dark); border-radius: 22px 22px 22px 6px; background: linear-gradient(160deg, rgba(244, 241, 232, 0.12), rgba(244, 241, 232, 0.04)); box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.u-meet__who { display: flex; align-items: center; gap: 0.5rem; margin: 0; color: var(--activation); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.u-meet__who i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--activation); animation: u-live 2s ease-out infinite; }
.u-meet__who span { color: var(--muted-dark); font-weight: 600; letter-spacing: 0.06em; text-transform: none; }
.u-meet__who span::before { margin-right: 0.45rem; color: var(--muted-dark); content: "·"; }
.u-meet__line { margin: 0.45rem 0 0; color: var(--cream); font-family: var(--serif); font-size: clamp(1.3rem, 1.8vw, 1.6rem); letter-spacing: -0.01em; line-height: 1.2; text-wrap: pretty; }
.u-meet__line[data-typing] .u-say__w { color: rgba(244, 241, 232, 0.22); transition: color 0.25s ease; }
.u-meet__line[data-typing] .u-say__w.is-on { color: var(--cream); }
.u-message .u-meet { margin-top: -1rem; }

/* the end of a test consultation with no numbers: what happened, ticked off */
.u-done { margin: 0 0 1.5rem; padding: 0; border-top: 1px solid var(--rule); list-style: none; }
.u-done li { display: grid; grid-template-columns: 1.25rem minmax(0, 1fr); gap: 0.75rem; align-items: start; padding-block: 0.8rem; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 0.98rem; line-height: 1.4; }
.u-done li::before { width: 1.25rem; height: 1.25rem; margin-top: 0.05rem; border-radius: 50%; background: var(--activation) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2337152e' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.85rem no-repeat; content: ""; }

.u-eyebrow { color: var(--activation); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.18em; }
.u-eyebrow::before { display: none; }
.u-display { max-width: 13ch; letter-spacing: -0.035em; }
.u-display em { color: var(--activation); font-style: italic; }
.u-lede { color: var(--muted-dark); }
.u-lede strong { color: var(--cream); }

/* the three promises, as on the homepage's "Your upside": serif lime numbers and serif titles */
.u-points { border-top-color: var(--line-dark); }
.u-points li { border-bottom-color: var(--line-dark); }
.u-points__n { padding-top: 0; color: var(--activation); font-family: var(--serif); font-size: 1.5rem; font-weight: 400; letter-spacing: 0; line-height: 1.1; }
.u-points h3 { font-family: var(--serif); font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 400; letter-spacing: -0.01em; line-height: 1.05; }
.u-points p { color: var(--muted-dark); }
/* inside the cream card (booked page, call room) the dark-page colours vanish: plum on cream instead */
.u-panel .u-points { border-top-color: var(--rule); }
.u-panel .u-points li { border-bottom-color: var(--rule); }
.u-panel .u-points__n { color: var(--aubergine); }
.u-panel .u-points h3 { font-size: 1.3rem; }
.u-panel .u-points p { color: var(--mauve); }

/* the example: a glass card, the figure in lime */
.u-example { border: 1px solid var(--line-dark); border-radius: 28px; background: linear-gradient(160deg, rgba(244, 241, 232, 0.1), rgba(244, 241, 232, 0.03)); padding: 1.6rem 1.75rem 1.75rem; }
.u-example figcaption { color: var(--muted-dark); }
.u-example figcaption span { color: var(--activation); }
.u-example figcaption span::before { border-radius: 50%; }
.u-example__num { color: var(--activation); }
.u-example__unit { color: var(--muted-dark); }
.u-example__rows { grid-template-columns: repeat(3, minmax(0, 1fr)); border-top-color: var(--line-dark); }
.u-example__rows div + div { border-left-color: var(--line-dark); }
.u-example__rows dt { color: var(--muted-dark); }

/* the cream card: the booking form and the call's front card, in plum */
.u-panel {
  --chalk: #ebe6da; --paper: #f4f1e8; --white: #ffffff; --ink: #37152e; --aubergine: #5c2a4f; --mauve: #5f4d5a;
  --rule: rgba(55, 21, 46, 0.14); --field: rgba(55, 21, 46, 0.22); --soft-rule: rgba(55, 21, 46, 0.1);
  border: 0; border-radius: 28px; background: var(--cream); color: var(--ink); box-shadow: 0 40px 80px rgba(0, 0, 0, 0.38);
}
.u-panel :focus-visible { outline-color: var(--ink); }
.u-panel a { text-decoration-color: var(--aubergine); }
.u-steps__item { border-top-width: 3px; border-radius: 2px; }
.u-steps__item[aria-current] { border-top-color: var(--ink); }
.u-steps__item[data-done] { border-top-color: var(--activation); }
.u-input { border-radius: 12px; border-color: var(--field); }
.u-input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 213, 59, 0.7); }
.u-segments, .u-tabs { overflow: hidden; border-radius: 12px; }
.u-choice[aria-pressed="true"], .u-tab[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.u-time { border-radius: 12px; }
.u-time[aria-pressed="true"] { color: var(--cream); }
.u-now { border-radius: 16px; border-color: var(--ink); }
.u-now::before { border-radius: 50%; }
.u-now[aria-pressed="true"] { color: var(--cream); }
.u-now[aria-pressed="true"] span { color: rgba(244, 241, 232, 0.78); }
.u-chosen { border-left: 0; border-radius: 12px; background: rgba(200, 213, 59, 0.35); color: var(--ink); }
.u-check input { border-radius: 6px; }
.u-panel .u-status { border-left: 0; border-radius: 12px; }
.u-meter { border-radius: 999px; }
.u-meter > i { border-radius: 999px; }
.u-setup li { border-top-width: 3px; }
.u-setup li[data-done] { border-top-color: var(--activation); }
.u-back { color: var(--aubergine); font-size: 0.9375rem; letter-spacing: 0; text-transform: none; }
.u-back::before { width: auto; height: auto; background: none; content: "\2190"; }

/* buttons: pills, as on the homepage. Plum on the cream card, lime on the dark page */
.u-btn { min-height: 3.25rem; border-radius: 999px; background: var(--plum); color: var(--cream); font-size: 1.0625rem; font-weight: 650; letter-spacing: 0; text-transform: none; transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease; }
.u-btn::after { width: auto; height: auto; background: none; content: "\2192"; }
.u-btn:hover { transform: translateY(-2px); background: var(--night); box-shadow: 0 14px 40px rgba(55, 21, 46, 0.3); }
.u-btn:disabled { transform: none; }
.u-message .u-btn { background: var(--activation); color: var(--plum); }
.u-message .u-btn:hover { background: #e3ec7a; box-shadow: 0 14px 40px rgba(200, 213, 59, 0.35); }

/* booked: the time as a glass card */
.u-when { padding: 1.1rem 1.5rem; border: 1px solid var(--line-dark); border-radius: 22px; background: rgba(244, 241, 232, 0.06); }
.u-when span:first-child { color: var(--activation); }
.u-when span:last-child { color: var(--muted-dark); }

/* booked: their private link, so a mistyped email can't leave them without it */
.u-join { margin: 0 0 1.75rem; padding-bottom: 1.75rem; border-bottom: 1px solid var(--rule); }
.u-join[hidden] { display: none; }
.u-join__lede { margin: 0 0 1.1rem; color: var(--mauve); font-size: 0.95rem; line-height: 1.5; }
.u-join__lede strong { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.u-join__label { display: block; margin: 0 0 0.4rem; font-size: 0.875rem; font-weight: 600; }
.u-join__link { font-size: 0.9rem; text-overflow: ellipsis; }
.u-join__actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.85rem; }
.u-join__actions .u-btn { flex: 1 1 10rem; }
.u-btn--plain::after { content: none; }
.u-btn--outline { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.u-btn--outline::after { content: none; }
.u-btn--outline:hover { background: var(--ink); color: var(--cream); }
.u-join__status { min-height: 1.2em; margin: 0.6rem 0 0; color: var(--mauve); font-size: 0.875rem; }

/* the call page: Upside doing its homework, live (Peter Z, 3 Nov) */
.u-hw { display: grid; gap: 1rem; }
.u-hw__meter { position: relative; height: 6px; overflow: hidden; border-radius: 999px; background: rgba(55, 21, 46, 0.1); }
.u-hw__meter i { position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--aubergine), var(--ink) 60%, #8e4f8e); transform: scaleX(0); transform-origin: left; transition: transform 0.4s linear; }
.u-hw__meter i::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent); transform: translateX(-100%); animation: u-sheen 1.6s ease-in-out infinite; }
.u-hw[data-done] .u-hw__meter i { background: var(--activation); }
.u-hw[data-done] .u-hw__meter i::after { animation: none; }
@keyframes u-sheen { to { transform: translateX(100%); } }
.u-hw__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin: 0; }
.u-hw__stats div { padding: 0.7rem 0.75rem 0.65rem; border-radius: 14px; background: rgba(55, 21, 46, 0.05); }
.u-hw__stats dt { color: var(--mauve); font-size: 0.75rem; font-weight: 600; line-height: 1.2; }
.u-hw__stats dd { margin: 0.15rem 0 0; color: var(--ink); font-family: var(--serif); font-size: 2rem; line-height: 1; font-variant-numeric: tabular-nums; }
.u-hw__stats dd.is-bump { animation: u-bump 0.45s ease-out; }
@keyframes u-bump { 0% { color: var(--aubergine); transform: translateY(-3px) scale(1.12); } 100% { transform: none; } }
.u-hw__now { display: flex; align-items: center; gap: 0.55rem; min-height: 1.4em; margin: 0; overflow: hidden; color: var(--mauve); font-size: 0.875rem; white-space: nowrap; text-overflow: ellipsis; }
.u-hw__now i { flex: none; width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--activation); box-shadow: 0 0 0 0 rgba(200, 213, 59, 0.6); animation: u-live 1.4s ease-out infinite; }
.u-hw[data-done] .u-hw__now i { animation: none; }
.u-hw__now span { overflow: hidden; text-overflow: ellipsis; }
.u-hw__feed { display: grid; gap: 0.45rem; min-height: 13.5rem; margin: 0; padding: 0; align-content: end; list-style: none; }
.u-hw__item { display: grid; grid-template-columns: 2rem minmax(0, 1fr); align-items: center; gap: 0.65rem; padding: 0.45rem 0.6rem 0.45rem 0.45rem; border-radius: 14px; background: var(--white); box-shadow: 0 1px 0 rgba(55, 21, 46, 0.06), 0 8px 18px -14px rgba(55, 21, 46, 0.45); font-size: 0.9rem; line-height: 1.35; animation: u-feedin 0.42s cubic-bezier(0.2, 0.8, 0.2, 1) both; }
.u-hw__item:not(:last-child) { opacity: 0.62; }
@keyframes u-feedin { from { opacity: 0; transform: translateY(0.6rem) scale(0.98); } }
.u-hw__icon { display: grid; width: 2rem; height: 2rem; place-items: center; border-radius: 50%; background: rgba(55, 21, 46, 0.07); color: var(--ink); }
.u-hw__icon svg { width: 1.05rem; height: 1.05rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.u-hw__item--search .u-hw__icon { background: rgba(200, 213, 59, 0.45); }
.u-hw__item--done .u-hw__icon { background: var(--activation); }
.u-hw__item--done { box-shadow: inset 0 0 0 1.5px var(--activation), 0 8px 18px -14px rgba(55, 21, 46, 0.45); }
.u-hw__item[data-working] .u-hw__icon { animation: u-breathe 1.2s ease-in-out infinite; }
@keyframes u-breathe { 50% { transform: scale(0.88); background: rgba(200, 213, 59, 0.6); } }
.u-hw__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--mauve); }
.u-hw__text b { color: var(--ink); font-weight: 600; }
.u-hw__q { color: var(--ink); font-weight: 600; }
.u-hw__q[data-typing]::after { display: inline-block; width: 2px; height: 1em; margin-left: 2px; background: var(--ink); content: ""; vertical-align: -0.12em; animation: u-blink 0.8s steps(1) infinite; }
.u-hw__site { margin-left: 0.45rem; color: var(--mauve); font-size: 0.8rem; }
/* her, thinking: a slow ring of light turns around the orb, and the sites she finds drift into her */
.u-hero__orb[data-thinking]::after { position: absolute; inset: 4%; border-radius: 50%; content: ""; pointer-events: none; background: conic-gradient(from 0deg, transparent 0 62%, rgba(200, 213, 59, 0.55) 78%, rgba(244, 241, 232, 0.9) 82%, transparent 86%); -webkit-mask: radial-gradient(closest-side, transparent 88%, #000 90%, #000 97%, transparent 99%); mask: radial-gradient(closest-side, transparent 88%, #000 90%, #000 97%, transparent 99%); animation: u-spin 2.4s linear infinite; }
@keyframes u-spin { to { transform: rotate(1turn); } }
.u-spark { position: absolute; top: 50%; left: 50%; z-index: 2; padding: 0.22rem 0.6rem; border: 1px solid rgba(244, 241, 232, 0.28); border-radius: 999px; background: rgba(42, 15, 35, 0.72); color: var(--cream); font-size: 0.72rem; font-weight: 600; white-space: nowrap; pointer-events: none; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); animation: u-spark 1.5s cubic-bezier(0.55, 0, 0.8, 0.4) forwards; }
@keyframes u-spark {
  0% { opacity: 0; transform: translate(calc(-50% + var(--x)), calc(-50% + var(--y))) scale(0.9); }
  18% { opacity: 1; transform: translate(calc(-50% + var(--x) * 0.92), calc(-50% + var(--y) * 0.92)) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -50%) scale(0.2); }
}
.u-main { overflow-x: clip; } /* sites drifting in from beside the orb never widen the page */
@media (prefers-reduced-motion: reduce) {
  .u-hero__orb[data-thinking]::after, .u-hw__meter i::after, .u-hw__now i, .u-hw__item, .u-hw__item[data-working] .u-hw__icon { animation: none; }
}
@media (max-width: 40rem) {
  .u-hw__feed { min-height: 11rem; }
  .u-hw__stats dd { font-size: 1.6rem; }
}

/* booking: someone from the Meta form finds their details instead of typing them again */
.u-match { margin: 0 0 1.5rem; padding: 1.1rem 1.15rem 1.15rem; border-radius: 18px; background: rgba(200, 213, 59, 0.28); }
.u-match[hidden] { display: none; }
.u-match__title { margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.u-match__text { margin: 0.25rem 0 0.85rem; color: var(--mauve); font-size: 0.92rem; line-height: 1.45; }
.u-match__row { display: flex; gap: 0.5rem; }
.u-match__row .u-input { flex: 1 1 auto; min-width: 0; background: var(--white); }
.u-match__row .u-btn { flex: none; min-height: 3rem; padding-inline: 1.15rem; }
.u-match .u-error { margin-top: 0.6rem; }
.u-leadextra { margin: 0 0 1.25rem; padding-bottom: 0.25rem; border-bottom: 1px solid var(--rule); }
.u-leadextra[hidden] { display: none; }
.u-leadextra__lede { margin: -0.6rem 0 1rem; color: var(--mauve); font-size: 0.95rem; }
.u-back--quiet { display: flex; margin: 1rem auto 0; font-size: 0.875rem; }
.u-back--quiet::before { content: none; }
.u-back--quiet[hidden] { display: none; }
/* straight in from the Meta form: waiting a few seconds for their lead, then one short line instead of the tick box */
.u-pickup { margin: 0 0 1.5rem; padding: 1.1rem 1.15rem; border-radius: 18px; background: rgba(200, 213, 59, 0.28); }
.u-pickup[hidden] { display: none; }
.u-pickup__title { margin: 0; font-size: 1.05rem; font-weight: 650; letter-spacing: -0.01em; line-height: 1.3; }
.u-pickup__text { margin: 0.25rem 0 0; color: var(--mauve); font-size: 0.92rem; line-height: 1.45; }
.u-consentline { margin: 0.75rem 0 0; color: var(--mauve); font-size: 0.82rem; line-height: 1.45; text-align: center; }
.u-consentline[hidden] { display: none; }
#later[hidden] { display: none; }

/* the call room, in the homepage's colours, with rounded pieces */
.u-room { background: radial-gradient(70rem 46rem at 50% 0%, rgba(74, 29, 62, 0.95), transparent 70%), var(--night); }
.u-room__bar { border-bottom-color: rgba(244, 241, 232, 0.08); }
.u-clock__dot { border-radius: 50%; }
.u-room .u-status { border-radius: 999px; }
.u-room .u-score { border-top-width: 2px; border-radius: 24px; }
.u-score__eyebrow::before { display: none; }
.u-score__scope { border-left: 0; border-radius: 12px; }
.u-journey--bar li { border-top-width: 3px; }
.u-score__bar { overflow: hidden; border-radius: 999px; }
.u-key { border-radius: 50%; }
.u-room__controls { background: linear-gradient(transparent, rgba(42, 15, 35, 0.94) 40%); }
.u-dock { border-radius: 999px; background: rgba(28, 9, 23, 0.6); }
.u-dock__btn { border-radius: 999px; font-size: 0.9375rem; font-weight: 600; letter-spacing: 0; text-transform: none; }

@media (max-width: 40rem) {
  .u-meet { margin: -1rem 0 1.25rem; }
  .u-hero__orb { --orb: 8.5rem; }
  .u-meet__bubble { padding: 0.8rem 1rem 0.9rem; }
  .u-meet__who span { display: none; }
  .u-meet__line { font-size: 1.15rem; }
  .u-example__rows { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .u-example__rows div:nth-child(3) { padding-left: 0.9rem; border-left: 1px solid var(--line-dark); }
  .u-example__rows div:nth-child(n + 3) { margin-top: 0; border-top: 0; }
  .u-example { padding: 1.4rem 1.25rem 1.5rem; }
  .u-example__rows dd { font-size: 1.35rem; white-space: nowrap; }
  .u-example__rows div { padding-right: 0.5rem; }
  .u-example__rows div + div { padding-left: 0.6rem; }
}
@media (prefers-reduced-motion: reduce) {
  .u-btn { transition: none; }
}

/* ---------------------------------------------------------------- the time-back check (check.html, Peter Z 7 Nov)
   In the site's dark look: the questions on a cream card like the booking form, the owner's figure as a glass
   card with the number in lime (as the worked example on the booking page), then Upside in the cream panel. */
.u-tbc .u-display--md { max-width: 12ch; }
.u-tbc__pickup { max-width: 34rem; margin: 2rem 0 0; background: rgba(200, 213, 59, 0.16); }
.u-tbc__pickup .u-pickup__text { color: var(--muted-dark); }
.u-tbc__note { max-width: 34rem; margin: 1.75rem 0 0; padding: 0.95rem 1.15rem; border-radius: 16px; background: rgba(244, 241, 232, 0.08); color: var(--cream); font-size: 0.98rem; line-height: 1.45; }
.u-tbc__editor { max-width: 34rem; margin: 2rem 0 0; box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3); }
.u-tbc__editor .u-field:last-child { margin-bottom: 0; }
.u-tbc__editor .u-label { font-size: 0.98rem; line-height: 1.35; }
.u-segments--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.u-tbc .u-panel .u-eyebrow { margin-bottom: 0.7rem; color: var(--aubergine); }
.u-panel .u-tbc__text { margin: 0 0 1.4rem; color: var(--mauve); }
.u-panel .u-tbc__hint { margin-top: 0.7rem; text-align: center; }
.u-figure { max-width: 34rem; margin: 2rem 0 0; padding: 1.5rem 1.6rem 1.25rem; border: 1px solid var(--line-dark); border-radius: 28px; background: linear-gradient(160deg, rgba(244, 241, 232, 0.1), rgba(244, 241, 232, 0.03)); }
.u-figure figcaption { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted-dark); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.u-figure figcaption::before { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--activation); content: ""; }
.u-figure__big { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.3rem 0.8rem; margin: 0.9rem 0 0.5rem; }
.u-figure__num { color: var(--activation); font-family: var(--serif); font-size: clamp(3.6rem, 7vw, 5.4rem); letter-spacing: -0.04em; line-height: 0.92; }
.u-figure__unit { color: var(--muted-dark); font-size: 1.05rem; }
.u-figure__line { margin: 0 0 1.15rem; color: var(--cream); font-size: 1.05rem; line-height: 1.45; }
.u-figure__rows { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line-dark); }
.u-figure__rows div { padding: 0.8rem 0.9rem 0 0; }
.u-figure__rows div + div { padding-left: 0.9rem; border-left: 1px solid var(--line-dark); }
.u-figure__rows dt { color: var(--muted-dark); font-size: 0.75rem; line-height: 1.3; }
.u-figure__rows dd { margin: 0.3rem 0 0; color: var(--cream); font-family: var(--serif); font-size: 1.45rem; letter-spacing: -0.01em; line-height: 1.05; }
.u-figure__how { margin: 1.15rem 0 0; padding-top: 0.95rem; border-top: 1px solid var(--line-dark); color: var(--muted-dark); font-size: 0.85rem; line-height: 1.5; }
.u-figure__how strong { color: var(--cream); font-weight: 600; }
.u-figure__edit { margin: 0.9rem 0 0; color: var(--activation); }
.u-figure__edit:hover { color: var(--cream); }
.u-figure__edit::before { content: none; }
@media (max-width: 40rem) {
  .u-figure { padding: 1.25rem 1.2rem 1.05rem; border-radius: 22px; }
  .u-figure__rows dd { font-size: 1.2rem; }
  .u-figure__rows div { padding-right: 0.5rem; }
  .u-figure__rows div + div { padding-left: 0.6rem; }
  .u-tbc__editor .u-choice { font-size: 0.85rem; }
}
