/*
 * Public site styles — the Waavo promo design system.
 *
 * Tokens live in tokens.css, which must be loaded first. No rule below may
 * contain a raw colour (brief §10).
 *
 * ── TWO DELIBERATE DEPARTURES FROM THE IMPORTED CANVAS ──────────────────────
 *
 * 1. Classes, not inline styles. The canvas is React with a `style` object per
 *    element. Reproducing that here would have added ~400 inline style
 *    attributes to the public templates and pinned `style-src-attr
 *    'unsafe-inline'` in the CSP forever. Every visual value from the canvas is
 *    preserved; only where it lives has changed.
 *
 * 2. Semantic tokens where the canvas reached for a ramp. Several design-system
 *    components hardcode a ramp value for a role — `background: var(--bone-0)`
 *    for a card, `color: var(--ink-900)` for a heading. Those are correct in
 *    light and wrong in dark, so they are authored here against the semantic
 *    alias the ramp was standing in for (`--surface-card`, `--text-heading`).
 *    The light-mode result is identical because that is what the aliases
 *    resolve to.
 *
 * One further note: the canvas defines `--text-body` twice — as a colour in
 * colors.css and as a 15px size in typography.css, with the size winning. The
 * size is `--text-body-size` here so the colour alias survives.
 * ────────────────────────────────────────────────────────────────────────────
 */

/* --- base ---------------------------------------------------------------- */

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

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

body {
    margin: 0;
    background: var(--surface-page);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: var(--text-body-size);
    line-height: var(--leading-body);
    font-weight: var(--weight-regular);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    /* The design's wide hero grids must never make the document scroll sideways. */
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    margin: 0;
    color: var(--text-heading);
    font-family: var(--font-heading);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-heading);
    line-height: var(--leading-tight);
    text-wrap: balance;
    /* A single word wider than a phone — Finnish "verkkomatkatoimisto" is
       ~340px at 36px — otherwise sets the min-content width of every flex and
       grid column it sits in, and the band runs off the screen. Breaks only a
       word that cannot fit, so no English heading changes. `anywhere`, not
       `break-word`: only `anywhere` lowers the min-content width, and it is the
       min-content width a `min-width: auto` column grows to. Mirrored in
       critical.css: a line break that differs between the two is a shift. */
    overflow-wrap: anywhere;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

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

a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); text-decoration: underline; }

button, input, select, textarea { font: inherit; color: inherit; }

/* Keyboard focus must stay visible everywhere, including on the dark bands. */
:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.wv-band--inverse :focus-visible,
.wv-band--brand :focus-visible,
.wv-footer :focus-visible { outline-color: var(--bone-0); }

img { max-width: 100%; height: auto; display: block; }

code, kbd, samp { font-family: var(--font-data); font-size: 0.92em; }

.wv-i { flex: 0 0 auto; }

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

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100;
    background: var(--surface-card);
    color: var(--text-heading);
    border: var(--hairline);
    border-radius: var(--radius-field);
    padding: var(--space-3) var(--space-4);
    font-weight: var(--weight-medium);
}
.skip-link:focus { left: var(--space-4); top: var(--space-4); text-decoration: none; }

/* --- layout --------------------------------------------------------------
 *
 * Every section in the design is a full-bleed band with a 1200px column inside
 * it. `.wv-band` paints the ground, `.wv-container` holds the measure.
 */

.wv-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--gutter);
}
.wv-container--narrow { max-width: var(--container-narrow); }

.wv-band { background: var(--surface-page); }
.wv-band--sunken {
    background: var(--surface-sunken);
    border-block: var(--hairline);
}
.wv-band--inverse { background: var(--surface-inverse); }
.wv-band--brand { background: var(--surface-brand); }
.wv-band--ruled { border-bottom: var(--hairline); }

.wv-section { padding-block: var(--section-y); }
.wv-section--tight { padding-block: var(--section-y-tight); }
.wv-section--flush-top { padding-block: 0 var(--section-y); }

/* A stack with one gap, used wherever the design lists elements vertically. */
.wv-stack { display: flex; flex-direction: column; align-items: flex-start; gap: var(--space-4); }
.wv-stack--lg { gap: clamp(16px, 2vw, 24px); }
.wv-stack--sm { gap: var(--space-3); }
.wv-stack--fill { align-items: stretch; }

.wv-row { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
/* A row of buttons closing a section, set off from the grid above it. */
.wv-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: clamp(24px, 3vw, 40px); }

/* The two-column split: content beside a figure, reflowing with no breakpoint. */
.wv-split {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4vw, 56px);
    align-items: center;
}
.wv-split__text { flex: 1 1 320px; min-width: 0; }
.wv-split__media { flex: 1 1 300px; min-width: 0; }
.wv-split__text--wide { flex: 1.3 1 400px; }
.wv-split__media--wide { flex: 1 1 440px; }
/* The travel-content section puts the figure first in the source and second on
   screen, so the heading is what a screen reader reaches first. */
.wv-split__media--last { order: 2; }

/* --- type ---------------------------------------------------------------- */

.wv-display {
    margin: 0;
    font-size: clamp(32px, 4.6vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: var(--weight-semibold);
    color: var(--text-display);
    text-wrap: balance;
}
.wv-display--page { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.06; }
.wv-display--article { font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: -0.03em; }
.wv-display--measure { max-width: 22ch; }

.wv-h2 {
    margin: 0;
    font-size: clamp(26px, 3.6vw, 46px);
    line-height: 1.08;
    letter-spacing: -0.03em;
    font-weight: var(--weight-semibold);
    color: var(--text-display);
    text-wrap: balance;
}
.wv-h3 {
    margin: 0;
    font-size: clamp(22px, 2.4vw, 31px);
    line-height: 1.14;
    letter-spacing: -0.025em;
    font-weight: var(--weight-semibold);
    color: var(--text-heading);
}

.wv-lead {
    margin: 0;
    font-size: clamp(16px, 1.6vw, 19px);
    line-height: var(--leading-body);
    color: var(--text-body);
    max-width: var(--measure-lead);
    text-wrap: pretty;
}

.wv-mono { font-family: var(--font-data); }

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

/* Eyebrow — the small tracked caps label above a heading. */
.wv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    color: var(--brand);
    font-family: var(--font-ui);
    font-size: var(--text-micro);
    font-weight: var(--weight-bold);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    line-height: 1;
}
.wv-eyebrow--muted { color: var(--text-muted); }
.wv-eyebrow--inverse { color: var(--bone-200); }
.wv-eyebrow::before {
    content: "";
    width: 28px;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}
.wv-eyebrow--bare::before { display: none; }

/* --- section heading ----------------------------------------------------- */

.wv-heading {
    display: flex;
    gap: var(--space-6);
    align-items: flex-end;
    justify-content: space-between;
    flex-wrap: wrap;
}
.wv-heading__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
    max-width: 780px;
}
.wv-heading--center .wv-heading__body {
    align-items: center;
    text-align: center;
    margin-inline: auto;
    max-width: 720px;
}
.wv-heading__title {
    margin: 0;
    font-size: var(--text-display-2);
    letter-spacing: var(--tracking-display);
    line-height: var(--leading-tight);
    color: var(--text-display);
}
.wv-heading__lead {
    font-size: var(--text-lead);
    line-height: var(--leading-body);
    color: var(--text-body);
    max-width: var(--measure-lead);
}
.wv-heading--inverse .wv-heading__title { color: var(--bone-0); }
.wv-heading--inverse .wv-heading__lead { color: var(--bone-200); }

.wv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
    gap: var(--space-4);
    margin-top: clamp(24px, 3vw, 44px);
}
.wv-grid--wide { grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: var(--space-3); }
.wv-grid--cards { grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); }
.wv-grid--pair { grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: clamp(24px, 4vw, 56px); }
.wv-grid--stats { grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: clamp(24px, 4vw, 48px); }

/* --- button -------------------------------------------------------------- */

.wv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    font-family: var(--font-ui);
    font-weight: var(--weight-medium);
    letter-spacing: 0.005em;
    border-radius: var(--radius-control);
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: var(--transition-control);
    /* md by default, matching the canvas. */
    font-size: var(--text-body-size);
    padding: 10px 22px;
    min-height: 42px;
}
.wv-btn:hover { text-decoration: none; }
.wv-btn:active { transform: translateY(1px); }
.wv-btn[disabled], .wv-btn[aria-disabled="true"] { opacity: 0.42; pointer-events: none; }

.wv-btn--sm { font-size: var(--text-sm); padding: 7px 16px; min-height: 34px; }
.wv-btn--lg { font-size: var(--text-body-lg); padding: 14px 30px; min-height: 52px; }
.wv-btn--block { width: 100%; }

.wv-btn--primary {
    background: var(--brand);
    color: var(--text-on-brand);
    box-shadow: var(--shadow-1);
}
.wv-btn--primary:hover { background: var(--brand-hover); color: var(--text-on-brand); box-shadow: var(--shadow-brand); }

.wv-btn--secondary {
    background: var(--surface-card);
    color: var(--text-heading);
    border-color: var(--border-strong);
}
.wv-btn--secondary:hover { background: var(--surface-hover); color: var(--text-heading); border-color: var(--text-faint); }

.wv-btn--ghost { background: transparent; color: var(--text-strong); }
.wv-btn--ghost:hover { background: var(--surface-hover); color: var(--text-strong); }

/* Phones. A label is a translation, and several run wider than a 320px card —
   Polish "Porozmawiaj z działem sprzedaży" overflowed by 61px. Below 600px a
   button may wrap onto a second line rather than leave its container. Mirrored
   in critical.css, because a wrapped button is a taller one. */
@media (max-width: 600px) {
    .wv-btn { max-width: 100%; white-space: normal; text-align: center; }
}

/* Sits on a brand or ink ground, so its colours are fixed rather than themed. */
.wv-btn--inverse { background: var(--bone-0); color: var(--blue-700); }
.wv-btn--inverse:hover { background: var(--bone-100); color: var(--blue-700); }

.wv-btn--outline-inverse {
    background: transparent;
    color: var(--bone-0);
    border-color: var(--on-dark-16);
}
.wv-btn--outline-inverse:hover { background: var(--on-dark-10); color: var(--bone-0); border-color: var(--on-dark-40); }

/* Icon-only, used by the header's menu toggle. */
.wv-iconbtn {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-strong);
    background: var(--surface-card);
    color: var(--text-heading);
    cursor: pointer;
    transition: var(--transition-control);
}
.wv-iconbtn:hover { background: var(--surface-hover); border-color: var(--text-faint); }

/* --- badge and tag ------------------------------------------------------- */

.wv-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-subtle);
    color: var(--text-label);
    font-family: var(--font-ui);
    font-size: var(--text-xs);
    font-weight: var(--weight-semibold);
    letter-spacing: 0.02em;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    line-height: 1.4;
}
.wv-badge:hover { text-decoration: none; }
.wv-badge__dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.wv-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border-radius: var(--radius-pill);
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    font-family: var(--font-ui);
    border: 1px solid var(--border-hairline);
    background: var(--surface-card);
    color: var(--text-body);
    transition: var(--transition-control);
}
a.wv-tag:hover { background: var(--surface-hover); color: var(--text-body); text-decoration: none; }
.wv-tag[aria-current], .wv-tag--selected {
    background: var(--brand);
    border-color: var(--brand);
    color: var(--text-on-brand);
}
a.wv-tag[aria-current]:hover { background: var(--brand-hover); color: var(--text-on-brand); }

/* --- header --------------------------------------------------------------
 *
 * 72px tall at every width. At 1040px and below the links move into a disclosure
 * panel rather than wrapping, so the sticky header never eats a phone screen.
 *
 * One boundary for the whole bar. The nav used to collapse at 1039px while the
 * scheme switch grew at 1040px, so a 1040px viewport got a phone-sized control in
 * a desktop header — the switch's own comment says it grows where the other
 * controls do. theme.spec.js asserts both sides of the boundary.
 */

.wv-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: var(--surface-veil);
    backdrop-filter: var(--blur-veil);
    -webkit-backdrop-filter: var(--blur-veil);
    border-bottom: var(--hairline);
}

.wv-header__bar {
    height: var(--header-h);
    max-width: var(--container-max);
    margin: 0 auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    gap: var(--space-6);
}

/* The wordmark is artwork, not type.
   
   Drawn as a background image rather than an <img> so the browser fetches only
   the variant whose rule applies — two <img> elements would download both, and
   a display:none image is still fetched. The element keeps its text for screen
   readers and search engines; .wv-logo__name hides it visually only.

   Two files because the supplied logo's wordmark is navy (#143C80), which is
   barely legible on a dark ground. logo-inverse.svg re-points that one colour
   and nothing else — the plane reads on both grounds unchanged. Same idea as
   the canvas's waavo-logo / waavo-logo-white pair, in one file fewer. */
.wv-logo {
    flex: 0 0 auto;
    display: inline-block;
    width: 115px;
    height: 19px;
    background-image: var(--logo-src);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}
.wv-logo:hover { text-decoration: none; }

/* Scaled by width; the height follows the artwork's own 115:19 ratio. */
.wv-logo--lg { width: 150px; height: 25px; }

/* The footer band is dark in both schemes, so it always takes the light
   wordmark — the one case where the scheme does not decide. */
.wv-logo--inverse { background-image: url("../images/logo-inverse-29r9lLc.svg"); }

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

.wv-nav {
    display: flex;
    gap: var(--space-6);
    margin-left: var(--space-2);
    flex: 0 0 auto;
    align-items: center;
}
.wv-nav__link {
    font-size: var(--text-body-size);
    font-weight: var(--weight-regular);
    color: var(--text-body);
    border-bottom: 2px solid transparent;
    padding-bottom: 2px;
    white-space: nowrap;
    transition: var(--transition-control);
}
.wv-nav__link:hover { color: var(--text-link-hover); text-decoration: none; }
.wv-nav__link[aria-current], .wv-nav__link--active {
    font-weight: var(--weight-medium);
    color: var(--text-label);
    border-bottom-color: var(--brand);
}

.wv-header__end {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex: 0 0 auto;
}

.wv-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: var(--text-sm);
    color: var(--text-muted);
    font-family: var(--font-data);
    white-space: nowrap;
}
.wv-phone:hover { color: var(--text-body); text-decoration: none; }

/* The Products dropdown.
 *
 * CSS only. The trigger is a real link to /products, and the panel reveals on
 * hover or focus-within — so a pointer gets the shortcut, a keyboard reaches
 * every entry by tabbing, and the parent page stays reachable either way. The
 * canvas uses React state and leaves the parent unclickable. */
.wv-menu { position: relative; display: flex; }
.wv-menu__summary { display: inline-flex; align-items: center; gap: 5px; }
.wv-menu__summary .wv-i { transition: transform var(--dur-fast) var(--ease-standard); }
.wv-menu:hover .wv-menu__summary .wv-i,
.wv-menu:focus-within .wv-menu__summary .wv-i { transform: rotate(180deg); }

.wv-menu__panel {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: -14px;
    min-width: 236px;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-2);
    padding: var(--space-2);
    flex-direction: column;
    z-index: 50;
}
/* A padded strip bridging the 14px gap, so the panel does not close when the
   pointer crosses it on the way down. 16px, not 14: it is placed from the
   padding box, so the panel's 1px border left a 1px hole under the link —
   cross that line and the hover was lost (promo.spec.js walks the gap). */
.wv-menu__panel::before { content: ""; position: absolute; inset: -16px 0 auto; height: 16px; }
.wv-menu:hover > .wv-menu__panel,
.wv-menu:focus-within > .wv-menu__panel { display: flex; }

.wv-menu__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-strong);
    transition: var(--transition-control);
}
.wv-menu__item:hover { background: var(--surface-hover); color: var(--text-strong); text-decoration: none; }
.wv-menu__item[aria-current] { background: var(--surface-tint); color: var(--text-label); }
.wv-menu__item strong { font-size: var(--text-body-size); font-weight: var(--weight-medium); }
.wv-menu__item span { font-size: var(--text-sm); color: var(--text-muted); }

/* The Products panel: the canvas's "Booking systems" grid (shared/site-nav.js).
 * An add-on is a chip inside the cell of the system it extends, and that cell
 * sorts last so the pair reads together (ADR 0031). Same hover/focus-within
 * reveal as before; the cell is not one link, because an add-on is its own page
 * and links cannot nest. */
.wv-menu__panel.wv-mega {
    width: min(640px, calc(100vw - 48px));
    padding: 0;
    gap: 0;
    /* No overflow: hidden. The ::before strip that bridges the gap under
       "Products" sits outside the box, and clipping it closed the panel the
       moment the pointer left the link. The footer rounds its own corners. */
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-3);
}
.wv-mega__body { padding: 16px 12px 12px; }
.wv-mega__eyebrow { display: block; padding: 4px 12px 10px; font-size: 11px; font-weight: var(--weight-bold); letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
.wv-mega__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; align-items: start; }
.wv-mega__sys { display: flex; flex-direction: column; align-items: flex-start; padding: 12px; border-radius: var(--radius-md); transition: background var(--dur-fast); }
.wv-mega__sys--addons { order: 1; }
.wv-mega__sys:hover { background: var(--surface-hover); }
.wv-mega__sys:has(> .wv-mega__link[aria-current]) { background: var(--surface-tint); }
.wv-mega__link { display: flex; gap: 12px; align-items: flex-start; color: var(--text-strong); }
.wv-mega__link:hover { color: var(--text-strong); text-decoration: none; }
.wv-mega__tile { width: 40px; height: 40px; flex: 0 0 auto; border-radius: var(--radius-sm); display: grid; place-items: center; background: var(--brand-subtle); color: var(--text-link); }
/* The tile fills for the current page only, as on the canvas. Filling it on
   hover too put two effects in one cell — the tile fading out as the add-on
   chip lit up, and blinking in the gap between them — under a cell background
   that did not change. Hover is the cell's background and the name's colour. */
.wv-mega__link[aria-current] .wv-mega__tile { background: var(--brand); color: var(--text-on-brand); }
.wv-mega__link:hover strong,
.wv-mega__link:focus-visible strong { color: var(--text-link); }
.wv-mega__text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.wv-mega__text strong { font-size: var(--text-body-size); font-weight: var(--weight-semibold); color: var(--text-heading); transition: color var(--dur-fast); }
.wv-mega__link[aria-current] strong { color: var(--text-label); }
.wv-mega__text span { font-size: var(--text-sm); line-height: 1.4; color: var(--text-muted); }
.wv-mega__sys--addons { grid-column: 1 / -1; }
/* A system's features: a chip each, wrapping under the name. */
.wv-mega__feats { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 10px 0 0 52px; }
.wv-mega__addon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px 5px 5px;
    border: var(--hairline);
    border-radius: var(--radius-md);
    background: var(--surface-card);
    color: var(--text-strong);
    font-size: var(--text-sm);
    transition: background var(--dur-fast), border-color var(--dur-fast), box-shadow var(--dur-fast), color var(--dur-fast);
}
.wv-mega__addon:hover,
.wv-mega__addon:focus-visible,
.wv-mega__addon[aria-current] { background: var(--surface-tint); border-color: var(--brand-border); box-shadow: var(--shadow-1); color: var(--text-label); text-decoration: none; }
.wv-mega__addon-ic { width: 24px; height: 24px; flex: 0 0 auto; border-radius: 6px; display: grid; place-items: center; background: var(--brand-subtle); color: var(--text-link); transition: background var(--dur-fast), color var(--dur-fast); }
.wv-mega__addon:hover .wv-mega__addon-ic,
.wv-mega__addon:focus-visible .wv-mega__addon-ic,
.wv-mega__addon[aria-current] .wv-mega__addon-ic { background: var(--brand); color: var(--text-on-brand); }
.wv-mega__addon b { font-weight: var(--weight-semibold); }
.wv-mega__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 24px; border-top: var(--hairline); background: var(--surface-sunken); border-radius: 0 0 var(--radius-lg) var(--radius-lg); font-size: var(--text-sm); color: var(--text-muted); }
.wv-mega__foot a { display: inline-flex; align-items: center; gap: 6px; font-weight: var(--weight-semibold); color: var(--text-link); white-space: nowrap; }

/* The language switcher. A <details> rather than the hover panel the Products
   menu uses: choosing a language is a deliberate act, and a menu that opens
   when the pointer crosses it on the way to the call to action is a nuisance
   for something you use once. Renders nothing on a single-language site. */
.wv-langs { flex: 0 0 auto; }
.wv-langs .wv-menu__summary {
    cursor: pointer;
    list-style: none;
    font-family: var(--font-data);
    font-size: var(--text-sm);
    gap: 5px;
}
.wv-langs .wv-menu__summary::-webkit-details-marker { display: none; }
.wv-langs[open] .wv-menu__summary .wv-i:last-child { transform: rotate(180deg); }
.wv-langs__panel { left: auto; right: -14px; min-width: 180px; }
.wv-langs[open] > .wv-langs__panel { display: flex; }
.wv-langs__panel::before { display: none; }

/* The compact disclosure. A <details> so it opens with no JavaScript at all —
 * a scripted panel would leave a visitor with JavaScript off unable to reach
 * the navigation. */
.wv-header__menu { display: none; }
.wv-header__toggle { list-style: none; }
.wv-header__toggle::-webkit-details-marker { display: none; }

.wv-header__panel {
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--surface-card);
    border-bottom: var(--hairline);
    box-shadow: var(--shadow-2);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
}

