/* Ogenso 2.0 DS: components, for the website and the app. Load tokens.css first. Every class starts with o2-.
   Satoshi for every word and Funnel Display for money; linen for pages people read and the neutral app window for the owner's
   workspace; Night is charcoal, dusk is the website's fixed deep forest-green; Ogenso green for the orb, Send and what has been sent;
   orange only for a person's move, always with words; the open ring for time and work; glass only as a bezel on photographs.
   Pills only for the state of one thing: kinds, channels and facts are an icon plus words (o2-facet). Sentence case
   everywhere. Renamed classes keep their old name as an alias in the same rule (README "Aliases"). */

/* ───────── Base ───────── */
.o2 { margin: 0; background: var(--o2-bg); color: var(--o2-ink); font: 400 var(--o2-t-body)/1.5 var(--o2-font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.o2 *, .o2 *::before, .o2 *::after { box-sizing: border-box; }
.o2 img { max-width: 100%; }
.o2-i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.o2-wrap { width: min(var(--o2-max), 100%); margin-inline: auto; padding-left: max(var(--o2-gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--o2-gutter), env(safe-area-inset-right, 0px)); }
.o2-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.o2 :focus-visible { outline: 2px solid var(--o2-focus); outline-offset: 3px; }
/* A separator a screen reader hears between items drawn apart (the record line, terms): <span class="o2-sr">, </span> */

/* ───────── Type ───────── */
.o2-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0; font: 500 13.5px/1.2 var(--o2-font); letter-spacing: 0; text-transform: none; color: var(--o2-ink-3); }
.o2-eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: 0.5; }
.o2-h1 { margin: 0; font: 500 var(--o2-t-h1)/1.16 var(--o2-font); letter-spacing: var(--o2-tracking-head); text-wrap: balance; }
.o2-h2 { margin: 0; font: 500 var(--o2-t-h2)/1.1 var(--o2-font); letter-spacing: var(--o2-tracking-display); text-wrap: balance; }
.o2-h3 { margin: 0; font: 500 var(--o2-t-h3)/1.25 var(--o2-font); letter-spacing: var(--o2-tracking-head); }
.o2-h4 { margin: 0; font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; }
.o2-display { margin: 0; font: 500 var(--o2-t-display)/1.08 var(--o2-font); letter-spacing: var(--o2-tracking-display); }
.o2-lead { margin: 0; font: 500 var(--o2-t-lead)/1.6 var(--o2-font); color: var(--o2-ink-3); text-wrap: pretty; }
.o2-lead--quiet { font-weight: 400; } /* under a section head; 500 only in heroes */
.o2-body { margin: 0; font-size: var(--o2-t-body); line-height: 1.6; color: var(--o2-ink-3); }
.o2-small { margin: 0; font-size: var(--o2-t-small); line-height: 1.5; color: var(--o2-ink-3); }
.o2-caption { margin: 0; font-size: var(--o2-t-caption); line-height: 1.5; color: var(--o2-ink-4); }
.o2-num { font-variant-numeric: tabular-nums; }

/* The brand's full stop: the logo's core on a statement headline. The real "." stays in the text. */
.o2-nobr { white-space: nowrap; }
.o2-stop { display: inline-block; width: 0.21em; height: 0.21em; margin-left: 0.04em; overflow: hidden; border-radius: 50%; background: var(--o2-stop); color: transparent; line-height: 0; vertical-align: baseline; forced-color-adjust: none; }

/* Money: Funnel Display 300, figures only, with a small raised A$, % or cents */
.o2-amount { --amt: 48px; display: inline-flex; align-items: flex-start; font: 300 var(--amt)/1 var(--o2-font-figure); letter-spacing: -0.045em; font-variant-numeric: tabular-nums lining-nums; white-space: nowrap; }
.o2-amount__cur, .o2-amount__unit, .o2-amount__cents { font-size: 0.44em; font-weight: 400; letter-spacing: 0; margin-top: 0.12em; opacity: 0.66; }
.o2-amount__cur { margin-right: 0.06em; }
.o2-amount__unit, .o2-amount__cents { margin-left: 0.04em; }
.o2-amount--xl { --amt: clamp(48px, 5vw, 64px); }
.o2-amount--lg { --amt: 48px; }
.o2-amount--md { --amt: 32px; letter-spacing: -0.03em; }
.o2-amount--sm { --amt: 24px; letter-spacing: -0.02em; }
.o2-amount--sm .o2-amount__cur, .o2-amount--sm .o2-amount__cents { opacity: 0.8; }

/* ───────── Buttons ───────── */
.o2-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 16px; border: 0; border-radius: var(--o2-r-control); font: 500 14.5px/1 var(--o2-font); text-decoration: none; white-space: nowrap; cursor: pointer; transition: background-color var(--o2-fast) ease, transform var(--o2-fast) ease, box-shadow var(--o2-fast) ease; }
.o2-btn .o2-i { width: 14px; height: 14px; }
.o2-btn:active { transform: translateY(1px); }
.o2-btn--lg { height: 46px; padding: 0 22px; font-size: 15px; }
.o2-btn--sm { height: 32px; padding: 0 12px; font-size: 13px; }
.o2-btn--xs { height: 28px; padding: 0 11px; font-size: 12.5px; border-radius: 7px; }
.o2-btn--block { display: flex; width: 100%; }
/* Roles: primary (ink, the one per view carries the orb), send (green, Send in the product), secondary (white, a hairline),
   ghost (a hairline, no fill), plain (no fill, no line: icon buttons in rows), quiet, danger. --ink and --green keep their names. */
.o2-btn--ink, .o2-btn--primary { background: var(--o2-inverse); color: var(--o2-on-inverse); }
.o2-btn--ink:hover, .o2-btn--primary:hover { box-shadow: 0 0 0 4px var(--o2-fill-strong); }
.o2-btn--green, .o2-btn--send { background: var(--o2-green-action); color: var(--o2-on-green); }
.o2-btn--green:hover, .o2-btn--send:hover { background: var(--o2-green-hover); }
.o2-btn--secondary { background: var(--o2-surface); color: var(--o2-ink); box-shadow: inset 0 0 0 1px var(--o2-line), var(--o2-e-1); }
.o2-btn--secondary:hover { background: linear-gradient(var(--o2-fill), var(--o2-fill)), var(--o2-surface); }
.o2-btn--plain { background: transparent; color: var(--o2-ink-2); }
.o2-btn--plain:hover { background: var(--o2-fill-strong); color: var(--o2-ink); }
.o2-btn--danger { background: var(--o2-danger); color: var(--o2-on-danger); }
.o2-btn--danger-text { background: transparent; color: var(--o2-danger-text); }
.o2-btn--danger-text:hover { background: var(--o2-danger-bg); }
.o2-btn--paper { background: var(--o2-paper-fixed); color: var(--o2-ink-fixed); }
.o2-btn--paper:hover { background: var(--o2-paper-hover); }
.o2-btn--ghost { background: transparent; color: var(--o2-ink); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-btn--ghost:hover { background: var(--o2-fill); }
.o2-btn--quiet { background: var(--o2-fill-strong); color: var(--o2-ink); }
.o2-btn--glass-dark { background: rgb(241 246 242 / 0.08); color: var(--o2-on-dusk); box-shadow: inset 0 0 0 1px rgb(241 246 242 / 0.16); }
.o2-btn[aria-disabled="true"], .o2-btn:disabled { opacity: 0.5; cursor: not-allowed; }
/* A picture of a button inside an example: never a real action (aria-hidden in the markup) */
.o2-static { pointer-events: none; }
.o2-btn--icon { width: 40px; padding: 0; }
.o2-btn--sm.o2-btn--icon { width: 32px; }

/* The orb: a green core inside the one primary button, inset by the gap above and below it */
.o2-btn__orb { display: grid; place-items: center; flex: none; width: 26px; height: 26px; margin: 0 -9px 0 2px; border-radius: 50%; background: var(--o2-orb); color: var(--o2-on-orb); transition: transform 280ms var(--o2-spring); }
.o2-btn__orb .o2-i { width: 14px; height: 14px; stroke-width: 2; }
.o2-btn--lg .o2-btn__orb { width: 30px; height: 30px; margin-right: -14px; }
.o2-btn--sm .o2-btn__orb { width: 22px; height: 22px; margin-right: -7px; }
.o2-btn:hover .o2-btn__orb { transform: translateX(2px); }

/* ───────── Pills, tags, signs, avatars ───────── */
.o2-new { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px 4px 6px; border-radius: var(--o2-r-pill); background: var(--o2-surface); box-shadow: var(--o2-e-flat-sm); font: 500 13px/19.5px var(--o2-font); color: var(--o2-ink-2); text-decoration: none; }
.o2-new b { padding: 2px 8px; border-radius: var(--o2-r-pill); background: var(--o2-inverse); color: var(--o2-on-inverse); font-size: 11px; font-weight: 500; line-height: 16.5px; }
.o2-tag { display: inline-flex; align-items: center; gap: 5px; padding: 1px 7px; border: 1px solid transparent; border-radius: var(--o2-r-tag); background: var(--o2-fill-strong); font: 500 10.5px/15px var(--o2-font); color: var(--o2-ink-3); white-space: nowrap; font-style: normal; }
/* A pill is the state of one thing, in five tones: neutral (no sign), pending (open ring), move (diamond), done (filled stop),
   danger (a square). One to three words, sentence case; one per row and one in a panel's head. Never a kind, a channel, a count
   or a fact: those are o2-facet. */
.o2-tag--move { background: var(--o2-move-bg); color: var(--o2-move-text); }
.o2-tag--move::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--o2-move); transform: rotate(45deg) scale(0.84); box-shadow: 0 0 0 2.5px var(--o2-move-halo); }
.o2-tag--wait::before, .o2-tag--pending::before { content: ""; width: 7px; height: 7px; border-radius: 50%; box-shadow: inset 0 0 0 1.25px currentColor; }
.o2-tag--done { background: var(--o2-green-tint); color: var(--o2-green-text); }
.o2-tag--done::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--o2-glow); }
.o2-tag--danger { background: var(--o2-danger-bg); color: var(--o2-danger-text); }
.o2-tag--danger::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--o2-danger); }
.o2-tag--md { min-height: 24px; padding: 2px 9px 2px 8px; gap: 6px; border-radius: 6px; font-size: 12.5px; line-height: 18px; }
.o2-tag--lg { padding: 2px 10px; font-size: 12px; line-height: 18px; border-radius: 6px; }
.o2-tag__meta { margin-left: 2px; padding-left: 7px; border-left: 1px solid color-mix(in srgb, currentColor 24%, transparent); font-weight: 400; font-variant-numeric: tabular-nums; }
/* A kind, a channel or a fact: an icon plus words, never a pill ("Wedding", "Website form", "120 guests") */
.o2-facet, .o2-kind { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: inherit; font-weight: 400; color: var(--o2-ink-3); white-space: nowrap; font-style: normal; }
.o2-facet > .o2-i, .o2-kind > :is(.o2-i, .o2-icon) { width: 1.1em; height: 1.1em; color: var(--o2-ink-4); } /* o2-kind: the app's name */
.o2-facets { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 14px; margin: 0; padding: 0; list-style: none; }

/* The three signs, always beside words: open ring (waiting or in motion), diamond (your move), filled stop (done) */
.o2-sign { --s: 10px; display: inline-block; flex: none; width: var(--s); height: var(--s); border-radius: 50%; vertical-align: -0.05em; }
.o2-sign--open { box-shadow: inset 0 0 0 1.5px currentColor; }
.o2-sign--move { border-radius: 2px; background: var(--o2-move); transform: rotate(45deg) scale(0.84); box-shadow: 0 0 0 3px var(--o2-move-halo); }
.o2-sign--done { background: var(--o2-glow); }
.o2-sign--danger { border-radius: 2px; background: var(--o2-danger); }

.o2-av { display: inline-grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--o2-av-2); color: #FFFFFF; font: 700 10.5px/1 var(--o2-font); }
.o2-av--1 { background: var(--o2-av-1); } .o2-av--2 { background: var(--o2-av-2); } .o2-av--3 { background: var(--o2-av-3); } .o2-av--4 { background: var(--o2-av-4); } .o2-av--5 { background: var(--o2-av-5); }
.o2-av--lg { width: 40px; height: 40px; font-size: 13px; }
.o2-av--sm { width: 22px; height: 22px; font-size: 9px; }
/* Kinds: a person (the five colours), the business (an ink rounded square), Ogenso or anyone neutral, and an AI assistant
   (neutral, with the agent glyph). No glow on any avatar: glow means done. */
.o2-av--biz { border-radius: var(--o2-r-control); background: var(--o2-inverse); color: var(--o2-on-inverse); }
.o2-av--neutral, .o2-av--ogenso, .o2-av--agent { background: var(--o2-fill-strong); color: var(--o2-ink-2); }
.o2-av--agent .o2-i, .o2-av--ogenso img { width: 58%; height: 58%; }

/* ───────── Fields ───────── */
.o2-field { display: grid; gap: 6px; }
.o2-field > span { font-size: 13px; font-weight: 500; color: var(--o2-ink-2); }
.o2-field small { font-size: 12px; color: var(--o2-ink-4); }
.o2-input, .o2-select { width: 100%; height: 40px; padding: 0 12px; border: 0; border-radius: var(--o2-r-control); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line); color: var(--o2-ink); font: 400 14.5px/1 var(--o2-font); }
.o2-input:focus, .o2-select:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--o2-green), 0 0 0 4px var(--o2-green-tint); }
.o2-input--money { font-variant-numeric: tabular-nums; text-align: right; }
.o2-range { width: 100%; accent-color: var(--o2-ink); }
.o2-seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; padding: 3px; border-radius: 9px; background: var(--o2-fill); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-seg button { all: unset; cursor: pointer; padding: 6px 12px; border-radius: 7px; text-align: center; font: 500 12.5px/1.4 var(--o2-font); color: var(--o2-ink-3); }
.o2-seg button[aria-checked="true"], .o2-seg button[aria-selected="true"] { background: var(--o2-surface); color: var(--o2-ink); box-shadow: var(--o2-e-1); }
.o2-seg button:focus-visible { outline: 2px solid var(--o2-green); outline-offset: 1px; }
.o2-switch { position: relative; flex: none; width: 38px; height: 22px; border-radius: 999px; background: var(--o2-fill-strong); box-shadow: inset 0 0 0 1px var(--o2-line); transition: background-color var(--o2-med) ease; }
.o2-switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: var(--o2-switch-thumb); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); transition: transform var(--o2-med) var(--o2-ease); }
.o2-switch:is([aria-checked="true"], .is-on) { background: var(--o2-green-action); box-shadow: none; } /* .is-on in pictures, where there is no real switch */
.o2-switch:is([aria-checked="true"], .is-on)::after { transform: translateX(16px); }
.o2-check { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; box-shadow: inset 0 0 0 1.5px var(--o2-ink-4); color: transparent; font-size: 12px; }
.o2-check:is([aria-checked="true"], .is-on) { background: var(--o2-inverse); box-shadow: none; color: var(--o2-on-inverse); } /* a choice the owner made is ink, not green */

/* ───────── Surfaces ───────── */
.o2-card { border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line-soft), var(--o2-e-1); }
.o2-card--sunken { background: var(--o2-fill); box-shadow: none; }
.o2-card--pad { padding: var(--o2-s-7); }
/* Glass: light for menus, dark for the story's channel tabs */
.o2-glass { border-radius: var(--o2-r-card); background: var(--o2-glass-light-bg); -webkit-backdrop-filter: var(--o2-glass-light-blur); backdrop-filter: var(--o2-glass-light-blur); border: 0.5px solid var(--o2-glass-light-edge); box-shadow: var(--o2-e-3); color: var(--o2-ink-fixed); }
.o2-glass--dark { background: var(--o2-glass-dark-bg); -webkit-backdrop-filter: var(--o2-glass-dark-blur); backdrop-filter: var(--o2-glass-dark-blur); border: 1px solid var(--o2-glass-dark-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 18px 50px -12px rgba(0, 0, 0, 0.55); color: var(--o2-on-dusk); }

/* The bezel: FDS glass. A solid core inside a 7px frosted rim, for cards and slips on a photograph */
.o2-bezel { position: relative; padding: 16px 18px; color: var(--o2-ink); font: 500 13px/1.5 var(--o2-font); border: 7px solid transparent; border-radius: calc(var(--o2-r-slip) + 7px); background: linear-gradient(var(--o2-bezel-core), var(--o2-bezel-core)) padding-box, linear-gradient(var(--o2-bezel-rim), var(--o2-bezel-rim)) border-box; -webkit-backdrop-filter: blur(20px) saturate(1.3); backdrop-filter: blur(20px) saturate(1.3); box-shadow: inset 0 0 0 1px var(--o2-bezel-core-edge), 0 0 0 1px var(--o2-bezel-rim-edge), 0 0 0 2px var(--o2-bezel-hair), var(--o2-bezel-drop); }
.o2-bezel > p { margin: 0; }
.o2-bezel--slip { padding: 0; background: linear-gradient(var(--o2-bezel-rim), var(--o2-bezel-rim)) border-box; box-shadow: 0 0 0 1px var(--o2-bezel-rim-edge), 0 0 0 2px var(--o2-bezel-hair), var(--o2-bezel-drop); }
.o2-bezel--sm { border-width: 5px; border-radius: calc(var(--o2-r-slip) + 5px); }

/* ───────── Brand grounds: forest and the open rings ───────── */
.o2-forest { position: relative; isolation: isolate; overflow: hidden; background: var(--o2-forest); color: var(--o2-on-forest); --o2-stop: var(--o2-stop-on-forest); --ring: var(--o2-ring-ink); }
.o2-forest::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--o2-grain-fine) 0 0 / 180px 180px; opacity: 0.16; mix-blend-mode: overlay; }
.o2-forest > :not(.o2-rings) { position: relative; z-index: 1; }
.o2-forest p { color: var(--o2-on-forest-muted); }
/* Twelve open rings from the bottom-right corner; --tr rises from the top right. One per frame. */
.o2-rings { position: absolute; inset: 0; z-index: 0; pointer-events: none; background: var(--ring, var(--o2-ring-ink)); opacity: var(--rings-o, 0.16); -webkit-mask: url("../grounds/rings-corner.svg") no-repeat right bottom / var(--rings-size, 720px); mask: url("../grounds/rings-corner.svg") no-repeat right bottom / var(--rings-size, 720px); }
.o2-rings--tr { transform: scaleY(-1); }
.o2-rings--faint { --ring: var(--o2-ring-faint); --rings-o: var(--o2-ring-faint-o); --rings-size: 520px; }

/* ───────── Photographs: graded, grained, shaded for type ───────── */
.o2-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: var(--o2-r-card); background: var(--o2-dusk); color: var(--o2-on-dusk); }
.o2-photo > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: var(--o2-grade); }
.o2-photo--soft > img { inset: -4%; width: 108%; height: 108%; max-width: none; filter: var(--o2-grade) blur(3px); } /* max-width: none, or .o2 img cuts the overhang short */
.o2-photo::after { content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; background-image: var(--o2-grain); opacity: var(--o2-grain-opacity); mix-blend-mode: soft-light; }
.o2-photo--shade-top::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--o2-shade-top); }
.o2-photo--shade-bottom::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--o2-shade-bottom); }
.o2-photo > * { position: relative; z-index: 1; }

/* A bento tile: a photo, a title, and a bezel card sitting inside its bottom edge */
.o2-tile { min-height: 320px; }
.o2-tile__top { padding: var(--o2-s-7); }
.o2-tile__top h3 { margin: 0; font: 500 30px/1.25 var(--o2-font); letter-spacing: var(--o2-tracking-head); }
.o2-tile__top p { max-width: 36ch; margin: 8px 0 0; font-size: 15.5px; line-height: 1.5; color: var(--o2-on-dusk-2); }
.o2-tile > .o2-bezel { position: absolute; z-index: 1; left: var(--o2-s-6); right: var(--o2-s-6); bottom: var(--o2-s-6); }