@media (max-width: 1040px) {
    .wv-header__bar > .wv-nav { display: none; }
    .wv-header__end > .wv-phone { display: none; }
    .wv-header__menu { display: block; }

    .wv-header__panel .wv-nav {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-4);
        margin: 0;
        padding: var(--space-5) var(--gutter);
    }
    /* Inside the panel the submenu is always open: a disclosure inside a
       disclosure is one tap too many on a phone. */
    .wv-header__panel .wv-menu { display: block; }
    .wv-header__panel .wv-menu__panel {
        display: flex;
        position: static;
        min-width: 0;
        border: 0;
        border-left: var(--hairline);
        border-radius: 0;
        box-shadow: none;
        margin: var(--space-3) 0 0 var(--space-3);
        padding: 0 0 0 var(--space-3);
        gap: var(--space-2);
    }
    .wv-header__panel .wv-menu__panel::before { display: none; }
    .wv-header__panel .wv-menu__summary .wv-i { display: none; }
    /* The systems panel flattens to a list: no grid, no tiles, no footer (the
       panel has its own call to action). An add-on is an indented row with an
       "Add-on" pill, straight under its system — source order, not the grid's. */
    .wv-header__panel .wv-mega { width: auto; border-radius: 0; }
    .wv-header__panel .wv-mega__body { padding: 0; }
    .wv-header__panel .wv-mega__eyebrow,
    .wv-header__panel .wv-mega__foot,
    .wv-header__panel .wv-mega__tile,
    .wv-header__panel .wv-mega__addon-ic { display: none; }
    .wv-header__panel .wv-mega__grid { display: flex; flex-direction: column; gap: var(--space-2); }
    .wv-header__panel .wv-mega__sys { order: 0; padding: 0; background: none; }
    .wv-header__panel .wv-mega__link { padding: 6px 0; }
    .wv-header__panel .wv-mega__feats { flex-direction: column; align-items: flex-start; gap: 0; margin: 2px 0 0 var(--space-4); }
    .wv-header__panel .wv-mega__addon { padding: 6px 0; border: 0; background: none; box-shadow: none; }
    .wv-header__panel .wv-phone {
        padding-top: var(--space-4);
        border-top: var(--hairline);
    }
}

/* The panel's call to action is for phones; above 600px the bar carries it. */
.wv-header__cta { display: none; }

@media (max-width: 1040px) {
    /* The same 42px touch target as the scheme switch beside it. */
    .wv-header__toggle { width: 42px; height: 42px; }
}

/* Phones. The bar's widest item is the call to action, and its width is the
   translation's — 138px in English, 191px for Lithuanian's "Užsisakyti
   demonstraciją" — so beside the language switcher, the scheme switch and the
   menu toggle it needed ~530px and overflowed every phone, pushing the toggle
   off-screen. It moves into the panel as a full-width button, and the gaps
   tighten so the rest fits a 320px screen. mobile.spec.js walks every market. */
@media (max-width: 600px) {
    .wv-header__bar { gap: var(--space-3); }
    .wv-header__end { gap: var(--space-2); }
    .wv-header__end > .wv-btn { display: none; }
    .wv-header__panel .wv-header__cta {
        display: flex;
        min-height: 44px;
        font-size: var(--text-body-size);
    }
}

@media (min-width: 1041px) and (max-width: 1159px) {
    /* Not enough room for the number beside the call to action. 1041px rather
       than 1040px so this cannot overlap the compact block above. */
    .wv-header__end .wv-phone { display: none; }
}

/* --- hero ---------------------------------------------------------------- */

.wv-hero { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 72px); }
.wv-hero__title {
    margin: 0;
    font-size: clamp(32px, 4.6vw, 62px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: var(--weight-semibold);
    color: var(--text-display);
    text-wrap: balance;
}
.wv-hero__lead { max-width: 52ch; }

/* The product pages' brand-ground hero. */
.wv-hero--brand { padding-block: clamp(28px, 4vw, 56px) clamp(44px, 6vw, 88px); }
.wv-hero--brand .wv-hero__title { color: var(--bone-0); max-width: 20ch; }
.wv-hero--brand .wv-lead { color: var(--blue-100); }

/* --- image block --------------------------------------------------------- */

.wv-figure { margin: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.wv-figure__frame {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--radius-media);
    overflow: hidden;
    background: var(--surface-sunken);
    border: var(--hairline);
    display: grid;
    place-items: center;
}
.wv-figure__frame--wide { aspect-ratio: 21 / 9; }
.wv-figure__frame--tall { aspect-ratio: 4 / 3; }
.wv-figure__frame--card { background: var(--surface-card); }
.wv-figure__frame > picture, .wv-figure__frame > img { width: 100%; height: 100%; }
.wv-figure__frame img { width: 100%; height: 100%; object-fit: cover; }
.wv-figure__frame--filled { border-color: transparent; }
.wv-figure__placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--text-faint);
    padding: var(--space-4);
    text-align: center;
    font-size: var(--text-micro);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    font-weight: var(--weight-bold);
}
.wv-figure figcaption { font-size: var(--text-xs); color: var(--text-muted); }

/* --- article card -------------------------------------------------------- */

.wv-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-card);
    transition: box-shadow var(--dur-base) var(--ease-standard),
                border-color var(--dur-base) var(--ease-standard),
                transform var(--dur-base) var(--ease-standard);
}
a.wv-card:hover {
    box-shadow: var(--shadow-3);
    border-color: var(--border-strong);
    transform: translateY(-2px);
    text-decoration: none;
}
.wv-card__media {
    aspect-ratio: 16 / 10;
    background: var(--surface-sunken);
    display: grid;
    place-items: center;
    border-bottom: var(--hairline);
    overflow: hidden;
}
/* The frame is a centring grid (for the placeholder), so an unsized <picture>
   shrinks to its content and the photograph sits letterboxed in a grey box.
   height: 100% does not help: the grid's row track is sized by its content, so
   the percentage resolves against the picture itself. Pinned to the frame, it
   fills it and is cropped, as the canvas's cards are (shared/article-images.js
   does the same with inset: 0). */
.wv-card__media { position: relative; }
.wv-card__media > picture { position: absolute; inset: 0; }
.wv-card__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wv-card__body {
    padding: var(--pad-card);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
    flex: 1;
}
.wv-card__title {
    margin: 0;
    font-size: var(--text-h4);
    line-height: var(--leading-snug);
    color: var(--text-heading);
    transition: color var(--dur-fast) var(--ease-standard);
}
a.wv-card:hover .wv-card__title { color: var(--text-link-hover); }
.wv-card__meta {
    margin-top: auto;
    padding-top: var(--space-3);
    display: flex;
    gap: var(--space-3);
    align-items: center;
    font-size: var(--text-xs);
    color: var(--text-muted);
    font-family: var(--font-data);
}
.wv-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--border-strong); flex: 0 0 auto; }

/* --- stat ---------------------------------------------------------------- */

/* Markup is <dt>label</dt><dd>value</dd>, which is the order a screen reader
   should hear; the figure is drawn above its label, as on the canvas. */
.wv-stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: var(--space-2); margin: 0; }
.wv-stat__value {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-display);
    line-height: 1;
    color: var(--text-heading);
}
/* As tall as a numeral's box (the value's font-size at line-height 1), with the
   text on its bottom edge, so a pending figure beside a real one keeps its
   label level with its neighbours'. */
.wv-stat__value--pending { font-family: var(--font-mono); font-size: clamp(16px, 1.6vw, 20px); letter-spacing: 0; color: var(--text-muted); min-height: clamp(34px, 4vw, 52px); display: flex; align-items: flex-end; }
.wv-stat__label { font-size: var(--text-sm); color: var(--text-muted); }

/* --- breadcrumb and pagination ------------------------------------------- */

/* The breadcrumb row: first in its page's first band, always the same 24px
   below the header — inside the band, so it carries the band's background. */
.wv-crumbbar { padding-top: 24px; }
/* And the same space under it on every page but a product hero, whose text is
   centred against its picture by the critical CSS. */
.wv-crumbbar + :not(.wv-ph__in) { padding-top: 28px; margin-top: 0; }
.wv-crumbs {
    display: flex;
    align-items: center;
    gap: 4px 10px;
    flex-wrap: wrap;
    /* shared/theme.css: a readable size, the current page in brand blue. */
    font-size: 15px;
    color: var(--text-muted);
    list-style: none;
    margin: 0;
    padding: 0;
}
.wv-crumbs a { color: var(--text-muted); transition: var(--transition-control); }
.wv-crumbs a:hover { color: var(--brand); text-decoration: none; }
.wv-crumbs li { display: flex; align-items: center; gap: 10px; }
.wv-crumbs [aria-current] { color: var(--brand); font-weight: var(--weight-medium); }
/* The last crumb is the page itself, and on an article that is the full title
   — which wrapped onto a line of its own above the h1 that repeats it. It stays
   on the trail's line and ellipsises; the text is untouched, so it still equals
   the BreadcrumbList name. A zero basis is what lets it share the line: at its
   natural width the wrapping row would push it down before it could shrink. */
.wv-crumbs li:last-child { flex: 1 1 0; min-width: 8ch; }
/* width: 0 as well as min-width: 0: the header column aligns its children to
   the start, so the trail is sized by its min-content, and a nowrap span with
   an automatic width reports the whole title there — which pushed a 390px page
   out to 548px. A zero width that grows reports nothing. */
/* And the trail itself takes its column's width, or a start-aligned column
   (.wv-stack, .wv-ph__txt, …) sizes it to that min-content and the last crumb
   truncates after a word — "Skrydžiai…" on every product page. Not scoped to one
   parent: in a block or grid parent the property is inert. */
nav:has(> .wv-crumbs) { align-self: stretch; }
.wv-crumbs li:last-child [aria-current] { flex: 1 1 0; width: 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-crumbs .wv-i { color: var(--border-strong); }

.wv-crumbs--inverse, .wv-crumbs--inverse a { color: var(--blue-100); }
.wv-crumbs--inverse a:hover { color: var(--bone-0); }
.wv-crumbs--inverse [aria-current] { color: var(--bone-0); }
.wv-crumbs--inverse .wv-i { color: var(--on-dark-40); }

.wv-pagination { display: flex; align-items: center; gap: var(--space-1); flex-wrap: wrap; justify-content: center; }
.wv-pagination a, .wv-pagination span {
    min-width: 36px;
    height: 36px;
    padding-inline: var(--space-2);
    border-radius: var(--radius-pill);
    display: grid;
    place-items: center;
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    font-family: var(--font-data);
    border: 1px solid transparent;
    color: var(--text-body);
    transition: var(--transition-control);
}
.wv-pagination a:hover { background: var(--surface-hover); text-decoration: none; }
.wv-pagination [aria-current] { background: var(--brand); border-color: var(--brand); color: var(--text-on-brand); }
.wv-pagination [aria-disabled] { color: var(--border-strong); }

/* --- FAQ -----------------------------------------------------------------
 *
 * A native <details> rather than the canvas's scripted accordion: keyboard
 * operable and findable by in-page search with no JavaScript at all.
 */

.wv-faq { border-top: var(--hairline); }
.wv-faq__item { border-bottom: var(--hairline); }
.wv-faq__q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-4);
    padding: var(--space-5) 0;
    cursor: pointer;
    list-style: none;
    font-family: var(--font-ui);
    font-size: var(--text-body-lg);
    font-weight: var(--weight-medium);
    color: var(--text-heading);
    transition: color var(--dur-fast) var(--ease-standard);
}
.wv-faq__q::-webkit-details-marker { display: none; }
.wv-faq__q:hover { color: var(--text-link-hover); }
.wv-faq__item[open] .wv-faq__q { color: var(--text-label); }
.wv-faq__q .wv-i { color: var(--text-muted); transition: transform var(--dur-base) var(--ease-standard); }
.wv-faq__item[open] .wv-faq__q .wv-i { transform: rotate(45deg); }
.wv-faq__a { padding: 0 0 var(--space-6); max-width: var(--measure-prose); color: var(--text-body); }

/* --- forms --------------------------------------------------------------- */

.wv-form {
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-2);
    padding: clamp(20px, 3vw, 40px);
}
.wv-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: clamp(14px, 2vw, 20px);
}
.wv-field { display: flex; flex-direction: column; gap: var(--space-2); }
.wv-field--full { grid-column: 1 / -1; }
.wv-field label {
    font-size: var(--text-sm);
    font-weight: var(--weight-medium);
    color: var(--text-strong);
}
.wv-field .required::after { content: " *"; color: var(--brand); }
.wv-field__hint { font-size: var(--text-xs); color: var(--text-muted); }
.wv-privacy-link {
    font-size: var(--text-sm);
    color: var(--brand);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wv-input, .wv-textarea, .wv-select {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--font-ui);
    font-size: var(--text-body-size);
    color: var(--text-heading);
    background: var(--surface-card);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-input);
    outline: none;
    transition: var(--transition-control);
}
.wv-textarea { line-height: var(--leading-body); resize: vertical; }
.wv-input:focus, .wv-textarea:focus, .wv-select:focus {
    border-color: var(--border-focus);
    box-shadow: var(--ring-focus);
}
.wv-input[aria-invalid="true"], .wv-textarea[aria-invalid="true"] { border-color: var(--state-danger); }

.wv-field ul, .wv-form-errors {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: var(--text-xs);
    color: var(--state-danger);
}

.wv-notice {
    padding: var(--space-3) var(--space-4);
    border: var(--hairline);
    border-left: 3px solid var(--state-danger);
    border-radius: var(--radius-field);
    background: var(--state-danger-subtle);
    color: var(--text-strong);
    font-size: var(--text-body-size);
    margin-bottom: var(--space-5);
}

/* Hidden from people and from assistive technology; left reachable for a bot.
   Off-screen rather than display:none, because some bots skip a hidden field. */
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* The contact page aligns its two columns at the top, not the middle: the form
   is much taller than the details beside it. */
.wv-split--top { align-items: flex-start; }

/* The submit row. A class of its own rather than `.wv-field .wv-row`, because
   .wv-field's column direction wins on a shared element and stacks the two. */
.wv-submit {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-4);
    align-items: center;
}

/* The consent checkbox. The native control is hidden and redrawn so it can
   carry the design's 18px square, but it stays a real focusable input.
   Not `wv-consent`: that is the analytics banner, fixed to the viewport, and
   sharing it floated this box away from the button it gates. */
.wv-agree__box { display: inline-flex; gap: var(--space-3); align-items: flex-start; cursor: pointer; font-size: var(--text-sm); color: var(--text-body); font-weight: var(--weight-regular); }
.wv-agree input[type="checkbox"] {
    /* Native, tinted — the canvas's choice, and one that keeps the platform's
       own checked, focus and high-contrast rendering. */
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: var(--brand);
    cursor: pointer;
}

.wv-contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-4); width: 100%; }
.wv-contact-list li { display: flex; gap: var(--space-3); align-items: flex-start; font-size: var(--text-body-size); color: var(--text-strong); }
.wv-contact-list .wv-i { color: var(--brand); margin-top: 2px; }
.wv-contact-list a { color: var(--text-strong); }
.wv-rule-top { padding-top: clamp(12px, 2vw, 20px); border-top: var(--hairline); width: 100%; }

.wv-sent { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.wv-sent__seal { color: var(--state-success); }

/* Legacy demo pages (plan 0005), after the canvas's demo/Demo.dc.html: a
   product chip, the country's flag beside the heading, the "demonstration only"
   notice, the engine in a browser frame, and the other demos the same overview
   lists. */
/* Box-size rules are also inlined in templates/site/demo/page.html.twig (CLS); change both. */
.wv-demo { padding-block: clamp(28px, 4vw, 56px) clamp(44px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); }
.wv-demo--page { padding-block: clamp(24px, 4vw, 48px) clamp(44px, 6vw, 88px); gap: clamp(20px, 3vw, 32px); }
.wv-demo__head { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.wv-demo__chip {
    display: inline-flex;
    gap: 8px;
    align-items: center;
    align-self: flex-start;
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    background: var(--surface-card);
    border: var(--hairline);
    font-size: 13.5px;
    font-weight: var(--weight-semibold);
    color: var(--text-link);
}
.wv-demo__title { margin: 0; font-size: clamp(28px, 3.6vw, 44px); line-height: 1.1; letter-spacing: var(--tracking-display); color: var(--text-heading); }
/* The flag stays beside the heading, centred on it, and never wraps onto a
   line of its own — ours is the legacy page's heading, which wraps on a phone. */
.wv-demo--page .wv-demo__title { display: flex; gap: 16px; align-items: center; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; overflow-wrap: anywhere; }
.wv-demo__flag { object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px var(--border-hairline); }
.wv-demo__title .wv-demo__flag { flex: none; width: 48px; height: 36px; border-radius: 5px; }
.wv-demo__intro { margin: 0; max-width: 720px; font-size: 17px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.wv-demo__notice {
    margin: 0;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 20px;
    border-radius: var(--radius-lg);
    background: var(--state-warning-subtle);
    border: 1px solid color-mix(in oklab, var(--state-warning) 45%, transparent);
    color: var(--state-warning-text);
}
.wv-demo__notice > .wv-i { flex: 0 0 auto; color: var(--state-warning); }
.wv-demo__notice > div { display: flex; flex-direction: column; gap: 2px; }
.wv-demo__notice strong { font-size: 16.5px; font-weight: var(--weight-semibold); }
.wv-demo__notice span { font-size: 14.5px; line-height: 1.5; }
.wv-demo__engine { min-height: 480px; }
/* One demo page per product (ADR 0029): the head beside the market dropdown,
   which wraps under it on narrow screens. Box rules are mirrored in the page's
   inline <style>; change both. The dropdown is a <details> of links, no script. */
.wv-demo__top { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: flex-end; justify-content: space-between; }
.wv-demo__top .wv-demo__head { flex: 1 1 420px; }
.wv-demo__market { display: flex; flex-direction: column; gap: 8px; width: min(100%, 360px); }
.wv-demo__market-label { font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-dd { position: relative; }
.wv-dd__btn { display: flex; gap: 12px; align-items: center; height: 52px; padding: 0 16px; list-style: none; cursor: pointer; border: 1px solid var(--border-hairline); border-radius: var(--radius-md); background: var(--surface-card); color: var(--text-heading); font-weight: var(--weight-semibold); transition: border-color .14s; }
.wv-dd__btn::-webkit-details-marker { display: none; }
.wv-dd__btn:hover, .wv-dd[open] .wv-dd__btn { border-color: var(--text-link); }
.wv-dd__btn:focus-visible { outline: 2px solid var(--border-focus); outline-offset: 2px; }
.wv-dd__btn > .wv-i:last-child { margin-left: auto; color: var(--text-muted); transition: transform .2s; }
.wv-dd[open] .wv-dd__btn > .wv-i:last-child { transform: rotate(180deg); }
.wv-dd__label { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-dd__list { position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: var(--surface-card); border: 1px solid var(--border-hairline); border-radius: var(--radius-lg); box-shadow: var(--shadow-3); max-height: 340px; overflow: auto; }
.wv-dd__opt { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--radius-md); color: var(--text-heading); font-weight: var(--weight-medium); text-decoration: none; }
a.wv-dd__opt:hover { background: var(--surface-hover); color: var(--text-heading); text-decoration: none; }
a.wv-dd__opt[aria-current="true"] { background: var(--brand); color: var(--text-on-brand); }
.wv-dd__opt.is-off { color: var(--text-muted); }
.wv-dd__opt.is-off .wv-demo__flag { opacity: .5; }
.wv-dd__opt small { margin-left: auto; font-size: 12.5px; opacity: .8; }
.wv-dd .wv-demo__flag { flex: 0 0 auto; width: 28px; height: 21px; }
.wv-dd__group { padding: 14px 12px 6px; font-size: 12.5px; font-weight: var(--weight-semibold); letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); }
.wv-dd__group:first-child { padding-top: 6px; }
.wv-dd__search { position: sticky; top: -6px; z-index: 1; display: flex; gap: 8px; align-items: center; margin: -6px -6px 6px; padding: 10px 12px; background: var(--surface-card); border-bottom: 1px solid var(--border-hairline); color: var(--text-muted); }
.wv-dd__search[hidden], .wv-dd__list > li[hidden] { display: none; }
.wv-dd__search-input { flex: 1; min-width: 0; height: 32px; padding: 0 4px; border: 0; background: transparent; color: var(--text-heading); font: inherit; outline: none; }
.wv-dd__search:focus-within { color: var(--text-link); }
.wv-dd__search ~ .wv-dd__group:first-of-type { padding-top: 6px; }
.wv-dd__empty { padding: 10px 12px; color: var(--text-muted); }
.wv-demo__ops .wv-op__logo img { max-height: 28px; width: auto; }

/* The Pack Your Tour booking widget (/packyourtour/). It styles itself inside a
   Shadow DOM; this is only the box it mounts into. Also inlined on the page. */
.wv-pyt { padding-block: clamp(16px, 3vw, 40px) clamp(44px, 6vw, 88px); }
.wv-pyt__widget { min-height: 640px; }
.wv-demo__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 10px; }
.wv-demo__other {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-md);
    color: var(--text-heading);
    font-size: 15px;
    font-weight: var(--weight-semibold);
    transition: var(--transition-control);
}
.wv-demo__other:hover { border-color: var(--text-link); color: var(--text-heading); text-decoration: none; }
.wv-demo__other.is-current { border-color: var(--text-link); box-shadow: inset 0 0 0 1px var(--text-link); }
.wv-demo__other .wv-demo__flag { flex: 0 0 auto; width: 30px; height: 22px; }
.wv-demo__other small { margin-left: auto; font-size: 12px; font-weight: var(--weight-medium); color: var(--text-muted); }
.wv-dm--op .wv-op__logo { grid-row: 1 / 3; width: 96px; margin-left: 0; }

/* --- article listing ----------------------------------------------------- */

.wv-grid--flush { margin-top: 0; }
.wv-featured {
    padding-bottom: clamp(32px, 4vw, 64px);
    margin-bottom: clamp(32px, 4vw, 64px);
    border-bottom: var(--hairline);
}
.wv-featured .wv-h3 a { color: var(--text-heading); }
.wv-featured .wv-h3 a:hover { color: var(--text-link-hover); text-decoration: none; }

.wv-empty {
    padding: var(--space-11) var(--space-6);
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-card);
    text-align: center;
    color: var(--text-muted);
}

.wv-strip { display: flex; align-items: center; gap: var(--space-2); flex-wrap: wrap; }
.wv-actions--center { justify-content: center; }

/* --- article body -------------------------------------------------------- */

.wv-prose { max-width: var(--measure-prose); font-size: 16px; line-height: 1.65; color: var(--text-body); }
.wv-prose > * + * { margin-top: clamp(18px, 2.4vw, 26px); }
.wv-prose h2 {
    font-size: clamp(21px, 2.2vw, 26px);
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-top: clamp(26px, 3vw, 36px);
}
.wv-prose h3 { font-size: var(--text-h4); line-height: 1.3; margin-top: clamp(22px, 2.6vw, 30px); }
.wv-prose ul, .wv-prose ol { padding-left: var(--space-6); }
.wv-prose li + li { margin-top: var(--space-2); }
.wv-prose a { text-decoration: underline; text-underline-offset: 2px; }
.wv-prose blockquote {
    margin: 0;
    padding-left: var(--space-6);
    border-left: 2px solid var(--brand);
    font-size: var(--text-h3);
    line-height: var(--leading-tight);
    letter-spacing: var(--tracking-heading);
    font-weight: var(--weight-medium);
    color: var(--text-display);
}
.wv-prose figure { margin: 0; }
.wv-prose figcaption { font-size: var(--text-xs); color: var(--text-muted); margin-top: var(--space-2); }
.wv-prose__lead { font-size: var(--text-lead); line-height: var(--leading-body); color: var(--text-strong); max-width: none; }

/* blog-article/BlogArticle.dc.html's header: title and meta beside a 4:3 lead
   image, 1080px wide, stacking under 760px. */
.wv-article-head {
    max-width: 1080px;
    padding-block: clamp(28px, 4vw, 56px) 0;
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: clamp(20px, 4vw, 48px);
    align-items: center;
}
.wv-article-head--solo { grid-template-columns: minmax(0, 1fr); }
.wv-article-head__text { min-width: 0; }
.wv-article-head__media {
    position: relative;
    aspect-ratio: 4 / 3;
    width: 100%;
    max-width: 420px;
    justify-self: end;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-sunken);
}
/* Pinned rather than height: 100%, for the reason the card's picture is. */
.wv-article-head__media > picture { position: absolute; inset: 0; }
.wv-article-head__media img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
    .wv-article-head { grid-template-columns: minmax(0, 1fr); }
    .wv-article-head__media { justify-self: start; }
}

/* The prose column: lead, body, tags and the closing promo, spaced by one gap
   as the canvas's flex column is. */
.wv-article__body {
    padding-block: clamp(28px, 4vw, 56px) clamp(44px, 6vw, 88px);
    display: flex;
    flex-direction: column;
    gap: clamp(18px, 2.4vw, 26px);
}

/* The inline call to action closing the article. The rule was lost in the
   plan-0003 stylesheet rewrite while the markup stayed, so the panel rendered
   as bare text run on from the last paragraph. */
.wv-promo {
    background: var(--surface-sunken);
    border-radius: var(--radius-card);
    padding: clamp(20px, 3vw, 40px);
    display: flex;
    gap: clamp(16px, 3vw, 32px);
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 8px;
}
/* The text side gives way before the button does, so the button stays beside
   the title and the title wraps — the canvas's arrangement — until the panel is
   too narrow for both. */
.wv-promo > :first-child { flex: 1 1 16rem; min-width: 0; }
.wv-promo__title {
    font-size: var(--text-h4);
    font-weight: var(--weight-semibold);
    color: var(--text-heading);
    letter-spacing: var(--tracking-heading);
}

.wv-article__meta {
    display: flex;
    gap: var(--space-3);
    align-items: center;
    flex-wrap: wrap;
    font-family: var(--font-data);
    font-size: var(--text-xs);
    color: var(--text-muted);
}

/* --- product page (canvas v3: shared/product-hero.css + product-*.dc.html) --
 *
 * The canvas styles these with `var(--blue-50)` and `var(--blue-600)` straight
 * off the ramp. Here they are `--brand-subtle` and `--text-link`, which resolve
 * to the same values in light and follow the scheme in dark.
 */

/* A 7% wash of the brand over the page — the hero's and the funnel's ground. */
.wv-ph, .wv-fn { background: color-mix(in oklch, var(--brand) 7%, var(--surface-page)); }
.wv-ph { overflow: hidden; border-bottom: var(--hairline); }
.wv-ph__in {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 24px var(--gutter) clamp(36px, 5vw, 64px);
    display: flex;
    flex-wrap: wrap;
    gap: clamp(28px, 4vw, 56px);
    /* Top, not centre: the breadcrumb row above sits at one height on every
       page, and the text should start right under it whatever the picture. */
    align-items: flex-start;
}
.wv-ph__txt { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); align-items: flex-start; }
.wv-ph__chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 4px;
    padding: 7px 16px 7px 8px;
    font-size: 15px;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.005em;
    color: var(--text-heading);
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-pill);
}
.wv-ph__chip-icon { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: var(--brand-on); }
.wv-ph__title {
    margin: 0;
    font-size: clamp(32px, 4.2vw, 56px);
    line-height: 1.04;
    letter-spacing: -0.035em;
    font-weight: var(--weight-semibold);
    color: var(--text-heading);
    max-width: 20ch;
    text-wrap: balance;
    overflow-wrap: anywhere;
}
.wv-ph__lead { margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--text-body); max-width: 52ch; text-wrap: pretty; }
.wv-ph__actions { padding-top: 6px; }
.wv-ph__art {
    flex: 1 1 380px;
    min-width: 0;
    max-width: 560px;
    position: relative;
    aspect-ratio: 5 / 4;
    border-radius: 14px;
    box-shadow: var(--shadow-2);
    background: var(--surface-sunken);
}
.wv-ph__photo, .wv-ph__photo img { display: block; width: 100%; height: 100%; }
.wv-ph__photo img { object-fit: cover; border-radius: 14px; }
.wv-ph__badge {
    position: absolute;
    left: -14px;
    bottom: 28px;
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--surface-card);
    color: var(--brand);
    box-shadow: var(--shadow-2);
    pointer-events: none;
}
@media (max-width: 900px) {
    .wv-ph__art { flex-basis: 100%; max-width: 640px; aspect-ratio: 16 / 10; }
    .wv-ph__badge { left: 16px; bottom: 16px; width: 52px; height: 52px; border-radius: 12px; }
    .wv-ph__badge .wv-i { width: 26px; height: 26px; }
}

/* The switcher: a row of links that scrolls sideways rather than wrapping. */
.wv-sw { border-top: var(--hairline); }
.wv-sw__row {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--gutter);
    display: flex;
    gap: 4px;
    overflow-x: auto;
    scrollbar-width: none;
}
.wv-sw__row::-webkit-scrollbar { display: none; }
.wv-sw__item {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 16px;
    font-size: 15px;
    font-weight: var(--weight-medium);
    color: var(--text-muted);
    border-bottom: 3px solid transparent;
    transition: color var(--dur-fast), border-color var(--dur-fast);
}
.wv-sw__item:hover { color: var(--text-link); text-decoration: none; }
.wv-sw__item[aria-current] { color: var(--text-link); border-bottom-color: var(--text-link); font-weight: var(--weight-semibold); }

/* The icon square every card on these pages leads with. */
.wv-ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; background: var(--brand-subtle); color: var(--text-link); }

/* A checked list: one tick per line, the tick on the text's first line. */
.wv-ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wv-ticks li { display: flex; gap: 10px; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.wv-ticks .wv-i { color: var(--text-link); margin-top: 4px; flex: 0 0 auto; }
.wv-ticks--answer { margin: 12px 0 0; gap: 7px; }
.wv-ticks b { font-weight: var(--weight-semibold); color: var(--text-heading); }

.wv-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wv-chips li {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    font-size: 13.5px;
    color: var(--text-strong);
    background: var(--surface-sunken);
    border: var(--hairline);
    border-radius: var(--radius-pill);
    padding: 4px 11px;
}
.wv-chips .wv-i { color: var(--text-link); }
.wv-chips--answer { margin-top: 12px; }

/* Features. */
.wv-mf { max-width: var(--container-max); margin: 0 auto; padding: var(--section-y) var(--gutter); }
.wv-mf__intro { display: flex; flex-wrap: wrap; gap: 24px clamp(28px, 4vw, 56px); align-items: flex-end; }
.wv-mf__intro > .wv-heading { flex: 2 1 520px; min-width: 0; }
.wv-mf__stat { flex: 1 1 240px; max-width: 340px; background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); padding: 22px 24px; display: flex; flex-direction: column; gap: 8px; }
.wv-mf__num { font-size: clamp(40px, 4.4vw, 56px); line-height: 1; font-weight: var(--weight-semibold); letter-spacing: -0.03em; color: var(--text-link); }
.wv-mf__stat p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--text-body); }
.wv-mf__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
.wv-mf__card { background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 12px; }
.wv-mf__card--wide { grid-column: span 2; }
.wv-mf__card--full { grid-column: 1 / -1; }
.wv-mf__card--hl { border-color: color-mix(in oklch, var(--text-link) 40%, var(--border-hairline)); background: color-mix(in oklch, var(--brand) 5%, var(--surface-card)); }
@media (max-width: 1100px) { .wv-mf__card--wide, .wv-mf__card--hl { grid-column: 1 / -1; } }
.wv-mf__title { margin: 4px 0 0; font-size: 19px; font-weight: var(--weight-semibold); letter-spacing: -0.015em; color: var(--text-heading); }
.wv-mf__split { display: flex; flex-wrap: wrap; gap: 16px 40px; align-items: flex-start; }
.wv-mf__split > div { flex: 2 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.wv-mf__split > ul { flex: 1 1 240px; }
.wv-mf__split p { margin: 0; font-size: 15px; color: var(--text-body); }
.wv-mf__more { margin-top: auto; padding-top: 6px; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: var(--weight-medium); color: var(--text-link); }
.wv-mf__more:hover { color: var(--text-link-hover); text-decoration: none; }

/* The funnel band: four cards joined by chevrons. */
.wv-fn { border-top: var(--hairline); }
/* The steps run along a rail: each card's number is a pill on a line above it,
 * and the line runs on to the next pill, so the row reads as one journey
 * rather than cards with chevrons wedged in the gaps. Two columns: a rail per
 * row. One column: the rail turns vertical, down the left. */
.wv-fn__steps {
    --pill: 40px;
    list-style: none;
    margin: clamp(24px, 3vw, 44px) 0 0;
    padding: 40px 0 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 56px 14px;
}
.wv-fn__step { position: relative; background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); padding: clamp(20px, 2.4vw, 26px); display: flex; flex-direction: column; gap: 10px; transition: border-color var(--dur-fast), box-shadow .2s; }
.wv-fn__step:hover { border-color: var(--brand-border); box-shadow: var(--shadow-2); }
.wv-fn__n {
    position: absolute;
    top: -40px;
    left: 0;
    width: var(--pill);
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--brand);
    color: var(--text-on-brand);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: var(--weight-semibold);
}
/* The rail: from just past this pill to the next card's edge, where the next
   pill starts. Brand at the start, fading toward the next step. */
.wv-fn__step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: -28px;
    left: calc(var(--pill) + 8px);
    right: -6px;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--brand), color-mix(in oklch, var(--brand) 30%, transparent));
}
.wv-fn__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 4px; }
.wv-fn__title { margin: 0; font-size: 19px; font-weight: var(--weight-semibold); letter-spacing: -0.015em; color: var(--text-heading); }
.wv-fn__body { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.wv-fn__chips { margin-top: auto; padding-top: 6px; }
@media (max-width: 1040px) {
    .wv-fn__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    /* A row ends at every second step: its rail would run off the grid. */
    .wv-fn__step:nth-child(2n)::after { display: none; }
}
@media (max-width: 560px) {
    .wv-fn__steps { grid-template-columns: minmax(0, 1fr); padding: 0 0 0 calc(var(--pill) + 14px); row-gap: 14px; }
    .wv-fn__n { top: 18px; left: calc(-1 * (var(--pill) + 14px)); }
    .wv-fn__step:not(:last-child)::after,
    .wv-fn__step:nth-child(2n):not(:last-child)::after {
        display: block;
        top: 52px;
        bottom: -26px;
        left: calc(-1 * (var(--pill) / 2 + 14px) - 1px);
        right: auto;
        width: 2px;
        height: auto;
        background: linear-gradient(180deg, var(--brand), color-mix(in oklch, var(--brand) 30%, transparent));
    }
}

/* Suppliers, operators and cruise lines. Names are set in type: the canvas's
   logo slots are empty and no licensed marks were supplied. */
.wv-band--ruled-both { border-block: var(--hairline); }
.wv-sup__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
.wv-sup { background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); padding: clamp(20px, 2.4vw, 28px); display: flex; flex-direction: column; gap: 10px; transition: border-color var(--dur-fast), box-shadow var(--dur-base); }
.wv-sup:hover { border-color: color-mix(in oklch, var(--text-link) 45%, var(--border-hairline)); box-shadow: var(--shadow-2); }
.wv-sup__name, .wv-op__name, .wv-cr__name { margin: 0; font-size: 19px; font-weight: var(--weight-semibold); letter-spacing: -0.015em; color: var(--text-heading); }
.wv-sup__body, .wv-cr__body { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.wv-sup__h2 { margin: clamp(48px, 6vw, 80px) 0 0; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -0.03em; font-weight: var(--weight-semibold); color: var(--text-heading); }

.wv-op__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(180px, 100%), 1fr)); gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
.wv-op { background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); padding: 22px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; min-height: 150px; }
.wv-op > .wv-op__name { margin-top: auto; }
/* The canvas's 140x48 logo slot. The plate is white in both schemes: an
   operator's mark is drawn for a light ground (Join Up's navy wordmark vanishes
   on the dark card), and recolouring someone else's logo is not ours to do. In
   light it is the card's own colour, so it reads as no plate at all. */
.wv-op__logo, .wv-sup__logo { display: flex; align-items: center; width: 140px; height: 48px; padding: 4px 8px; margin-left: -8px; border-radius: var(--radius-sm); background: var(--bone-0); }
.wv-op__logo img, .wv-sup__logo img { width: auto; height: auto; max-width: 100%; max-height: 100%; }
.wv-sup__logo--none { background: none; }
.wv-op--add { border-style: dashed; color: var(--text-body); transition: border-color var(--dur-fast); }
.wv-op--add:hover { border-color: var(--text-link); color: var(--text-body); text-decoration: none; }
.wv-op--add .wv-op__name { margin-top: auto; margin-bottom: -8px; font-size: 17px; }
.wv-op__note { font-size: 13.5px; color: var(--text-muted); }

.wv-cr { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
.wv-cr__main { background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); padding: clamp(22px, 3vw, 32px); display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.wv-cr__name { font-size: 22px; }
.wv-cr__body { font-size: 15px; }
.wv-cr__live { display: inline-flex; gap: 6px; align-items: center; font-size: 13px; font-weight: var(--weight-semibold); color: var(--state-success-text); }
@media (max-width: 760px) { .wv-cr { grid-template-columns: minmax(0, 1fr); } }

/* Demos: a flag per country. A pending one is not a link and reads as such.
   `.wv-dm--off` is asserted by PromoPagesTest; the name is load-bearing. */
.wv-dm__grid { list-style: none; margin: clamp(20px, 3vw, 32px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(210px, 100%), 1fr)); gap: 12px; }
.wv-dm {
    height: 100%;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
    column-gap: 14px;
    row-gap: 2px;
    align-items: center;
    padding: 16px 18px;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-card);
    color: var(--text-heading);
    transition: border-color var(--dur-fast), box-shadow var(--dur-base), transform var(--dur-base);
}
.wv-dm__flag { grid-row: 1 / 3; width: 36px; height: 27px; object-fit: cover; border-radius: 4px; box-shadow: 0 0 0 1px var(--border-hairline); }
.wv-dm__name { font-size: 16px; font-weight: var(--weight-semibold); letter-spacing: -0.01em; }
.wv-dm__state { font-size: 13.5px; font-weight: var(--weight-medium); color: var(--text-link); display: inline-flex; gap: 5px; align-items: center; }
.wv-dm__state .wv-i { transition: transform var(--dur-fast); }
a.wv-dm:hover { border-color: var(--text-link); box-shadow: var(--shadow-3); transform: translateY(-2px); color: var(--text-heading); text-decoration: none; }
a.wv-dm:hover .wv-dm__state .wv-i { transform: translate(2px, -2px); }
.wv-dm--off .wv-dm__name { color: var(--text-muted); }
.wv-dm--off .wv-dm__state { color: var(--text-muted); }
.wv-dm--off .wv-dm__flag { filter: grayscale(0.6); opacity: 0.7; }

/* The FAQ: topics on the left, grouped disclosures on the right. The topic
   list becomes a row of pills on a phone. */
.wv-fq { max-width: var(--container-max); margin: 0 auto; padding: var(--section-y) var(--gutter); display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 44px); }
.wv-fq__head { max-width: 760px; }
.wv-fq__body { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 56px); align-items: flex-start; }
.wv-fq__nav { flex: 1 1 240px; min-width: 0; max-width: 300px; position: sticky; top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 2px; border-left: var(--hairline); }
.wv-fq__nav a { display: flex; gap: 10px; align-items: center; padding: 9px 14px; margin-left: -1px; border-left: 2px solid transparent; font-size: 15px; color: var(--text-body); transition: color var(--dur-fast), border-color var(--dur-fast); }
.wv-fq__nav .wv-i { color: var(--text-muted); flex: 0 0 auto; }
.wv-fq__nav a:hover { color: var(--text-link); border-left-color: var(--text-link); text-decoration: none; }
.wv-fq__nav a:hover .wv-i { color: var(--text-link); }
.wv-fq__groups { flex: 3 1 420px; min-width: 0; display: flex; flex-direction: column; gap: clamp(28px, 3.4vw, 44px); }
.wv-fq__group { scroll-margin-top: calc(var(--header-h) + 24px); display: flex; flex-direction: column; gap: 6px; }
.wv-fq__topic { margin: 0; display: flex; gap: 10px; align-items: center; font-size: 13px; font-weight: var(--weight-bold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-link); }
.wv-fq .wv-faq__a p { margin: 0; }
.wv-fq .wv-faq__a p + p { margin-top: 12px; }
@media (max-width: 760px) {
    .wv-fq__nav { position: static; max-width: none; flex-basis: 100%; flex-direction: row; flex-wrap: wrap; gap: 8px; border-left: 0; }
    .wv-fq__nav a { margin: 0; border: var(--hairline); border-radius: var(--radius-pill); padding: 7px 14px; font-size: 14px; }
    .wv-fq__nav a:hover { border-color: var(--text-link); }
}