/* An arch: a small repeated picture tile with one art tag, and a caption below */
.o2-arch-card { flex: none; display: grid; gap: 12px; width: 248px; margin: 0; }
.o2-arch { position: relative; overflow: hidden; aspect-ratio: 4 / 5; border-radius: 50% 50% 16px 16px / 40% 40% 16px 16px; background: var(--o2-bg-sunken); }
.o2-arch > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: var(--o2-grade); }
.o2-arch > .o2-art-tag { position: absolute; left: 12px; bottom: 12px; }
.o2-arch-card figcaption { font-size: 14px; line-height: 1.45; color: var(--o2-ink-3); }
.o2-art-tag { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border-radius: var(--o2-r-pill); background: var(--o2-art-tag-bg); color: var(--o2-ink); font: 500 13px/1 var(--o2-font); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: 0 0 0 1px var(--o2-line), 0 3px 0 rgb(14 27 18 / 0.08); }
@media (max-width: 640px) { .o2-arch-card { width: 64vw; } }

/* ───────── The app window: chrome ───────── */
.o2-window { --w-bg: var(--o2-window-bg); position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--o2-r-window); background: var(--w-bg); border: 1px solid rgba(0, 0, 0, 0.08); box-shadow: var(--o2-e-window); color: var(--o2-ink); font: 400 12.5px/1.5 var(--o2-font); transition: background-color 0.5s ease, color 0.5s ease, border-color 0.5s ease; }
.o2-window[data-theme="night"] { border-color: rgba(255, 255, 255, 0.09); }
.o2-window__bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; align-items: center; flex: none; height: 36px; padding: 0 14px; border-bottom: 1px solid var(--o2-line-soft); }
.o2-window__chip { justify-self: end; display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: var(--o2-r-pill); background: var(--o2-fill-strong); font-size: 10.5px; color: var(--o2-ink-4); }
/* A bar holding only the chip keeps it on the right edge */
.o2-window__bar > .o2-window__chip:only-child { grid-column: 1 / -1; }

/* The ring clock: the logo's ring telling the time of day. The arc stops at 250 of 289.03, short of the mark. */
.o2-ringclock { display: inline-flex; align-items: center; gap: 8px; min-width: 0; font: 500 12px/1 var(--o2-font); font-variant-numeric: tabular-nums; color: var(--o2-ink-3); white-space: nowrap; }
.o2-ringclock svg { flex: none; width: 20px; height: 20px; }
.o2-ringclock__track { fill: none; stroke: var(--o2-line); stroke-width: 10; }
.o2-ringclock__arc { fill: none; stroke: var(--o2-logo-ink); stroke-width: 10; stroke-linecap: round; }
.o2-ringclock__core { fill: var(--o2-logo-core); }
.o2-ringclock b { font-weight: 500; color: var(--o2-ink-2); }

/* ───────── The app window: the owner's workspace ─────────
   One frame on every screen (rule book §4): the rail of sections, the section's side (from 1024px), the enquiry list beside an
   open enquiry (from 1280px), then the white page pane. Rail and side sit on the window's ground (--o2-ground-frame) with
   hairlines between; the page is white and its panels are outlined by a hairline, never lifted; nothing is boxed inside a
   panel's box. data-ground="app" on .o2-app sets the workspace ink and density. Inside a picture of the app (.o2-window) the
   columns are compact. The app's own names (.o2-railnav, .o2-side--app, .o2-sum, .o2-facts--tiles) are kept as aliases. */
.o2-app { flex: 1; min-height: 0; display: grid; grid-template-columns: var(--o2-rail-w) var(--o2-side-w) var(--o2-list-w) minmax(0, 1fr); background: var(--o2-ground-frame); color: var(--o2-ink); }
.o2-app--no-list { grid-template-columns: var(--o2-rail-w) var(--o2-side-w) minmax(0, 1fr); }
.o2-app--no-side { grid-template-columns: var(--o2-rail-w) minmax(0, 1fr); }
.o2-window .o2-app { grid-template-columns: 52px 208px 300px minmax(0, 1fr); }
.o2-window .o2-app--no-list { grid-template-columns: 52px 208px minmax(0, 1fr); }
.o2-window .o2-app--no-side { grid-template-columns: 52px minmax(0, 1fr); }
/* In a picture the frame is the window's height: the rail keeps its foot in view, and long pages are cut by the window */
.o2-window .o2-app { grid-template-rows: minmax(0, 1fr); }
.o2-window .o2-app > * { min-height: 0; overflow: hidden; }
.o2-enquiry, .o2-pane__in { grid-auto-rows: max-content; } /* rows keep their height when the column is cut */
@media (min-width: 768px) {
  [data-ground="app"] { font-size: var(--o2-t-app-body); line-height: 1.5; }
  [data-ground="app"] .o2-btn { height: var(--o2-control-app-md); padding: 0 13px; font-size: 14px; }
  [data-ground="app"] .o2-btn--lg { height: var(--o2-control-app-lg); padding: 0 16px; }
  [data-ground="app"] .o2-btn--sm { height: var(--o2-control-app-sm); padding: 0 10px; font-size: 13px; }
  [data-ground="app"] .o2-btn--xs { height: var(--o2-control-app-xs); padding: 0 9px; font-size: 12.5px; }
  [data-ground="app"] .o2-btn--icon { width: var(--o2-control-app-md); padding: 0; }
  [data-ground="app"] .o2-btn--sm.o2-btn--icon { width: var(--o2-control-app-sm); }
  [data-ground="app"] .o2-btn__orb { width: 22px; height: 22px; margin-right: -7px; }
}

/* The rail: the app icon, the sections, then notifications, settings and you at its foot. The current section is a raised
   tile; a count is a grey dot, or the diamond when it's the viewer's own move. The section's name shows beside it on hover and
   keyboard focus (data-tip); the link's own name ("Enquiries, 2 need you") says it to everyone else. */
.o2-rail, .o2-railnav { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 10px 0 12px; border-right: 1px solid var(--o2-line-soft); background: var(--o2-ground-frame); color: var(--o2-ink-3); }
.o2-rail__logo, .o2-rail__home { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 10px; }
.o2-rail__home img { width: 26px; height: 26px; }
.o2-rail__item, .o2-rail > span, .o2-railnav__item { position: relative; display: grid; place-items: center; width: 36px; height: 36px; border-radius: var(--o2-r-control); color: var(--o2-ink-3); font-size: 18px; text-decoration: none; }
.o2-window .o2-rail > span, .o2-window .o2-rail__item { width: 32px; height: 32px; font-size: 16px; }
:is(.o2-rail__item, .o2-railnav__item):is(:hover, [data-hovered]) { background: color-mix(in srgb, var(--o2-surface) 55%, transparent); color: var(--o2-ink); }
:is(.o2-rail__item, .o2-railnav__item)[aria-current="page"], .o2-rail > .is-on { background: var(--o2-surface); color: var(--o2-ink-2); box-shadow: inset 0 0 0 1px var(--o2-line-soft), var(--o2-e-tile); }
.o2-rail__end { margin-top: auto; }
.o2-rail__dot, .o2-railnav__dot { position: absolute; top: 5px; right: 5px; width: 7px; height: 7px; border-radius: 50%; background: var(--o2-ink-3); box-shadow: 0 0 0 2px var(--o2-ground-frame); }
.o2-rail__dot--move, .o2-railnav__dot--move { border-radius: 1.5px; background: var(--o2-move); transform: rotate(45deg) scale(0.84); box-shadow: none; }
:is(.o2-rail__item, .o2-railnav__item)[data-tip]::after { content: attr(data-tip); position: absolute; top: 50%; left: calc(100% + 10px); z-index: 20; padding: 4px 8px; border-radius: 6px; background: var(--o2-inverse); color: var(--o2-on-inverse); font: 500 12px/16px var(--o2-font); white-space: nowrap; transform: translateY(-50%); opacity: 0; pointer-events: none; box-shadow: var(--o2-e-tip); }
:is(.o2-rail__item, .o2-railnav__item)[data-tip]:is(:hover, :focus-visible, [data-focus-visible])::after { opacity: 1; }

/* The section's side: its name, groups under sentence-case labels, pages with a 16px icon and the server's count; a count that
   is the viewer's own move is orange words with the diamond, shown only to someone who can act. An unknown count is left out,
   never shown as zero. The current page is a raised white tile. */
.o2-side, .o2-side--app { display: flex; flex-direction: column; min-width: 0; padding: 14px 10px 12px; border-right: 1px solid var(--o2-line-soft); background: var(--o2-ground-frame); overflow: hidden; }
.o2-side__h { margin: 2px 8px 10px; font: 700 16px/1.3 var(--o2-font); letter-spacing: -0.01em; color: var(--o2-ink); }
.o2-side__group { margin: 14px 8px 4px; font: 500 12px/16px var(--o2-font); letter-spacing: 0; text-transform: none; color: var(--o2-ink-3); }
.o2-side__item { display: flex; align-items: center; gap: 8px; min-height: 32px; margin: 0; padding: 6px 8px; border-radius: 7px; color: var(--o2-ink); font-size: 13px; line-height: 18px; text-decoration: none; }
.o2-side__item .o2-i { flex: none; font-size: 15px; color: var(--o2-ink-3); }
.o2-side__item:is(:hover, [data-hovered]) { background: color-mix(in srgb, var(--o2-surface) 55%, transparent); }
.o2-side__item:is([aria-current="page"], .is-on) { background: var(--o2-surface); font-weight: 500; box-shadow: inset 0 0 0 1px var(--o2-line-soft), var(--o2-e-tile); }
.o2-side__item:is([aria-current="page"], .is-on) .o2-i { color: var(--o2-ink-2); }
.o2-side__item:focus-visible { outline-offset: -2px; }
.o2-side__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.o2-side__item em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 400; color: var(--o2-ink-3); font-variant-numeric: tabular-nums; }
.o2-side__item em.o2-side__count--move { display: inline-flex; align-items: center; gap: 6px; color: var(--o2-move-text); font-weight: 500; }
.o2-side__count--move::before { content: ""; width: 7px; height: 7px; border-radius: 1.5px; background: var(--o2-move); transform: rotate(45deg) scale(0.84); }
.o2-side__foot { display: grid; gap: 8px; margin-top: auto; padding-top: 16px; }
.o2-side__who { display: flex; align-items: center; gap: 10px; margin: 0; padding: 4px 8px; font-size: 12.5px; line-height: 1.3; }
.o2-side__who > span { display: grid; min-width: 0; }
.o2-side__who strong { overflow: hidden; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.o2-side__who small { font-size: 11.5px; color: var(--o2-ink-3); }
.o2-side__mode { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: var(--o2-r-control); background: var(--o2-fill); font-size: 12.5px; color: var(--o2-ink-2); }

/* The enquiry list beside an open enquiry (from 1280px): its head ("All enquiries" and the total), then rows, each with one
   state tag, the snippet with the amount, and the time. The current row takes the window's ground. No search, no day groups:
   the app has neither (o2-search and o2-list__day are kept only for the website's older pictures). */
.o2-list { min-width: 0; padding: 8px 10px; border-right: 1px solid var(--o2-line-soft); background: var(--o2-ground-pane); overflow: hidden; }
.o2-list__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 8px; font-size: 12.5px; }
.o2-list__head :is(a, strong) { font-weight: 500; color: var(--o2-ink-2); text-decoration: none; }
.o2-list__head em { font-style: normal; font-size: 12px; color: var(--o2-ink-4); font-variant-numeric: tabular-nums; }
.o2-search { display: flex; align-items: center; gap: 7px; height: 30px; padding: 0 10px; border-radius: 7px; background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line-soft); color: var(--o2-ink-4); }
.o2-list__day { margin: 12px 6px 6px; font-size: 11px; color: var(--o2-ink-4); }
.o2-row { display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 10px; padding: 10px; border-radius: 9px; color: var(--o2-ink); text-decoration: none; }
.o2-row + .o2-row { margin-top: 2px; }
a.o2-row:hover { background: var(--o2-fill); }
a.o2-row:focus-visible { outline-offset: -2px; }
.o2-row:is(.is-sel, [aria-current="page"]) { background: var(--o2-ground-frame); box-shadow: none; }
.o2-row__body { display: grid; gap: 3px; min-width: 0; }
.o2-row__body strong { font-size: 13px; font-weight: 500; }
.o2-row__tags { display: flex; flex-wrap: wrap; gap: 4px; }
.o2-row__snip { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; color: var(--o2-ink-4); }
.o2-row__time { font-size: 11px; color: var(--o2-ink-4); white-space: nowrap; }

/* The page pane: white beside the grey side; settings and forms one column at most 880px, centred */
.o2-pane { min-width: 0; background: var(--o2-ground-pane); --o2-node-ground: var(--o2-ground-pane); }
.o2-pane__in { display: grid; align-content: start; gap: 14px; width: min(100%, var(--o2-content-max)); margin-inline: auto; padding: 24px 28px 48px; }
.o2-pane--settings .o2-pane__in { width: min(100%, var(--o2-settings-max)); }

/* A page's heading: where you are (or a count), the title, one line of at most about 90 characters or none, and at most one
   primary and one secondary action (the rest in "…"). No hairline before the eyebrow, no rule under the heading. On a settings
   page the "where" eyebrow is for screen readers only (o2-sr), because the side already says it. */
.o2-page { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 12px 16px; padding-bottom: 4px; }
.o2-page__text { display: grid; gap: 4px; flex: 1; min-width: 0; }
.o2-page__eyebrow { margin: 0; font-size: 12.5px; color: var(--o2-ink-3); }
.o2-page__title { display: flex; align-items: center; gap: 10px; margin: 0; font: 700 var(--o2-t-app-title)/28px var(--o2-font); letter-spacing: -0.015em; }
.o2-page__lead, .o2-page__sub { margin: 0; font-size: var(--o2-t-app-body); line-height: 1.5; color: var(--o2-ink-3); }
.o2-page__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-left: auto; }

/* The panel: a head (an icon tile, the title in at most four words, then one thing at the right: a count, one state tag, Edit,
   "…" or one link), one kind of body (rows, a list, figures or content), and a foot of nothing or one link to everything.
   Outlined by a hairline inside the pane. A subtitle over 64 characters goes behind the (i). o2-sum is the app's name for it. */
.o2-panel, .o2-sum { min-width: 0; overflow: hidden; border-radius: var(--o2-r-window); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line); --o2-node-ground: var(--o2-surface); }
.o2-panel__head, .o2-sum__head { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 10px 16px; border-bottom: 1px solid var(--o2-line-soft); }
:is(.o2-panel__title, .o2-sum__title) { display: inline-flex; align-items: center; gap: 6px; min-width: 0; margin: 0; font: 500 var(--o2-t-app-panel)/20px var(--o2-font); letter-spacing: -0.005em; color: var(--o2-ink); }
:is(.o2-panel__meta, .o2-sum__meta) { font-size: var(--o2-t-app-meta); color: var(--o2-ink-3); font-variant-numeric: tabular-nums; }
:is(.o2-panel__end, .o2-sum__actions) { display: inline-flex; align-items: center; gap: 8px; margin-left: auto; }
:is(.o2-panel__body, .o2-sum__body) { display: grid; gap: 10px; padding: 14px 16px 16px; }
.o2-panel__foot { padding: 10px 16px 12px; border-top: 1px solid var(--o2-line-soft); font-size: 13px; }
.o2-panel__foot a { font-weight: 500; color: var(--o2-ink); text-decoration: none; }
.o2-panel__foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
.o2-panel .o2-table th, .o2-panel .o2-table td { padding-inline: 16px; }
/* Nothing boxed inside a panel's box; a sunken card or quiet note inside the pane takes the window's ground, with no edge */
:is(.o2-panel, .o2-sum, .o2-more) :is(.o2-panel, .o2-sum, .o2-card):not(.o2-panel--sunken) { box-shadow: none; background: transparent; }
.o2-panel--sunken, .o2-note-box { border-radius: var(--o2-r-window); background: var(--o2-ground-frame); box-shadow: none; }
.o2-note-box { display: grid; gap: 4px; padding: 14px 16px; font-size: 13px; line-height: 1.5; color: var(--o2-ink-2); }
.o2-note-box strong { font-weight: 500; color: var(--o2-ink); }

/* The icon box: an ink line icon in a square. Sunken on the website (40px, at the top of a framed cell); raised in the app (a
   white tile, a hairline and a soft lift, the icon in ink-2): 28px in panel heads, 32px in Settings' rows, 40px by default.
   Decoration beside a written title: aria-hidden. Never a colour of its own. */
.o2-iconbox { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: var(--o2-r-icon); background: var(--o2-fill-strong); color: var(--o2-ink); font-size: 18px; }
.o2-iconbox .o2-i { width: 1em; height: 1em; }
.o2-iconbox--raised { background: var(--o2-tile-bg); color: var(--o2-ink-2); box-shadow: inset 0 0 0 1px var(--o2-line), var(--o2-e-tile); font-size: 16px; }
.o2-iconbox--md { width: 32px; height: 32px; border-radius: 9px; font-size: 16px; }
.o2-iconbox--sm { width: 28px; height: 28px; border-radius: var(--o2-r-control); font-size: 15px; }

/* Settings rows (the app's SummaryPanel): the label, what it's set to now in plain words (at most two lines), and one control
   (the pencil, a switch or one small button). A value not set yet is grey ("Not added"); one that needs the owner is ink at
   500 ("Not answered yet"). Never a dash for a word, never an empty cell. */
.o2-sum__rows { display: grid; }
.o2-sum__row { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr) auto; align-items: center; gap: 6px 18px; min-height: 52px; padding: 12px 18px; }
.o2-sum__row + .o2-sum__row, .o2-sum__rows > section + section { border-top: 1px solid var(--o2-line-soft); }
.o2-sum__k { display: inline-flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--o2-t-app-body); line-height: 20px; font-weight: 500; color: var(--o2-ink-2); }
.o2-sum__v { min-width: 0; font-size: var(--o2-t-app-body); line-height: 20px; color: var(--o2-ink); overflow-wrap: anywhere; }
.o2-sum__none { color: var(--o2-ink-3); }
.o2-sum__ask { color: var(--o2-ink); font-weight: 500; }
.o2-sum__clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.o2-sum__a { display: inline-flex; align-items: center; justify-content: flex-end; gap: 10px; }
.o2-sum__row--switch { grid-template-columns: minmax(0, 1fr) auto; }
@media (max-width: 767px) {
  .o2-sum__row { grid-template-columns: minmax(0, 1fr) auto; }
  .o2-sum__v { grid-column: 1; grid-row: 2; }
  .o2-sum__a { grid-column: 2; grid-row: 1 / span 2; }
}
/* The one edit control: a pencil at a row's end (a plus to add the first, an eye to view only), an Edit button in a panel's head */
.o2-sum__edit { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 30px; height: 30px; padding: 0 7px; border: 0; border-radius: var(--o2-r-control); background: none; color: var(--o2-ink-3); font: 500 13px/18px var(--o2-font); cursor: pointer; white-space: nowrap; text-decoration: none; }
.o2-sum__edit .o2-i { width: 16px; height: 16px; }
.o2-sum__row:hover .o2-sum__edit:not([aria-disabled="true"]) { color: var(--o2-ink-2); }
.o2-sum__edit:is(:hover, [data-hovered]) { background: var(--o2-fill-strong); color: var(--o2-ink); }
.o2-sum__edit:is([aria-disabled="true"], [data-disabled]) { background: none; color: var(--o2-ink-4); cursor: default; }
.o2-sum__edit--head { padding: 0 10px 0 8px; color: var(--o2-ink-2); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-sum__edit--head:is(:hover, [data-hovered]) { background: var(--o2-fill); box-shadow: inset 0 0 0 1px var(--o2-ink-4); }
.o2-sum__edit[data-tip]::after { content: attr(data-tip); position: absolute; bottom: calc(100% + 6px); left: 50%; z-index: 20; padding: 3px 7px; border-radius: 6px; background: var(--o2-inverse); color: var(--o2-on-inverse); font: 500 11.5px/15px var(--o2-font); white-space: nowrap; transform: translateX(-50%); opacity: 0; pointer-events: none; }
.o2-sum__edit[data-tip]:is(:hover, :focus-visible, [data-hovered], [data-focus-visible])::after { opacity: 1; }

/* The edit panel: from the right on a wide screen (480px, 640px wide), from the bottom on a phone. Its head (the title, one line,
   the close), a body of one column with labels above fields and help in the (i), and a foot with Cancel at the start and Save
   at the end. Its own names: .o2-sheet is the centred "Send this reply?" card and stays. */
.o2-edit-scrim { position: fixed; inset: 0; z-index: 40; display: flex; justify-content: flex-end; background: var(--o2-overlay); }
.o2-window .o2-edit-scrim { position: absolute; }
.o2-edit { display: flex; flex-direction: column; width: min(var(--o2-edit-w), 100vw); height: 100%; background: var(--o2-surface); color: var(--o2-ink); box-shadow: -1px 0 0 var(--o2-line), var(--o2-e-sheet); }
.o2-edit--wide { width: min(var(--o2-edit-w-wide), 100vw); }
.o2-edit__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 20px 22px 14px; border-bottom: 1px solid var(--o2-line-soft); }
.o2-edit__title { margin: 0; font: 700 17px/1.3 var(--o2-font); letter-spacing: -0.01em; }
.o2-edit__text { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: var(--o2-ink-3); }
.o2-edit__body { flex: 1; overflow-y: auto; display: grid; align-content: start; gap: 16px; padding: 18px 22px 24px; }
.o2-edit__foot { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--o2-line-soft); }
.o2-edit__foot > .o2-btn:first-child { margin-right: auto; }
.o2-edit__note { margin: 0; padding: 10px 12px; border-radius: var(--o2-r-control); background: var(--o2-fill); font-size: 12.5px; line-height: 18px; color: var(--o2-ink-2); }
@media (prefers-reduced-motion: no-preference) { .o2-edit-scrim:is([data-entering], .is-entering) .o2-edit { animation: o2-edit-in var(--o2-sheet-in) ease-out; } }
@keyframes o2-edit-in { from { transform: translateX(24px); opacity: 0.6; } }
@media (max-width: 767px) {
  .o2-edit-scrim { align-items: flex-end; }
  .o2-edit, .o2-edit--wide { width: 100vw; height: auto; max-height: 92vh; border-radius: 16px 16px 0 0; }
}