/* The inquiry band: a raised card on the brand ground. */
.wv-inq {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: clamp(28px, 5vw, 72px);
    align-items: center;
    padding: clamp(28px, 4.4vw, 64px);
    background: var(--surface-card);
    border-radius: 12px;
    box-shadow: var(--shadow-3);
}
.wv-inq__copy { display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); align-items: flex-start; }
.wv-inq__title { margin: 0; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: var(--weight-semibold); color: var(--text-heading); text-wrap: balance; max-width: 20ch; overflow-wrap: anywhere; }
.wv-inq__lead { margin: 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.6; color: var(--text-body); max-width: 52ch; text-wrap: pretty; }
.wv-inq__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; color: var(--text-muted); }
.wv-inq__meta li { display: flex; gap: 8px; align-items: center; }
.wv-inq__meta .wv-i { color: var(--brand); }
.wv-inq__topics { background: var(--surface-sunken); border-radius: var(--radius-card); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 18px; }
.wv-inq__label { font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.wv-inq__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: inquiry; }
.wv-inq__list li { position: relative; padding-left: 46px; display: flex; flex-direction: column; gap: 3px; counter-increment: inquiry; }
.wv-inq__list li::before {
    content: counter(inquiry, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 0;
    width: 32px;
    height: 24px;
    display: grid;
    place-items: center;
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--brand);
    border: var(--hairline);
    border-radius: 6px;
    background: var(--surface-card);
}
.wv-inq__list b { font-size: 16px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-inq__list span { font-size: 14px; line-height: 1.5; color: var(--text-muted); }
@media (max-width: 900px) { .wv-inq { grid-template-columns: minmax(0, 1fr); } }

/* --- the cruise page (ADR 0027; product-cruise/Cruise.dc.html) ---------------- */
.wv-ph--cruise .wv-ph__photo img { object-position: top; }

.wv-cw-stats { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter) clamp(24px, 3vw, 36px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.wv-cw-stats > div { display: flex; flex-direction: column; gap: 4px; padding-top: 14px; border-top: 1px solid var(--border-hairline); }
.wv-cw-stats dt { font-family: var(--font-display); font-size: clamp(28px, 3vw, 40px); font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-cw-stats dd { margin: 0; font-size: 14px; color: var(--text-muted); }

.wv-cw-walk { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.3fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(24px, 3vw, 44px); }
.wv-cw-walk__steps { display: flex; flex-direction: column; gap: 6px; }
.wv-cw-walk__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wv-cw-walk__step { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: var(--radius-card); border: 1px solid transparent; cursor: pointer; transition: background .14s, border-color .14s; }
.wv-cw-walk__step:hover { background: var(--surface-hover); }
.wv-cw-walk__radio:checked + .wv-cw-walk__step { background: var(--surface-card); border-color: var(--border-hairline); box-shadow: var(--shadow-1); }
.wv-cw-walk__radio:focus-visible + .wv-cw-walk__step { outline: 2px solid var(--text-link); outline-offset: 2px; }
.wv-cw-walk__k { font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }
.wv-cw-walk__radio:checked + .wv-cw-walk__step .wv-cw-walk__k { color: var(--text-link); }
.wv-cw-walk__new { margin-left: 4px; padding: 1px 8px; border-radius: var(--radius-pill); background: var(--surface-tint); color: var(--text-link); font-size: 12px; }
.wv-cw-walk__step b { font-size: 18px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-cw-walk__body { display: none; font-size: 15px; line-height: 1.55; color: var(--text-body); }
.wv-cw-walk__radio:checked + .wv-cw-walk__step .wv-cw-walk__body { display: block; }
.wv-cw-walk__stage { position: sticky; top: 96px; }
.wv-cw-walk__shot { display: none; margin: 0; border-radius: var(--radius-card); overflow: hidden; background: var(--surface-card); box-shadow: var(--shadow-3); }
.wv-cw-walk__shot img { display: block; width: 100%; height: auto; }
.wv-cw-walk:has(#cruise-step-search:checked) .wv-cw-walk__shot--search,
.wv-cw-walk:has(#cruise-step-sailing:checked) .wv-cw-walk__shot--sailing,
.wv-cw-walk:has(#cruise-step-fare:checked) .wv-cw-walk__shot--fare,
.wv-cw-walk:has(#cruise-step-cabin:checked) .wv-cw-walk__shot--cabin,
.wv-cw-walk:has(#cruise-step-flights:checked) .wv-cw-walk__shot--flights,
.wv-cw-walk:has(#cruise-step-extras:checked) .wv-cw-walk__shot--extras,
.wv-cw-walk:has(#cruise-step-payment:checked) .wv-cw-walk__shot--payment { display: block; }
/* A browser without :has() could show none of them; it gets all seven, one
   after another, which is the page's no-CSS reading. */
@supports not selector(:has(*)) {
    .wv-cw-walk__stage { position: static; }
    .wv-cw-walk__shot { display: block; }
    .wv-cw-walk__shot + .wv-cw-walk__shot { margin-top: 16px; }
}

.wv-cw-try__in { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; }

.wv-cw-embed { background: var(--surface-inverse); color: var(--text-on-inverse); }
.wv-cw-embed .wv-heading__title { color: var(--text-on-inverse); }
.wv-cw-embed .wv-heading__lead, .wv-cw-embed .wv-eyebrow { color: var(--text-on-inverse-muted); }
.wv-cw-embed__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.wv-cw-embed__code { margin: 0; padding: 18px 20px; border-radius: var(--radius-card); background: var(--surface-brand-deep); overflow-x: auto; font-family: var(--font-mono); font-size: 13px; line-height: 1.7; white-space: pre; }
.wv-cw-embed__points { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.wv-cw-embed__points li { display: flex; flex-direction: column; gap: 2px; }
.wv-cw-embed__points span { color: var(--text-on-inverse-muted); font-size: 15px; }

@media (max-width: 1000px) {
    .wv-cw-walk, .wv-cw-embed__in { grid-template-columns: minmax(0, 1fr); }
    /* Above the steps, or a tap changes a screenshot below all seven, out of view. */
    .wv-cw-walk__stage { position: static; order: -1; }
}

/* --- the chat page (ADR 0031) ------------------------------------------- */

/* Placed by the rules below; hidden by the critical CSS until they arrive. */
.wv-late { visibility: visible; }

/* The deck (product-chat/Chat.dc.html's .ac-deck): four screens fanned in a
   box the critical CSS sizes — shot height plus 24px, then the tab bar 16px
   below. Everything in it is absolute, so nothing in the page moves when this
   sheet lands. The checked radio's screen comes to the front, the next waits
   on the right, the previous steps back to the left, and the fourth hides
   behind the front one until its turn. */
.wv-ch-deck { --shot: clamp(340px, 38vw, 500px); position: relative; min-width: 0; container-type: inline-size; }
.wv-ch-deck__radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.wv-ch-shot {
    --x: 0cqw;
    --y: 0%;
    --r: 0deg;
    --s: 1;
    position: absolute;
    left: 50%;
    top: 12px;
    height: var(--shot);
    margin: 0;
    border: var(--hairline);
    border-radius: 18px;
    background: var(--surface-card);
    box-shadow: var(--shot-shadow, var(--shadow-3));
    overflow: hidden;
    transform: translateX(-50%) translate(var(--x), var(--y)) rotate(var(--r)) scale(var(--s));
    /* chat-widget.waavo.com's own deck timing, so the two decks move alike. */
    transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .5s;
}
.wv-ch-shot img { width: auto; height: 100%; max-width: none; }
/* front */
.wv-ch-shot--wizard,
.wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-shot--offers,
.wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-shot--chat,
.wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-shot--live { --x: 0cqw; --y: 0%; --r: 0deg; --s: 1; z-index: 3; --shot-shadow: var(--shadow-3); visibility: visible; }
/* The next screen waits on the right and the one just shown steps back to the
   left, as on chat-widget.waavo.com — so the deck rotates like a carousel. */
/* right: next */
.wv-ch-shot--offers,
.wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-shot--chat,
.wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-shot--live,
.wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-shot--wizard { --x: 21cqw; --y: 4%; --r: 6deg; --s: .86; z-index: 1; --shot-shadow: var(--shadow-2); visibility: visible; }
/* left: previous */
.wv-ch-shot--live,
.wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-shot--wizard,
.wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-shot--offers,
.wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-shot--chat { --x: -21cqw; --y: 4%; --r: -6deg; --s: .86; z-index: 2; --shot-shadow: var(--shadow-2); visibility: visible; }
/* back: two steps away, hidden behind the front screen once it has stepped there */
.wv-ch-shot--chat,
.wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-shot--live,
.wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-shot--wizard,
.wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-shot--offers { --x: 0cqw; --y: 6%; --r: 0deg; --s: .8; z-index: 0; --shot-shadow: none; visibility: hidden; transition: transform .7s cubic-bezier(.2, .8, .2, 1), box-shadow .5s, visibility 0s .7s; }

/* Live chat is two screens side by side, the customer's and the agent's, each
   a card like the other screens; the figure itself is only the gap between
   them. The pair is wider than one phone, so it is a little shorter than the
   other screens to stay inside the deck. */
.wv-ch-shot--live { --live-h: calc(var(--shot) * .9); display: flex; gap: 12px; align-items: flex-end; top: calc(12px + var(--shot) * .05); height: min(var(--live-h), calc((100cqw - 12px) / 1.194)); max-width: 100cqw; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
/* Each screen is a card of its own; where the pair is wider than the deck both shrink together, keeping their ratio. */
/* The pair's size is computed, not left to the files: both screens are as tall
   as the figure, and the figure is as tall as the room allows or as the deck's
   width allows at the pair's ratio (560/914 + 680/1170 ≈ 1.194), whichever is
   less. With `height: 100%` and the width/height attributes a browser knows each
   screen's box before it downloads; `height: auto` left them ~45px wide until
   then and moved them on arrival — 0.09 of layout shift on a slow connection. */
.wv-ch-shot--live img { flex: none; width: auto; height: 100%; border: var(--hairline); border-radius: 18px; background: var(--surface-card); box-shadow: var(--shot-shadow, var(--shadow-3)); }

.wv-ch-deck__tabs { position: absolute; left: 50%; bottom: 0; z-index: 4; transform: translateX(-50%); display: flex; gap: 4px; padding: 4px; background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-pill); white-space: nowrap; }
.wv-ch-deck__tab { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: var(--radius-pill); font-size: 13.5px; font-weight: var(--weight-semibold); color: var(--text-muted); cursor: pointer; transition: background var(--dur-fast), color var(--dur-fast); }
.wv-ch-deck__tab:hover { color: var(--text-heading); }
/* Four tabs on a small phone: tighter, so the bar stays inside the deck. */
@media (max-width: 400px) { .wv-ch-deck__tab { padding: 0 10px; font-size: 13px; } }
.wv-ch-deck:has(#chat-screen-wizard:checked) .wv-ch-deck__tab--wizard,
.wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-deck__tab--offers,
.wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-deck__tab--chat,
.wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-deck__tab--live { background: var(--brand); color: var(--text-on-brand); }
.wv-ch-deck:has(.wv-ch-deck__radio:focus-visible) .wv-ch-deck__tabs { outline: 2px solid var(--text-link); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .wv-ch-shot { transition: none; } }

/* Phones: a tighter fan, or the back screens run off the screen's edges. */
@media (max-width: 600px) {
    .wv-ch-shot--live { --live-h: calc(var(--shot) * .72); top: calc(12px + var(--shot) * .14); }
    .wv-ch-shot--offers,
    .wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-shot--chat,
    .wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-shot--live,
    .wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-shot--wizard { --x: 13cqw; --s: .76; }
    .wv-ch-shot--live,
    .wv-ch-deck:has(#chat-screen-offers:checked) .wv-ch-shot--wizard,
    .wv-ch-deck:has(#chat-screen-chat:checked) .wv-ch-shot--offers,
    .wv-ch-deck:has(#chat-screen-live:checked) .wv-ch-shot--chat { --x: -13cqw; --s: .76; }
}

/* The hero's ticks run in a row, as on the canvas (.ph-ticks). */
.wv-ticks.wv-ch-ticks { flex-direction: row; flex-wrap: wrap; gap: 8px 22px; }
.wv-ch-ticks li { align-items: center; gap: 8px; }
.wv-ch-ticks .wv-i { margin-top: 0; }

/* The stats band: a full-width rule, the canvas's .ac-stats. */
.wv-ch-stats { border-top: var(--hairline); }
.wv-ch-stats__in { max-width: var(--container-max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
/* Four figures: two by two on a tablet and a phone, never a lone figure on a
   row of its own. */
@media (max-width: 900px) { .wv-ch-stats__in { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.wv-ch-stats__in > div { display: flex; flex-direction: column; gap: 6px; padding: clamp(22px, 3vw, 34px) 24px clamp(22px, 3vw, 34px) 0; }
.wv-ch-stats dt { font-size: clamp(34px, 3.6vw, 46px); line-height: 1; font-weight: var(--weight-semibold); letter-spacing: -.03em; color: var(--text-heading); font-variant-numeric: tabular-nums; }
.wv-ch-stats dd { margin: 0; font-size: 15px; color: var(--text-body); }

/* "How it works" sits on the plain sunken band here, ruled both sides (.fn-sec). */
.wv-fn.wv-fn--plain { background: var(--surface-sunken); border-bottom: var(--hairline); }

/* "What the customer gets": three across, as on the canvas; on a tablet two,
   with the third spanning the row rather than standing alone beside a hole;
   one on a phone. */
#gets > .wv-mf__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
    #gets > .wv-mf__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    #gets > .wv-mf__grid > .wv-mf__card:nth-child(3) { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
    #gets > .wv-mf__grid { grid-template-columns: minmax(0, 1fr); }
}

/* The FAQ on its own band, so it does not run on from "under control" in the
   same colour. Painted full-bleed: the section is the width-capped container. */
.wv-ph--chat ~ .wv-fq { background: var(--surface-sunken); box-shadow: 0 0 0 100vmax var(--surface-sunken); clip-path: inset(0 -100vmax); }

.wv-ch-card__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.wv-ch-badge { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--state-success-subtle); color: var(--state-success-text); font-size: 12.5px; font-weight: var(--weight-semibold); white-space: nowrap; }
.wv-ch-badge__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.wv-ch-card__sum { margin: 0; font-size: 15.5px; line-height: 1.5; font-weight: var(--weight-medium); color: var(--text-strong); text-wrap: pretty; }

/* The embed band (.ac-embed): the snippet under the heading, the three points
   beside it. The code panel is darker than the band, as on the canvas. */
.wv-ch-embed { background: var(--surface-inverse); color: var(--text-on-inverse-muted); }
.wv-ch-embed__in { max-width: var(--container-max); margin: 0 auto; padding: clamp(44px, 6vw, 96px) var(--gutter); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.wv-ch-embed__eyebrow { display: flex; gap: 12px; align-items: center; font-size: 11px; font-weight: var(--weight-bold); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.wv-ch-embed__eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.wv-ch-embed__title { margin: 14px 0 12px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.05; letter-spacing: -.03em; font-weight: var(--weight-semibold); color: var(--text-on-inverse); }
.wv-ch-embed__lead { margin: 0; font-size: 17px; line-height: 1.55; max-width: 52ch; }
.wv-ch-code { margin-top: 28px; border-radius: var(--radius-card); background: color-mix(in srgb, var(--surface-inverse) 60%, black); border: 1px solid color-mix(in srgb, white 16%, transparent); overflow: hidden; }
.wv-ch-code__bar { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-bottom: 1px solid color-mix(in srgb, white 12%, transparent); font-family: var(--font-mono); font-size: 12px; }
.wv-ch-code pre { margin: 0; padding: 18px; overflow-x: auto; font-family: var(--font-mono); font-size: 13.5px; line-height: 1.7; color: var(--text-on-inverse); }
.wv-ch-embed__points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 28px; }
.wv-ch-embed__points li { display: flex; gap: 16px; }
.wv-ch-embed__ic { width: 44px; height: 44px; flex: 0 0 auto; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, white 6%, transparent); border: 1px solid color-mix(in srgb, white 16%, transparent); color: var(--text-on-inverse); }
.wv-ch-embed__points b { display: block; font-size: 17px; font-weight: var(--weight-semibold); color: var(--text-on-inverse); }
.wv-ch-embed__points p { margin: 4px 0 0; font-size: 15px; line-height: 1.55; }
@media (max-width: 1000px) { .wv-ch-embed__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
    .wv-cw-stats { grid-template-columns: minmax(0, 1fr); }
}

/* --- solution finder (canvas: solution-finder/, shared/solution-wizard.js) --
 *
 * Without JavaScript `.wv-sf` is a long form: every step shown, nothing that
 * only makes sense in the wizard. The `finder` controller adds `--wizard`, and
 * from then on one step is visible at a time.
 */

.wv-sf-page { padding-block: clamp(16px, 2vw, 28px) clamp(44px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); }
.wv-sf-page__head { display: flex; flex-direction: column; gap: 12px; max-width: 760px; }
.wv-sf-page__title { margin: 0; font-size: clamp(30px, 4.2vw, 56px); line-height: 1.06; letter-spacing: -0.035em; font-weight: var(--weight-semibold); color: var(--text-heading); text-wrap: balance; overflow-wrap: anywhere; }
.wv-sf-page__lead { margin: 0; font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.wv-sf-page__head .wv-inq__meta { padding-top: 4px; }

.wv-sf {
    margin-top: clamp(8px, 1.4vw, 16px);
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-2);
}
.wv-sf:not(.wv-sf--wizard), .wv-sf--full, .wv-sf--done { grid-template-columns: minmax(0, 1fr); }
.wv-sf:not(.wv-sf--wizard) [data-wizard-only], .wv-sf--full .wv-sf__kit { display: none; }
.wv-sf--wizard .wv-sf__step:not(.is-current) { display: none; }

.wv-sf__main { padding: clamp(20px, 3.4vw, 48px); display: flex; flex-direction: column; gap: clamp(20px, 2.4vw, 28px); min-width: 0; }
.wv-sf--wizard .wv-sf__main { min-height: 560px; }
.wv-sf:not(.wv-sf--wizard) .wv-sf__step + .wv-sf__step { padding-top: clamp(20px, 2.4vw, 28px); border-top: var(--hairline); }

.wv-sf__route { display: flex; align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; }
.wv-sf__track { position: relative; flex: 1; height: 22px; }
.wv-sf__track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed var(--border-hairline); }
.wv-sf__fill { position: absolute; left: 0; top: 50%; width: 0; height: 2px; margin-top: -1px; background: var(--brand); transition: width 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wv-sf__plane { position: absolute; left: 0; top: 50%; transform: translate(-50%, -50%) rotate(45deg); color: var(--brand); line-height: 0; transition: left 0.6s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wv-sf__dot { position: absolute; top: 50%; width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: var(--surface-card); border: 2px solid var(--border-hairline); transition: background var(--dur-base), border-color var(--dur-base); }
.wv-sf__dot.is-on { border-color: var(--brand); background: var(--brand); }

.wv-sf__step { margin: 0; padding: 0; border: 0; min-width: 0; display: flex; flex-direction: column; gap: clamp(18px, 2vw, 24px); }
.wv-sf--wizard .wv-sf__step.is-current { animation: wv-sf-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); }
.wv-sf--wizard .wv-sf__step.is-back { animation-name: wv-sf-back; }
@keyframes wv-sf-in { from { opacity: 0; transform: translateX(28px); } to { opacity: 1; transform: none; } }
@keyframes wv-sf-back { from { opacity: 0; transform: translateX(-28px); } to { opacity: 1; transform: none; } }
.wv-sf__legend { padding: 0; margin-bottom: 10px; display: flex; flex-direction: column; gap: clamp(18px, 2vw, 24px); }
/* A rendered <legend> is not a flex item of its fieldset, so the step's gap
   never reaches it; the margin above stands in for that gap. */
.wv-sf__legend + .wv-sf__help { margin-top: 0; }
.wv-sf__eyebrow { font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.wv-sf__q { display: block; margin: 0; font-size: clamp(24px, 2.8vw, 36px); line-height: 1.1; letter-spacing: -0.03em; font-weight: var(--weight-semibold); color: var(--text-heading); text-wrap: balance; max-width: 24ch; overflow-wrap: anywhere; }
.wv-sf__help { margin: -8px 0 0; font-size: 15px; color: var(--text-muted); }

.wv-sf__opts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(190px, 100%), 1fr)); gap: 12px; }
.wv-sf__opt {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    font-size: 15px;
    font-weight: var(--weight-medium);
    line-height: 1.3;
    color: var(--text-heading);
    background: var(--surface-card);
    border: 1.5px solid var(--border-hairline);
    border-radius: 10px;
    padding: 16px 16px 18px;
    cursor: pointer;
    transition: border-color 0.18s, background 0.18s, transform 0.18s, box-shadow 0.18s;
}
/* The input stays in the accessibility tree and the tab order; the card is
   its label, so a click anywhere on it is a click on the input. */
.wv-sf__opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wv-sf__opt:hover { border-color: color-mix(in oklch, var(--brand) 55%, var(--border-hairline)); }
.wv-sf__opt:has(input:focus-visible) { box-shadow: var(--ring-focus); }
.wv-sf__opt:active { transform: scale(0.985); }
.wv-sf__opt:has(input:checked), .wv-sf__opt.is-selected { border-color: var(--brand); background: color-mix(in oklch, var(--brand) 9%, var(--surface-card)); }
.wv-sf__opt:has(input:disabled) { opacity: 0.45; cursor: not-allowed; }
.wv-sf__icon { color: var(--brand); line-height: 0; }
.wv-sf__code { font-family: var(--font-mono); font-size: 13px; font-weight: var(--weight-medium); letter-spacing: 0.04em; color: var(--brand); background: color-mix(in oklch, var(--brand) 10%, var(--surface-card)); border-radius: 6px; padding: 4px 8px; line-height: 1; }
.wv-sf__key { position: absolute; right: 12px; top: 12px; font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); border: var(--hairline); border-radius: 4px; padding: 1px 5px; }
.wv-sf__tick { position: absolute; right: 10px; top: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: var(--brand-on); display: grid; place-items: center; opacity: 0; transform: scale(0.6); transition: opacity 0.16s, transform 0.16s ease-out; }
.wv-sf__opt:has(input:checked) .wv-sf__tick { opacity: 1; transform: none; }
.wv-sf__opt:has(input:checked) .wv-sf__key { opacity: 0; }

.wv-sf__react { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--text-strong); min-height: 24px; }
.wv-sf__react .wv-i { color: var(--brand); }
.wv-sf__react:has(span:empty) .wv-i { display: none; }

.wv-sf__other { display: flex; gap: 10px; align-items: center; border: 1.5px dashed var(--border-hairline); border-radius: 10px; padding: 0 14px; background: var(--surface-card); color: var(--text-muted); transition: border-color 0.16s; }
.wv-sf__other:focus-within { border-style: solid; border-color: var(--brand); box-shadow: var(--ring-focus); }
.wv-sf__other-in { flex: 1; min-width: 0; font: inherit; font-size: 15px; height: 48px; border: 0; background: transparent; color: var(--text-heading); outline: none; }

.wv-sf__text { width: 100%; min-height: 150px; resize: vertical; font: inherit; font-size: 16px; line-height: 1.55; color: var(--text-heading); background: var(--surface-page); border: 1.5px solid var(--border-hairline); border-radius: 10px; padding: 14px 16px; }
.wv-sf__text:focus { outline: none; border-color: var(--brand); box-shadow: var(--ring-focus); }
.wv-sf__examples { display: flex; flex-wrap: wrap; gap: 8px; }
.wv-sf__chip { font: inherit; font-size: 13.5px; color: var(--text-strong); background: var(--surface-sunken); border: var(--hairline); border-radius: var(--radius-pill); padding: 7px 12px; cursor: pointer; display: flex; gap: 6px; align-items: center; transition: border-color 0.18s, color 0.18s; }
.wv-sf__chip:hover { border-color: var(--brand); color: var(--brand); }

.wv-sf__nav { margin-top: auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
.wv-sf__btn {
    font: inherit;
    font-size: 16px;
    font-weight: var(--weight-medium);
    min-height: 50px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    border: 1.5px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    background: var(--brand);
    color: var(--brand-on);
    transition: background var(--dur-fast), box-shadow var(--dur-fast), border-color var(--dur-fast);
}
.wv-sf__btn:hover { background: var(--brand-hover); color: var(--brand-on); box-shadow: var(--shadow-brand); text-decoration: none; }
.wv-sf__btn[disabled] { opacity: 0.4; cursor: not-allowed; box-shadow: none; }
.wv-sf__btn--ghost { background: transparent; color: var(--text-strong); border-color: var(--border-hairline); }
.wv-sf__btn--ghost:hover { background: transparent; color: var(--text-strong); border-color: var(--text-muted); box-shadow: none; }
.wv-sf__hint, .wv-sf__promise { font-size: 13px; color: var(--text-muted); }

/* The kit. */
.wv-sf__kit { background: var(--surface-sunken); border-left: var(--hairline); padding: clamp(20px, 2.6vw, 32px); display: flex; flex-direction: column; gap: 20px; }
.wv-sf__kit-title { margin: 0; font-size: 18px; font-weight: var(--weight-semibold); color: var(--text-heading); letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; }
.wv-sf__kit-title .wv-i { color: var(--brand); }
.wv-sf__kit-label { margin: 0 0 8px; font-size: 11.5px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.wv-sf__kit-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wv-sf__kit-list li { display: flex; gap: 10px; align-items: center; font-size: 14px; color: var(--text-strong); background: var(--surface-card); border: var(--hairline); border-radius: 8px; padding: 9px 11px; }
.wv-sf__kit-list li[hidden] { display: none; }
.wv-sf__kit-list .wv-i { color: var(--brand); flex: 0 0 auto; }
.wv-sf__kit-list small { margin-left: auto; font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.wv-sf__kit-list .is-new { animation: wv-sf-new 0.5s ease-out; }
@keyframes wv-sf-new { from { opacity: 0; transform: translateY(4px); background: color-mix(in oklch, var(--brand) 14%, var(--surface-card)); } to { opacity: 1; transform: none; } }
.wv-sf__empty { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); border: 1.5px dashed var(--border-hairline); border-radius: 8px; padding: 14px; }
.wv-sf__empty[hidden], .wv-sf__tags[hidden] { display: none; }
.wv-sf__tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.wv-sf__tags li { font-size: 13px; color: var(--text-strong); background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-pill); padding: 4px 10px; }

/* The recap. */
.wv-sf__res { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); }
.wv-sf__box { border: var(--hairline); border-radius: 10px; padding: clamp(16px, 2vw, 22px); display: flex; flex-direction: column; gap: 14px; background: var(--surface-card); }
.wv-sf__box-title { margin: 0; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); }
.wv-sf__recap { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.wv-sf__recap li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--text-heading); }
.wv-sf__recap li[hidden] { display: none; }
.wv-sf__recap .wv-i { color: var(--brand); flex: 0 0 auto; margin-top: 2px; }
.wv-sf__recap small { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 1px; }
.wv-sf__quote { margin: 0; padding: 14px 16px; border-radius: 10px; background: var(--surface-sunken); font-size: 15px; line-height: 1.55; color: var(--text-strong); }
.wv-sf__quote[hidden] { display: none; }
.wv-sf__quote > span { display: block; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 4px; }
.wv-sf__next { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; counter-reset: finder-next; }
.wv-sf__next li { position: relative; padding-left: 44px; display: flex; flex-direction: column; gap: 3px; counter-increment: finder-next; }
.wv-sf__next li::before { content: counter(finder-next); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-mono); font-size: 13px; background: color-mix(in oklch, var(--brand) 12%, var(--surface-card)); color: var(--brand); }
.wv-sf__next li:not(:last-child)::after { content: ""; position: absolute; left: 14px; top: 32px; bottom: -16px; border-left: 1.5px dashed var(--border-hairline); }
.wv-sf__next b { font-size: 15px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-sf__next span { font-size: 14px; line-height: 1.5; color: var(--text-muted); }

/* The contact step. */
.wv-sf__form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); gap: 16px; }
.wv-sf__field-label { font-size: 14px; font-weight: var(--weight-medium); color: var(--text-strong); }
.wv-sf__times { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; }
.wv-sf__seg { display: flex; gap: 8px; flex-wrap: wrap; }
.wv-sf__seg-opt { position: relative; font-size: 14px; color: var(--text-strong); background: var(--surface-page); border: 1.5px solid var(--border-hairline); border-radius: var(--radius-pill); padding: 9px 16px; cursor: pointer; display: flex; gap: 6px; align-items: center; }
.wv-sf__seg-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.wv-sf__seg-opt:has(input:checked) { border-color: var(--brand); color: var(--brand); background: color-mix(in oklch, var(--brand) 9%, var(--surface-card)); }
.wv-sf__seg-opt:has(input:focus-visible) { box-shadow: var(--ring-focus); }

.wv-sf__done { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 620px; margin: auto 0; }
.wv-sf__seal { color: var(--state-success); line-height: 0; animation: wv-sf-seal 0.7s cubic-bezier(0.3, 1.6, 0.5, 1); }
@keyframes wv-sf-seal { from { transform: scale(0) rotate(-40deg); } to { transform: none; } }

@media (max-width: 900px) {
    .wv-sf { grid-template-columns: minmax(0, 1fr); }
    .wv-sf__kit { border-left: none; border-top: var(--hairline); }
    .wv-sf--wizard .wv-sf__main { min-height: 0; }
    .wv-sf__key, .wv-sf__hint { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .wv-sf *, .wv-sf *::before, .wv-sf *::after { animation: none !important; transition: none !important; }
}

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

/* --- contact (canvas: demo-request/DemoRequest.dc.html) ------------------ */

.wv-contact { padding-block: clamp(32px, 5vw, 72px) clamp(44px, 6vw, 96px); display: flex; flex-direction: column; gap: clamp(24px, 3.4vw, 48px); }
.wv-contact__head { display: flex; flex-direction: column; gap: clamp(14px, 1.8vw, 20px); align-items: flex-start; }
.wv-contact__cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(16px, 2vw, 24px); }
.wv-contact__details { list-style: none; margin: 0; display: flex; flex-direction: column; gap: 16px; padding: clamp(20px, 2.6vw, 28px); border: var(--hairline); border-radius: var(--radius-card); background: var(--surface-card); }
.wv-contact__details li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--text-strong); }
.wv-contact__details .wv-i { color: var(--brand); margin-top: 2px; flex: 0 0 auto; }
.wv-contact__details a { color: inherit; }
/* A permanently brand-blue card, so its text is on the ramp rather than the
   aliases — the same exception as the brand hero band. */
.wv-contact__finder { display: flex; flex-direction: column; gap: 12px; padding: clamp(18px, 2.4vw, 24px); border-radius: 12px; background: var(--surface-brand); color: var(--bone-0); transition: background var(--dur-fast); }
.wv-contact__finder:hover { background: var(--surface-brand-deep); color: var(--bone-0); text-decoration: none; }
.wv-contact__finder-eyebrow { display: flex; gap: 10px; align-items: center; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--blue-100); }
.wv-contact__finder-title { font-size: clamp(19px, 1.8vw, 22px); font-weight: var(--weight-semibold); line-height: 1.25; letter-spacing: -0.015em; }
.wv-contact__finder-body { font-size: 15px; line-height: 1.55; color: var(--blue-100); }
.wv-contact__finder-btn { display: inline-flex; align-self: flex-start; gap: 10px; align-items: center; min-height: 44px; padding: 0 20px; margin-top: 4px; border-radius: var(--radius-pill); background: var(--bone-0); color: var(--blue-700); font-size: 15px; font-weight: var(--weight-medium); }
.wv-contact__form { background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-card); box-shadow: var(--shadow-2); padding: clamp(20px, 3vw, 40px); }
.wv-sent__title { margin: 0; font-size: 24px; font-weight: var(--weight-semibold); color: var(--text-heading); letter-spacing: -0.018em; }
.wv-sent p { margin: 0; font-size: 15px; line-height: 1.55; }

/* --- homepage (canvas v3: promo-website/PromoWebsite.dc.html) ------------ */

.wv-band--ruled-top { border-top: var(--hairline); }
.wv-band--ruled-bottom { border-bottom: var(--hairline); }

.wv-home-hero { padding-block: clamp(40px, 7vw, 96px) clamp(32px, 5vw, 72px); display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: center; }
.wv-home-hero__txt { flex: 1.3 1 400px; min-width: 0; display: flex; flex-direction: column; gap: clamp(16px, 2vw, 24px); align-items: flex-start; }
.wv-home-hero__help { display: inline-flex; gap: 8px; align-items: center; font-size: 15px; color: var(--text-body); padding-top: 2px; }
.wv-home-hero__help .wv-i { color: var(--brand); flex: 0 0 auto; }
.wv-home-hero__help .wv-i:last-child { transition: transform var(--dur-fast); }
.wv-home-hero__help:hover { color: var(--brand); text-decoration: none; }
.wv-home-hero__help:hover .wv-i:last-child { transform: translateX(3px); }
.wv-home-hero__art { flex: 1 1 460px; min-width: 0; position: relative; padding: 28px 0 36px 28px; }
.wv-home-hero__photo { aspect-ratio: 5 / 4.4; width: 100%; border-radius: 16px; overflow: hidden; background: var(--surface-sunken); }
.wv-home-hero__photo picture, .wv-home-hero__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.wv-float, .wv-float-chip { visibility: visible; }
.wv-float { position: absolute; background: var(--surface-card); border: var(--hairline); border-radius: 12px; box-shadow: var(--shadow-3); pointer-events: none; }
.wv-float--search { left: 0; top: 0; width: min(300px, 72%); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; animation: wv-float 7s ease-in-out infinite; }
.wv-float__row { display: flex; gap: 8px; align-items: center; font-size: 15px; color: var(--text-heading); }
.wv-float__row b { font-weight: var(--weight-semibold); }
.wv-float__row .wv-i { color: var(--brand); flex: 0 0 auto; }
.wv-float__row--muted, .wv-float__row .wv-i:nth-of-type(2) { color: var(--text-muted); font-size: 13px; }
.wv-float__go { align-self: flex-start; display: flex; gap: 6px; align-items: center; margin-top: 4px; font-size: 13px; font-weight: var(--weight-medium); color: var(--brand-on); background: var(--brand); border-radius: var(--radius-pill); padding: 7px 14px; }
.wv-float-chip { position: absolute; right: -12px; top: 38%; display: flex; gap: 8px; align-items: center; font-size: 14px; font-weight: var(--weight-medium); color: var(--text-heading); background: var(--surface-card); border: var(--hairline); border-radius: var(--radius-pill); padding: 9px 14px; box-shadow: var(--shadow-2); pointer-events: none; animation: wv-float 6s ease-in-out -2s infinite; }
.wv-float-chip .wv-i { color: var(--brand); }
.wv-float--toast { right: 18px; bottom: 0; display: flex; gap: 12px; align-items: center; padding: 12px 16px; min-width: 260px; animation: wv-toast 9s ease-in-out infinite; }
.wv-float__ok { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--state-success-subtle); color: var(--state-success-text); flex: 0 0 auto; }
.wv-float--toast b { display: block; font-size: 14px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-float--toast small { font-size: 12.5px; color: var(--text-muted); }
.wv-float__price { margin-left: auto; font-family: var(--font-mono); font-size: 16px; color: var(--text-heading); }
@keyframes wv-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes wv-toast { 0%, 8% { opacity: 0; transform: translateY(12px) scale(0.97); } 14%, 86% { opacity: 1; transform: none; } 94%, 100% { opacity: 0; transform: translateY(12px) scale(0.97); } }
@media (max-width: 1000px) {
    .wv-home-hero__art { flex-basis: 100%; max-width: 640px; }
    .wv-home-hero__photo { aspect-ratio: 16 / 10; }
}
@media (max-width: 700px) {
    .wv-home-hero__art { padding: 20px 0 30px; }
    .wv-float--search { left: 8px; }
    .wv-float-chip { right: 4px; }
    .wv-float--toast { right: 8px; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .wv-float, .wv-float-chip { animation: none; }
}

/* "Our partners": the canvas's logo marquee (.lm), under the hero. The mask is
   an alpha ramp, not a colour, so it needs no token. The canvas runs eight
   logos in 40s; this runs about twenty, so the duration is longer to keep the
   same unhurried speed (~40px/s). */
.wv-lm { padding-block: clamp(28px, 4vw, 48px) clamp(32px, 4.4vw, 56px); border-top: var(--hairline); display: flex; flex-direction: column; gap: clamp(18px, 2.4vw, 28px); }
.wv-lm__head { width: 100%; display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: baseline; }
.wv-lm__eyebrow { margin: 0; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-link); }
.wv-lm__lead { margin: 0; font-size: 15px; color: var(--text-muted); }
.wv-lm__view { overflow: hidden; mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent); }
.wv-lm__track { display: flex; width: max-content; animation: wv-lm-run 110s linear infinite; }
.wv-lm__view:hover .wv-lm__track { animation-play-state: paused; }
.wv-lm__set { list-style: none; margin: 0; padding: 0 clamp(20px, 3vw, 40px) 0 0; display: flex; gap: clamp(20px, 3vw, 40px); }
/* A brand mark is drawn for a light ground, so it keeps its white plate in
   dark mode too (ADR 0017); the ramp value is deliberate. */
.wv-lm__logo { width: 160px; height: 64px; flex: 0 0 auto; display: grid; place-items: center; padding: 10px 16px; border-radius: var(--radius-sm); background: var(--bone-0); }
/* The mark is muted, not its plate — a dimmed plate turns grey on a dark page. */
/* A fixed ceiling rather than 100%: a percentage of a grid cell's auto height
   resolves to nothing, and a square mark then overflows its tile. */
.wv-lm__logo img { width: auto; height: auto; max-width: 100%; max-height: 44px; filter: grayscale(1); opacity: 0.7; transition: filter var(--dur-base), opacity var(--dur-base); }
.wv-lm__logo:hover img { filter: none; opacity: 1; }
@keyframes wv-lm-run { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
    .wv-lm__track { animation: none; }
    .wv-lm__view { overflow-x: auto; }
}

/* Article cards, four to a row, then two, then one (shared/theme.css). */
/* The canvas's auto-fitting grid — no breakpoints, a track wherever 250px
   fits. auto-fill rather than the canvas's auto-fit: the canvas always has
   eight cards, a category page may have one, and auto-fit would stretch a lone
   card across the whole row. min() lets a phone narrower than 250px keep one. */
.wv-post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(250px, 100%), 1fr)); gap: 16px; margin-top: clamp(24px, 3vw, 44px); }
.wv-more-link { display: inline-flex; gap: 8px; align-items: center; margin-top: clamp(20px, 2.4vw, 32px); font-size: 15px; font-weight: var(--weight-medium); color: var(--brand); }

/* The systems grid: two wide cards, then three. */
.wv-sys { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.wv-heading + .wv-sys { margin-top: clamp(24px, 3vw, 44px); }
.wv-sys__card { grid-column: span 2; display: flex; flex-direction: column; background: var(--surface-card); border: var(--hairline); border-radius: 12px; overflow: hidden; color: var(--text-body); transition: border-color var(--dur-base), box-shadow var(--dur-base), transform var(--dur-base); }
.wv-sys__card:nth-child(-n+2) { grid-column: span 3; }
.wv-sys__card:hover { border-color: var(--brand); box-shadow: var(--shadow-2); transform: translateY(-3px); color: var(--text-body); text-decoration: none; }
.wv-sys__img { position: relative; aspect-ratio: 16 / 10; background: var(--surface-sunken); overflow: hidden; }
.wv-sys__card:nth-child(-n+2) .wv-sys__img { aspect-ratio: 16 / 8; }
.wv-sys__img picture, .wv-sys__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.wv-sys__card:hover .wv-sys__img img { transform: scale(1.04); }
.wv-sys__ic { position: absolute; left: 14px; top: 14px; width: 42px; height: 42px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-card); color: var(--brand); box-shadow: var(--shadow-2); pointer-events: none; }
.wv-sys__new { position: absolute; right: 14px; top: 14px; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.06em; text-transform: uppercase; color: var(--brand-on); background: var(--brand); border-radius: var(--radius-pill); padding: 5px 10px; pointer-events: none; }
.wv-sys__txt { padding: clamp(16px, 2vw, 22px); display: flex; flex-direction: column; gap: 8px; flex: 1; }
.wv-sys__title { margin: 0; font-size: clamp(18px, 1.6vw, 21px); font-weight: var(--weight-semibold); letter-spacing: -0.015em; color: var(--text-heading); }
.wv-sys__body { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }
.wv-sys__more { margin-top: auto; padding-top: 8px; display: inline-flex; gap: 6px; align-items: center; font-size: 14px; font-weight: var(--weight-medium); color: var(--brand); }
.wv-sys__more .wv-i { transition: transform var(--dur-fast); }
.wv-sys__card:hover .wv-sys__more .wv-i { transform: translateX(3px); }
@media (max-width: 1000px) {
    .wv-sys { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wv-sys__card, .wv-sys__card:nth-child(-n+2) { grid-column: span 1; }
    .wv-sys__card:last-child:nth-child(odd) { grid-column: 1 / -1; }
    .wv-sys__card:nth-child(-n+2) .wv-sys__img { aspect-ratio: 16 / 10; }
    .wv-sys__card:last-child:nth-child(odd) .wv-sys__img { aspect-ratio: 21 / 8; }
}
@media (max-width: 600px) {
    .wv-sys { grid-template-columns: minmax(0, 1fr); }
    .wv-sys__card:last-child:nth-child(odd) { grid-column: auto; }
    .wv-sys__card:last-child:nth-child(odd) .wv-sys__img { aspect-ratio: 16 / 10; }
}

/* --- about (canvas v3: about-page/AboutPage.dc.html) -------------------- */

.wv-about-head { padding-block: clamp(16px, 2vw, 28px) clamp(28px, 4vw, 48px); display: flex; flex-direction: column; gap: clamp(14px, 2vw, 22px); align-items: flex-start; }
.wv-about-head__title { max-width: 22ch; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.04; }
.wv-about-head__lead { max-width: 56ch; }

.wv-vm { padding-block: clamp(8px, 2vw, 24px) clamp(40px, 6vw, 88px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); }
.wv-vm__card { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.wv-vm__img { aspect-ratio: 16 / 10; width: 100%; background: var(--surface-sunken); border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.wv-vm__img picture, .wv-vm__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wv-vm__title { margin: 0; font-size: clamp(22px, 2.4vw, 31px); line-height: 1.14; letter-spacing: -0.025em; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-vm__body { margin: 0; font-size: 16px; line-height: 1.65; text-wrap: pretty; max-width: 60ch; }

.wv-tstats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: clamp(24px, 3vw, 40px) 0 0; padding: clamp(20px, 2.4vw, 28px) 0; border-block: var(--hairline); }
.wv-tstats__note { display: flex; gap: 8px; align-items: center; margin: 16px 0 0; font-size: 14px; color: var(--text-muted); }
.wv-tstats__note .wv-i { color: var(--brand); flex: 0 0 auto; }
@media (max-width: 900px) { .wv-tstats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.wv-about-quiz { padding-top: clamp(40px, 6vw, 88px); }
.wv-quiz { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 56px); border: var(--hairline); border-radius: 12px; background: var(--surface-sunken); color: var(--text-body); transition: border-color var(--dur-base), box-shadow var(--dur-base); }
.wv-quiz:hover { border-color: var(--brand); box-shadow: var(--shadow-2); color: var(--text-body); text-decoration: none; }
.wv-quiz__copy { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.wv-quiz__eyebrow { display: flex; gap: 8px; align-items: center; font-size: 12px; font-weight: var(--weight-semibold); letter-spacing: 0.12em; text-transform: uppercase; color: var(--brand); }
.wv-quiz__title { margin: 0; font-size: clamp(24px, 3vw, 38px); line-height: 1.08; letter-spacing: -0.03em; font-weight: var(--weight-semibold); color: var(--text-heading); text-wrap: balance; max-width: 18ch; }
.wv-quiz__body { margin: 0; font-size: 16px; line-height: 1.6; max-width: 50ch; text-wrap: pretty; }
.wv-quiz__btn { display: inline-flex; gap: 10px; align-items: center; min-height: 50px; padding: 0 24px; border-radius: var(--radius-pill); background: var(--brand); color: var(--brand-on); font-size: 16px; font-weight: var(--weight-medium); margin-top: 4px; transition: gap var(--dur-base); }
.wv-quiz:hover .wv-quiz__btn { gap: 14px; }
.wv-quiz__art { position: relative; min-height: 230px; }
.wv-quiz__card { position: absolute; left: 0; top: 0; right: 14%; background: var(--surface-card); border: var(--hairline); border-radius: 10px; padding: 18px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 14px; transform: rotate(-2deg); transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.wv-quiz:hover .wv-quiz__card { transform: rotate(0) translateY(-4px); }
.wv-quiz__q { font-size: 16px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-quiz__opts { display: flex; gap: 8px; flex-wrap: wrap; }
.wv-quiz__opts span { display: flex; gap: 6px; align-items: center; font-size: 13.5px; color: var(--text-strong); border: 1.5px solid var(--border-hairline); border-radius: 8px; padding: 8px 10px; }
.wv-quiz__opts .wv-i { color: var(--brand); }
.wv-quiz__opts .is-on { border-color: var(--brand); background: color-mix(in oklch, var(--brand) 9%, var(--surface-card)); }
.wv-quiz__kit { position: absolute; right: 0; bottom: 0; width: min(220px, 60%); background: var(--surface-card); border: var(--hairline); border-radius: 10px; padding: 14px; box-shadow: var(--shadow-3); display: flex; flex-direction: column; gap: 8px; transform: rotate(3deg); transition: transform 0.35s cubic-bezier(0.3, 1.4, 0.5, 1); }
.wv-quiz:hover .wv-quiz__kit { transform: rotate(0) translateY(-6px); }
.wv-quiz__kit b { display: flex; gap: 6px; align-items: center; font-size: 13px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-quiz__kit .wv-i { color: var(--brand); }
.wv-quiz__kit span { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-strong); background: var(--surface-sunken); border-radius: 6px; padding: 6px 8px; }
@media (max-width: 900px) { .wv-quiz { grid-template-columns: minmax(0, 1fr); } .wv-quiz__art { min-height: 210px; } }
/* On a phone the question card's options wrap to two rows, and the absolutely
   placed kit then covered the selected one — the option the drawing is about.
   Stacked, with the kit tucked under the card's corner, both stay readable. */
@media (max-width: 600px) {
    .wv-quiz__art { min-height: 0; display: flex; flex-direction: column; }
    .wv-quiz__card { position: relative; right: auto; }
    .wv-quiz__kit { position: relative; margin: -14px 0 0 auto; }
}
@media (prefers-reduced-motion: reduce) { .wv-quiz__card, .wv-quiz__kit { transition: none; } }

/* The closing card sits on a permanently brand-blue ground, so its text is on
   the ramp rather than the aliases, like the brand hero band. */
.wv-cta2 { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); background: var(--surface-brand); border-radius: 10px; overflow: hidden; }
.wv-cta2__copy { padding: clamp(28px, 4.4vw, 64px); display: flex; flex-direction: column; gap: clamp(16px, 2vw, 22px); align-items: flex-start; }
.wv-cta2__title { margin: 0; font-size: clamp(28px, 3.6vw, 46px); line-height: 1.04; letter-spacing: -0.03em; font-weight: var(--weight-semibold); color: var(--bone-0); text-wrap: balance; max-width: 16ch; overflow-wrap: anywhere; }
.wv-cta2__lead { margin: 0; font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; color: var(--blue-100); max-width: 46ch; text-wrap: pretty; }
.wv-cta2__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.wv-cta2__list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; color: var(--bone-0); }
.wv-cta2__list .wv-i { margin-top: 1px; flex: 0 0 auto; }
.wv-cta2__person { display: flex; gap: 12px; align-items: center; padding-top: clamp(16px, 2vw, 22px); margin-top: 4px; border-top: 1px solid var(--border-inverse); width: 100%; }
.wv-cta2__person div { display: flex; flex-direction: column; gap: 2px; font-size: 14px; line-height: 1.45; color: var(--blue-100); }
.wv-cta2__person b { color: var(--bone-0); font-weight: var(--weight-semibold); }
.wv-cta2__person a { color: var(--bone-0); border-bottom: 1px solid var(--border-inverse); }
.wv-cta2__person a:hover { color: var(--bone-0); border-bottom-color: currentColor; text-decoration: none; }
.wv-cta2__avatar { width: 48px; height: 48px; flex: 0 0 48px; border-radius: 50%; background: var(--bone-0); color: var(--blue-700); display: grid; place-items: center; }
.wv-cta2__media { position: relative; min-height: 420px; background: var(--surface-sunken); }
.wv-cta2__media picture, .wv-cta2__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.wv-cta2__booking { position: absolute; right: clamp(16px, 2.4vw, 28px); bottom: clamp(40px, 4vw, 52px); display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; align-items: end; min-width: 240px; background: var(--surface-card); border: var(--hairline); border-radius: 10px; padding: 14px 16px; box-shadow: var(--shadow-3); pointer-events: none; }
.wv-cta2__booking-top { grid-column: 1 / -1; display: flex; gap: 6px; align-items: center; font-size: 12px; font-weight: var(--weight-semibold); color: var(--state-success-text); }
.wv-cta2__route { display: flex; gap: 6px; align-items: center; font-size: 16px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-cta2__route .wv-i { color: var(--brand); }
.wv-cta2__meta { grid-column: 1; font-size: 12.5px; color: var(--text-muted); }
.wv-cta2__price { grid-column: 2; grid-row: 2 / 4; font-family: var(--font-mono); font-size: 18px; font-weight: var(--weight-medium); color: var(--text-heading); align-self: center; }
@media (max-width: 900px) { .wv-cta2 { grid-template-columns: minmax(0, 1fr); } .wv-cta2__media { min-height: 320px; order: -1; } }
@media (max-width: 480px) { .wv-cta2__booking { left: 16px; right: 16px; min-width: 0; } }

/* --- listing head (canvas v3: blog-index/BlogIndex.dc.html) ------------ */

.wv-listing-head { padding-block: clamp(32px, 5vw, 64px) clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: clamp(22px, 3vw, 40px); }
.wv-listing-head__text { display: flex; flex-direction: column; gap: clamp(12px, 2vw, 20px); align-items: flex-start; }
.wv-listing-head__lead { max-width: 52ch; }
.wv-post-grid--flush { margin-top: 0; }
.wv-featured--ruled { padding-bottom: clamp(32px, 4vw, 64px); margin-bottom: clamp(32px, 4vw, 64px); border-bottom: var(--hairline); }

/* --- footer -------------------------------------------------------------- */

.wv-footer {
    background: var(--surface-inverse);
    color: var(--text-on-inverse);
    padding: clamp(40px, 5vw, 80px) var(--gutter) var(--space-7);
}
.wv-footer__grid {
    max-width: var(--container-max);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr));
    gap: var(--space-9);
}
.wv-footer__about { display: flex; flex-direction: column; gap: var(--space-5); max-width: 380px; }
.wv-footer__blurb { font-size: var(--text-sm); line-height: var(--leading-body); color: var(--ink-400); }
.wv-footer__col { display: flex; flex-direction: column; gap: var(--space-4); }
.wv-footer__title {
    font-size: var(--text-micro);
    letter-spacing: var(--tracking-eyebrow);
    text-transform: uppercase;
    font-weight: var(--weight-bold);
    color: var(--ink-400);
}
.wv-footer__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: var(--space-3); }
.wv-footer__col a, .wv-footer__col li { font-size: var(--text-sm); color: var(--bone-200); }
.wv-footer__col a:hover { color: var(--bone-0); }
.wv-footer__legal {
    max-width: var(--container-max);
    margin: var(--space-10) auto 0;
    padding-top: var(--space-6);
    border-top: 1px solid var(--border-inverse);
    display: flex;
    gap: var(--space-6);
    justify-content: space-between;
    flex-wrap: wrap;
    font-size: var(--text-xs);
    color: var(--ink-400);
}
.wv-footer__address { font-family: var(--font-data); }

/* The footer's "Cookie settings". A button, because it acts on the page
   rather than going anywhere; drawn as a link in the legal line. Hidden until
   the analytics head script has run — without it there is nothing to reopen. */
.wv-footer__consent {
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
.wv-footer__consent:hover { color: var(--bone-0); }
html[data-consent] .wv-footer__consent[hidden] { display: inline; }

/* --- analytics consent banner -------------------------------------------- */

/* Fixed to the bottom of the viewport, so appearing moves nothing on the page.
   Shown by the head script's html[data-consent="unset"]; the `hidden`
   attribute keeps it out of the way until then, and before app.css lands. */
.wv-consent {
    position: fixed;
    inset-inline: var(--space-4);
    bottom: var(--space-4);
    z-index: 60;
    max-width: 560px;
    margin-inline: auto;
    padding: var(--space-5);
    background: var(--surface-raised);
    color: var(--text-body);
    border: var(--hairline);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-3);
    gap: var(--space-4);
}
html[data-consent="unset"] .wv-consent[hidden] { display: grid; }
.wv-consent__text { margin: 0; font-size: var(--text-sm); line-height: var(--leading-body); text-wrap: pretty; }
.wv-consent__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: flex-end; }

/* --- error pages --------------------------------------------------------- */

.wv-error { padding-block: clamp(64px, 10vw, 140px); }
.wv-error__code {
    font-family: var(--font-data);
    font-size: var(--text-sm);
    letter-spacing: var(--tracking-label);
    color: var(--text-faint);
}

/* The 404, from the canvas's not-found/NotFound.dc.html: the message beside a
   departures board, then a row of places to go instead. The canvas's board
   rows (a struck-through "cancelled" route) are not drawn there either; its
   pill colours are raw oklch and have no token. */
.wv-nf {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: clamp(56px, 9vw, 128px) var(--gutter) clamp(64px, 9vw, 120px);
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 88px);
    align-items: center;
}
.wv-nf__text { display: flex; flex-direction: column; gap: var(--space-5); min-width: 0; }
.wv-nf__title {
    margin: 0;
    font-size: clamp(36px, 5vw, 64px);
    line-height: 1.02;
    letter-spacing: var(--tracking-display);
    font-weight: var(--weight-semibold);
    color: var(--text-display);
    text-wrap: balance;
}
.wv-nf__actions { display: flex; flex-wrap: wrap; gap: var(--space-3); padding-top: var(--space-2); }
.wv-nf__board {
    overflow: hidden;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-2);
    font-family: var(--font-data);
}
.wv-nf__board-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px var(--space-5);
    border-bottom: var(--hairline);
    font-size: var(--text-xs);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.wv-nf__board-head .wv-i { color: var(--brand); }
.wv-nf__board-big {
    display: flex;
    align-items: baseline;
    gap: 14px;
    padding: 28px var(--space-5) var(--space-6);
}
.wv-nf__board-big strong {
    font-size: clamp(64px, 8vw, 104px);
    line-height: 0.9;
    font-weight: var(--weight-semibold);
    letter-spacing: -0.04em;
    color: var(--brand);
}
.wv-nf__board-big small { font-size: 13px; color: var(--text-muted); }

.wv-nf-links { border-top: var(--hairline); }
.wv-nf-links__inner {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) var(--gutter);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}
.wv-nf-links__title {
    margin: 0;
    font-size: var(--text-h4);
    font-weight: var(--weight-semibold);
    letter-spacing: var(--tracking-heading);
    color: var(--text-heading);
}
.wv-nf-links__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-3);
}
.wv-nf-links__grid a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: var(--space-4) 18px;
    background: var(--surface-card);
    border: var(--hairline);
    border-radius: var(--radius-card);
    color: var(--text-heading);
    font-weight: var(--weight-semibold);
    font-size: 15.5px;
    text-decoration: none;
    transition: border-color 0.14s, box-shadow 0.2s, transform 0.2s;
}
.wv-nf-links__grid a:hover {
    border-color: var(--brand);
    box-shadow: var(--shadow-3);
    transform: translateY(-2px);
    color: var(--text-heading);
}
.wv-nf-links__icon {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--brand-subtle);
    color: var(--brand);
}
.wv-nf-links__icon .wv-i { display: block; }
.wv-nf-links__arrow { margin-left: auto; color: var(--text-muted); transition: transform 0.14s; }
.wv-nf-links__grid a:hover .wv-nf-links__arrow { transform: translateX(3px); color: var(--brand); }

@media (max-width: 860px) {
    .wv-nf { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    .wv-nf-links__grid a,
    .wv-nf-links__arrow { transition: none; }
    .wv-nf-links__grid a:hover,
    .wv-nf-links__grid a:hover .wv-nf-links__arrow { transform: none; }
}

/* ── Scheme switch ───────────────────────────────────────────────────────────
   From the canvas's shared/theme.css. A 34px circle in the header end, growing
   to a 42px touch target on phone widths where the header's other controls do
   the same. Coloured against the semantic aliases so it reads on either
   ground — the ramp values it would otherwise use are exactly the ones that
   flip. */
.wv-theme-toggle {
    display: grid;
    flex: 0 0 auto;
    place-items: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid var(--border-hairline);
    border-radius: var(--radius-pill);
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-control);
}

.wv-theme-toggle:hover {
    background: var(--surface-hover);
    color: var(--text-heading);
}

.wv-theme-toggle:focus-visible {
    outline: 2px solid var(--border-focus);
    outline-offset: 2px;
}

/* One glyph at a time, chosen the same way the tokens are: an explicit choice
   wins, otherwise the operating system's. Kept in CSS so the right glyph is
   showing before any script runs, and so it stays right with no script at all.

   Centring the glyph takes more than the grid — see the .wv-i rule below. */