/* The (i): help behind an info button, in the owner's workspace only. The words stay in the page as o2-sr, tied to their control
   by aria-describedby. Customer pages keep their help visible, because phones don't hover. */
.o2-info { display: inline-grid; place-items: center; flex: none; width: 24px; height: 24px; margin: -4px -2px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--o2-ink-4); cursor: help; vertical-align: middle; }
.o2-info .o2-i { width: 16px; height: 16px; }
.o2-info:is(:hover, [data-hovered], [data-pressed], [aria-expanded="true"]) { background: var(--o2-fill); color: var(--o2-ink-2); }
.o2-info-tip { max-width: 300px; padding: 9px 12px; border-radius: var(--o2-r-control); background: var(--o2-inverse); color: var(--o2-on-inverse); font: 400 12.5px/1.5 var(--o2-font); box-shadow: var(--o2-e-tip); z-index: 60; }
.o2-info-tip :is(p, ul) { margin: 0; }
.o2-info-tip ul { margin-top: 6px; padding-left: 16px; display: grid; gap: 3px; }
.o2-info-tip a { color: inherit; text-decoration: underline; }
@media (prefers-reduced-motion: no-preference) { .o2-info-tip[data-entering] { animation: o2-info-in var(--o2-tip-in) ease-out; } }
@keyframes o2-info-in { from { opacity: 0; transform: translateY(2px); } }

/* "More settings": a page's rare settings, folded under one panel whose whole head is the trigger */
.o2-more { border-radius: var(--o2-r-window); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-more__trigger { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 13px 16px; border: 0; border-radius: inherit; background: none; font: inherit; text-align: left; color: var(--o2-ink); cursor: pointer; }
.o2-more__trigger:focus-visible { outline-offset: -2px; }
.o2-more__label { font-size: var(--o2-t-app-body); font-weight: 500; }
.o2-more__label::after { content: ""; display: inline-block; width: 7px; height: 7px; margin-left: 10px; border-right: 1.5px solid var(--o2-ink-3); border-bottom: 1.5px solid var(--o2-ink-3); transform: translateY(-3px) rotate(45deg); }
:is(.o2-more[data-expanded], .o2-more__trigger[aria-expanded="true"]) .o2-more__label::after, .o2-more__trigger[aria-expanded="true"] .o2-more__label::after { transform: translateY(1px) rotate(-135deg); }
.o2-more__summary { font-size: 13px; color: var(--o2-ink-3); text-align: right; }
.o2-more__panel { display: grid; gap: 14px; padding: 0 14px 14px; }
.o2-more__panel[hidden] { display: none; }

/* Figure tiles: a label (sentence case), the figure in Funnel Display, optionally a meter in ink-2 and a short detail. A value
   with no digit ("None", "Not enough yet") is said quietly in Satoshi. The app's .o2-facts--tiles is the same thing. */
.o2-figures, .o2-facts--tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 0; }
:is(.o2-figures, .o2-facts--tiles) > div { display: grid; align-content: start; gap: 6px; padding: 12px 14px 13px; border-radius: var(--o2-r-window); background: var(--o2-ground-frame); box-shadow: inset 0 0 0 1px var(--o2-line-soft); }
:is(.o2-figures, .o2-facts--tiles) dt { font: 500 12px/16px var(--o2-font); letter-spacing: 0; text-transform: none; color: var(--o2-ink-3); }
:is(.o2-figures, .o2-facts--tiles) dd { display: grid; gap: 6px; margin: 0; font: 300 var(--o2-t-app-figure)/28px var(--o2-font-figure); letter-spacing: -0.01em; color: var(--o2-ink); font-variant-numeric: tabular-nums lining-nums; }
:is(.o2-figures, .o2-facts--tiles) dd small { font: 400 11.5px/16px var(--o2-font); color: var(--o2-ink-3); }
:is(.o2-figures, .o2-facts--tiles) dd:is(.o2-figures__word, .o2-facts__word) { font: 400 14px/28px var(--o2-font); color: var(--o2-ink-3); }
.o2-figures__meter, .o2-facts__meter { position: relative; display: block; height: 4px; overflow: hidden; border-radius: var(--o2-r-pill); background: var(--o2-line); }
:is(.o2-figures__meter, .o2-facts__meter)::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--value, 0%); border-radius: inherit; background: var(--o2-ink-2); }

/* Overview's greeting: the app's one forest block. Flat, fine grain, no rings (rings stay on the website). */
.o2-greeting { padding: 24px 28px 26px; border-radius: var(--o2-r-panel); }
.o2-greeting__date { margin: 0; font: 500 12.5px/1.3 var(--o2-font); color: var(--o2-on-forest-muted); }
.o2-greeting__title { margin: 6px 0 0; font: 500 32px/1.15 var(--o2-font); letter-spacing: var(--o2-tracking-head); color: var(--o2-on-forest); }
.o2-forest .o2-greeting__summary { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--o2-on-forest-muted); }
.o2-greeting__summary :is(strong, a) { font-weight: 500; color: var(--o2-on-forest); }

/* The open enquiry: one column at every width, the list beside it from 1280px. Head (avatar, the title, a meta line with the
   name, reference and when, a line of facets with icons, then one state tag and "…"), the steps, at most the needed notices,
   the conversation, the quote slip, the details, "Evidence and history" folded, and the docked action bar. */
.o2-enquiry { display: grid; align-content: start; gap: 16px; min-width: 0; width: min(100%, var(--o2-thread-max)); padding: 20px 28px 24px; background: var(--o2-ground-pane); --o2-node-ground: var(--o2-ground-pane); }
.o2-enquiry__head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: start; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--o2-line-soft); }
.o2-enquiry__who { display: flex; flex-wrap: wrap; align-items: center; column-gap: 12px; row-gap: 3px; min-width: 0; }
.o2-enquiry__title { flex-basis: 100%; margin: 0; font: 700 var(--o2-t-app-record)/1.3 var(--o2-font); letter-spacing: -0.015em; }
.o2-enquiry__meta { margin: 0; font-size: 12.5px; color: var(--o2-ink-3); }
.o2-enquiry__meta strong { font-weight: 500; color: var(--o2-ink); }
.o2-enquiry__who .o2-facets { flex-basis: 100%; font-size: 12.5px; }
.o2-enquiry__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.o2-enquiry__fold { justify-content: space-between; width: 100%; }
@media (max-width: 767px) {
  .o2-enquiry { padding: 16px; }
  .o2-enquiry__head { grid-template-columns: auto minmax(0, 1fr); }
  .o2-enquiry__actions { grid-column: 1 / -1; justify-content: flex-start; }
}
/* Steps inside the product: the thread at the product's size */
.o2-thread-v--sm > li { padding-bottom: 12px; }
.o2-thread-v--sm .o2-thread-v__title { font-size: 13.5px; }
.o2-thread-v--sm .o2-thread-v__text { margin-top: 2px; font-size: 12px; line-height: 1.45; }
@media (min-width: 961px) { .o2-thread-v--sm.o2-thread-v--row { gap: 16px; } .o2-thread-v--sm.o2-thread-v--row > li { row-gap: 8px; } }

/* The docked action bar, pinned at the open enquiry's foot: a note on the left ("Nothing goes out until you send it"), the
   quote's actions on the right (one primary with the orb, a secondary). The page body has one orange focus: when the head's
   state tag carries the diamond, this note doesn't. */
.o2-actionbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 8px 8px 16px; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line), var(--o2-e-bar); }
.o2-actionbar--dock { position: sticky; bottom: 16px; z-index: 6; }
.o2-actionbar__note { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 13px; line-height: 18px; color: var(--o2-ink-3); }
.o2-actionbar__note strong { font-weight: 500; color: var(--o2-ink); }
.o2-actionbar__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
@media (max-width: 767px) { .o2-actionbar--dock { position: fixed; inset-inline: 16px; bottom: calc(84px + env(safe-area-inset-bottom, 0px)); } .o2-actionbar__note { display: none; } }

/* Why a reply was held, in one line: "Why it was held", the first reason, "And 2 more.", and the (i) holding the full list, the
   rule and the checks. The visible line is aria-hidden; the full text is one o2-sr block, so it's heard once. */
.o2-held { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 9px 12px; border-radius: var(--o2-r-window); background: var(--o2-fill); font-size: 13px; line-height: 19px; color: var(--o2-ink-2); }
.o2-held strong { margin-right: 2px; font-weight: 500; color: var(--o2-ink); }

/* Possible matches: a fact per row (channel and day in words, the enquiry as a link, the reason in plain words), then Link (the
   row's one button) and "…" holding "Not this customer". */
.o2-match { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 4px 10px; padding: 12px 16px; }
.o2-match + .o2-match { border-top: 1px solid var(--o2-line-soft); }
.o2-match__fact { display: grid; gap: 2px; min-width: 0; }
.o2-match__fact .o2-facet { font-size: 12.5px; }
.o2-match__value { font-weight: 500; color: var(--o2-ink); text-decoration: none; overflow-wrap: anywhere; }
a.o2-match__value:hover { text-decoration: underline; text-underline-offset: 3px; }
.o2-match__why { font-size: 13px; line-height: 1.45; color: var(--o2-ink-3); }

/* The timeline: each entry with its channel's icon as the mark, the title and a two-line detail, who and how in words, the
   reference and the time. The whole row opens its record (the title's link is stretched over it), never a "View" on every row. */
.o2-timeline { margin: 0; padding: 0; list-style: none; }
.o2-timeline__row { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 16px; }
.o2-timeline__row + .o2-timeline__row { border-top: 1px solid var(--o2-line-soft); }
.o2-timeline__row:hover { background: var(--o2-fill); }
.o2-timeline__row > .o2-iconbox { grid-row: 1 / span 3; }
.o2-timeline__title { margin: 0; font-weight: 500; }
.o2-timeline__title a { color: var(--o2-ink); text-decoration: none; }
.o2-timeline__title a::after { content: ""; position: absolute; inset: 0; border-radius: 8px; }
.o2-timeline__title a:focus-visible { outline: none; }
.o2-timeline__title a:focus-visible::after { outline: 2px solid var(--o2-focus); outline-offset: -2px; }
.o2-timeline__detail { display: -webkit-box; margin: 0; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13px; line-height: 1.45; color: var(--o2-ink-3); }
.o2-timeline__by { margin: 0; font-size: 12.5px; color: var(--o2-ink-3); }
.o2-timeline__when { grid-column: 3; grid-row: 1; font-size: 12px; color: var(--o2-ink-4); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* The conversation inside a picture of the app, and the event cards between messages */
.o2-thread { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 14px 18px 16px; background: var(--o2-ground-pane); --o2-node-ground: var(--o2-ground-pane); }
.o2-thread__head { display: flex; align-items: center; gap: 10px; padding-bottom: 12px; border-bottom: 1px solid var(--o2-line-soft); }
.o2-thread__head > span:nth-child(2) { display: grid; gap: 1px; }
.o2-thread__head strong { font-size: 14px; font-weight: 500; }
.o2-thread__head > span:nth-child(2) span { font-size: 12px; color: var(--o2-ink-4); }
.o2-thread__actions { display: flex; gap: 6px; margin-left: auto; }
.o2-mini { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 7px; box-shadow: inset 0 0 0 1px var(--o2-line); font-size: 11.5px; color: var(--o2-ink); white-space: nowrap; }
.o2-event { display: flex; align-items: center; justify-content: center; gap: 8px; }
.o2-event__card { display: grid; gap: 1px; padding: 8px 12px; border-radius: 10px; background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line-soft); }
.o2-event__card > strong:not(.o2-amount) { font-size: 13px; }
.o2-event__card > span { font-size: 11.5px; color: var(--o2-ink-4); }
/* An empty state inside a panel: the drawing smaller, a 15px title, one line and at most one action */
.o2-empty--sm { gap: 6px; padding: 18px 16px 20px; }
.o2-empty--sm .o2-iso { width: 72px; height: 60px; }
.o2-empty--sm strong { font-size: 15px; font-weight: 500; color: var(--o2-ink); }
.o2-empty--sm span:not(.o2-iso) { font-size: 12.5px; }

/* Messages */
.o2-bubble { max-width: 78%; padding: 10px 12px; border-radius: 14px 14px 14px 4px; background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line-soft); font-size: 12.5px; line-height: 1.5; color: var(--o2-ink); overflow-wrap: anywhere; }
.o2-bubble__who { display: block; margin-bottom: 2px; font-size: 11px; color: var(--o2-ink-4); }
/* The reply in the business's name: one light green bubble everywhere (the app, customer pages and the website's pictures),
   ink words, a green hairline. A draft not yet sent has a dashed green edge, and its meta says "Draft · not sent". */
.o2-bubble--out { align-self: flex-end; margin-left: auto; border-radius: 14px 14px 4px 14px; background: var(--o2-reply-bg); box-shadow: inset 0 0 0 1px var(--o2-reply-edge); color: var(--o2-ink); }
.o2-bubble--out .o2-bubble__who { color: var(--o2-ink-3); }
.o2-bubble--out a { color: var(--o2-green-text); }
.o2-bubble--draft { box-shadow: none; outline: 1.5px dashed var(--o2-reply-draft-edge); outline-offset: -1.5px; }
/* An AI assistant's message: surface with a stronger hairline, never green, never orange */
.o2-bubble--agent { box-shadow: inset 0 0 0 1px var(--o2-ink-4); }
.o2-bubble__meta { display: block; margin-top: 4px; font-size: 11px; color: var(--o2-ink-4); text-align: right; }
.o2-bubble:not(.o2-bubble--out) .o2-bubble__meta { text-align: left; }
.o2-read { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.o2-read__label { display: inline-flex; align-items: center; gap: 5px; margin-right: 2px; font-size: 11px; color: var(--o2-ink-4); }
.o2-read__label .o2-i { color: var(--o2-ink-4); }
.o2-typing { display: inline-flex; align-self: flex-end; padding: 8px 10px; border-radius: 14px; background: var(--o2-fill-strong); }

/* The loader: the open ring at work, while Ogenso writes a reply or the app opens (BRAND, "Loading"). At rest it is the symbol. */
.o2-loader { --s: 22px; display: inline-block; flex: none; width: var(--s); height: var(--s); color: var(--o2-logo-ink); }
.o2-loader svg { display: block; width: 100%; height: 100%; overflow: visible; transform: rotate(-90deg); animation: o2-loader-turn 2.2s linear infinite; }
.o2-loader__track { fill: none; stroke: var(--o2-line); stroke-width: 4; }
.o2-loader__arc { fill: none; stroke: currentColor; stroke-width: 4; stroke-linecap: round; stroke-dasharray: 111.5 119.4; animation: o2-loader-draw 1.6s cubic-bezier(0.45, 0, 0.25, 1) infinite; }
.o2-loader__core { fill: var(--o2-logo-core); transform-box: fill-box; transform-origin: center; animation: o2-loader-core 1.6s ease-in-out infinite; }
@keyframes o2-loader-turn { from { transform: rotate(-90deg); } to { transform: rotate(270deg); } }
@keyframes o2-loader-draw { 0% { stroke-dasharray: 9 119.4; stroke-dashoffset: 0; } 50% { stroke-dasharray: 111.5 119.4; stroke-dashoffset: -6; } 100% { stroke-dasharray: 9 119.4; stroke-dashoffset: -110.5; } }
@keyframes o2-loader-core { 50% { transform: scale(0.72); } }
@media (prefers-reduced-motion: reduce) { .o2-loader svg, .o2-loader__arc, .o2-loader__core { animation: none; } }

/* ───────── Loading: the frame first, then a calm wait (BRAND, "Loading") ─────────
   o2-loading is the small ring loader with its words: what is happening, and whose (the business) under it.
   o2-boot is the first load's wait, shown only until the frame can draw: o2-loading centred on the window's own ground
   (--o2-ground-frame: neutral by day, charcoal at Night); --read puts it on linen for customer pages. No forest, no rings, no
   logo lockup. A page switch never shows it: the rail, the side and the pane stay, and the pane holds its place with quiet
   skeleton rows (o2-skeleton-rows, role="status" with a label) while the page reads. The skeleton breathes, never sweeps. */
.o2-loading { display: inline-flex; align-items: center; gap: 14px; }
.o2-loading__label { font-size: 14px; line-height: 20px; font-weight: 500; color: var(--o2-ink); }
.o2-loading__sub { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--o2-ink-3); }
.o2-boot { position: fixed; inset: 0; z-index: 60; display: grid; place-items: center; padding: 24px; background: var(--o2-ground-frame); color: var(--o2-ink); }
.o2-boot--read { background: var(--o2-ground-read); }
.o2-skeleton { display: block; height: 12px; border-radius: var(--o2-r-pill); background: color-mix(in srgb, var(--o2-ink) 9%, transparent); animation: o2-skeleton 1.6s ease-in-out infinite; }
.o2-skeleton-rows { display: grid; }
.o2-skeleton-row { display: grid; gap: 8px; padding: 18px 24px; border-bottom: 1px solid var(--o2-line-soft); }
.o2-skeleton-row:last-child { border-bottom: 0; }
.o2-skeleton-row .o2-skeleton:first-child { width: 40%; }
.o2-skeleton-row .o2-skeleton:last-child { width: 65%; height: 10px; }
@keyframes o2-skeleton { 50% { opacity: 0.5; } }
@media (prefers-reduced-motion: reduce) { .o2-skeleton { animation: none; } }

.o2-compose { display: flex; align-items: center; gap: 10px; margin-top: auto; padding: 8px 8px 8px 10px; border-radius: 10px; background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line-soft); font-size: 12px; color: var(--o2-ink-4); }
.o2-compose__send { margin-left: auto; padding: 5px 13px; border-radius: 7px; background: var(--o2-inverse); color: var(--o2-on-inverse); font-weight: 500; white-space: nowrap; }