.wv-theme-toggle__sun { display: none; }
.wv-theme-toggle__moon { display: block; }

@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) .wv-theme-toggle__sun { display: block; }
    :root:not([data-theme="light"]) .wv-theme-toggle__moon { display: none; }
}

:root[data-theme="dark"] .wv-theme-toggle__sun { display: block; }
:root[data-theme="dark"] .wv-theme-toggle__moon { display: none; }
:root[data-theme="light"] .wv-theme-toggle__sun { display: none; }
:root[data-theme="light"] .wv-theme-toggle__moon { display: block; }

/* The glyph is wrapped in a span so CSS can choose which of the two is shown,
   and an inline SVG in that span sits on the text baseline — the font's
   descender space below it pushes the icon 3px above the button's centre. The
   grid centres the span perfectly and the glyph inside it is still off, which
   is why this is measured in tests/e2e/specs/theme.spec.js rather than eyeballed.
   Blockifying the SVG makes the span exactly as tall as the glyph. Scoped to
   the switch: an icon sitting beside a word (.wv-phone, .wv-tile__more) wants
   its baseline. */
.wv-theme-toggle .wv-i { display: block; }

@media (max-width: 1040px) {
    .wv-theme-toggle {
        width: 42px;
        height: 42px;
    }
}

/* --- The PackYourTour page (ADR 0033) --------------------------------------
 *
 * PackYourTour is its own product, so what is PackYourTour's on its page is
 * drawn in PackYourTour's indigo and what is Waavo's stays blue. `.wv-pt-tone`
 * does that by re-pointing the brand aliases for everything inside it, so the
 * shared components (icon tiles, eyebrows, ticks, the screen picker) follow
 * without a rule each. Its row in the Products menu carries the class too
 * (`tone` in ProductShapes); a standalone product without one stays blue.
 */
.wv-pt-tone {
    --brand: var(--pyt);
    --brand-hover: var(--pyt-hover);
    --brand-subtle: var(--pyt-soft);
    --brand-border: var(--pyt-line);
    --brand-on: var(--pyt-on);
    --text-on-brand: var(--pyt-on);
    --text-link: var(--pyt-ink);
    --text-label: var(--pyt-ink);
    --surface-tint: var(--pyt-soft);
}
.wv-btn--pyt { background: var(--pyt); color: var(--pyt-on); border-color: transparent; }
.wv-btn--pyt:hover { background: var(--pyt-hover); color: var(--pyt-on); }

/* The Products menu: "Also from Waavo", under the systems. */
.wv-mega__eyebrow--also { margin-top: 8px; padding-top: 16px; border-top: var(--hairline); }
.wv-header__panel .wv-mega__sys--also { margin-top: var(--space-2); }

/* "Standalone product", before anything else on the page. Also inlined. */
.wv-pt-note { background: var(--pyt-soft); border-bottom: 1px solid var(--pyt-line); color: var(--text-strong); }
.wv-pt-note__in { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-block: 11px; font-size: 14.5px; line-height: 1.45; }
.wv-pt-note__tag {
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid var(--pyt-line);
    border-radius: var(--radius-pill);
    background: var(--surface-card);
    color: var(--pyt-ink);
    font-size: 12px;
    line-height: 1.5;
    font-weight: var(--weight-bold);
    letter-spacing: .1em;
    text-transform: uppercase;
}
.wv-pt-note__text { flex: 1 1 420px; min-width: 0; }
.wv-pt-note__tag { flex: 0 0 auto; white-space: nowrap; }
.wv-pt-note a { margin-left: 4px; color: var(--pyt-ink); font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 3px; }

/* The hero: PackYourTour's wordmark, and a published tour in a browser frame. */
.wv-ph--pyt { background: linear-gradient(180deg, color-mix(in oklch, var(--pyt) 8%, var(--surface-page)), var(--surface-page)); }
.wv-pt-brand { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; min-height: 34px; margin-top: 4px; }
.wv-pt-logo { display: block; width: 158px; height: 34px; background: var(--pyt-logo-src) left center / contain no-repeat; }
.wv-pt-by { display: inline-flex; gap: 8px; align-items: center; padding-left: 16px; border-left: 1px solid var(--border-strong); font-size: 13.5px; line-height: 1.5; font-weight: var(--weight-semibold); color: var(--text-muted); }
.wv-pt-by .wv-i { color: var(--pyt); }
/* Waavo's wordmark at the sizes this page sets it beside PackYourTour's. */
.wv-pt-waavo { flex: 0 0 auto; display: inline-block; width: 67px; height: 11px; background: var(--logo-src) left center / contain no-repeat; }
.wv-pt-waavo--md { width: 91px; height: 15px; }
.wv-pt-waavo--lg { width: 133px; height: 22px; }

.wv-ph--pyt .wv-pt-art { aspect-ratio: 16 / 11; background: none; box-shadow: none; }
.wv-pt-frame { display: flex; flex-direction: column; height: 100%; border: var(--hairline); border-radius: 14px; overflow: hidden; background: var(--surface-card); box-shadow: var(--shadow-3); }
.wv-pt-frame__bar { flex: 0 0 34px; height: 34px; overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 0 14px; background: var(--surface-sunken); border-bottom: var(--hairline); }
.wv-pt-frame__dots { display: flex; gap: 6px; }
.wv-pt-frame__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.wv-pt-frame__url { flex: 0 1 300px; min-width: 0; padding: 0 12px; border: var(--hairline); border-radius: var(--radius-pill); background: var(--surface-card); font-family: var(--font-mono); font-size: 12px; line-height: 20px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wv-pt-frame__shot { flex: 1 1 0; min-height: 0; }
/* The screenshot is drawn larger than its frame and pulled left past its own
   grey margin, so the tour's title and programme are legible at this size. */
.wv-pt-frame__shot { overflow: hidden; }
.wv-ph--pyt .wv-ph__photo img { width: 136%; max-width: none; height: 136%; margin-left: -10%; border-radius: 0; object-position: left top; }
.wv-pt-float--source { left: -20px; bottom: 30px; max-width: min(320px, 86%); padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; animation: wv-float 7s ease-in-out infinite; }
.wv-pt-float__head { display: flex; gap: 10px; align-items: center; font-size: 11px; font-weight: var(--weight-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.wv-pt-float--paid { top: 58px; right: -14px; bottom: auto; }
.wv-pt-float--paid > span:nth-child(2) { display: flex; flex-direction: column; }
@media (max-width: 900px) {
    .wv-pt-float--source { left: 10px; bottom: 14px; }
    .wv-pt-float--paid { right: 10px; }
}
@media (max-width: 520px) {
    .wv-pt-float--paid { top: 46px; min-width: 0; padding: 9px 12px; }
    .wv-pt-float--source .wv-chips li:nth-child(n + 3) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .wv-pt-float--source { animation: none; } }

.wv-pt-body { margin: 0; font-size: 15px; line-height: 1.55; color: var(--text-body); text-wrap: pretty; }

/* The screens: the cruise page's picker, with a browser bar on each shot. */
.wv-pt-walk__shot { border: var(--hairline); }
.wv-pt-walk:has(#pyt-screen-tour:checked) .wv-pt-walk__shot--tour,
.wv-pt-walk:has(#pyt-screen-orders:checked) .wv-pt-walk__shot--orders,
.wv-pt-walk:has(#pyt-screen-inquiries:checked) .wv-pt-walk__shot--inquiries { display: block; }

/* "Works with Waavo": what the steps add up to, beside the steps. */
.wv-pt-how__in { display: grid; grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(24px, 3vw, 44px); }
.wv-pt-cx { display: flex; flex-direction: column; gap: 12px; }
.wv-pt-cx__stack { display: flex; flex-direction: column; }
.wv-pt-cx__card { display: flex; flex-direction: column; gap: 12px; padding: 18px 20px; border: var(--hairline); border-radius: 12px; background: var(--surface-card); box-shadow: var(--shadow-2); }
.wv-pt-cx__card--pyt { border-color: var(--pyt-line); box-shadow: var(--shadow-3); }
.wv-pt-cx__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 6px 12px; }
.wv-pt-cx__name { display: flex; gap: 10px; align-items: center; font-size: 15px; font-weight: var(--weight-bold); color: var(--text-heading); }
.wv-pt-cx__dot { width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center; background: var(--pyt); color: var(--pyt-on); }
.wv-pt-cx__role { font-size: 12px; font-weight: var(--weight-bold); letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted); }
.wv-pt-cx__link { position: relative; display: flex; align-items: center; gap: 10px; padding: 12px 0 12px 44px; font-size: 13.5px; font-weight: var(--weight-semibold); color: var(--text-muted); }
.wv-pt-cx__link::before { content: ""; position: absolute; left: 33px; top: 0; bottom: 0; border-left: 2px dashed var(--pyt-line); }
.wv-pt-cx__link span { position: absolute; left: 20px; width: 28px; height: 28px; border: 1px solid var(--pyt-line); border-radius: 50%; display: grid; place-items: center; background: var(--pyt-soft); color: var(--pyt-ink); }
.wv-pt-cx__link { padding-left: 60px; }
.wv-pt-cx__days { list-style: none; margin: 0; padding: 0; }
.wv-pt-cx__days li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 8px 0; border-top: var(--hairline); font-size: 14px; line-height: 1.4; color: var(--text-strong); }
.wv-pt-cx__days b { padding: 2px 7px; border-radius: 5px; background: var(--pyt-soft); color: var(--pyt-ink); font-family: var(--font-mono); font-size: 12.5px; font-weight: var(--weight-medium); white-space: nowrap; }
.wv-pt-cx__days em { font-style: normal; font-size: 13px; color: var(--text-muted); }
.wv-pt-cx__total { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; padding-top: 10px; border-top: var(--hairline); font-size: 14px; color: var(--text-body); }
.wv-pt-cx__total strong { margin-left: 4px; font-size: 16px; color: var(--text-heading); white-space: nowrap; }
.wv-pt-cx__pub { display: inline-flex; gap: 6px; align-items: center; padding: 4px 10px; border-radius: var(--radius-pill); background: var(--pyt-soft); color: var(--pyt-ink); font-size: 13px; font-weight: var(--weight-semibold); }
.wv-pt-cx__note { margin: 0; font-size: 13px; color: var(--text-muted); }
.wv-pt-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wv-pt-step { display: flex; flex-direction: column; gap: 10px; padding: clamp(20px, 2.4vw, 26px); border: var(--hairline); border-radius: var(--radius-card); background: var(--surface-card); transition: border-color var(--dur-fast), box-shadow .2s; }
.wv-pt-step:hover { border-color: var(--brand-border); box-shadow: var(--shadow-2); }
.wv-pt-who { padding: 3px 9px; border-radius: var(--radius-pill); background: var(--pyt-soft); color: var(--pyt-ink); font-size: 12px; font-weight: var(--weight-bold); letter-spacing: .08em; text-transform: uppercase; }
.wv-pt-who--waavo { background: var(--brand-subtle); color: var(--text-label); }
@media (max-width: 960px) { .wv-pt-how__in { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .wv-pt-steps { grid-template-columns: minmax(0, 1fr); } }

/* Who does what. */
.wv-pt-split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
.wv-pt-split__col { display: flex; flex-direction: column; gap: 16px; padding: clamp(22px, 2.6vw, 32px); border: var(--hairline); border-radius: 12px; background: var(--surface-card); }
.wv-pt-split__col--pyt { border-color: var(--pyt-line); background: color-mix(in oklch, var(--pyt) 4%, var(--surface-card)); }
.wv-pt-split__head { display: flex; align-items: center; min-height: 40px; }
.wv-pt-split__sub { margin: -6px 0 0; font-size: 14px; color: var(--text-muted); }
.wv-pt-split__langs { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; font-size: 15px; color: var(--text-body); }
.wv-pt-split__note { margin: auto 0 0; padding-top: 14px; border-top: var(--hairline); display: flex; gap: 8px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.wv-pt-split__note .wv-i { flex: 0 0 auto; margin-top: 2px; }
@media (max-width: 800px) { .wv-pt-split { grid-template-columns: minmax(0, 1fr); } }

/* The two next steps that close the page. */
.wv-pt-cta { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wv-pt-cta__box { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; padding: clamp(24px, 3vw, 40px); border-top: 4px solid var(--brand); border-radius: 12px; background: var(--surface-card); box-shadow: var(--shadow-3); }
.wv-pt-cta__title { margin: 0; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.12; letter-spacing: -0.02em; font-weight: var(--weight-semibold); color: var(--text-heading); text-wrap: balance; }
.wv-pt-cta__box p { margin: 0; max-width: 46ch; font-size: 16px; line-height: 1.55; color: var(--text-body); }
.wv-pt-cta__box small { font-size: 13px; color: var(--text-muted); }
.wv-pt-cta__box .wv-btn { margin-top: auto; }
.wv-pt-cta__box--pyt .wv-btn { margin-top: 0; }
@media (max-width: 860px) { .wv-pt-cta { grid-template-columns: minmax(0, 1fr); } }

/* --- The Waavo Connect page (ADR 0034) -------------------------------------
 *
 * Connect is Waavo's own product and carries Waavo's name, so nothing here is
 * toned: the page is in Waavo's blue. It is built from the shared product
 * components and, where PackYourTour's page drew the same thing first (the
 * browser frame, the picker's frame, the two columns, the closing boxes), from
 * those rules as they stand: outside `.wv-pt-tone` they are blue too.
 */
/* "B2B product", before anything else on the page. Also inlined. */
.wv-cn-note { background: var(--surface-tint); border-bottom: 1px solid var(--brand-border); color: var(--text-strong); }
.wv-cn-note__in { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; padding-block: 11px; font-size: 14.5px; line-height: 1.45; }
.wv-cn-note__tag {
    flex: 0 0 auto;
    display: inline-flex;
    gap: 6px;
    align-items: center;
    padding: 3px 10px;
    border: 1px solid var(--brand-border);
    border-radius: var(--radius-pill);
    background: var(--surface-card);
    color: var(--text-label);
    font-size: 12px;
    line-height: 1.5;
    font-weight: var(--weight-bold);
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}
.wv-cn-note__text { flex: 1 1 420px; min-width: 0; }
.wv-cn-note a { margin-left: 4px; color: var(--text-link); font-weight: var(--weight-semibold); text-decoration: underline; text-underline-offset: 3px; }

/* The hero: the flight search in a browser frame. The picture is the app as
   Connect draws it, its navigation on the left, so it is anchored there and
   whatever the frame cannot hold is cut from the right and the bottom. */
.wv-ph--connect .wv-cn-art { aspect-ratio: 16 / 11; background: none; box-shadow: none; }
.wv-cn-shot { flex: 1 1 0; min-height: 0; overflow: hidden; }
.wv-ph--connect .wv-ph__photo img { border-radius: 0; object-position: left top; }
/* The floats hang off the frame's corners: the picture under them is a list of
   results, and a card laid over it would hide the thing being shown. */
.wv-cn-float--sources { left: -20px; bottom: -36px; max-width: min(300px, 86%); padding: 12px 14px; display: flex; flex-direction: column; gap: 9px; animation: wv-float 7s ease-in-out infinite; }
.wv-cn-float--sources .wv-i { color: var(--brand); }
.wv-cn-float--order { top: -24px; right: -14px; bottom: auto; min-width: 0; }
.wv-cn-float--order > span:nth-child(2) { display: flex; flex-direction: column; }
@media (max-width: 900px) {
    .wv-cn-float--sources { left: 10px; bottom: -24px; }
    .wv-cn-float--order { right: 10px; }
}
@media (max-width: 520px) {
    .wv-cn-float--order { top: -20px; padding: 9px 12px; }
}
@media (prefers-reduced-motion: reduce) { .wv-cn-float--sources { animation: none; } }

/* A line under a band that limits what the band just said. */
.wv-cn-foot { margin: 20px 0 0; display: flex; gap: 8px; align-items: flex-start; max-width: 72ch; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
.wv-cn-foot .wv-i { flex: 0 0 auto; margin-top: 2px; }

/* The screens: the cruise page's picker, one rule per screen. */
.wv-cn-walk:has(#connect-screen-flights:checked) .wv-cn-walk__shot--flights,
.wv-cn-walk:has(#connect-screen-hotels:checked) .wv-cn-walk__shot--hotels,
.wv-cn-walk:has(#connect-screen-proposals:checked) .wv-cn-walk__shot--proposals,
.wv-cn-walk:has(#connect-screen-orders:checked) .wv-cn-walk__shot--orders,
.wv-cn-walk:has(#connect-screen-portal:checked) .wv-cn-walk__shot--portal,
.wv-cn-walk:has(#connect-screen-reports:checked) .wv-cn-walk__shot--reports { display: block; }
.wv-cn-sample { margin: 14px 0 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.wv-cn-sample .wv-i { flex: 0 0 auto; margin-top: 2px; }

/* Both sides of travel: a column's heading is an icon and a title. */
.wv-cn-side { gap: 14px; }
.wv-cn-side__title { margin: 0; font-size: clamp(19px, 2vw, 22px); line-height: 1.2; letter-spacing: -0.015em; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-cn-trust { justify-content: center; gap: 8px; margin-top: clamp(20px, 2.4vw, 28px); }

/* Hotel price watch: the claim and its limits beside the screen. */
.wv-cn-watch { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.wv-cn-watch__txt .wv-ticks { margin-top: clamp(18px, 2vw, 24px); }
.wv-cn-watch__shot { display: block; }
@media (max-width: 960px) { .wv-cn-watch { grid-template-columns: minmax(0, 1fr); } }

/* "Getting started" has three steps where the shared funnel has four. Wide
   only: below this the funnel's own two- and one-column rails apply. */
@media (min-width: 1041px) {
    .wv-fn--three .wv-fn__steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* The closing boxes push their button to the foot; the first has a line under it. */
.wv-pt-cta__box .wv-cn-cta__go { margin-top: 0; }


/* ===========================================================================
 * The booking funnel and its features (ADR 0035)
 *
 * /products/booking-funnel is the map (`wv-jm`); the Client request form, Holiday
 * Wish, B2B Travel Search and Holiday Mailer each have a page on the shared
 * feature layout (`wv-ft`) with a band of their own (`wv-fm`, `wv-hw`,
 * `wv-bs`, `wv-hm`). All of them illustrate themselves with drawn screens
 * (`wv-dr`): drawings, not screenshots, small on purpose, saying "a chat",
 * "an inbox", "an email" while a caption says the rest. Nothing drawn is a
 * control. Semantic aliases only, so a drawing follows the scheme.
 * ======================================================================== */

.wv-dr-ui { width: 100%; display: flex; flex-direction: column; gap: 7px; padding: 10px; border: var(--hairline); border-radius: var(--radius-field); background: var(--surface-card); box-shadow: var(--shadow-2); color: var(--text-body); font-size: 11px; line-height: 1.35; }
.wv-dr-ui--phone { max-width: 170px; padding: 12px 9px 10px; border: 2px solid var(--border-strong); border-radius: 18px; }
/* :where() so a part's own padding is not outranked by the reset. */
.wv-dr-ui :where(p, ul, ol) { margin: 0; padding: 0; list-style: none; }
.wv-dr-ui b, .wv-dr-ui strong { color: var(--text-heading); font-weight: var(--weight-semibold); }
.wv-dr-ui .wv-i { flex: 0 0 auto; }

.wv-dr-ui__bar { display: flex; align-items: center; gap: 5px; padding-bottom: 6px; border-bottom: var(--hairline); color: var(--text-heading); font-weight: var(--weight-semibold); }
.wv-dr-ui__bar > span { flex: 1 1 auto; min-width: 0; }
.wv-dr-ui__bar .wv-i { color: var(--brand); }
.wv-dr-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--state-danger); }

.wv-dr-row { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-width: 0; }
.wv-dr-name { font-size: 12px; }
.wv-dr-sum { font-size: 13px; }
.wv-dr-meta { display: inline-flex; align-items: center; gap: 3px; color: var(--text-muted); white-space: nowrap; }
.wv-dr-meta--warn { color: var(--state-warning-text); font-weight: var(--weight-semibold); }
.wv-dr-foot { display: flex; align-items: center; gap: 4px; padding-top: 6px; border-top: var(--hairline); color: var(--text-muted); }

.wv-dr-b { align-self: flex-start; max-width: 92%; padding: 5px 8px; border-radius: 10px 10px 10px 3px; background: var(--surface-sunken); }
.wv-dr-b--me { align-self: flex-end; border-radius: 10px 10px 3px; background: var(--brand); color: var(--text-on-brand); }

.wv-dr-tags { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; }
.wv-dr-tags li { display: inline-flex; align-items: center; gap: 3px; padding: 2px 7px; border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--text-strong); font-size: 10.5px; line-height: 1.5; white-space: nowrap; }
.wv-dr-tags--ok li { background: var(--brand-subtle); color: var(--text-label); }
/* Under a phone, on the lane itself: the ways in, the ways out. */
.wv-dr-tags--center { justify-content: center; }
.wv-dr-tags--center li { background: var(--surface-card); box-shadow: var(--shadow-hairline); color: var(--text-body); }

.wv-dr-pill { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--radius-pill); font-size: 10.5px; font-weight: var(--weight-semibold); line-height: 1.5; white-space: nowrap; }
.wv-dr-pill--new { background: var(--brand-subtle); color: var(--text-label); }
.wv-dr-pill--ok { background: var(--state-success-subtle); color: var(--state-success-text); }
.wv-dr-pill--wide { justify-content: center; padding-block: 5px; font-size: 11px; }

.wv-dr-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 3px 9px; border: 1px solid var(--brand); border-radius: var(--radius-pill); background: var(--brand); color: var(--text-on-brand); font-size: 10.5px; font-weight: var(--weight-semibold); line-height: 1.5; white-space: nowrap; }
.wv-dr-btn--ghost { border-color: var(--border-strong); background: transparent; color: var(--text-strong); }
.wv-dr-btn--wide { padding-block: 5px; }

.wv-dr-owner { display: inline-flex; align-items: center; gap: 5px; color: var(--text-strong); }
.wv-dr-av { width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-tile); color: var(--text-label); font-size: 10px; font-weight: var(--weight-bold); }

.wv-dr-res { display: flex; flex-direction: column; gap: 3px; }
.wv-dr-res li { display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 7px; border-radius: var(--radius-sm); background: var(--surface-sunken); }
.wv-dr-res span { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-dr-res i { width: 16px; height: 16px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--surface-card); box-shadow: var(--shadow-hairline); color: var(--brand); }
.wv-dr-res .is-added { background: var(--state-success-subtle); }
.wv-dr-res .is-added i { background: var(--state-success); box-shadow: none; color: var(--surface-card); }

.wv-dr-field { padding: 4px 7px; border: var(--hairline); border-radius: var(--radius-sm); color: var(--text-muted); }
.wv-dr-field b { display: inline-flex; align-items: center; gap: 4px; }
.wv-dr-note { padding: 5px 8px; border-left: 2px solid var(--brand-border); background: var(--surface-sunken); color: var(--text-body); font-style: italic; }

.wv-dr-brand { display: flex; align-items: center; gap: 5px; color: var(--text-muted); font-size: 10.5px; font-weight: var(--weight-semibold); }
.wv-dr-logo { width: 14px; height: 14px; border-radius: 4px; background: var(--brand); }
.wv-dr-offer { display: flex; align-items: center; gap: 7px; padding: 5px; border: var(--hairline); border-radius: var(--radius-sm); }
.wv-dr-offer > div { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.wv-dr-offer .wv-dr-row { width: 100%; }
.wv-dr-ph { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: var(--radius-sm); background: var(--surface-tile); color: var(--text-label); }
.wv-dr-ph--wide { width: 100%; height: 46px; }

.wv-dr-tl { display: flex; flex-direction: column; gap: 6px; }
.wv-dr-tl li { position: relative; display: flex; gap: 6px; padding-left: 12px; }
.wv-dr-tl li::before { content: ""; position: absolute; top: 4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--border-strong); }
.wv-dr-tl span { font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.wv-dr-tl .is-hot { color: var(--text-heading); font-weight: var(--weight-semibold); }
.wv-dr-tl .is-hot::before { background: var(--state-success); box-shadow: 0 0 0 3px var(--state-success-subtle); }

.wv-dr-checks { display: flex; flex-direction: column; gap: 4px; }
.wv-dr-checks li { display: flex; align-items: center; gap: 5px; }
.wv-dr-checks .wv-i { color: var(--state-success); }
.wv-dr-total { padding-top: 6px; border-top: var(--hairline); }
.wv-dr-total b { font-size: 13px; }

/* It wraps: "Request, Offer, Order" is three short words in English only. */
.wv-dr-trail { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; }
.wv-dr-trail li { display: inline-flex; align-items: center; gap: 4px; padding: 2px 6px; border-radius: var(--radius-sm); background: var(--surface-sunken); color: var(--text-strong); font-size: 10.5px; }
.wv-dr-trail li + li::before { content: ""; width: 5px; height: 5px; margin-left: -9px; margin-right: 3px; border-top: 1.5px solid var(--text-muted); border-right: 1.5px solid var(--text-muted); transform: rotate(45deg); }
.wv-dr-trail li + li { margin-left: 5px; }
.wv-dr-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 18px; }
.wv-dr-bars i { width: 5px; border-radius: 1px; background: var(--brand-border); }
.wv-dr-bars i:nth-child(1) { height: 40%; }
.wv-dr-bars i:nth-child(2) { height: 60%; }
.wv-dr-bars i:nth-child(3) { height: 50%; }
.wv-dr-bars i:nth-child(4) { height: 100%; background: var(--brand); }

/* --- the map ------------------------------------------------------------- *
 * Six stations across, lanes down. Wide: the map is one grid of five rows
 * (head, feature, traveller, agency, net) and every station is a subgrid of
 * them, so a lane's cells are the same height and read as one band. Narrower:
 * a station is a block on a vertical rail, its two cards side by side; on a
 * phone they stack in the order things happen.                               */

.wv-jm { overflow-x: clip; }
.wv-jm__in { max-width: var(--container-wide); margin: 0 auto; padding-inline: var(--gutter); }

/* --- the story in three times, in the hero's picture box ----------------- */

.wv-jm-art { display: grid; align-items: center; }
.wv-jm__story { list-style: none; margin: 0; padding: 6px 22px; border: var(--hairline); border-radius: var(--radius-lg); background: var(--surface-card); box-shadow: var(--shadow-3); }
.wv-jm__story li { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: center; padding: clamp(12px, 2vw, 20px) 0; }
.wv-jm__story li + li { border-top: var(--hairline); }
.wv-jm__clock { font-family: var(--font-mono); font-size: clamp(22px, 2.6vw, 30px); font-weight: var(--weight-semibold); letter-spacing: -0.03em; line-height: 1; color: var(--brand); }
.wv-jm__story strong { display: block; font-size: 17px; font-weight: var(--weight-semibold); line-height: 1.3; color: var(--text-heading); }
.wv-jm__story span:not(.wv-jm__clock) { display: block; font-size: 14px; line-height: 1.4; color: var(--text-muted); }

/* --- the map ------------------------------------------------------------- */

.wv-jm__map {
    --pill: 40px;
    --pad: 10px;
    --gap: 10px;
    position: relative;
    list-style: none;
    margin: clamp(28px, 3.4vw, 48px) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(5, auto);
    row-gap: var(--gap);
}
.wv-jm__st { position: relative; display: grid; grid-row: 1 / span 5; grid-template-rows: subgrid; min-width: 0; }

/* The head: a numbered pill on a rail that runs on to the next pill, as the
   site's funnel band draws it. */
.wv-jm__head { position: relative; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; padding: 38px var(--pad) 6px; }
.wv-jm__n {
    position: absolute;
    top: 0;
    left: var(--pad);
    width: var(--pill);
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: var(--radius-pill);
    background: var(--brand);
    color: var(--text-on-brand);
    font-family: var(--font-mono);
    font-size: 12.5px;
    font-weight: var(--weight-semibold);
}
.wv-jm__st:not(:last-child) > .wv-jm__head::after {
    content: "";
    position: absolute;
    top: 12px;
    left: calc(var(--pad) + var(--pill) + 6px);
    right: calc(6px - var(--pad));
    height: 2px;
    border-radius: 2px;
    background: color-mix(in oklch, var(--brand) 34%, transparent);
}
.wv-jm__title { margin: 0; font-size: 19px; font-weight: var(--weight-semibold); letter-spacing: -0.015em; color: var(--text-heading); }
.wv-jm__time { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-mono); font-size: 12px; color: var(--text-muted); }

/* One dot travels the rail and rests at each station. The track is five
   stations long and only ever transformed, so nothing is laid out again. */
.wv-jm__map::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 6px;
    left: calc(var(--pad) + var(--pill) / 2 - 7px);
    width: calc(100% / 6 * 5);
    height: 14px;
    background: radial-gradient(circle at 7px 7px, var(--surface-card) 0 3px, var(--brand) 3.5px 6.5px, transparent 7px) no-repeat;
    pointer-events: none;
    animation: wv-jm-run 15s var(--ease-standard) infinite;
}
@keyframes wv-jm-run {
    0% { transform: translateX(0); opacity: 0; }
    2%, 7% { transform: translateX(0); opacity: 1; }
    17%, 24% { transform: translateX(20%); }
    34%, 41% { transform: translateX(40%); }
    51%, 58% { transform: translateX(60%); }
    68%, 75% { transform: translateX(80%); }
    85%, 96% { transform: translateX(100%); opacity: 1; }
    100% { transform: translateX(100%); opacity: 0; }
}

/* --- the tools ------------------------------------------------------------ *
 * The first lane: the product that does the work at each station, as a solid
 * tile, because these are the things an agency actually gets. A station with
 * one tool has one tall tile; "Ask" has two.                                 */

.wv-jm__cell.wv-jm__cell--tool { gap: 6px; padding: 4px var(--pad) 8px; background: none; }
.wv-jm__st:first-child > .wv-jm__cell--tool { padding-left: var(--pad); }
.wv-jm__st:last-child > .wv-jm__cell--tool { padding-right: var(--pad); }
.wv-jm__cell--tool > .wv-jm__lane { color: var(--text-label); }
.wv-jm__feat { flex: 1 1 auto; min-height: 42px; display: flex; align-items: center; gap: 9px; padding: 8px 12px; border-radius: var(--radius-field); background: var(--brand); color: var(--text-on-brand); font-size: 14.5px; font-weight: var(--weight-semibold); line-height: 1.2; text-decoration: none; transition: background var(--dur-fast); }
.wv-jm__feat > span { flex: 1 1 auto; min-width: 0; }
.wv-jm__feat > .wv-i { flex: 0 0 auto; }
a.wv-jm__feat:hover { background: var(--brand-hover); color: var(--text-on-brand); }
/* Holiday Mailer serves "Send" and "Follow up": one tile under both. */
.wv-jm__cell--span > .wv-jm__feat { position: relative; z-index: 1; width: calc(200% + 2 * var(--pad)); }
.wv-jm__cell--cont > .wv-jm__feat { visibility: hidden; }

/* --- lanes --------------------------------------------------------------- */

/* --fig is the box a lane's drawings sit in, so they line up along it; --mid
   is that box's middle from the top of the cell (padding, the lane's label,
   the gap, half the box), which is where the connectors are drawn. */
.wv-jm__cell { --mid: calc(14px + 16px + 10px + var(--fig, 0px) / 2); position: relative; display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 14px var(--pad) 18px; }
.wv-jm__cell--trav { --fig: 224px; background: var(--surface-sunken); }
.wv-jm__cell--agency { --fig: 198px; background: var(--surface-tint); }
.wv-jm__cell--net { background: var(--state-success-subtle); }
.wv-jm__st:first-child > .wv-jm__cell { border-radius: var(--radius-lg) 0 0 var(--radius-lg); padding-left: calc(var(--pad) + 6px); }
.wv-jm__st:last-child > .wv-jm__cell { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; padding-right: calc(var(--pad) + 6px); }

/* A lane is named once, at its start; the other cells keep the line so every
   drawing starts at the same height. Each cell carries the name for a screen
   reader. */
.wv-jm__lane { height: 16px; font-size: 11px; font-weight: var(--weight-bold); line-height: 16px; letter-spacing: var(--tracking-label); text-transform: uppercase; white-space: nowrap; color: var(--text-muted); visibility: hidden; }
.wv-jm__st:first-child .wv-jm__lane { visibility: visible; }
.wv-jm__cell--agency > .wv-jm__lane { color: var(--text-label); }
.wv-jm__cell--net > .wv-jm__lane { color: var(--state-success-text); }

/* A minimum, not a height: the box is sized for the longest market's words, and
   a longer one still grows the lane rather than running into the caption. */
.wv-jm__fig { min-height: var(--fig); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.wv-jm__cap { margin: 0; font-size: 13.5px; line-height: 1.45; color: var(--text-body); text-wrap: pretty; }
.wv-jm__cap--muted { color: var(--text-muted); text-align: center; }

/* Along a lane: a chevron on the seam to the next station. */
.wv-jm__cell--next::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: calc(var(--mid) - 5px);
    right: -5px;
    width: 9px;
    height: 9px;
    border-top: 2px solid var(--brand);
    border-right: 2px solid var(--brand);
    transform: rotate(45deg);
}
/* The wait: nothing happens on the traveller's side, which is the point. */
.wv-jm__cell--wait::before { content: ""; position: absolute; top: var(--mid); left: 0; right: 0; border-top: 2px dashed var(--border-strong); }
.wv-jm-ghost { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px dashed var(--border-strong); border-radius: var(--radius-pill); background: var(--surface-sunken); color: var(--text-muted); font-size: 12px; white-space: nowrap; }

/* Between the two lanes: the hand-off, on the gap. */
.wv-jm__hand {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: calc(-13px - var(--gap) / 2);
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--brand);
    color: var(--text-on-brand);
    box-shadow: 0 0 0 3px var(--surface-page);
    transform: translateX(-50%);
}
.wv-jm__hand .wv-i { display: block; }
.wv-jm__hand--up .wv-i { transform: rotate(180deg); }

/* The third lane. */
.wv-jm__cell--net { gap: 8px; padding-bottom: 16px; }
.wv-jm__netic { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--surface-card); color: var(--state-success-text); }
.wv-jm__nett { display: block; font-size: 14.5px; font-weight: var(--weight-semibold); line-height: 1.3; color: var(--text-heading); }
.wv-jm__netb { margin: 3px 0 0; font-size: 13px; line-height: 1.45; color: var(--text-body); text-wrap: pretty; }

/* --- the tools behind the steps ------------------------------------------ *
 * Six cards under six stations, but a legend rather than a seventh lane: a
 * card names the stations it serves, since two tools share the first station
 * and one spans two.                                                         */

.wv-jm__toolshead { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: clamp(32px, 4vw, 56px) 0 0; scroll-margin-top: 96px; }
.wv-jm__toolstitle { margin: 0; font-size: var(--text-h3); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-heading); line-height: var(--leading-tight); color: var(--text-heading); }
.wv-jm__toolslead { margin: 0; font-size: 15px; color: var(--text-muted); }
.wv-jm__tools { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.wv-jm__tool { position: relative; display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 16px; border: var(--hairline); border-radius: var(--radius-card); background: var(--surface-card); transition: border-color var(--dur-fast), box-shadow var(--dur-base); }
.wv-jm__tool:has(a):hover { border-color: var(--brand-border); box-shadow: var(--shadow-2); }
.wv-jm__toolat { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 2px; }
.wv-jm__step { padding: 2px 9px; border-radius: var(--radius-pill); background: var(--brand-subtle); color: var(--text-label); font-family: var(--font-mono); font-size: 11.5px; font-weight: var(--weight-semibold); white-space: nowrap; }
.wv-jm__toolname { margin: 0; font-size: 16px; font-weight: var(--weight-semibold); line-height: 1.3; color: var(--text-heading); }
.wv-jm__toolbody { margin: 0 0 4px; font-size: 13.5px; line-height: 1.45; color: var(--text-body); text-wrap: pretty; }
.wv-jm__toollink { display: inline-flex; align-items: center; gap: 5px; margin-top: auto; font-size: 13.5px; font-weight: var(--weight-semibold); color: var(--text-link); text-decoration: none; }
/* The whole card is the link's target. */
.wv-jm__toollink::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.wv-jm__toollink:hover { color: var(--text-link-hover); }
.wv-jm__toolsoon { margin-top: auto; font-size: 12.5px; color: var(--text-faint); }

/* --- what it adds up to -------------------------------------------------- */

.wv-jm__values { list-style: none; margin: clamp(24px, 3vw, 40px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.wv-jm__values li { display: flex; flex-direction: column; gap: 6px; padding: clamp(18px, 2.2vw, 24px); border: var(--hairline); border-radius: var(--radius-card); background: var(--surface-card); }
.wv-jm__num { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 4px; font-family: var(--font-display); font-size: 44px; font-weight: var(--weight-semibold); line-height: 1; letter-spacing: var(--tracking-display); color: var(--brand); }
.wv-jm__values strong { font-size: 16px; font-weight: var(--weight-semibold); line-height: 1.3; color: var(--text-heading); }
.wv-jm__values p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
.wv-jm__foot { max-width: 72ch; margin: 18px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

/* --- narrower: a station is a block on a vertical rail ------------------- */

@media (max-width: 1159px) {
    .wv-jm__map { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; row-gap: 30px; padding-left: calc(var(--pill) + 14px); }
    .wv-jm__map::before { display: none; }
    .wv-jm__st { grid-row: auto; grid-template-rows: none; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
    .wv-jm__head { grid-column: 1 / -1; justify-content: flex-start; gap: 4px 12px; padding: 2px 0 2px; }
    .wv-jm__n { left: calc(-1 * (var(--pill) + 14px)); }
    /* The rail runs the station's height: it is the station's own line, not
       the head's, once the head is one row of several. */
    .wv-jm__st:not(:last-child) > .wv-jm__head::after { display: none; }
    .wv-jm__st:not(:last-child)::after { content: ""; position: absolute; top: 34px; bottom: -26px; left: calc(-1 * (var(--pill) / 2 + 14px) - 1px); width: 2px; border-radius: 2px; background: color-mix(in oklch, var(--brand) 34%, transparent); }

    .wv-jm__st > .wv-jm__cell,
    .wv-jm__st:first-child > .wv-jm__cell,
    .wv-jm__st:last-child > .wv-jm__cell { border-radius: var(--radius-lg); padding: 14px 14px 16px; }
    .wv-jm__lane { visibility: visible; }
    .wv-jm__fig { min-height: 0; padding-block: 4px; }
    .wv-jm__cell--wait .wv-jm__fig { flex: 1 1 auto; min-height: 60px; }
    .wv-jm__cell--next::after,
    .wv-jm__cell--wait::before,
    .wv-jm__hand { display: none; }

    /* Stacked, a station names its own tools: no lane to run along. */
    .wv-jm__st > .wv-jm__cell.wv-jm__cell--tool { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; padding: 0; border-radius: 0; }
    .wv-jm__cell--tool > .wv-jm__lane { display: none; }
    .wv-jm__cell--tool > .wv-jm__feat,
    .wv-jm__cell--span > .wv-jm__feat { flex: 0 1 auto; width: auto; visibility: visible; }

    .wv-jm__cell--net { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: flex-start; gap: 6px 12px; }
    .wv-jm__cell--net > .wv-jm__lane { flex: 0 0 100%; }
    .wv-jm__nettext { flex: 1 1 0; min-width: 0; }

    .wv-jm__tools { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .wv-jm__values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* A phone: one card under another, in the order things happen. At "Send" the
   agency acts before the traveller. */
@media (max-width: 639px) {
    .wv-jm__map { --pill: 34px; padding-left: calc(var(--pill) + 10px); }
    .wv-jm__n { left: calc(-1 * (var(--pill) + 10px)); }
    .wv-jm__st:not(:last-child)::after { left: calc(-1 * (var(--pill) / 2 + 10px) - 1px); }
    .wv-jm__st { grid-template-columns: minmax(0, 1fr); }
    .wv-jm__head { order: 0; }
    .wv-jm__cell--tool { order: 1; }
    .wv-jm__cell--trav { order: 2; }
    .wv-jm__cell--agency { order: 3; }
    .wv-jm__st--up > .wv-jm__cell--trav { order: 4; }
    .wv-jm__cell--net { order: 5; }
    .wv-jm__cell--wait { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
    .wv-jm__cell--wait > .wv-jm__lane { flex: 0 0 100%; }
    .wv-jm__cell--wait .wv-jm__fig { flex: 0 0 auto; min-height: 0; }
    .wv-jm__cap--muted { text-align: left; }
    .wv-jm__tools { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wv-jm__values { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
    .wv-jm__map::before { display: none; }
}

/* --- a feature's page ----------------------------------------------------- */

.wv-ft-ticks { padding-top: 4px; }

/* --- the hero's picture --------------------------------------------------- *
 * The art keeps the box the critical CSS gives every product hero (5:4, then
 * 16:10 when it wraps under the text), so the page does not move when this
 * sheet lands. The drawn email fills that box and is cut off at its foot, as
 * an email is by the bottom of a window.                                     */

.wv-ft-art { background: none; box-shadow: none; }
.wv-ft-win { position: absolute; inset: 0; display: flex; flex-direction: column; overflow: hidden; border: var(--hairline); border-radius: 14px; background: var(--surface-card); box-shadow: var(--shadow-3); }
.wv-ft-win::after { content: ""; position: absolute; inset: auto 0 0; height: 44px; background: linear-gradient(180deg, transparent, var(--surface-card)); pointer-events: none; }
.wv-ft-win__bar { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; padding: 10px 14px; border-bottom: var(--hairline); background: var(--surface-sunken); color: var(--text-muted); font-size: 12px; }
.wv-ft-win__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--border-strong); }
.wv-ft-win__bar span { margin-left: 8px; color: var(--text-strong); font-weight: var(--weight-semibold); }
.wv-ft-win__body { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; font-size: 13px; line-height: 1.45; color: var(--text-body); }
.wv-ft-win__body :where(p, ul, ol, dl) { margin: 0; padding: 0; list-style: none; }
.wv-ft-win__body :where(b, strong) { color: var(--text-heading); font-weight: var(--weight-semibold); }
.wv-hm-mail__brand { font-size: 13px; color: var(--text-strong); }
.wv-hm-mail__brand .wv-dr-logo { width: 20px; height: 20px; border-radius: 6px; }
.wv-hm-mail__intro { font-size: 13.5px; }
.wv-hm-mail__sign { display: flex; align-items: center; gap: 8px; padding-top: 10px; border-top: var(--hairline); }
.wv-hm-mail__sign .wv-dr-av { width: 26px; height: 26px; font-size: 12px; }

.wv-hm-offer { display: flex; gap: 12px; padding: 10px; border: var(--hairline); border-radius: var(--radius-field); }
.wv-hm-offer__ph { width: 76px; height: auto; min-height: 64px; align-self: stretch; }
.wv-hm-offer__txt { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.wv-hm-offer__txt strong { font-size: 14px; }
.wv-hm-offer__facts { font-size: 12px; color: var(--text-muted); }
.wv-hm-offer .wv-dr-note { font-size: 12px; }
.wv-hm-offer__price { font-size: 12px; color: var(--text-muted); }
.wv-hm-offer__price b { font-size: 16px; }
.wv-hm-offer .wv-dr-btn { padding: 4px 14px; font-size: 12px; }
.wv-hm-offer .wv-dr-pill { font-size: 11px; }

/* A card over the window's corner: the next thing that happens. */
.wv-ft-pop { position: absolute; left: -22px; bottom: -46px; width: min(214px, 56%); display: flex; flex-direction: column; gap: 6px; padding: 12px 14px; border: var(--hairline); border-radius: 16px 16px 4px; background: var(--surface-raised); box-shadow: var(--shadow-3); font-size: 12.5px; line-height: 1.4; color: var(--text-body); }
.wv-ft-pop p { margin: 0; }
.wv-ft-pop__tag { display: inline-flex; align-items: center; gap: 4px; align-self: flex-start; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--brand-subtle); color: var(--text-label); font-size: 11px; font-weight: var(--weight-semibold); }
.wv-dr-link { color: var(--text-link); text-decoration: underline; text-underline-offset: 2px; }

/* Under the text the picture starts at the gutter: nothing may hang out left. */
@media (max-width: 900px) {
    .wv-ft-pop { left: 14px; bottom: -14px; }
}
@media (max-width: 560px) {
    .wv-ft-pop { display: none; }
    .wv-hm-offer__ph { width: 56px; }
}

/* --- the layouts ----------------------------------------------------------- */

.wv-hm-lays { list-style: none; margin: clamp(24px, 3vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.wv-hm-lay { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.wv-hm-lay__fig { height: 196px; display: grid; align-items: start; margin-bottom: 8px; padding: 14px; border: var(--hairline); border-radius: var(--radius-card); background: var(--surface-page); overflow: hidden; }
.wv-hm-lay__fig .wv-dr-ui { box-shadow: var(--shadow-1); }
.wv-hm-lay__name { margin: 0; font-size: 17px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-hm-lay__body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
/* A line of text, drawn. */
.wv-dr-line { display: block; height: 6px; border-radius: 3px; background: var(--surface-neutral); }
.wv-dr-line--90 { width: 90%; }
.wv-dr-line--70 { width: 70%; }
.wv-dr-line--50 { width: 50%; }
.wv-dr-res .wv-dr-line { margin-block: 4px; }
/* The fifth is not drawn: it does not exist until an agency asks for it. */
.wv-hm-lay__fig--own { align-items: stretch; border-style: dashed; border-color: var(--brand-border); background: transparent; }
.wv-hm-lay__fig--own .wv-dr-ui { border-style: dashed; background: transparent; box-shadow: none; }
.wv-hm-own { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--text-label); font-size: 12px; font-weight: var(--weight-semibold); }

.wv-ft-box { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: 12px clamp(20px, 4vw, 56px); align-items: start; margin-top: clamp(28px, 3.4vw, 48px); padding: clamp(20px, 2.6vw, 30px); border: var(--hairline); border-radius: var(--radius-card); background: var(--surface-card); }
.wv-ft-box__title { margin: 0; font-size: var(--text-h4); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-heading); color: var(--text-heading); }
.wv-ft-box__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; }

@media (max-width: 1040px) {
    .wv-hm-lays { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; }
}
@media (max-width: 700px) {
    .wv-hm-lays { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .wv-ft-box { grid-template-columns: minmax(0, 1fr); }
    .wv-ft-box__list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) {
    .wv-hm-lays { grid-template-columns: minmax(0, 1fr); }
    .wv-hm-lay__fig { height: auto; }
}

/* --- drawings at reading size, and a few more parts ----------------------- */

.wv-dr-ui--lg { gap: 10px; padding: 16px; box-shadow: var(--shadow-1); font-size: 13px; }
.wv-dr-ui--lg .wv-dr-ui__bar { padding-bottom: 9px; font-size: 13.5px; }
.wv-dr-ui--lg .wv-dr-name { font-size: 15px; }
.wv-dr-ui--lg .wv-dr-b { padding: 7px 10px; }
.wv-dr-ui--lg .wv-dr-tl { gap: 9px; }
.wv-dr-ui--lg .wv-dr-tl li::before { top: 5px; }
.wv-dr-ui--lg .wv-dr-pill, .wv-dr-ui--lg .wv-dr-tags li { font-size: 12px; }
.wv-dr-ui--lg .wv-dr-btn { padding: 6px 14px; font-size: 12.5px; }
.wv-dr-facts { display: flex; flex-direction: column; gap: 6px; }
.wv-dr-facts li { display: flex; align-items: center; gap: 7px; }
.wv-dr-facts .wv-i { color: var(--text-label); }
.wv-dr-pill--sent { background: var(--state-warning-subtle); color: var(--state-warning-text); }

/* --- Holiday Wish: the list, and one request opened ----------------------- */

.wv-hw-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wv-hw-stats div { display: flex; flex-direction: column-reverse; gap: 2px; padding: 8px 10px; border-radius: var(--radius-field); background: var(--surface-sunken); }
.wv-hw-stats dt { font-size: 11px; color: var(--text-muted); }
.wv-hw-stats dd { margin: 0; font-size: 18px; font-weight: var(--weight-semibold); line-height: 1.1; color: var(--text-heading); }
.wv-hw-list { display: flex; flex-direction: column; }
.wv-hw-row { display: grid; grid-template-columns: 66px minmax(0, .9fr) minmax(0, 1.5fr) 82px 56px; align-items: center; gap: 8px; padding: 9px 2px; border-top: var(--hairline); font-size: 12.5px; }
.wv-hw-row--head { padding-block: 2px 6px; border-top: 0; color: var(--text-muted); font-size: 10.5px; font-weight: var(--weight-bold); letter-spacing: var(--tracking-label); text-transform: uppercase; }
.wv-hw-row > :last-child { justify-self: end; }
.wv-hw-row > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-hw-trip { overflow: hidden; color: var(--text-muted); text-overflow: ellipsis; white-space: nowrap; }
.wv-hw-wait { display: inline-flex; align-items: center; gap: 4px; color: var(--text-strong); font-family: var(--font-mono); font-size: 11.5px; white-space: nowrap; }
.wv-hw-wait.is-late { color: var(--state-danger-text); font-weight: var(--weight-semibold); }
.wv-hw-req { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: start; gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
@media (max-width: 900px) {
    .wv-hw-req { grid-template-columns: minmax(0, 1fr); max-width: 520px; }
}
@media (max-width: 560px) {
    .wv-hw-row { grid-template-columns: 62px minmax(0, 1fr) 80px 52px; }
    .wv-hw-trip { display: none; }
}

/* --- Client request form: the form drawn, and its three steps -------------------- */

.wv-fm-steps { display: flex; gap: 6px; }
.wv-fm-steps li { flex: 1 1 0; min-width: 0; display: flex; align-items: center; gap: 6px; padding-bottom: 6px; border-bottom: 2px solid var(--border-hairline); color: var(--text-muted); font-size: 11.5px; font-weight: var(--weight-semibold); white-space: nowrap; }
.wv-fm-steps i { width: 18px; height: 18px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 50%; background: var(--surface-neutral); font-size: 10.5px; font-style: normal; }
.wv-fm-steps .is-on { border-color: var(--brand); color: var(--text-heading); }
.wv-fm-steps .is-on i { background: var(--brand); color: var(--text-on-brand); }
.wv-fm-field { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.wv-fm-field__label { font-size: 11px; color: var(--text-muted); }
.wv-fm-field__box { min-height: 32px; display: flex; align-items: center; gap: 6px; padding: 5px 9px; overflow: hidden; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface-card); color: var(--text-strong); font-size: 12.5px; white-space: nowrap; }
.wv-fm-field__box > .wv-i { color: var(--text-label); }
.wv-fm-chip { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: var(--radius-pill); background: var(--brand-subtle); color: var(--text-label); font-size: 11.5px; font-weight: var(--weight-semibold); }
.wv-fm-next { align-self: flex-end; padding: 5px 16px; font-size: 12px; }
.wv-fm-consent { display: flex; align-items: center; gap: 6px; }
.wv-fm-consent .wv-i { color: var(--state-success); }
.wv-fm-screens { list-style: none; margin: clamp(24px, 3vw, 44px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.wv-fm-screens > li { min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.wv-fm-screens .wv-dr-ui { flex: 1 1 auto; margin-bottom: 10px; }
.wv-fm-screens__name { margin: 0; font-size: 17px; font-weight: var(--weight-semibold); color: var(--text-heading); }
.wv-fm-screens__body { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-body); text-wrap: pretty; }
@media (max-width: 900px) {
    .wv-fm-screens { grid-template-columns: minmax(0, 1fr); max-width: 460px; }
}

/* --- B2B Travel Search: the search answering, and a quote ----------------- */

.wv-bs-ops { display: flex; flex-wrap: wrap; gap: 6px; }
.wv-bs-ops li { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border: var(--hairline); border-radius: var(--radius-pill); background: var(--surface-card); color: var(--text-muted); font-size: 11.5px; white-space: nowrap; }
.wv-bs-ops .is-done { color: var(--text-strong); }
.wv-bs-ops .is-done .wv-i { color: var(--state-success); }
.wv-bs-ops b { font-family: var(--font-mono); font-size: 11px; }
.wv-bs-sum { font-size: 12px; color: var(--text-muted); }
.wv-bs-list { display: flex; flex-direction: column; }
.wv-bs-row { display: grid; grid-template-columns: 20px 44px minmax(0, 1.5fr) 24px minmax(0, 1fr) auto auto; align-items: center; gap: 8px; padding: 9px 4px; border-top: var(--hairline); font-size: 12.5px; }
.wv-bs-row > strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wv-bs-row > b { font-size: 14px; }
.wv-bs-add { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-card); box-shadow: var(--shadow-hairline); color: var(--brand); }
.wv-bs-row.is-added { background: var(--state-success-subtle); }
.wv-bs-row.is-added .wv-bs-add { background: var(--state-success); box-shadow: none; color: var(--surface-card); }
.wv-bs-date, .wv-bs-op { overflow: hidden; color: var(--text-muted); text-overflow: ellipsis; white-space: nowrap; }
.wv-bs-meal { color: var(--text-muted); font-family: var(--font-mono); font-size: 11px; }
.wv-bs-quote { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: start; gap: 14px; margin-top: clamp(24px, 3vw, 44px); }
.wv-bs-cmp { width: 100%; border-collapse: collapse; font-size: 13px; }
.wv-bs-cmp th { width: 26%; padding: 8px 8px 8px 0; color: var(--text-muted); font-weight: var(--weight-medium); text-align: left; white-space: nowrap; }
.wv-bs-cmp td { padding: 8px 10px; border-left: var(--hairline); }
.wv-bs-cmp tr + tr > * { border-top: var(--hairline); }
.wv-bs-cmp .is-diff td { background: var(--state-warning-subtle); }
.wv-bs-cmp td.is-best { background: var(--state-success-subtle); }
@media (max-width: 800px) {
    .wv-bs-quote { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .wv-bs-row { grid-template-columns: 20px minmax(0, 1fr) auto auto; }
    .wv-bs-date, .wv-bs-meal, .wv-bs-op { display: none; }
}

/* A box of ticks under a band's picture, with or without a title. */
.wv-ft-box--plain { grid-template-columns: minmax(0, 1fr); }
.wv-ft-box--plain .wv-ft-box__list { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 900px) {
    .wv-ft-box--plain .wv-ft-box__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .wv-ft-box--plain .wv-ft-box__list { grid-template-columns: minmax(0, 1fr); }
}

/* A system's own page lists its features with the map's cards: three across,
   the name as the link and the whole card its target. */
.wv-ft-more__title { margin: 0; font-size: var(--text-h3); font-weight: var(--weight-semibold); letter-spacing: var(--tracking-heading); color: var(--text-heading); }
.wv-jm__tools.wv-ft-more { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wv-ft-more .wv-jm__toollink { margin-top: 0; font-size: 16px; color: var(--text-heading); }
.wv-ft-more .wv-jm__tool:hover .wv-jm__toollink { color: var(--text-link); }
@media (max-width: 900px) {
    .wv-jm__tools.wv-ft-more { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .wv-jm__tools.wv-ft-more { grid-template-columns: minmax(0, 1fr); }
}