/* The record line under a reply: received, priced, then the owner's step. Words only on the public site. */
.o2-ledger { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 0; margin: 0; padding: 0; list-style: none; font: 500 11.5px/1.4 var(--o2-font); color: var(--o2-ink-4); }
/* Prefer a list (ol.o2-ledger > li), so each step is heard on its own; spans still work, with an o2-sr comma between */
.o2-ledger > span, .o2-ledger > li { display: inline-flex; align-items: center; gap: 6px; }
.o2-ledger > span + span::before, .o2-ledger > li + li::before { content: ""; width: 12px; height: 1px; margin-right: 2px; background: var(--o2-line); }
.o2-ledger .is-move { color: var(--o2-move-text); }

/* The quote: lines, a rule check, the total */
.o2-quote { display: grid; gap: 5px; padding: 10px 12px; border-radius: var(--o2-r-window); background: var(--o2-surface); box-shadow: inset 0 0 0 1px var(--o2-line-soft); font-variant-numeric: tabular-nums; }
.o2-quote p { display: flex; justify-content: space-between; gap: 12px; margin: 0; color: var(--o2-ink-3); }
.o2-quote p span:last-child { color: var(--o2-ink); white-space: nowrap; }
.o2-quote__ok span:last-child { color: var(--o2-green-text) !important; font-weight: 500; }
.o2-quote__total { padding-top: 7px; border-top: 1px solid var(--o2-line-soft); font-weight: 700; }
.o2-quote__total span:first-child { color: var(--o2-ink) !important; }
.o2-quote--bare { padding: 0; background: none; box-shadow: none; }

/* The slip: every quote. Head, lines, a dashed perforation with two notches cut through, and the stub. */
.o2-slip { --stub: 72px; --n: 11px; position: relative; display: grid; min-width: 0; border-radius: var(--o2-r-slip); background: var(--o2-surface); color: var(--o2-ink); box-shadow: inset 0 0 0 1px var(--o2-line-soft); font-size: var(--o2-slip-size, var(--o2-t-ui)); font-variant-numeric: tabular-nums; /* its own type: 13px wherever it sits; --o2-slip-size for a customer page */
  -webkit-mask: radial-gradient(circle var(--n) at 0 calc(100% - var(--stub)), #0000 calc(var(--n) - 0.5px), #000 var(--n)) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% calc(100% - var(--stub)), #0000 calc(var(--n) - 0.5px), #000 var(--n)) right / 51% 100% no-repeat;
  mask: radial-gradient(circle var(--n) at 0 calc(100% - var(--stub)), #0000 calc(var(--n) - 0.5px), #000 var(--n)) left / 51% 100% no-repeat, radial-gradient(circle var(--n) at 100% calc(100% - var(--stub)), #0000 calc(var(--n) - 0.5px), #000 var(--n)) right / 51% 100% no-repeat; }
.o2-slip--sm { --stub: 52px; --n: 9px; }
.o2-slip--xl { --stub: 136px; }
.o2-slip__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px 0; font-size: 13px; }
.o2-slip--sm .o2-slip__head { padding: 10px 12px 0; }
.o2-slip__who { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.o2-slip__ref { padding: 0 7px; border-radius: var(--o2-r-tag); background: var(--o2-fill-strong); font: 500 11px/18px var(--o2-font); color: var(--o2-ink-3); white-space: nowrap; }
.o2-slip__title { margin: 12px 18px 0; font: 500 18px/1.3 var(--o2-font); letter-spacing: -0.01em; }
.o2-slip__title small { display: block; margin-top: 2px; font-size: 13px; font-weight: 400; color: var(--o2-ink-3); }
.o2-slip__body { display: grid; gap: 10px; padding: 14px 18px 16px; }
.o2-slip--sm .o2-slip__body { padding: 10px 12px; }
.o2-slip__stub { display: grid; align-content: end; gap: 8px; box-sizing: border-box; height: var(--stub); margin: 0 14px; padding: 0 4px 14px; border-top: 1.5px dashed var(--o2-line); }
.o2-slip--sm .o2-slip__stub { margin: 0 10px; padding: 0 2px 10px; }
.o2-slip__total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
@media (max-width: 480px) { .o2-slip--xl { --stub: 168px; } .o2-slip--xl .o2-slip__total { flex-direction: column; align-items: flex-start; gap: 6px; } }
.o2-slip__label { display: grid; gap: 2px; font-size: 13px; font-weight: 500; }
.o2-slip__label small { font-size: 12px; font-weight: 400; color: var(--o2-ink-4); }
.o2-slip__fine { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; margin: 0; font-size: 11.5px; color: var(--o2-ink-4); }
.o2-min { display: grid; gap: 6px; }
.o2-min__bar { display: block; height: 4px; overflow: hidden; border-radius: 2px; background: var(--o2-fill-strong); }
.o2-min__bar i { display: block; width: calc(var(--have, 1) * 100%); height: 100%; border-radius: inherit; background: var(--o2-ink-3); transition: width var(--o2-med) var(--o2-ease); }
/* Short of the minimum: the top-up reads in ink, not the "Met" green */
.o2-min.is-topup .o2-quote__ok span:last-child { color: var(--o2-ink) !important; }
.o2-mono { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--o2-line); font: 700 10px/1 var(--o2-font); letter-spacing: 0.02em; color: var(--o2-ink-2); }

/* A price list table */
.o2-table { width: 100%; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.o2-table th { padding: 8px 12px; text-align: left; font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--o2-ink-3); border-bottom: 1px solid var(--o2-line); } /* sentence case: no tracked capitals */
.o2-table--rows td:first-child a { font-weight: 500; color: var(--o2-ink); text-decoration: none; } /* the first cell opens the record; row actions sit in a last "…" column */
.o2-table--rows td:first-child a:hover { text-decoration: underline; text-underline-offset: 3px; }
.o2-table td { padding: 12px; border-bottom: 1px solid var(--o2-line-soft); vertical-align: middle; }
.o2-table td.num, .o2-table th.num { text-align: right; }
.o2-table tr:last-child td { border-bottom: 0; }

/* Settings rows */
.o2-setting { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; padding: 16px 0; border-top: 1px solid var(--o2-line-soft); }
.o2-setting strong { display: block; font-size: 14px; font-weight: 500; }
.o2-setting span { display: block; margin-top: 2px; font-size: 12.5px; color: var(--o2-ink-3); }

@font-face { font-family: "Inter"; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../fonts/inter/inter-latin-opsz-normal.woff2") format("woff2"); }
/* ───────── The phone: an iPhone 16 Pro in black titanium, photographed straight on ─────────
   Everything scales from --pw, the body's width. --pt is one iOS point on its 402 × 874 pt screen (--pw / 431.6).
   The body is 71.5 × 149.6 mm. From each edge: a 1.2% titanium band, then a 2.22% black glass border,
   then the display, with 62 pt corners; the glass (71.6 pt) and body (76.8 pt) corners stay concentric with it.
   Off Apple devices the screens are set in Inter, the nearest open face to SF Pro, which can't be served on the web.
   Buttons: Action, volume up and down on the left; the side button and the flush Camera Control on the right. */
.o2-phone {
  --pw: 300px;
  --pt: calc(var(--pw) / 431.6);
  --o2-phone-band: calc(var(--pw) * 0.012);
  --o2-phone-glass: calc(var(--pw) * 0.0222);
  --o2-ios-font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Inter", sans-serif;
  --o2-phone-shadow: 0 calc(var(--pt) * 1) calc(var(--pt) * 1.5) rgb(0 0 0 / 0.24), 0 calc(var(--pt) * 5) calc(var(--pt) * 10) rgb(0 0 0 / 0.1), 0 calc(var(--pt) * 16) calc(var(--pt) * 30) calc(var(--pt) * -6) rgb(0 0 0 / 0.16), 0 calc(var(--pt) * 40) calc(var(--pt) * 64) calc(var(--pt) * -20) rgb(0 0 0 / 0.2);
  position: relative; isolation: isolate; flex: none; width: var(--pw); aspect-ratio: 715 / 1496;
  padding: var(--o2-phone-band); border-radius: calc(var(--pt) * 76.8);
  background: conic-gradient(from 332deg, #84848A 0deg, #4E4E52 34deg, #2D2D30 80deg, #1A1A1C 140deg, #121213 180deg, #1C1C1E 214deg, #343437 262deg, #5E5E62 306deg, #84848A 360deg);
  box-shadow: inset 0 0 0 calc(var(--pt) * 0.7) rgb(0 0 0 / 0.6), inset 0 0 0 calc(var(--pt) * 1.7) rgb(255 255 255 / 0.07), var(--o2-phone-shadow);
}
/* Specular light on the band: bright on the top-left corner, a faint rim on the lower right */
.o2-phone::before { content: ""; position: absolute; inset: 0; z-index: 1; padding: var(--o2-phone-band); border-radius: inherit; pointer-events: none;
  background: radial-gradient(42% 16% at 9% 5%, rgb(255 255 255 / 0.75), rgb(255 255 255 / 0) 70%), radial-gradient(30% 9% at 97% 22%, rgb(255 255 255 / 0.28), rgb(255 255 255 / 0) 70%), radial-gradient(34% 10% at 88% 97%, rgb(255 255 255 / 0.16), rgb(255 255 255 / 0) 70%), radial-gradient(20% 30% at 0% 55%, rgb(255 255 255 / 0.14), rgb(255 255 255 / 0) 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
[data-theme="night"] .o2-phone { --o2-phone-shadow: 0 calc(var(--pt) * 1) calc(var(--pt) * 2) rgb(0 0 0 / 0.45), 0 calc(var(--pt) * 8) calc(var(--pt) * 16) rgb(0 0 0 / 0.28), 0 calc(var(--pt) * 28) calc(var(--pt) * 52) calc(var(--pt) * -8) rgb(0 0 0 / 0.42), 0 calc(var(--pt) * 70) calc(var(--pt) * 110) calc(var(--pt) * -24) rgb(0 0 0 / 0.5); }
/* The buttons stand just proud of the band: brushed titanium, softly lit from the top left */
.o2-phone__btn { position: absolute; z-index: -1; width: calc(var(--pw) * 0.0085 + 0.5px); border-radius: calc(var(--pt) * 2.5) / calc(var(--pt) * 4); background: linear-gradient(90deg, #36363A, #5A5A5E 35%, #3C3C3F 70%, #1C1C1E); box-shadow: inset 0 calc(var(--pt) * 1) 0 rgb(255 255 255 / 0.12), inset 0 calc(var(--pt) * -1) 0 rgb(0 0 0 / 0.45); }
.o2-phone__btn--action, .o2-phone__btn--up, .o2-phone__btn--down { left: calc(var(--pw) * -0.0085); }
.o2-phone__btn--action { top: 19.8%; height: 4.5%; }
.o2-phone__btn--up { top: 28.6%; height: 7.2%; }
.o2-phone__btn--down { top: 37.6%; height: 7.2%; }
.o2-phone__btn--power, .o2-phone__btn--cam { left: auto; right: calc(var(--pw) * -0.0085); background: linear-gradient(270deg, #262629, #46464A 35%, #2E2E31 70%, #141415); }
.o2-phone__btn--power { top: 29.4%; height: 11.6%; }
/* The Camera Control: a flush sapphire strip in a titanium surround, barely proud of the band */
.o2-phone__btn--cam { top: 58%; height: 11%; width: calc(var(--pw) * 0.0045 + 0.5px); right: calc(var(--pw) * -0.0045); border-radius: calc(var(--pt) * 1.5) / calc(var(--pt) * 4); background: linear-gradient(270deg, #0B0B0D, #3A3C42 45%, #1B1C1F 75%, #0A0A0B); box-shadow: inset 0 calc(var(--pt) * 1.5) 0 rgb(255 255 255 / 0.1), 0 0 0 calc(var(--pt) * 0.6) #2A2A2D; }
/* The glass: a thin, even black border and a hairline where it meets the band. A faint reflection runs along the border only:
   nothing is painted over the display, so its blacks stay black. */
.o2-phone__bezel { position: relative; height: 100%; padding: var(--o2-phone-glass); border-radius: calc(var(--pt) * 71.6); background: #010101; box-shadow: 0 0 0 calc(var(--pt) * 0.7) rgb(0 0 0 / 0.9), inset 0 0 0 calc(var(--pt) * 0.8) rgb(255 255 255 / 0.07); }
.o2-phone__bezel::after { content: ""; position: absolute; inset: 0; z-index: 2; padding: var(--o2-phone-glass); border-radius: inherit; pointer-events: none; background: linear-gradient(118deg, rgb(255 255 255 / 0.03), rgb(255 255 255 / 0) 30%, rgb(255 255 255 / 0) 84%, rgb(255 255 255 / 0.02));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.o2-phone__screen { position: relative; height: 100%; overflow: hidden; border-radius: calc(var(--pt) * 62); background: #000; color: #FFFFFF; font-family: var(--o2-ios-font); font-optical-sizing: auto; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; isolation: isolate; }
/* The Dynamic Island, 126 × 37.33 pt, 14 pt from the top, with the front camera's lens barely visible on its right */
.o2-phone__island { position: absolute; z-index: 22; top: calc(var(--pt) * 14); left: 50%; width: calc(var(--pt) * 126); height: calc(var(--pt) * 37.33); border-radius: calc(var(--pt) * 18.67); background: #000; transform: translateX(-50%); }
.o2-phone__island::after { content: ""; position: absolute; right: calc(var(--pt) * 13.5); top: 50%; width: calc(var(--pt) * 10); height: calc(var(--pt) * 10); margin-top: calc(var(--pt) * -5); border-radius: 50%; background: radial-gradient(circle at 38% 34%, rgb(38 42 64 / 0.35) 0, rgb(14 15 24 / 0.6) 30%, #020203 62%); box-shadow: 0 0 0 calc(var(--pt) * 1) #070708; }
/* The status bar: the time centred in the left ear, cellular, Wi-Fi and battery in the right, level with the island.
   The island, the icons and the home indicator sit over every screen; the time sits under a lock screen, which shows its own clock. */
.o2-phone__status { position: absolute; z-index: auto; top: calc(var(--pt) * 14); left: 0; right: 0; height: calc(var(--pt) * 37.33); display: flex; align-items: center; justify-content: space-between; padding: 0; font: 600 calc(var(--pt) * 17)/1 var(--o2-ios-font); letter-spacing: -0.02em; color: inherit; }
.o2-phone__status > span:first-child { position: relative; z-index: 19; width: calc(var(--pt) * 138); padding-left: calc(var(--pt) * 4); text-align: center; transform: translateY(calc(var(--pt) * 0.6)); }
.o2-phone__icons { position: relative; z-index: 22; display: flex; align-items: center; justify-content: center; gap: calc(var(--pt) * 5.5); width: calc(var(--pt) * 138); padding-left: calc(var(--pt) * 4); }
.o2-phone__sig, .o2-phone__wifi { display: block; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.o2-phone__sig { width: calc(var(--pt) * 17); height: calc(var(--pt) * 10.7); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 17 10.7'%3E%3Crect y='6.8' width='3' height='3.9' rx='0.95'/%3E%3Crect x='4.67' y='4.55' width='3' height='6.15' rx='0.95'/%3E%3Crect x='9.33' y='2.3' width='3' height='8.4' rx='0.95'/%3E%3Crect x='14' width='3' height='10.7' rx='0.95'/%3E%3C/svg%3E"); }
.o2-phone__wifi { width: calc(var(--pt) * 15.3); height: calc(var(--pt) * 11.5); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 12'%3E%3Cg stroke='black' stroke-width='0.6' stroke-linejoin='round'%3E%3Cpath d='M8 11.3 5.6 8.9A3.4 3.4 0 0 1 10.4 8.9Z'/%3E%3Cpath d='M3 6.3A7.05 7.05 0 0 1 13 6.3L11.36 7.94A4.75 4.75 0 0 0 4.64 7.94Z'/%3E%3Cpath d='M.4 3.7A10.75 10.75 0 0 1 15.6 3.7L13.94 5.36A8.4 8.4 0 0 0 2.06 5.36Z'/%3E%3C/g%3E%3C/svg%3E"); }
.o2-phone__batt { position: relative; display: block; width: calc(var(--pt) * 24.3); height: calc(var(--pt) * 11.3); margin: 0 calc(var(--pt) * 2.3) 0 calc(var(--pt) * 1.5); border-radius: calc(var(--pt) * 3.8); box-shadow: inset 0 0 0 calc(var(--pt) * 1) color-mix(in srgb, currentColor 36%, transparent); }
.o2-phone__batt::before { content: ""; position: absolute; top: calc(var(--pt) * 2); bottom: calc(var(--pt) * 2); left: calc(var(--pt) * 2); width: calc(var(--pt) * 16.4); border-radius: calc(var(--pt) * 2); background: currentColor; }
.o2-phone__batt::after { content: ""; position: absolute; left: calc(100% + var(--pt) * 1); top: 50%; width: calc(var(--pt) * 1.3); height: calc(var(--pt) * 4); margin-top: calc(var(--pt) * -2); border-radius: 0 calc(var(--pt) * 1.3) calc(var(--pt) * 1.3) 0 / 0 50% 50% 0; background: currentColor; opacity: 0.4; }
/* The home indicator, 134 × 5 pt, 8 pt from the bottom */
.o2-phone__home { position: absolute; z-index: 22; left: 50%; bottom: calc(var(--pt) * 8); width: calc(var(--pt) * 134); height: calc(var(--pt) * 5); border-radius: calc(var(--pt) * 2.5); background: currentColor; transform: translateX(-50%); }
.o2-phone--light .o2-phone__screen { background: #F2F2F7; color: #000; }
.o2-phone--sm { --pw: 236px; }
/* Apple's continuous corners where the browser can draw them: each radius is 1.53 × its nominal one on a superellipse,
   which keeps the same corner depth with the long, soft shoulders of the hardware. Elsewhere the circular radii above stand. */
@supports (corner-shape: superellipse(1.7)) {
  .o2-phone { border-radius: calc(var(--pt) * 117.4); corner-shape: superellipse(1.7); }
  .o2-phone::before, .o2-phone__bezel::after { corner-shape: superellipse(1.7); }
  .o2-phone__bezel { border-radius: calc(var(--pt) * 109.4); corner-shape: superellipse(1.7); }
  .o2-phone__screen { border-radius: calc(var(--pt) * 94.7); corner-shape: superellipse(1.7); }
  .o2-ios-notif { border-radius: calc(var(--pt) * 33.6); corner-shape: superellipse(1.7); }
  .o2-ios-notif img { border-radius: calc(var(--pt) * 13.2); corner-shape: superellipse(1.7); }
  .o2-ios-group { border-radius: calc(var(--pt) * 15.3); corner-shape: superellipse(1.7); }
  .o2-ios-btn { border-radius: calc(var(--pt) * 18.4); corner-shape: superellipse(1.7); }
}

/* iOS 18 screens inside the phone (dark mode by default): the system font at iOS sizes, grouped inset lists, 44 pt rows */
.o2-ios { --ios-bg: #000; --ios-cell: #1C1C1E; --ios-cell-2: #2C2C2E; --ios-sep: rgb(84 84 88 / 0.65); --ios-label: #FFFFFF; --ios-2: rgb(235 235 245 / 0.6); --ios-3: rgb(235 235 245 / 0.3); --ios-tint: #5FDB92; --ios-fill: #1E9A55; --ios-bar: rgb(18 18 18 / 0.92);
  position: absolute; inset: 0; display: flex; flex-direction: column; padding-top: calc(var(--pt) * 62); background: var(--ios-bg); color: var(--ios-label); font: 400 calc(var(--pt) * 17)/1.294 var(--o2-ios-font); letter-spacing: -0.025em; }
.o2-ios--light { --ios-bg: #F2F2F7; --ios-cell: #FFFFFF; --ios-cell-2: #E5E5EA; --ios-sep: rgb(60 60 67 / 0.29); --ios-label: #000; --ios-2: rgb(60 60 67 / 0.6); --ios-3: rgb(60 60 67 / 0.3); --ios-tint: #0E793E; --ios-fill: #0E793E; --ios-bar: rgb(249 249 249 / 0.94); }
.o2-ios-nav { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; flex: none; height: calc(var(--pt) * 44); padding: 0 calc(var(--pt) * 16) 0 calc(var(--pt) * 8); }
.o2-ios-nav__back { display: inline-flex; align-items: center; color: var(--ios-tint); white-space: nowrap; }
/* SF Symbol-like glyphs, drawn as masks in the system's weights: chevron.backward, ellipsis.circle, checkmark and the filled tab icons */
.o2-ios-sym { display: block; flex: none; background: currentColor; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.o2-ios-sym--back { width: calc(var(--pt) * 12); height: calc(var(--pt) * 21); margin-right: calc(var(--pt) * 6); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 21'%3E%3Cpath d='M10.3 1.6 1.9 10.5l8.4 8.9' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.o2-ios-sym--more { width: calc(var(--pt) * 22); height: calc(var(--pt) * 22); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Ccircle cx='11' cy='11' r='10.15' fill='none' stroke='black' stroke-width='1.5'/%3E%3Ccircle cx='6.4' cy='11' r='1.3'/%3E%3Ccircle cx='11' cy='11' r='1.3'/%3E%3Ccircle cx='15.6' cy='11' r='1.3'/%3E%3C/svg%3E"); }
.o2-ios-sym--check { width: calc(var(--pt) * 15); height: calc(var(--pt) * 14); color: var(--ios-tint); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 15 14'%3E%3Cpath d='M1.6 7.7 5.6 12.2 13.4 1.7' fill='none' stroke='black' stroke-width='2.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.o2-ios-sym--inbox { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 25'%3E%3Cpath d='M4.4 14 7.2 5.2A2.4 2.4 0 0 1 9.5 3.6h9a2.4 2.4 0 0 1 2.3 1.6L23.6 14' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3Cpath d='M3 14.3h6.4c.5 0 .9.4 1 .9.4 1.9 1.8 3.2 3.6 3.2s3.2-1.3 3.6-3.2c.1-.5.5-.9 1-.9H25v6.3a3.2 3.2 0 0 1-3.2 3.2H6.2A3.2 3.2 0 0 1 3 20.6Z'/%3E%3C/svg%3E"); }
.o2-ios-sym--bell { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 25'%3E%3Cpath d='M14 1.4c-1 0-1.7.7-1.7 1.7v.6c-3.4.8-5.7 3.8-5.7 7.5v4.7l-2 2.6c-.4.5 0 1.3.7 1.3h17.4c.7 0 1.1-.8.7-1.3l-2-2.6v-4.7c0-3.7-2.3-6.7-5.7-7.5v-.6c0-1-.7-1.7-1.7-1.7ZM10.9 21.2a3.1 3.1 0 0 0 6.2 0Z'/%3E%3C/svg%3E"); }
.o2-ios-sym--box { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 25'%3E%3Cg stroke='black' stroke-width='1' stroke-linejoin='round'%3E%3Cpath d='M14 1.4 23.6 6.2 14 11 4.4 6.2Z'/%3E%3Cpath d='M3.4 8 12.9 12.8V24L4.6 19.9A2.2 2.2 0 0 1 3.4 18Z'/%3E%3Cpath d='M24.6 8 15.1 12.8V24L23.4 19.9A2.2 2.2 0 0 0 24.6 18Z'/%3E%3C/g%3E%3C/svg%3E"); }
.o2-ios-sym--gear { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 25'%3E%3Cpath fill-rule='evenodd' stroke='black' stroke-width='1.2' stroke-linejoin='round' d='M11.67 3.81L12.34 1.42L15.66 1.42L16.33 3.81A9 9 0 0 1 18.5 4.71L20.66 3.5L23 5.84L21.79 8A9 9 0 0 1 22.69 10.17L25.08 10.84L25.08 14.16L22.69 14.83A9 9 0 0 1 21.79 17L23 19.16L20.66 21.5L18.5 20.29A9 9 0 0 1 16.33 21.19L15.66 23.58L12.34 23.58L11.67 21.19A9 9 0 0 1 9.5 20.29L7.34 21.5L5 19.16L6.21 17A9 9 0 0 1 5.31 14.83L2.92 14.16L2.92 10.84L5.31 10.17A9 9 0 0 1 6.21 8L5 5.84L7.34 3.5L9.5 4.71A9 9 0 0 1 11.67 3.81ZM18.3 12.5a4.3 4.3 0 1 0 -8.6 0a4.3 4.3 0 1 0 8.6 0Z'/%3E%3C/svg%3E"); }
.o2-ios-nav__title { font-weight: 600; }
.o2-ios-nav__end { justify-self: end; display: inline-flex; color: var(--ios-tint); }
.o2-ios-title { margin: 0; padding: calc(var(--pt) * 3) calc(var(--pt) * 16) calc(var(--pt) * 8); font: 700 calc(var(--pt) * 34)/1.206 var(--o2-ios-font); letter-spacing: 0.011em; }
.o2-ios-sub { margin: calc(var(--pt) * -6) 0 0; padding: 0 calc(var(--pt) * 16) calc(var(--pt) * 14); font-size: calc(var(--pt) * 15); line-height: 1.333; letter-spacing: -0.015em; color: var(--ios-2); }
.o2-ios-label { margin: 0; padding: calc(var(--pt) * 14) calc(var(--pt) * 32) calc(var(--pt) * 7); font-size: calc(var(--pt) * 13); line-height: 1.385; letter-spacing: -0.006em; text-transform: none; color: var(--ios-2); } /* sentence case, as everywhere */
.o2-ios-label .o2-ios-cap { text-transform: none; }
.o2-ios-group { margin: 0 calc(var(--pt) * 16) calc(var(--pt) * 20); overflow: hidden; border-radius: calc(var(--pt) * 10); background: var(--ios-cell); }
.o2-ios-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: calc(var(--pt) * 12); min-height: calc(var(--pt) * 44); padding: calc(var(--pt) * 11) calc(var(--pt) * 16); line-height: 1.294; }
.o2-ios-row + .o2-ios-row::before, .o2-ios-meta + .o2-ios-body::before, .o2-ios-row + .o2-ios-body::before { content: ""; position: absolute; top: 0; left: calc(var(--pt) * 16); right: 0; height: max(0.5px, calc(var(--pt) * 0.33)); background: var(--ios-sep); }
.o2-ios-row em { font-style: normal; color: var(--ios-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.o2-ios-row > span > em { display: inline-block; margin-top: calc(var(--pt) * 2); font-size: calc(var(--pt) * 15); letter-spacing: -0.015em; white-space: normal; }
.o2-ios-row strong { font-weight: 600; }
.o2-ios-row--total { font-weight: 600; }
.o2-ios-row--total em { color: var(--ios-label); }
.o2-ios-body { position: relative; margin: 0; padding: calc(var(--pt) * 11) calc(var(--pt) * 16) calc(var(--pt) * 12); line-height: 1.294; }
.o2-ios-meta { display: grid; padding-left: calc(var(--pt) * 16); font-size: calc(var(--pt) * 15); letter-spacing: -0.015em; }
.o2-ios-meta > span { position: relative; display: flex; align-items: center; gap: calc(var(--pt) * 6); min-height: calc(var(--pt) * 44); padding-right: calc(var(--pt) * 16); font-size: calc(var(--pt) * 17); letter-spacing: -0.025em; }
.o2-ios-meta > span + span::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: max(0.5px, calc(var(--pt) * 0.33)); background: var(--ios-sep); }
.o2-ios-meta b { font-weight: 400; color: var(--ios-2); }
.o2-ios-meta b::after { content: ":"; }
.o2-ios-foot { margin-top: auto; display: grid; gap: calc(var(--pt) * 6); padding: calc(var(--pt) * 12) calc(var(--pt) * 16) calc(var(--pt) * 42); }
.o2-ios-btn { display: grid; place-items: center; height: calc(var(--pt) * 50); border-radius: calc(var(--pt) * 12); background: var(--ios-fill); color: #FFFFFF; font: 600 calc(var(--pt) * 17)/1 var(--o2-ios-font); letter-spacing: -0.025em; }
.o2-ios-btn--plain { background: transparent; color: var(--ios-tint); font-weight: 400; }
.o2-ios-note { margin: calc(var(--pt) * -13) 0 0; padding: calc(var(--pt) * 7) calc(var(--pt) * 32) 0; font-size: calc(var(--pt) * 13); line-height: 1.385; letter-spacing: -0.006em; color: var(--ios-2); }
.o2-ios-cap { display: inline-flex; align-items: center; gap: calc(var(--pt) * 6); padding: calc(var(--pt) * 3) calc(var(--pt) * 10) calc(var(--pt) * 3) calc(var(--pt) * 9); border-radius: 999px; background: #2A1608; color: #FFA36B; font-size: calc(var(--pt) * 13); font-weight: 600; letter-spacing: -0.006em; white-space: nowrap; }
.o2-ios-cap::before { content: ""; width: calc(var(--pt) * 6.5); height: calc(var(--pt) * 6.5); border-radius: calc(var(--pt) * 1); background: var(--o2-move); transform: rotate(45deg); }
.o2-ios-chips { display: flex; flex-wrap: wrap; gap: calc(var(--pt) * 6); padding: 0 calc(var(--pt) * 16) calc(var(--pt) * 6); }
.o2-ios-chips span { padding: calc(var(--pt) * 5) calc(var(--pt) * 11); border-radius: 999px; background: rgb(118 118 128 / 0.24); font-size: calc(var(--pt) * 13); font-weight: 600; line-height: 1.385; letter-spacing: -0.006em; color: var(--ios-label); }
.o2-ios--light .o2-ios-chips span { background: rgb(118 118 128 / 0.12); }
/* The tab bar: 49 pt of items over the 34 pt home indicator area, on a bar material with a hairline */
.o2-ios-tabbar { position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; height: calc(var(--pt) * 83); padding: calc(var(--pt) * 6) calc(var(--pt) * 8) 0; background: var(--ios-bar); -webkit-backdrop-filter: blur(calc(var(--pt) * 30)) saturate(1.8); backdrop-filter: blur(calc(var(--pt) * 30)) saturate(1.8); font-size: calc(var(--pt) * 10); font-weight: 500; line-height: 1.2; letter-spacing: 0.01em; color: #8E8E93; text-align: center; }
.o2-ios-tabbar::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: max(0.5px, calc(var(--pt) * 0.33)); background: var(--ios-sep); }
.o2-ios-tabbar span { display: grid; justify-items: center; align-content: start; gap: calc(var(--pt) * 3); }
.o2-ios-tabbar .o2-ios-sym { width: calc(var(--pt) * 28); height: calc(var(--pt) * 25); }
.o2-ios-tabbar .is-on { color: var(--ios-tint); }

/* The iOS 18 lock screen: the wallpaper sharp, the padlock under the island, the date and a big clock in solid white,
   notifications from the bottom, the two quick buttons. The status bar's left ear stays empty, as in Apple's own renders. */
.o2-ios-lock { position: absolute; inset: 0; z-index: 21; display: flex; flex-direction: column; align-items: center; padding-top: calc(var(--pt) * 84); color: #FFFFFF; text-align: center; font-family: var(--o2-ios-font); }
.o2-ios-lock__wall { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 36% 50%; filter: brightness(0.9) saturate(1.05); }
.o2-ios-lock::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(rgb(0 0 0 / 0) 55%, rgb(0 0 0 / 0.3)); }
.o2-ios-lock__date { margin: 0; font: 600 calc(var(--pt) * 21)/1.2 var(--o2-ios-font); letter-spacing: -0.012em; color: #FFFFFF; }
.o2-ios-lock__date::before { content: ""; position: absolute; top: calc(var(--pt) * 59); left: 50%; width: calc(var(--pt) * 14); height: calc(var(--pt) * 18); background: #FFFFFF; transform: translateX(-50%); -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 18'%3E%3Cpath d='M4 8V5.6a3 3 0 0 1 6 0V8' fill='none' stroke='black' stroke-width='1.8'/%3E%3Crect x='1' y='7.4' width='12' height='10.1' rx='2.3'/%3E%3C/svg%3E"); }
.o2-ios-lock__time { margin: calc(var(--pt) * -4) 0 0; font: 700 calc(var(--pt) * 104)/1.05 var(--o2-ios-font); letter-spacing: -0.035em; color: #FFFFFF; }
.o2-ios-lock__stack { margin-top: auto; width: 100%; padding: 0 calc(var(--pt) * 8); }
.o2-ios-lock__bottom { display: flex; justify-content: space-between; width: 100%; padding: calc(var(--pt) * 20) calc(var(--pt) * 46) calc(var(--pt) * 52); }
.o2-ios-lock__bottom span { display: grid; place-items: center; width: calc(var(--pt) * 50); height: calc(var(--pt) * 50); border-radius: 50%; background: rgb(28 28 30 / 0.42); -webkit-backdrop-filter: blur(calc(var(--pt) * 20)) saturate(1.6); backdrop-filter: blur(calc(var(--pt) * 20)) saturate(1.6); }
.o2-ios-lock__bottom .o2-i { width: 48%; height: 48%; stroke-width: 1.8; }
.o2-ios-lock__torch, .o2-ios-lock__camera { display: block; background: #FFFFFF; -webkit-mask: var(--m) center / contain no-repeat; mask: var(--m) center / contain no-repeat; }
.o2-ios-lock__torch { width: calc(var(--pt) * 12.5); height: calc(var(--pt) * 21.5); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 24'%3E%3Cpath d='M2.5.8h9A1.5 1.5 0 0 1 13 2.3V3H1v-.7A1.5 1.5 0 0 1 2.5.8Z'/%3E%3Cpath fill-rule='evenodd' d='M1 4h12v1.4l-2.4 4.2v12a1.9 1.9 0 0 1-1.9 1.9H5.3a1.9 1.9 0 0 1-1.9-1.9v-12L1 5.4Zm7.45 10.2a1.45 1.45 0 1 0-2.9 0 1.45 1.45 0 1 0 2.9 0Z'/%3E%3C/svg%3E"); }
.o2-ios-lock__camera { width: calc(var(--pt) * 24); height: calc(var(--pt) * 18.5); --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20'%3E%3Cpath fill-rule='evenodd' d='M3.2 4.2h4.2L9 1.8a1.6 1.6 0 0 1 1.3-.7h5.4a1.6 1.6 0 0 1 1.3.7l1.6 2.4h4.2a3 3 0 0 1 3 3v9.2a3 3 0 0 1-3 3H3.2a3 3 0 0 1-3-3V7.2a3 3 0 0 1 3-3Zm14.9 7.4a5.1 5.1 0 1 0-10.2 0 5.1 5.1 0 1 0 10.2 0Z'/%3E%3Cpath d='M16.5 11.6a3.5 3.5 0 1 0-7 0 3.5 3.5 0 1 0 7 0Z'/%3E%3C/svg%3E"); }
/* A notification on the lock screen: the platter material, a 38 pt app icon, 15 pt title and body, 'now' in 13 pt */
.o2-ios-notif { display: grid; grid-template-columns: calc(var(--pt) * 38) minmax(0, 1fr) auto; grid-template-areas: "icon title time" "icon body body"; column-gap: calc(var(--pt) * 10); align-items: center; padding: calc(var(--pt) * 12) calc(var(--pt) * 14) calc(var(--pt) * 13); border-radius: calc(var(--pt) * 22); background: rgb(48 48 50 / 0.5); -webkit-backdrop-filter: blur(calc(var(--pt) * 30)) saturate(1.9); backdrop-filter: blur(calc(var(--pt) * 30)) saturate(1.9); text-align: left; font-size: calc(var(--pt) * 15); line-height: 1.333; letter-spacing: -0.015em; }
.o2-ios-notif img { grid-area: icon; align-self: center; width: 100%; height: auto; border-radius: calc(var(--pt) * 8.6); }
.o2-ios-notif__body { display: contents; }
.o2-ios-notif__body > strong { grid-area: title; align-self: end; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.o2-ios-notif__body > span { grid-area: body; align-self: start; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; color: rgb(255 255 255 / 0.94); }
.o2-ios-notif__time { grid-area: time; align-self: end; padding-left: calc(var(--pt) * 6); font-size: calc(var(--pt) * 13); line-height: 1.538; letter-spacing: -0.006em; color: rgb(255 255 255 / 0.55); }

/* ───────── Steps on a thread, and dark tabs ───────── */
/* A story step: plain words on the thread; the current one in full ink */
.o2-step { all: unset; box-sizing: border-box; display: grid; gap: 4px; padding-bottom: 2px; cursor: pointer; }
.o2-step__title { font: 500 17px/1.35 var(--o2-font); color: var(--o2-ink-3); transition: color 0.3s ease; }
.o2-step__text { font-size: 14px; line-height: 1.5; color: var(--o2-ink-4); }
.o2-step.is-active .o2-step__title { color: var(--o2-ink); }
.o2-step.is-active .o2-step__text { color: var(--o2-ink-3); }
.o2-step:focus-visible { outline: 2px solid var(--o2-green-text); outline-offset: 4px; border-radius: 4px; }

/* The thread: steps in order joined by a hairline. Open ring to come, breathing ring now, ink tick done, diamond for your move. */
.o2-thread-v { position: relative; display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; --o2-ns: var(--o2-node); }
.o2-thread-v:has(> li > .o2-node--ic) { --o2-ns: var(--o2-node-ic); } /* --o2-ns: the node's size, so the hairline meets its centre */
.o2-thread-v > li { position: relative; display: grid; grid-template-columns: var(--o2-ns) minmax(0, 1fr); column-gap: 14px; align-items: start; align-content: start; padding-bottom: 18px; }
.o2-thread-v > li:not(:last-child)::before { content: ""; position: absolute; left: calc(var(--o2-ns) / 2 - 0.75px); top: calc(var(--o2-ns) + 6px); bottom: -2px; width: var(--o2-thread-w); background: var(--o2-ink-4); opacity: var(--o2-thread-o); }
/* The node: the ring on a thread, our numeral. One component (o2-node) for the thread, the steps grid, help's guide and the
   close's steps; o2-thread-v__node is its older name and stays. States come from the li (is-done, is-now, is-move) or from the
   node's own modifier. --o2-node-ground paints the ring's inside: the page by default, a card's or the pane's surface inside them. */
.o2-node, .o2-thread-v__node { position: relative; z-index: 1; display: grid; place-items: center; flex: none; width: var(--o2-node); height: var(--o2-node); margin-top: 2px; border-radius: 50%; background: var(--o2-node-ground, var(--o2-bg)); box-shadow: inset 0 0 0 1.5px var(--o2-ink-4); }
:is(.o2-node, .o2-thread-v__node) .o2-i { width: 11px; height: 11px; stroke-width: 2.4; color: var(--o2-node-ground, var(--o2-bg)); opacity: 0; }
:is(.o2-node, .o2-thread-v__node) > *, :is(.o2-node, .o2-thread-v__node)::after { grid-area: 1 / 1; }
li.is-done > :is(.o2-node, .o2-thread-v__node), .o2-node--done { background: var(--o2-ink-2); box-shadow: none; }
li.is-done > :is(.o2-node, .o2-thread-v__node) .o2-i, .o2-node--done .o2-i { opacity: 1; }
li.is-now > :is(.o2-node, .o2-thread-v__node), .o2-node--now { box-shadow: inset 0 0 0 1.5px var(--o2-ink); animation: o2-breathe var(--o2-breathe) ease-in-out infinite; }
@keyframes o2-breathe { 50% { box-shadow: inset 0 0 0 1.5px var(--o2-ink), 0 0 0 5px var(--o2-fill-strong); } }
li.is-move:not(.is-done) > :is(.o2-node, .o2-thread-v__node), .o2-node--move { box-shadow: none; animation: none; }
li.is-move:not(.is-done) > :is(.o2-node, .o2-thread-v__node)::after, .o2-node--move::after { content: ""; width: 10px; height: 10px; border-radius: 2px; background: var(--o2-move); transform: rotate(45deg) scale(0.84); box-shadow: 0 0 0 4px var(--o2-move-halo); }
.o2-card { --o2-node-ground: var(--o2-surface); }
/* Every step ring carries its own icon (o2-node--ic): the sprite icon for that step, in Ogenso green on a light green tint inside
   the ring. Put the step's icon first and, where the step can finish, the tick after it: done fills the ring and shows the tick,
   your move swaps the icon for the diamond, now breathes in green. */
.o2-node--ic, .o2-thread-v__node.o2-node--ic { width: var(--o2-node-ic); height: var(--o2-node-ic); margin-top: 0; background: linear-gradient(var(--o2-green-tint), var(--o2-green-tint)), var(--o2-node-ground, var(--o2-bg)); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--o2-green-text) 45%, transparent); }
.o2-node--ic > .o2-i { width: 50%; height: 50%; stroke-width: 1.7; color: var(--o2-green-text); opacity: 1; }
.o2-node--ic > .o2-i ~ .o2-i { width: 42%; height: 42%; stroke-width: 2.4; color: var(--o2-node-ground, var(--o2-bg)); opacity: 0; }
li.is-done > .o2-node--ic, .o2-node--ic.o2-node--done { background: var(--o2-ink-2); box-shadow: none; }
li.is-done > .o2-node--ic > .o2-i:first-child:not(:only-child), .o2-node--ic.o2-node--done > .o2-i:first-child:not(:only-child) { opacity: 0; }
li.is-done > .o2-node--ic > .o2-i ~ .o2-i, .o2-node--ic.o2-node--done > .o2-i ~ .o2-i { opacity: 1; }
li.is-done > .o2-node--ic > .o2-i:only-child, .o2-node--ic.o2-node--done > .o2-i:only-child { color: var(--o2-node-ground, var(--o2-bg)); }
li.is-now > .o2-node--ic, .o2-node--ic.o2-node--now { box-shadow: inset 0 0 0 1.5px var(--o2-green-text); }
@media (prefers-reduced-motion: no-preference) { li.is-now > .o2-node--ic, .o2-node--ic.o2-node--now { animation: o2-breathe-ic var(--o2-breathe) ease-in-out infinite; } }
@keyframes o2-breathe-ic { 50% { box-shadow: inset 0 0 0 1.5px var(--o2-green-text), 0 0 0 5px var(--o2-green-tint); } }
li.is-move:not(.is-done) > .o2-node--ic, .o2-node--ic.o2-node--move { background: var(--o2-node-ground, var(--o2-bg)); box-shadow: none; animation: none; }
li.is-move:not(.is-done) > .o2-node--ic > .o2-i, .o2-node--ic.o2-node--move > .o2-i { opacity: 0; }
li.is-move:not(.is-done) > .o2-node--ic::after, .o2-node--ic.o2-node--move::after { width: 12px; height: 12px; }
.o2-thread-v:has(> li > .o2-node--ic) > li > :not(.o2-node--ic) { padding-top: 4px; } /* the first line of words meets the larger ring's middle */
.o2-thread-v__title { margin: 0; font: 500 17px/1.35 var(--o2-font); color: var(--o2-ink); }
.o2-thread-v__text { margin: 4px 0 0; font-size: 15px; line-height: 1.55; color: var(--o2-ink-3); }
@media (min-width: 961px) {
  .o2-thread-v--row { grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 24px; }
  .o2-thread-v--row > li { grid-template-columns: minmax(0, 1fr); row-gap: 14px; padding-bottom: 0; }
  .o2-thread-v--row > li:not(:last-child)::before { left: calc(var(--o2-ns) + 10px); right: -16px; top: calc(var(--o2-ns) / 2 + 1.25px); bottom: auto; width: auto; height: 1.5px; }
  .o2-thread-v--row:has(> li > .o2-node--ic) > li > :not(.o2-node--ic) { padding-top: 0; }
  .o2-thread-v--row:has(> li > .o2-node--ic) > li:not(:last-child)::before { top: calc(var(--o2-ns) / 2 - 0.75px); }
}

.o2-tabs-dark { display: inline-flex; gap: 2px; padding: 4px; border-radius: 12px; background: color-mix(in srgb, var(--o2-dusk) 60%, transparent); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.o2-tabs-dark button { all: unset; cursor: pointer; padding: 8px 16px; border-radius: 8px; font: 500 13.5px/1.3 var(--o2-font); color: rgb(241 246 242 / 0.7); white-space: nowrap; }
.o2-tabs-dark button[aria-checked="true"] { background: rgba(255, 255, 255, 0.14); color: var(--o2-on-dusk); }
.o2-tabs-dark button:focus-visible { outline: 2px solid var(--o2-green-text); outline-offset: 1px; }

/* ───────── Stats: the figure in Funnel Display, its meaning first in the markup ───────── */
.o2-stat { display: grid; justify-items: center; gap: 14px; text-align: center; }
.o2-stat dd { order: -1; display: inline-flex; align-items: flex-start; margin: 0; font: 300 clamp(64px, 7.5vw, 104px)/1 var(--o2-font-figure); letter-spacing: -0.045em; font-variant-numeric: tabular-nums lining-nums; }
.o2-stat dt { max-width: 19em; font: 400 15px/1.5 var(--o2-font); letter-spacing: 0; text-transform: none; color: var(--o2-ink-3); }

/* ───────── Questions ───────── */
.o2-faq details { border-top: 1px solid var(--o2-line); }
.o2-faq details:last-child { border-bottom: 1px solid var(--o2-line); }
.o2-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 22px 0; cursor: pointer; list-style: none; font: 500 18px/1.35 var(--o2-font); letter-spacing: -0.01em; overflow-wrap: anywhere; }
.o2-faq summary > :first-child { flex: 1; min-width: 0; } /* a long question wraps beside its plus (wrap the words in a span) */
.o2-faq summary::-webkit-details-marker { display: none; }
.o2-faq__plus { position: relative; flex: none; width: 14px; height: 14px; }
.o2-faq__plus::before, .o2-faq__plus::after { content: ""; position: absolute; left: 0; top: 6.25px; width: 14px; height: 1.5px; border-radius: 1px; background: var(--o2-ink-3); transition: transform var(--o2-med) ease; }
.o2-faq__plus::after { transform: rotate(90deg); }
.o2-faq details[open] .o2-faq__plus::after { transform: rotate(0deg); }
.o2-faq details p { max-width: 40em; margin: -4px 0 24px; font-size: 16px; line-height: 1.6; color: var(--o2-ink-3); }
.o2-faq details p a { color: var(--o2-ink); text-decoration: underline; text-decoration-color: var(--o2-ink-4); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.o2-faq details p a:hover { text-decoration-color: currentColor; }

/* ───────── The compliment slip: Ogenso's own paper ───────── */
.o2-compslip { position: relative; isolation: isolate; overflow: hidden; width: min(680px, calc(100% - 32px)); margin: 0 auto; padding: clamp(28px, 5vw, 48px); border-radius: 6px; background: var(--o2-surface-raised); color: var(--o2-ink); box-shadow: var(--o2-e-flat-lg); }
.o2-compslip > :not(.o2-rings) { position: relative; z-index: 1; }
.o2-compslip__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid var(--o2-line); }
.o2-compslip__head img { display: block; height: 26px; width: auto; }
.o2-compslip__head .o2-logo-night, [data-theme="night"] .o2-compslip__head .o2-logo-paper { display: none; }
[data-theme="night"] .o2-compslip__head .o2-logo-night { display: block; }
.o2-compslip__head span { font: 500 13px/1 var(--o2-font); color: var(--o2-ink-3); }
.o2-compslip h2 { margin: 28px 0 0; font: 500 clamp(26px, 2.8vw, 36px)/1.12 var(--o2-font); letter-spacing: -0.025em; text-wrap: balance; }
.o2-compslip p { margin: 14px 0 0; font-size: 16.5px; line-height: 1.7; color: var(--o2-ink-2); }
.o2-compslip__sign { display: grid; gap: 2px; margin-top: 26px !important; font-weight: 500; color: var(--o2-ink) !important; }
.o2-compslip__sign small { font-size: 13px; font-weight: 400; color: var(--o2-ink-3); }

/* ───────── Site navigation ───────── */
.o2-nav { position: fixed; inset: 0 0 auto; z-index: 50; padding-top: env(safe-area-inset-top, 0px); pointer-events: none; }
.o2-nav__full { pointer-events: auto; display: flex; align-items: center; gap: 24px; width: min(var(--o2-max), 100%); height: 56px; margin: 14px auto 0; padding: 0 8px 0 max(20px, env(safe-area-inset-left, 0px)); transition: opacity 0.3s ease, transform 0.3s ease; }
.o2-nav__logo img { display: block; height: 26px; width: auto; }
.o2-nav__links { display: flex; align-items: center; gap: 2px; margin: 0 auto; }
.o2-nav__link { all: unset; box-sizing: border-box; display: inline-flex; align-items: center; gap: 4px; height: 36px; padding: 0 12px; border-radius: 8px; font: 400 15px/1 var(--o2-font); color: var(--o2-ink); cursor: pointer; text-decoration: none; }
.o2-nav__link .o2-i { width: 12px; height: 12px; opacity: 0.6; }
.o2-nav__link:hover { background: rgba(255, 255, 255, 0.4); }
.o2-nav__end { display: flex; align-items: center; gap: 6px; }
.o2-nav__signin { padding: 0 12px; font-size: 15px; color: var(--o2-ink); text-decoration: none; }
/* The compact pill stays fixed paper in both themes and over every chapter */
.o2-nav__pill { position: absolute; top: calc(12px + env(safe-area-inset-top, 0px)); right: max(16px, 2.4vw, env(safe-area-inset-right, 0px)); display: flex; align-items: center; gap: 14px; height: 48px; padding: 0 6px 0 16px; border-radius: 12px; background: rgb(247 242 231 / 0.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgb(14 27 18 / 0.1), 0 3px 0 rgb(14 27 18 / 0.06); color: var(--o2-ink-fixed); opacity: 0; transform: translateY(-6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.o2-nav__pill img { display: block; height: 19px; width: auto; }
.o2-nav__pill a:not(.o2-btn) { font-size: 14px; color: rgb(14 27 18 / 0.78); text-decoration: none; }
/* The menu button: a real button (aria-expanded, aria-controls) opening the menu sheet below. In the bar at 960px and narrower,
   where the links don't fit; in the pill at every width. */
.o2-nav__menu { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: rgb(247 242 231 / 0.9); box-shadow: inset 0 0 0 1px rgb(14 27 18 / 0.1); color: var(--o2-ink-fixed); font-size: 18px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.o2-nav__menu:focus-visible { outline: 2px solid var(--o2-green); outline-offset: 2px; }
.o2-nav__full .o2-nav__menu { display: none; }
.o2-nav__pill .o2-nav__menu { width: 36px; height: 36px; border-radius: 8px; background: transparent; box-shadow: none; font-size: 16px; }
.o2-nav__pill .o2-nav__menu:hover { background: rgb(14 27 18 / 0.06); }
@media (max-width: 960px) {
  .o2-nav__links, .o2-nav__signin { display: none; }
  .o2-nav__full { justify-content: space-between; }
  .o2-nav__full .o2-nav__menu { display: grid; }
}
.o2-nav[data-compact] .o2-nav__full { opacity: 0; pointer-events: none; transform: translateY(-8px); }
.o2-nav[data-compact] .o2-nav__pill { opacity: 1; transform: none; pointer-events: auto; }
/* ───────── The header's dropdown menus (js/menu.js): one component on every page of the website ─────────
   The bar's four items are Product ▾, Who it's for ▾, Pricing and Company ▾ (BRAND, "The navigation"). Each ▾ is a button
   (aria-expanded, aria-controls) over a light-glass panel of links: an icon or an iso drawing, the page's name and one short line
   the site already says. Click, Enter or Space opens it; the arrow keys move; Escape, tabbing away, a click outside or choosing
   a link closes it. With the script the panel follows the button (.is-open, set by menu.js, which marks the menu
   data-o2-menu); without it, hover and focus show it, so its links are always reachable. The current page's link is bold
   (aria-current="page") and its group's button at 500, as a current link in the bar. --end hangs a panel from its button's
   right edge (the last menu in the bar), so it never runs past the window at 961px. */
.o2-menu { position: relative; }
.o2-menu > .o2-nav__link .o2-i { transition: transform var(--o2-fast) ease; }
.o2-menu > .o2-nav__link[aria-expanded="true"] .o2-i { transform: rotate(180deg); }
.o2-menu:has(a[aria-current="page"]) > .o2-nav__link { font-weight: 500; }
.o2-menu__panel { position: absolute; left: -24px; top: calc(100% + 10px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; width: 640px; padding: 8px; border-radius: var(--o2-r-menu); background: var(--o2-glass-light-bg); -webkit-backdrop-filter: var(--o2-glass-light-blur); backdrop-filter: var(--o2-glass-light-blur); border: 1px solid var(--o2-glass-light-edge); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7), var(--o2-e-3); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s; }
.o2-menu__panel--narrow { width: 540px; }
.o2-menu__panel--end { left: auto; right: -24px; }
.o2-menu__panel.is-open, .o2-menu:not([data-o2-menu]):is(:hover, :focus-within) .o2-menu__panel { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.o2-menu__panel a { display: flex; align-items: flex-start; gap: 12px; padding: 12px 16px; border-radius: 16px; color: var(--o2-ink-fixed); text-decoration: none; }
.o2-menu__panel a:hover { background: rgba(255, 255, 255, 0.65); }
.o2-menu__panel a:focus-visible { outline: 2px solid var(--o2-focus); outline-offset: -2px; }
.o2-menu__panel a > span:last-child { display: grid; gap: 2px; }
.o2-menu__panel strong { font-size: 14px; font-weight: 500; }
.o2-menu__panel a[aria-current="page"] strong { font-weight: 700; } /* weight, not green: on the website green is only the orb */
.o2-menu__panel a span span { font-size: 13px; color: rgb(14 27 18 / 0.68); }
.o2-menu__ic { display: grid; place-items: center; flex: none; width: 32px; height: 32px; border-radius: 8px; background: #FFFFFF; box-shadow: var(--o2-e-1); font-size: 16px; color: var(--o2-ink-fixed); }
@media (prefers-reduced-motion: reduce) { .o2-menu > .o2-nav__link .o2-i { transition: none; } }

/* ───────── The menu sheet: the site's one menu, the same on every page (js/sheet.js) ─────────
   A native modal <dialog> opened by a menu button. Above 960px a panel under the pill at the top right (sheet.js anchors it to
   the opener's [data-navsheet-anchor], else the button); at 960px and narrower a full-height sheet. The lockup and the close
   button, the two actions, then groups of links under sentence-case eyebrows, two columns where they fit, hairlines between. */
.o2-navsheet { --ns-l: 24px; --ns-r: 24px; box-sizing: border-box; width: 460px; max-width: calc(100vw - 32px); padding: 0 var(--ns-r) 8px var(--ns-l); border: 1px solid var(--o2-line); border-radius: var(--o2-r-panel); background: var(--o2-bg); color: var(--o2-ink); box-shadow: var(--o2-e-2); font: 400 var(--o2-t-body)/1.5 var(--o2-font); }
dialog.o2-navsheet { position: fixed; inset: var(--o2-navsheet-top, calc(68px + env(safe-area-inset-top, 0px))) var(--o2-navsheet-right, max(16px, 2.4vw, env(safe-area-inset-right, 0px))) auto auto; margin: 0; max-height: calc(100vh - var(--o2-navsheet-top, 68px) - 16px); max-height: calc(100dvh - var(--o2-navsheet-top, 68px) - 16px); overflow-y: auto; overscroll-behavior: contain; }
dialog.o2-navsheet:not([open]) { display: none; }
dialog.o2-navsheet[open] { animation: o2-navsheet-in 0.2s var(--o2-ease) both; }
dialog.o2-navsheet::backdrop { background: rgb(14 27 18 / 0.16); }
@keyframes o2-navsheet-in { from { opacity: 0; transform: translateY(-6px); } }
html.o2-navsheet-open { overflow: hidden; }
.o2-navsheet__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 68px; }
.o2-navsheet__head img { display: block; height: 24px; width: auto; }
.o2-navsheet .o2-logo-night, [data-theme="night"] .o2-navsheet .o2-logo-paper { display: none; }
[data-theme="night"] .o2-navsheet .o2-logo-night { display: block; }
.o2-navsheet__close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 10px; background: var(--o2-fill-strong); box-shadow: inset 0 0 0 1px var(--o2-line); color: var(--o2-ink); font-size: 22px; cursor: pointer; }
.o2-navsheet__close .o2-i { transform: rotate(45deg); }
.o2-navsheet__acts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 10px; padding: 4px 0 22px; }
.o2-navsheet__acts .o2-btn { width: 100%; }
.o2-navsheet__group { padding: 18px 0 16px; border-top: 1px solid var(--o2-line); }
.o2-navsheet__group[hidden] { display: none; }
.o2-navsheet__group--solo { padding-block: 10px; } /* a group of one top-level link with no eyebrow: Pricing, as in the bar */
.o2-navsheet__group .o2-eyebrow { margin-bottom: 8px; }
.o2-navsheet__group ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(max(150px, 40%), 1fr)); gap: 0 16px; margin: 0; padding: 0; list-style: none; }
.o2-navsheet__group a { display: flex; align-items: center; min-height: 40px; margin-inline: -8px; padding: 6px 8px; border-radius: var(--o2-r-control); font: 500 16px/1.25 var(--o2-font); color: var(--o2-ink); text-decoration: none; }
.o2-navsheet__group a:hover { background: var(--o2-fill-strong); }
.o2-navsheet__group a:focus-visible { outline-offset: -2px; }
.o2-navsheet__group a[aria-current="page"] { font-weight: 700; } /* weight, not green: on the website green is only the orb */
@media (max-width: 960px) {
  .o2-navsheet { --ns-l: max(20px, env(safe-area-inset-left, 0px)); --ns-r: max(16px, 2.4vw, env(safe-area-inset-right, 0px)); }
  dialog.o2-navsheet { inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; padding-bottom: max(24px, env(safe-area-inset-bottom, 0px)); border: 0; border-radius: 0; box-shadow: none; }
  dialog.o2-navsheet[open] { animation-duration: 0.28s; }
  dialog.o2-navsheet::backdrop { background: rgb(14 27 18 / 0.4); }
  .o2-navsheet__head { height: auto; min-height: 68px; padding-top: env(safe-area-inset-top, 0px); }
  .o2-navsheet__group a { min-height: 44px; font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { dialog.o2-navsheet[open] { animation: none; } }

/* ───────── Footer: dusk, with faint open rings from the corner ───────── */
.o2-foot { position: relative; isolation: isolate; overflow: hidden; padding-top: 88px; background: var(--o2-dusk); color: var(--o2-on-dusk); }
.o2-foot > .o2-rings { --ring: var(--o2-ring-ink); --rings-size: 960px; --rings-o: 0.07; }
.o2-foot > :not(.o2-rings) { position: relative; z-index: 1; }
.o2-foot__top { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr); gap: 48px; }
.o2-foot__brand p { max-width: 24em; margin: 16px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--o2-on-dusk-3); }
.o2-foot__brand p.o2-foot__mail { color: var(--o2-on-dusk-2); }
.o2-foot__mail a { color: inherit; text-decoration: none; }
.o2-foot__social ul { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: 0; padding: 0; list-style: none; }
.o2-foot__social a { color: var(--o2-on-dusk-2); text-decoration: none; }
.o2-foot__mail a:hover, .o2-foot__social a:hover { text-decoration: underline; text-underline-offset: 3px; }
.o2-foot a:focus-visible { outline-color: var(--o2-on-dusk); }
.o2-foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.o2-foot__cols p { margin: 0 0 14px; font: 500 13px/1 var(--o2-font); letter-spacing: 0; text-transform: none; color: var(--o2-on-dusk-4); }
.o2-foot__cols a { display: block; margin: 0 0 11px; font-size: 14px; color: var(--o2-on-dusk-2); text-decoration: none; }
.o2-foot__cols a:hover { color: var(--o2-on-dusk); }
.o2-foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-top: 64px; padding: 24px 0; border-top: 1px solid rgb(241 246 242 / 0.08); font-size: 12.5px; color: var(--o2-on-dusk-4); }
@media (max-width: 960px) { .o2-foot__top { grid-template-columns: minmax(0, 1fr); } .o2-foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ───────── The floating bar: one paper action with the orb, never a chat box ───────── */
/* Shown only between the hero's action and the close (js/motion.js), so its orb is never in view with another. While parked it
   is hidden: out of the tab order, out of the accessibility tree (tabindex=-1, aria-hidden) and out of any full-page capture. */
.o2-float { position: fixed; z-index: 40; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: inline-flex; align-items: center; gap: 12px; max-width: calc(100vw - 32px); height: 52px; padding: 0 11px 0 14px; border-radius: var(--o2-r-pill); background: var(--o2-surface); color: var(--o2-ink); font: 500 15px/1 var(--o2-font); text-decoration: none; white-space: nowrap; box-shadow: var(--o2-e-flat-lg); transform: translate(-50%, 160%); transition: transform 0.4s var(--o2-ease), visibility 0s linear 0.4s; }
.o2-float:not(.is-on) { visibility: hidden; }
.o2-float.is-on { transform: translate(-50%, 0); transition-delay: 0s; }
@media (max-width: 640px) { .o2-float { width: calc(100vw - 32px); justify-content: space-between; } }
.o2-float > img { display: block; flex: none; }
.o2-float .o2-btn__orb { width: 32px; height: 32px; margin: 0; }

/* ───────── Isometric drawings ───────── */
.o2-iso { display: block; }
.o2-iso svg { display: block; width: 100%; height: 100%; overflow: visible; }
.o2-iso svg * { vector-effect: non-scaling-stroke; }

/* ───────── Toast, sheet, empty state ───────── */
/* The toast: an ink chip (light at Night), never the dusk ground in the product. A done toast carries the filled stop. */
.o2-toast { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px 10px 12px; border-radius: var(--o2-r-box); background: var(--o2-inverse); color: var(--o2-on-inverse); box-shadow: var(--o2-e-2); font-size: 13.5px; }
.o2-toast .o2-i { color: currentColor; }

.o2-sheet { width: min(520px, 100%); padding: 24px; border-radius: var(--o2-r-menu); background: var(--o2-surface); box-shadow: var(--o2-e-3), inset 0 0 0 1px var(--o2-line-soft); }
.o2-empty { display: grid; justify-items: center; gap: 10px; padding: 40px 20px; text-align: center; color: var(--o2-ink-3); }

/* ═════════ The website's page system (site plan Part 1; lifted from the site kit, site-next/src/kit/kit.css, 12 November) ═════════
   Every page: the header, a hero, two to five paper sections each under one section head with every block in a frame, one dusk
   chapter on a selling page, questions, Keep reading, the close card, the dusk footer. Page rhythm (kit-main, kit-sec, kit-rows,
   kit-acts) stays in the site; these are the parts with a look of their own. */

/* Small parts */
.o2-skip { position: absolute; left: -9999px; }
.o2-skip:focus { position: fixed; z-index: 100; top: 12px; left: 12px; padding: 8px 12px; border-radius: var(--o2-r-control); background: var(--o2-inverse); color: var(--o2-on-inverse); }
.o2-break { display: block; } /* a headline's second line keeps its break, in the same ink (never two-tone) */
.o2-textlink { font-weight: 500; color: var(--o2-ink); text-decoration: underline; text-decoration-color: var(--o2-ink-4); text-decoration-thickness: 1px; text-underline-offset: 4px; }
.o2-textlink:hover { text-decoration-color: currentColor; }
/* Ticks: a plain ink tick before each line, never the done green (which is for outcomes) */
.o2-ticks { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.o2-ticks li { display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 12px; font-size: var(--o2-t-cell); line-height: 1.5; color: var(--o2-ink-2); }
.o2-ticks .o2-i { width: 16px; height: 16px; margin-top: 3px; color: var(--o2-ink); stroke-width: 2; }
/* A hairline chip: terms, channels on a public page. Not a state: no sign. Put chips in a list so each is heard on its own. */
.o2-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; font-size: var(--o2-t-label); line-height: 1.4; color: var(--o2-ink-3); }
.o2-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: var(--o2-r-pill); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-chip b { font-weight: 500; color: var(--o2-ink); }
.o2-chip .o2-i { width: 14px; height: 14px; color: var(--o2-ink-3); }
/* Status words in a table or list: an ink tick ("Included"), an em dash ("Not included", in o2-sr), an open ring ("Waits for you").
   On phones (o2-mark--short) the word becomes o2-sr and the glyph stays. */
.o2-mark { display: inline-flex; align-items: center; gap: 8px; font-size: var(--o2-t-cell); color: var(--o2-ink-2); }
.o2-mark::before { flex: none; }
.o2-mark--ok::before { content: ""; width: 14px; height: 14px; background: currentColor; color: var(--o2-ink); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9 6.1-6.6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 16 16'%3E%3Cpath d='M3.5 8.4l2.9 2.9 6.1-6.6' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.o2-mark--no { color: var(--o2-ink-4); }
.o2-mark--no::before { content: "—"; }
.o2-mark--wait::before { content: ""; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px currentColor; }
@media (max-width: 640px) { .o2-mark--short > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } }
/* A notched slip on paper: the mask that cuts the notches clips the slip's own shadow, so the flat offset goes on a wrapper */
.o2-drop { filter: var(--o2-e-drop); }

/* ───────── The header bar: sticky paper, 68px (60 on phones), a hairline once scrolled ─────────
   o2-nav--bar is the header of every page but the home page's story header (o2-nav with its compact pill). Links in ink, the
   current page at weight 500, Sign in, the ink "Start free" without the orb, and the menu button at 960px and under. Over a
   photo or dusk hero (data-over on the header, with JavaScript) it starts clear, with the reverse lockup and paper words, and
   turns paper once the hero has passed under it (js/motion.js sets data-past). Over a dark chapter further down it stays paper. */
.o2-nav--bar { position: sticky; top: 0; pointer-events: auto; padding-top: 0; background: var(--o2-bg); transition: box-shadow var(--o2-med) ease, background-color var(--o2-med) ease; }
.o2-nav--bar[data-scrolled] { box-shadow: 0 1px 0 var(--o2-line); }
.o2-nav--bar .o2-nav__full { height: var(--o2-nav-h); margin: 0 auto; }
.o2-nav--bar .o2-nav__link[aria-current="page"] { font-weight: 500; }
.o2-nav--bar :is(.o2-nav__link, .o2-nav__signin):focus-visible { outline-offset: 0; }
.o2-nav--bar .o2-nav__signin { white-space: nowrap; }
.o2-nav__logo .o2-nav__logo-over { display: none; }
@media (min-width: 961px) and (max-width: 1100px) { .o2-nav--bar .o2-nav__link { padding: 0 9px; } .o2-nav--bar .o2-nav__full { gap: 16px; } }
@media (max-width: 960px) { .o2-nav--bar .o2-nav__full { padding-right: max(16px, 2.4vw, env(safe-area-inset-right, 0px)); } }
@media (max-width: 640px) { .o2-nav--bar .o2-nav__full { gap: 12px; } .o2-nav--bar .o2-nav__logo img { height: 22px; } }
@media (max-width: 359px) { .o2-nav--bar .o2-nav__try { display: none; } } /* the sheet carries it */
.js .o2-nav--bar[data-over]:not([data-past]) { background: transparent; box-shadow: none; }
.js .o2-nav--bar[data-over]:not([data-past]) :is(.o2-nav__link, .o2-nav__signin) { color: var(--o2-paper-fixed); }
.js .o2-nav--bar[data-over]:not([data-past]) .o2-nav__link:hover { background: var(--o2-on-dusk-hover); }
.js .o2-nav--bar[data-over]:not([data-past]) .o2-nav__logo-main { display: none; }
.js .o2-nav--bar[data-over]:not([data-past]) .o2-nav__logo-over { display: block; }
.js .o2-nav--bar[data-over]:not([data-past]) .o2-nav__try { background: var(--o2-paper-fixed); color: var(--o2-ink-fixed); }
.js .o2-nav--bar[data-over]:not([data-past]) :focus-visible { outline-color: var(--o2-paper-fixed); }
.js .o2-nav--bar[data-over] + * > .o2-hero:first-child, .js .o2-hero--under { margin-top: calc(-1 * var(--o2-nav-h)); }

/* ───────── The hero: one formula on three grounds ─────────
   Eyebrow (the page's name), the H1 on at most two lines ending on the leaf stop, a lead of two sentences at most, one action
   with the orb (or the website box), at most one quiet link, and one product object beside it. 88px under the header (40 on
   phones); eyebrow to H1 18, H1 to lead 18, lead to action 28. Columns 1.05fr and 0.95fr, 96px apart, from 961px. */
.o2-hero { padding-top: var(--o2-hero-top); }
.o2-hero__grid { display: grid; gap: 48px; align-items: center; }
.o2-hero__copy { display: grid; justify-items: start; max-width: 40em; }
.o2-hero__copy .o2-h1 { max-width: 15.5em; margin-top: 18px; }
.o2-hero__copy .o2-lead { max-width: 36em; margin-top: 18px; }
.o2-hero__copy > :is(.o2-hero__acts, .o2-field--box) { margin-top: 28px; }
.o2-hero__acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.o2-hero__copy > .o2-small { margin-top: 14px; }
.o2-hero--center .o2-hero__copy { justify-items: center; margin-inline: auto; text-align: center; }
.o2-hero--center .o2-hero__acts { justify-content: center; }
.o2-hero__aside { min-width: 0; }
.o2-hero__aside > .o2-photo:not(.o2-tile) { aspect-ratio: 4 / 3; }
.o2-hero__aside > .o2-iso { height: clamp(200px, 26vw, 320px); }
@media (min-width: 961px) { .o2-hero__grid:has(> .o2-hero__aside) { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: var(--o2-col-gap); } }
/* On a photograph: full bleed, 72–80% of the screen, the copy at its bottom left in paper over the hero shade. On phones a 4:5
   crop holds the eyebrow and H1, and the lead and action move below onto paper, so small type never sits on the picture. */
.o2-hero--photo { padding-top: 0; }
.o2-hero__photo { display: grid; align-content: end; min-height: clamp(560px, 76svh, 760px); padding-bottom: clamp(40px, 5vw, 64px); border-radius: 0; }
.o2-hero__photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--o2-shade-hero); }
.o2-hero__photo > img { object-position: var(--o2-photo-focus, 50% 60%); }
.o2-hero--photo .o2-hero__copy { --o2-stop: var(--o2-stop-on-forest); max-width: none; }
.o2-hero--photo :is(.o2-hero__title, .o2-hero__more) { display: grid; justify-items: start; max-width: 40em; }
.o2-hero--photo .o2-eyebrow, .o2-hero--photo .o2-lead { color: var(--o2-on-dusk-2); }
.o2-hero--photo .o2-h1 { color: var(--o2-on-dusk); }
.o2-hero--photo .o2-textlink { color: var(--o2-on-dusk); text-decoration-color: var(--o2-on-dusk-3); }
.o2-hero--photo .o2-hero__more > .o2-hero__acts { margin-top: 28px; }
.o2-hero--photo :focus-visible { outline-color: var(--o2-paper-fixed); }
@media (max-width: 640px) {
  .o2-hero__photo { display: block; min-height: 0; padding: 0; background: var(--o2-bg); color: var(--o2-ink); container-type: inline-size; }
  .o2-hero__photo > img, .o2-hero__photo::before, .o2-hero__photo::after { inset: 0 0 auto; height: auto; aspect-ratio: 4 / 5; }
  .o2-hero--photo .o2-hero__title { min-height: calc(min(100vw, 640px) * 1.25); min-height: calc(100cqi * 1.25); align-content: end; padding-bottom: 24px; } /* the photo's own 4:5 height */
  .o2-hero--photo .o2-hero__more { padding-top: 20px; }
  .o2-hero--photo .o2-hero__more .o2-lead { color: var(--o2-ink-3); }
  .o2-hero--photo .o2-hero__more .o2-textlink { color: var(--o2-ink); text-decoration-color: var(--o2-ink-4); }
  .o2-hero--photo .o2-hero__more :focus-visible { outline-color: var(--o2-focus); }
}
/* On a photograph the primary reads as paper: o2-btn--paper (o2-btn--ink is drawn paper there for the site's checks) */
@media (min-width: 641px) { .o2-hero--photo .o2-btn--ink { background: var(--o2-paper-fixed); color: var(--o2-ink-fixed); } }
/* On dusk: data-theme="dusk" on the section; it is that page's one dark chapter (the AI engine page, /ai-engine, only today) */
.o2-hero--dusk { padding-bottom: var(--o2-chapter-bottom); background: var(--o2-bg); color: var(--o2-ink); }
.js .o2-hero--dusk.o2-hero--under { padding-top: calc(var(--o2-nav-h) + var(--o2-hero-top)); }

/* ───────── The section head: eyebrow, H2 (no full stop, at most two lines), optional quiet lead; 48px to the content (32) ───────── */
.o2-sechead { display: grid; justify-items: start; gap: 14px; margin-bottom: var(--o2-head-gap); }
.o2-sechead .o2-h2 { max-width: 14em; }
.o2-sechead .o2-lead { max-width: 38em; margin-top: 2px; font-weight: 400; }
.o2-sechead--center { justify-items: center; text-align: center; }
@media (min-width: 961px) {
  .o2-sechead--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: var(--o2-col-gap); align-items: end; }
  .o2-sechead--split > .o2-eyebrow { grid-column: 1 / -1; }
  .o2-sechead--split .o2-lead { justify-self: end; }
  /* Beside a long list: the head (or a side column, o2-stick) stays in view while the list scrolls */
  .o2-sechead--stick, .o2-stick { position: sticky; top: var(--o2-sticky-top); align-self: start; }
}

/* ───────── The framed grid: every unordered set in one 14px frame, cells on 1px hairlines ─────────
   Four, three or two across: four becomes two under 1180px; three stays three to 961px, then two when it holds more than three,
   one when it holds three; one across under 640px, still framed. A cell: an icon box or an iso drawing (128px), a title (h3 or
   strong at 20px), a line at 15px. On a dl too. */
.o2-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; overflow: hidden; border-radius: var(--o2-r-card); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.o2-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.o2-grid > :is(li, div) { position: relative; display: grid; align-content: start; justify-items: start; gap: 8px; padding: var(--o2-cell-pad); box-shadow: -1px 0 0 var(--o2-line), 0 -1px 0 var(--o2-line); }
.o2-grid > :is(li, div) > * { max-width: 100%; }
.o2-grid .o2-iso { justify-self: stretch; height: 128px; margin-bottom: 16px; }
.o2-grid .o2-iconbox { margin-bottom: 14px; }
.o2-grid :is(strong, h3, dd) { margin: 0; font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; color: var(--o2-ink); }
.o2-grid :is(li, div) > :is(span:not(.o2-iso):not(.o2-iconbox):not(.o2-node):not(.o2-amount), p), .o2-grid dt { margin: 0; font-size: var(--o2-t-cell); line-height: 1.55; color: var(--o2-ink-3); }
@media (min-width: 641px) and (max-width: 1180px) { .o2-grid:not(.o2-grid--2):not(.o2-grid--3):not(.o2-grid--steps) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 960px) {
  .o2-grid--3:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o2-grid--3:not(:has(> :nth-child(4))) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .o2-grid:not(.o2-grid--steps):not(.o2-grid--topics) { grid-template-columns: minmax(0, 1fr); }
  .o2-grid > :is(li, div) { padding: var(--o2-cell-pad-sm); }
  .o2-grid .o2-iso { height: 104px; }
}
/* A linked cell: the whole cell is the one link (topics, the 404's ways in, a dusk grid's last cell). Hover fills, quickly. */
.o2-grid > li:has(> .o2-grid__link) { padding: 0; }
.o2-grid__link { display: grid; align-content: start; justify-items: start; gap: 8px; width: 100%; height: 100%; padding: var(--o2-cell-pad); color: var(--o2-ink); text-decoration: none; transition: background-color var(--o2-fast) ease; }
.o2-grid__link:hover { background: var(--o2-fill); }
.o2-grid__link:focus-visible { outline-offset: -4px; }
.o2-grid__link > span:not(.o2-iso):not(.o2-iconbox) { font-size: var(--o2-t-cell); line-height: 1.5; color: var(--o2-ink-3); overflow-wrap: anywhere; }
@media (max-width: 640px) { .o2-grid__link { padding: var(--o2-cell-pad-sm); } }
/* The topic grid: four over two, each cell a topic and its count; two across even on phones */
.o2-grid--topics .o2-grid__link { padding: 28px 28px 30px; gap: 6px; }
.o2-grid--topics .o2-iconbox { margin-bottom: 12px; }
@media (max-width: 640px) {
  .o2-grid--topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o2-grid--topics .o2-grid__link { padding: 20px 16px 22px; }
  .o2-grid--topics .o2-iconbox { margin-bottom: 8px; }
  .o2-grid--topics strong { font-size: 16px; }
  .o2-grid--topics .o2-grid__link > span:not(.o2-iconbox) { font-size: 14px; }
}
/* Ordered steps: the thread runs through the frame. Our numeral is the ring: an open ring to come, an ink tick done, the
   diamond for your step, at most one breathing ring; never a digit. One row from 961px, down the left of the cells below. */
.o2-grid--steps { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); --o2-ns: var(--o2-node); }
.o2-grid--steps:has(> li > .o2-node--ic) { --o2-ns: var(--o2-node-ic); }
.o2-grid--steps > li::before { content: ""; position: absolute; z-index: 0; left: 0; right: 0; top: calc(32px + var(--o2-ns) / 2 - 0.75px); height: var(--o2-thread-w); background: var(--o2-ink-4); opacity: var(--o2-thread-o); transform-origin: 0 0; }
.o2-grid--steps > li:first-child::before { left: calc(28px + var(--o2-ns) / 2); }
.o2-grid--steps > li:last-child::before { right: auto; width: calc(28px + var(--o2-ns) / 2); }
.o2-grid--steps > li:only-child::before { display: none; }
.o2-grid--steps > li > .o2-node { margin: 0 0 14px; }
.o2-grid--steps a { color: inherit; text-decoration: none; }
.o2-grid--steps a:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 960px) {
  .o2-grid--steps { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: minmax(0, 1fr); }
  .o2-grid--steps > li { grid-template-columns: var(--o2-ns) minmax(0, 1fr); column-gap: 16px; justify-items: stretch; padding: 22px 24px 24px; box-shadow: 0 -1px 0 var(--o2-line); }
  .o2-grid--steps > li > * { grid-column: 2; }
  .o2-grid--steps > li > .o2-node { grid-column: 1; grid-row: 1 / span 4; margin: 1px 0 0; }
  .o2-grid--steps > li::before { left: calc(24px + var(--o2-ns) / 2 - 0.75px); right: auto; top: 0; bottom: 0; width: var(--o2-thread-w); height: auto; }
  .o2-grid--steps > li:first-child::before { left: calc(24px + var(--o2-ns) / 2 - 0.75px); top: calc(23px + var(--o2-ns) / 2); }
  .o2-grid--steps > li:last-child::before { width: var(--o2-thread-w); bottom: auto; height: calc(23px + var(--o2-ns) / 2); }
}

/* ───────── The dusk chapter: one full-bleed dark band per selling page, with its most serious content ─────────
   data-theme="dusk" on the section (never "night": Night is charcoal). Framed exactly as on paper. Never next to the close or
   the footer; one diamond and one hero amount at most; no rings, rails, grid lines or glow; the header stays paper over it. */
.o2-chapter { margin-top: var(--o2-section); padding: var(--o2-chapter-top) 0 var(--o2-chapter-bottom); background: var(--o2-bg); color: var(--o2-ink); }

/* ───────── The photo tile with a bezel card in flow (the kit's tile) ─────────
   A graded 4:3 photograph with one product card in a bezel wholly inside it, 24px from its edges (16 on phones), where the tile
   grows taller rather than the card shrinking below 13px type. o2-tile alone keeps the home page's bento, with the card fixed
   along the bottom. */
.o2-tile--flow { display: grid; align-content: end; justify-items: start; min-height: 0; aspect-ratio: 4 / 3; padding: 24px; }
.o2-tile--flow > .o2-bezel { position: relative; left: auto; right: auto; bottom: auto; width: min(100%, var(--o2-tile-card, var(--o2-card-max))); }
.o2-tile--end { justify-items: end; }
.o2-tile--center { align-content: center; justify-items: center; }
.o2-tile--flow:has(> .o2-tile__top) { grid-template-rows: auto minmax(0, 1fr); align-content: stretch; }
.o2-tile--flow:has(> .o2-tile__top) > .o2-bezel { align-self: end; }
.o2-tile--flow > .o2-tile__top { padding: 0; }
@media (max-width: 640px) {
  .o2-tile--flow { aspect-ratio: auto; min-height: 420px; padding: 16px; }
  .o2-tile--flow > .o2-bezel { width: 100%; }
}

/* ───────── The website box: the "Your website" field with its button inside, a GET to the try link ───────── */
.o2-field--box { display: flex; align-items: center; gap: 10px; width: min(var(--o2-box-max), 100%); height: 60px; padding: 0 7px 0 18px; border-radius: var(--o2-r-box); background: var(--o2-surface); color: var(--o2-ink); box-shadow: var(--o2-e-flat-sm); text-align: left; }
.o2-field--box:focus-within { box-shadow: inset 0 0 0 1.5px var(--o2-focus), 0 0 0 4px var(--o2-green-tint); }
.o2-field--box > .o2-i { width: 18px; height: 18px; color: var(--o2-ink-4); }
.o2-field--box input[type="text"], .o2-field--box input[type="url"] { flex: 1; min-width: 0; height: 46px; padding: 0; border: 0; background: transparent; color: var(--o2-ink); font: 400 16px/1.4 var(--o2-font); outline: none; }
.o2-field--box input::placeholder { color: var(--o2-ink-4); opacity: 1; }
.o2-field--box .o2-btn { flex: none; }
.o2-forest .o2-field--box { box-shadow: var(--o2-e-on-forest); }
.o2-forest .o2-field--box:focus-within { box-shadow: 0 0 0 3px var(--o2-on-forest), var(--o2-e-on-forest); }
@media (max-width: 560px) {
  .o2-field--box { flex-wrap: wrap; height: auto; padding: 6px; }
  .o2-field--box > .o2-i { margin-left: 10px; }
  .o2-field--box .o2-btn { width: 100%; }
}

/* ───────── The close card, with its steps under it ─────────
   The forest card (the display headline with the sage stop, one line, the website box, "Prefer to talk first? Book a call."),
   then on paper 40px under it the steps on the thread (the first breathing) and the plan's terms as hairline chips in a list.
   The rings turn up to 8° as the card passes (data-o2-turn, js/motion.js), never on their own. */
.o2-close__card { display: grid; justify-items: center; align-content: center; gap: 16px; min-height: 460px; padding: clamp(64px, 8vw, 96px) clamp(20px, 5vw, 64px); border-radius: var(--o2-r-feature); text-align: center; }
.o2-close__card .o2-rings { --rings-size: 720px; --rings-o: 0.2; transform-origin: 100% 100%; transform: rotate(var(--o2-rings-turn, 0deg)); }
.o2-close__card .o2-display { max-width: 13em; text-wrap: balance; }
.o2-close__card p { margin: 0; }
.o2-close__lede { max-width: 32em; font-size: var(--o2-t-read); line-height: 1.6; }
.o2-close__card .o2-field--box { margin-top: 12px; }
.o2-close__fine { font-size: 14.5px; }
.o2-close__fine a { color: var(--o2-on-forest); text-underline-offset: 3px; }
.o2-forest :is(a, button, input):focus-visible { outline-color: var(--o2-on-forest); }
.o2-close__after { margin-top: 40px; }
.o2-close__after .o2-thread-v__title { font-size: var(--o2-t-cell); }
.o2-close__terms { margin-top: 20px; }
@media (max-width: 960px) { .o2-close__after { margin-top: 32px; } .o2-close__terms { margin-top: 8px; } }
@media (max-width: 640px) { .o2-close__card { min-height: 0; } .o2-close__card .o2-rings { --rings-size: 480px; } }

/* ───────── Keep reading: three sideways link cards before the close, each with its page's drawing ───────── */
.o2-keep { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 22px 0 0; padding: 0; list-style: none; }
.o2-keep > li { display: grid; }
.o2-keep__card { display: grid; align-content: start; justify-items: start; gap: 6px; padding: 28px; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: var(--o2-e-flat); color: var(--o2-ink); text-decoration: none; transition: background-color var(--o2-fast) ease; }
.o2-keep__card:hover { background: linear-gradient(var(--o2-fill), var(--o2-fill)), var(--o2-surface); }
.o2-keep__card .o2-iso { width: 92px; height: 80px; margin: 0 0 18px -6px; }
.o2-keep__card strong { font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; }
.o2-keep__card > span:not(.o2-iso) { font-size: var(--o2-t-cell); line-height: 1.55; color: var(--o2-ink-3); }
@media (max-width: 960px) {
  .o2-keep { grid-template-columns: minmax(0, 1fr); }
  .o2-keep__card { grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: center; padding: 18px 20px; }
  .o2-keep__card .o2-iso { grid-row: 1 / span 2; width: 72px; height: 64px; margin: 0; }
  .o2-keep__card > :not(.o2-iso) { grid-column: 2; }
  .o2-keep__card > strong { align-self: end; }
  .o2-keep__card > span:not(.o2-iso) { align-self: start; }
}

/* ───────── Questions in groups: a hairline above each, the title column sticking beside its list from 961px ───────── */
.o2-qgroups { display: grid; gap: clamp(56px, 7vw, 88px); }
.o2-qgroup { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 24px var(--o2-col-gap-tight); align-items: start; padding-top: 32px; box-shadow: 0 -1px 0 var(--o2-line); }
.o2-qgroup__head { display: grid; justify-items: start; gap: 8px; }
.o2-qgroup__title { margin: 0; font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; color: var(--o2-ink); }
.o2-qgroup__count { margin: 0; font-size: var(--o2-t-cell); line-height: 1.5; color: var(--o2-ink-3); }
.o2-qgroup .o2-faq { margin-top: -14px; }
@media (min-width: 961px) { .o2-qgroup__head { position: sticky; top: var(--o2-sticky-top); } }
@media (max-width: 960px) { .o2-qgroup { grid-template-columns: minmax(0, 1fr); } .o2-qgroup .o2-faq { margin-top: 0; } }

/* ───────── Prose: legal and help pages ─────────
   A compact copy-only hero (the date as its eyebrow), "On this page" as a framed card sticky beside the 42em prose from 961px and
   a fold above it below that (one of the two navs is display: none at each width, so the list is never read twice), lists that
   lead in bold in a white card, help's steps on a vertical thread, and one quiet closing line. */
.o2-doc { display: grid; gap: 40px; }
@media (min-width: 961px) { .o2-doc { grid-template-columns: var(--o2-toc-w) minmax(0, 1fr); gap: var(--o2-col-gap); } .o2-doc > .o2-toc { position: sticky; top: var(--o2-sticky-top); align-self: start; } }
.o2-toc { border-radius: var(--o2-r-card); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-toc--side { padding: 20px 22px 22px; }
.o2-toc--side > p { margin: 0 0 12px; font: 500 var(--o2-t-label)/1.2 var(--o2-font); color: var(--o2-ink-3); }
.o2-toc ul { display: grid; margin: 0; padding: 0; list-style: none; }
.o2-toc li + li { border-top: 1px solid var(--o2-line); }
.o2-toc a { display: block; padding: 8px 0; font-size: 14px; line-height: 1.4; color: var(--o2-ink-2); text-decoration: none; }
.o2-toc a:hover { color: var(--o2-ink); text-decoration: underline; text-underline-offset: 3px; }
.o2-toc--fold { display: none; }
.o2-toc--fold summary { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px; font: 500 15px/1.2 var(--o2-font); color: var(--o2-ink); cursor: pointer; list-style: none; }
.o2-toc--fold summary::-webkit-details-marker { display: none; }
.o2-toc--fold summary .o2-i { width: 16px; height: 16px; color: var(--o2-ink-3); transition: transform var(--o2-med) var(--o2-ease); }
.o2-toc--fold[open] summary .o2-i { transform: rotate(180deg); }
.o2-toc--fold ul { padding: 0 18px 10px; }
.o2-toc--fold li:first-child { border-top: 1px solid var(--o2-line); }
.o2-toc--fold a { padding: 11px 0; font-size: 15px; }
@media (max-width: 960px) {
  .o2-toc--fold { display: block; margin-bottom: 32px; }
  .o2-doc > .o2-toc--side:not(.o2-toc--row) { display: none; }
  .o2-toc--row { padding: 0; overflow: hidden; }
  .o2-toc--row > p { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .o2-toc--row ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .o2-toc--row li, .o2-toc--row li + li { border-top: 0; box-shadow: -1px 0 0 var(--o2-line), 0 -1px 0 var(--o2-line); }
  .o2-toc--row li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .o2-toc--row a { display: flex; align-items: center; min-height: 48px; padding: 8px 16px; font-weight: 500; color: var(--o2-ink); }
}
.o2-prose { max-width: var(--o2-measure-prose); font-size: var(--o2-t-read); line-height: 1.7; color: var(--o2-ink-2); overflow-wrap: break-word; }
.o2-prose > :first-child { margin-top: 0; }
.o2-prose h2 { margin: 48px 0 0; font: 500 24px/1.25 var(--o2-font); letter-spacing: -0.02em; color: var(--o2-ink); scroll-margin-top: var(--o2-anchor-gap); }
.o2-prose h3 { margin: 32px 0 0; font: 500 18px/1.35 var(--o2-font); letter-spacing: -0.01em; color: var(--o2-ink); }
.o2-prose :is(p, ul, ol, table) { margin: 14px 0 0; }
.o2-prose :is(ul, ol) { padding-left: 1.25em; }
.o2-prose li + li { margin-top: 6px; }
.o2-prose :is(b, strong) { font-weight: 500; color: var(--o2-ink); }
.o2-prose a { color: var(--o2-ink); text-decoration: underline; text-decoration-color: var(--o2-ink-4); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.o2-prose a:hover { text-decoration-color: currentColor; }
.o2-prose code { padding: 2px 6px; border-radius: var(--o2-r-tag); background: var(--o2-fill-strong); font: 14px/1.5 var(--o2-font-mono); overflow-wrap: anywhere; }
.o2-prose .o2-prose__list { margin-top: 18px; padding: 4px 24px; border-radius: var(--o2-r-card); background: var(--o2-surface); box-shadow: var(--o2-e-flat); list-style: none; }
.o2-prose .o2-prose__list > li { margin: 0; padding: 14px 0; }
.o2-prose .o2-prose__list > li + li { border-top: 1px solid var(--o2-line); }
.o2-prose .o2-prose__guide { padding-left: 0; list-style: none; }
.o2-prose .o2-prose__guide > li { position: relative; margin: 0; padding: 0 0 14px 36px; }
.o2-prose .o2-prose__guide > li:last-child { padding-bottom: 0; }
.o2-prose .o2-prose__guide > li::before { content: ""; position: absolute; z-index: 1; left: 0; top: 4px; width: var(--o2-node); height: var(--o2-node); box-sizing: border-box; border-radius: 50%; background: var(--o2-bg); box-shadow: inset 0 0 0 1.5px var(--o2-ink-4); }
.o2-prose .o2-prose__guide > li:not(:last-child)::after { content: ""; position: absolute; left: 9.25px; top: 24px; bottom: 0; width: var(--o2-thread-w); background: var(--o2-ink-4); opacity: var(--o2-thread-o); }
.o2-prose .o2-prose__end { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--o2-line); font-size: var(--o2-t-cell); color: var(--o2-ink-3); }
@media (max-width: 640px) { .o2-prose .o2-prose__list { padding: 2px 18px; } }

/* ───────── Contact: the ways in as one framed list, and the form on the page's one forest card ───────── */
.o2-framelist { display: grid; width: 100%; margin: 0; padding: 0; list-style: none; border-radius: var(--o2-r-card); box-shadow: inset 0 0 0 1px var(--o2-line); }
.o2-framelist > li { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 16px; row-gap: 2px; align-items: center; padding: 20px 24px; }
.o2-framelist > li + li { box-shadow: 0 -1px 0 var(--o2-line); }
.o2-framelist .o2-iconbox { grid-row: 1 / span 2; }
.o2-framelist__big { font: 500 var(--o2-t-h4)/1.3 var(--o2-font); letter-spacing: -0.02em; color: var(--o2-ink); overflow-wrap: anywhere; }
a.o2-framelist__big { text-decoration: underline; text-decoration-color: var(--o2-ink-4); text-decoration-thickness: 1px; text-underline-offset: 4px; }
a.o2-framelist__big:hover { text-decoration-color: currentColor; }
.o2-framelist > li > span:last-child { font-size: var(--o2-t-cell); line-height: 1.5; color: var(--o2-ink-3); }
.o2-formcard { display: grid; align-content: start; gap: 10px; padding: clamp(28px, 4vw, 48px); border-radius: var(--o2-r-feature); }
.o2-formcard .o2-rings { --rings-size: 560px; --rings-o: 0.2; }
.o2-formcard__title { margin: 0; font: 500 var(--o2-t-h3)/1.2 var(--o2-font); letter-spacing: var(--o2-tracking-head); color: var(--o2-on-forest); }
/* Fields on forest: paper inputs, labels in on-forest, "optional" muted; focus a 3px on-forest ring; an invalid field a 2px
   on-forest ring with an ink inset; the error line with the alert icon; the paper submit, without the orb. */
.o2-field--forest { display: grid; gap: 8px; min-width: 0; }
.o2-field--forest label, .o2-field--forest > span { font-size: 14px; font-weight: 500; line-height: 1.3; color: var(--o2-on-forest); }
.o2-field--forest .o2-field__opt { font-weight: 400; color: var(--o2-on-forest-muted); }
.o2-field--forest :is(input, select) { width: 100%; height: 48px; padding: 0 14px; border: 0; border-radius: var(--o2-r-control); background: var(--o2-paper-fixed); color: var(--o2-ink-fixed); font: 400 16px/1.2 var(--o2-font); box-shadow: inset 0 0 0 1px rgb(14 27 18 / 0.12); }
.o2-field--forest select { appearance: none; padding-right: 40px; background-image: linear-gradient(45deg, transparent 50%, var(--o2-ink-fixed) 50%), linear-gradient(135deg, var(--o2-ink-fixed) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.o2-field--forest :is(input, select):focus { outline: none; box-shadow: 0 0 0 3px var(--o2-on-forest); }
.o2-field--forest input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--o2-on-forest), inset 0 0 0 2px var(--o2-ink-fixed); }
.o2-formerror { display: flex; align-items: center; gap: 8px; margin: 2px 0 0; font-size: 14.5px; font-weight: 500; line-height: 1.4; color: var(--o2-on-forest); }
.o2-formerror[hidden] { display: none; }
.o2-formerror .o2-i { width: 18px; height: 18px; }
.o2-formdone { display: grid; gap: 4px; padding: 20px 22px; border-radius: var(--o2-r-card); background: var(--o2-paper-fixed); color: var(--o2-ink-fixed); font-size: 16px; line-height: 1.5; }
.o2-formdone b { font-weight: 500; }
@media (max-width: 640px) { .o2-formcard { padding: 28px 20px; } .o2-framelist > li { padding: 18px; column-gap: 14px; } .o2-formcard .o2-btn--paper { width: 100%; } }

/* ───────── A changed quote: the replaced version behind the new one ─────────
   v1 is o2-slip--replaced (card stock, ink-3 words, the amount quiet, an open-ring line "Replaced by v2"), offset behind v2;
   each sits in o2-drop on paper. Never edited in place. */
.o2-slip--replaced { --stub: 52px; color: var(--o2-ink-3); background: var(--o2-surface-raised); }
.o2-slip--replaced .o2-amount { color: var(--o2-ink-3); }
.o2-slip--replaced .o2-amount__cur { opacity: 1; }
.o2-slip__state { display: flex; align-items: center; gap: 8px; margin: 8px 12px 0; padding-bottom: 14px; font-size: 12px; font-weight: 500; color: var(--o2-ink-3); }
.o2-slip__state .o2-sign { --s: 9px; }
.o2-versions { display: grid; max-width: 440px; }
.o2-versions__old, .o2-versions__new { width: calc(100% - 28px); }
.o2-versions__new { position: relative; margin: -12px 0 0 28px; }

/* ───────── Motion: three quiet layers (js/motion.js). Only with JavaScript (the js class on <html>) and only when the reader
   hasn't asked for less motion; otherwise, and in print, everything is at rest in its final state. ───────── */
@media (prefers-reduced-motion: no-preference) {
  /* 1. Reveal: each child of a [data-o2-reveal] block fades up once, --o2-stagger after the one before (six at most to a group) */
  .js [data-o2-reveal] > * { transition: opacity var(--o2-slow) var(--o2-ease), transform var(--o2-slow) var(--o2-ease); transition-delay: calc(var(--o2-i, 0) * var(--o2-stagger)); }
  .js [data-o2-reveal]:not(.is-in) > * { opacity: 0; transform: translateY(var(--o2-rise)); }
  /* 2. Lines drawing in, once, inside an .o2-draw block: threads grow, iso drawings trace then fill, a record line fills in */
  .js .o2-draw :is(.o2-thread-v, .o2-grid--steps) > li::before { transition: transform calc(var(--o2-draw) / var(--o2-n, 1)) linear calc(var(--o2-i, 0) * var(--o2-draw) / var(--o2-n, 1)); }
  .js .o2-draw:not(.is-drawn) .o2-grid--steps > li::before { transform: scaleX(0); }
  .js .o2-draw:not(.is-drawn) .o2-thread-v > li::before { transform-origin: 0 0; transform: scaleY(0); }
  .js .o2-draw:not(.is-drawn) .o2-iso { visibility: hidden; }
  .js .o2-draw .o2-ledger > * { transition: opacity var(--o2-slow) ease calc(var(--o2-ledger-delay) + var(--o2-i, 0) * var(--o2-ledger-step)); }
  .js .o2-draw:not(.is-drawn) .o2-ledger > * { opacity: 0; }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 961px) { .js .o2-draw:not(.is-drawn) .o2-thread-v--row > li::before { transform: scaleX(0); } }
@media (prefers-reduced-motion: no-preference) and (max-width: 960px) { .js .o2-draw:not(.is-drawn) .o2-grid--steps > li::before { transform-origin: 0 0; transform: scaleY(0); } }
@media (prefers-reduced-motion: reduce) {
  .o2-nav--bar { transition: none; }
  .o2-close__card .o2-rings { transform: none; }
  li.is-now > :is(.o2-node, .o2-thread-v__node), .o2-node--now { animation: none; }
  .o2-toc--fold summary .o2-i { transition: none; }
}
@media print {
  [data-o2-reveal] > * { opacity: 1 !important; transform: none !important; }
  .o2-draw .o2-iso { visibility: visible !important; }
  .o2-float { display: none; }
}

/* ───────── Forced colours (Windows High Contrast): focus drawn with a box-shadow becomes a real outline, and filled tags and
   signs keep an edge ───────── */
@media (forced-colors: active) {
  .o2-input:focus, .o2-select:focus, .o2-field--box:focus-within, .o2-field--forest :is(input, select):focus { outline: 2px solid CanvasText; outline-offset: 2px; }
  .o2-tag { border-color: CanvasText; }
  .o2-sign, .o2-node, .o2-thread-v__node, .o2-side__count--move::before, .o2-rail__dot { forced-color-adjust: none; }
  .o2-grid, .o2-framelist, .o2-toc, .o2-panel, .o2-sum, .o2-more, .o2-iconbox--raised { border: 1px solid CanvasText; }
  .o2-bubble { border: 1px solid CanvasText; }
}

@media (prefers-reduced-motion: reduce) {
  .o2 *, .o2 *::before, .o2 *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
