/* css/tokens.css */
/* ==========================================================================
   Weesify "Aurora" design tokens v2 — docs/design/DESIGN_LANGUAGE.md
   Emerald identity, lime energy, violet intelligence (Assist), tangerine heat.
   Single source of truth for colour, type, space, radius, elevation, motion.
   ========================================================================== */
@layer reset, tokens, base, components, utilities;

@font-face { font-family: "Manrope"; font-weight: 200 800; font-style: normal; font-display: swap; src: url("/fonts/Manrope-Variable.woff") format("woff"); }
@font-face { font-family: "Urbanist"; font-weight: 100 900; font-style: normal; font-display: swap; src: url("/fonts/Urbanist-Variable.woff") format("woff"); }
@font-face { font-family: "Instrument Serif"; font-weight: 400; font-style: italic; font-display: swap; src: url("/fonts/InstrumentSerif-Italic.woff") format("woff"); }

@layer tokens {
  :root {
    color-scheme: light;

    /* ---- Brand palette ---- */
    --emerald-50: #E9FDF4;
    --emerald-100: #CFFAE6;
    --emerald-200: #9EF2CD;
    --emerald-300: #5FE6AE;
    --emerald-400: #25D695;
    --emerald-500: #0BC284;
    --emerald-600: #07A06C;
    --emerald-700: #067C55;
    --emerald-800: #065E41;
    --forest-900: #062A1E;
    --forest-950: #03170F;
    --ink-raw: #0B0F0D;

    --lime-300: #D9FB8F;
    --lime-400: #C2F45B;
    --lime-500: #A6E635;

    --violet-300: #C4B5FF;
    --violet-400: #A08BFF;
    --violet-500: #7C5CFF;
    --violet-600: #6441F2;
    --violet-700: #4B2BC9;

    --tangerine-400: #FF9A5C;
    --tangerine-500: #FF7A3D;
    --tangerine-600: #E85D1E;

    --sky-500: #3B8BFF;
    --rose-500: #FF4D8D;

    /* Stone neutrals (warm-green tint) */
    --moss-0: #FFFFFF;
    --moss-25: #FBFBF9;
    --moss-50: #F5F6F3;
    --moss-100: #EEF0EC;
    --moss-200: #E4E7E2;
    --moss-300: #CDD2CB;
    --moss-400: #9BA39B;
    --moss-500: #6B736C;
    --moss-600: #4A524C;
    --moss-700: #333A35;
    --moss-800: #1E2420;
    --moss-900: #111512;

    /* ---- Semantic surfaces ---- */
    --canvas: #F1F2EE;
    --surface: #FFFFFF;
    --surface-2: #FAFAF8;
    --surface-sunken: #F4F5F2;
    --surface-hover: #F4F5F1;
    --surface-active: #ECEEE9;
    --overlay: rgb(8 12 10 / 0.42);
    --glass: rgb(255 255 255 / 0.72);
    --glass-strong: rgb(255 255 255 / 0.86);
    --glass-line: rgb(255 255 255 / 0.7);

    --ink: var(--ink-raw);
    --text: #262C28;
    --text-muted: #6B736C;
    --text-subtle: #9BA39B;
    --text-on-ink: #F6FAF7;
    --line: #E6E9E4;
    --line-strong: #D5DAD3;

    --accent: var(--emerald-500);
    --accent-hover: var(--emerald-600);
    --accent-text: var(--emerald-700);
    --accent-soft: var(--emerald-50);
    --accent-soft-2: var(--emerald-100);
    --assist: var(--violet-500);
    --assist-soft: #F1EDFF;
    --assist-text: var(--violet-600);
    --heat: var(--tangerine-500);
    --heat-soft: #FFF1E9;

    --success: var(--emerald-600);
    --success-soft: var(--emerald-50);
    --warning: #B86F00;
    --warning-soft: #FFF5E0;
    --danger: #D93A3A;
    --danger-soft: #FDECEC;
    --info: #2563EB;
    --info-soft: #EAF1FE;

    /* Data viz: validated categorical order (see dataviz notes in DESIGN_LANGUAGE.md) */
    --chart-1: #0BC284;
    --chart-2: #7C5CFF;
    --chart-3: #FF7A3D;
    --chart-4: #3B8BFF;
    --chart-5: #E4A11B;
    --chart-6: #FF4D8D;

    /* ---- Signature gradients ---- */
    --grad-aurora: linear-gradient(120deg, #0BC284 0%, #25D695 22%, #7C5CFF 62%, #FF7A3D 100%);
    --grad-brand: linear-gradient(135deg, #C2F45B 0%, #25D695 55%, #0BC284 100%);
    --grad-forest: radial-gradient(120% 120% at 100% 0%, rgb(37 214 149 / .55) 0%, transparent 52%), linear-gradient(155deg, #0B3B2A 0%, #062A1E 48%, #03170F 100%);
    --grad-violet: radial-gradient(120% 120% at 100% 0%, rgb(196 181 255 / .5) 0%, transparent 55%), linear-gradient(155deg, #7C5CFF 0%, #5B3BE8 55%, #3A1FB0 100%);
    --grad-sunset: radial-gradient(120% 120% at 0% 0%, rgb(255 214 170 / .6) 0%, transparent 50%), linear-gradient(150deg, #FF9A5C 0%, #FF7A3D 45%, #E8531E 100%);
    --grad-ink: radial-gradient(120% 140% at 100% 0%, rgb(124 92 255 / .35) 0%, transparent 45%), radial-gradient(90% 120% at 0% 100%, rgb(11 194 132 / .28) 0%, transparent 50%), linear-gradient(160deg, #15191A 0%, #0B0D0C 100%);
    --grad-mesh: radial-gradient(60% 60% at 12% 8%, rgb(194 244 91 / .28), transparent 60%), radial-gradient(50% 55% at 88% 12%, rgb(124 92 255 / .20), transparent 60%), radial-gradient(60% 60% at 70% 100%, rgb(11 194 132 / .18), transparent 60%);
    --hatch: repeating-linear-gradient(135deg, rgb(255 255 255 / .38) 0 2px, transparent 2px 7px);

    --focus-ring: 0 0 0 3px rgb(11 194 132 / 0.32);

    /* ---- Typography ---- */
    --font-sans: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-display: "Urbanist", "Manrope", ui-sans-serif, system-ui, sans-serif;
    --font-accent: "Instrument Serif", "Iowan Old Style", Georgia, serif;
    --font-mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
    --fs-micro: 0.75rem;    /* 12 */
    --fs-small: 0.8125rem;  /* 13 */
    --fs-body: 0.875rem;    /* 14 */
    --fs-h3: 1.0625rem;     /* 17 */
    --fs-h2: 1.375rem;      /* 22 */
    --fs-h1: clamp(1.75rem, 1.2rem + 1.6vw, 2.25rem);
    --fs-display: clamp(2.5rem, 1.4rem + 4.6vw, 4.75rem);

    /* ---- Space (4px base) ---- */
    --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
    --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-14: 56px;

    /* ---- Radius ---- */
    --r-xs: 7px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-2xl: 36px; --r-pill: 999px;

    /* ---- Elevation ---- */
    --e1: 0 1px 2px rgb(20 28 22 / 0.04), 0 0 0 1px rgb(20 28 22 / 0.02);
    --e2: 0 10px 30px -10px rgb(20 28 22 / 0.16), 0 2px 6px rgb(20 28 22 / 0.05);
    --e3: 0 30px 80px -20px rgb(20 28 22 / 0.32), 0 6px 16px rgb(20 28 22 / 0.08);
    --e-glow: 0 18px 50px -12px rgb(11 194 132 / 0.45);
    --e-glow-violet: 0 18px 50px -12px rgb(124 92 255 / 0.5);
    --e-inset: inset 0 1px 0 rgb(255 255 255 / 0.7);

    /* ---- Motion ---- */
    --t-instant: 80ms; --t-fast: 150ms; --t-base: 240ms; --t-slow: 380ms; --t-lazy: 700ms;
    --ease-out: cubic-bezier(.22, 1, .36, 1);
    --ease-in: cubic-bezier(.4, 0, 1, 1);
    --ease-spring: cubic-bezier(.34, 1.45, .64, 1);

    /* ---- Layout ---- */
    --sidebar-w: 260px;
    --sidebar-rail: 72px;
    --shell-gap: 10px;
    --topbar-h: 64px;
  }

  :root[data-theme="dark"] {
    color-scheme: dark;
    --canvas: #08090A;
    --surface: #111315;
    --surface-2: #14171A;
    --surface-sunken: #0C0E10;
    --surface-hover: #1A1D20;
    --surface-active: #202428;
    --overlay: rgb(0 0 0 / 0.62);
    --glass: rgb(22 25 28 / 0.66);
    --glass-strong: rgb(22 25 28 / 0.86);
    --glass-line: rgb(255 255 255 / 0.08);

    --ink: #F4F6F5;
    --text: #D9DEDB;
    --text-muted: #8E9692;
    --text-subtle: #626A66;
    --text-on-ink: #0B0F0D;
    --line: rgb(255 255 255 / 0.07);
    --line-strong: rgb(255 255 255 / 0.12);

    --accent: #2BE3A2;
    --accent-hover: #5CEFBC;
    --accent-text: #6FF2C6;
    --accent-soft: rgb(43 227 162 / 0.10);
    --accent-soft-2: rgb(43 227 162 / 0.18);
    --assist: #9A83FF;
    --assist-soft: rgb(124 92 255 / 0.14);
    --assist-text: #B9A9FF;
    --heat: #FF9A5C;
    --heat-soft: rgb(255 122 61 / 0.14);

    --success: #3DDC9A;
    --success-soft: rgb(61 220 154 / 0.12);
    --warning: #F0B44C;
    --warning-soft: rgb(240 180 76 / 0.12);
    --danger: #F17171;
    --danger-soft: rgb(241 113 113 / 0.12);
    --info: #7BA5FF;
    --info-soft: rgb(123 165 255 / 0.12);

    --chart-1: #0FA873; /* validated: scripts/validate_palette.js --mode dark */
    --chart-2: #8468FF;
    --chart-3: #E0692F;
    --chart-4: #4388F0;
    --chart-5: #BC8C14;
    --chart-6: #EC4C87;

    --grad-mesh: radial-gradient(55% 55% at 10% 0%, rgb(43 227 162 / .16), transparent 60%), radial-gradient(45% 50% at 90% 5%, rgb(124 92 255 / .20), transparent 60%), radial-gradient(60% 60% at 60% 100%, rgb(255 122 61 / .08), transparent 60%);
    --hatch: repeating-linear-gradient(135deg, rgb(0 0 0 / .28) 0 2px, transparent 2px 7px);

    --focus-ring: 0 0 0 3px rgb(43 227 162 / 0.32);
    --e1: 0 1px 2px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.02);
    --e2: 0 14px 34px -10px rgb(0 0 0 / 0.7), 0 2px 6px rgb(0 0 0 / 0.35);
    --e3: 0 34px 90px -16px rgb(0 0 0 / 0.85);
    --e-inset: inset 0 1px 0 rgb(255 255 255 / 0.05);
  }

  @media (prefers-reduced-motion: reduce) {
    :root { --t-instant: 1ms; --t-fast: 1ms; --t-base: 1ms; --t-slow: 1ms; --t-lazy: 1ms; }
  }
}

/* css/base.css */
/* Reset + base typography ------------------------------------------------- */
@layer reset {
  *, *::before, *::after { box-sizing: border-box; }
  * { margin: 0; }
  html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  body { min-height: 100dvh; line-height: 1.5; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
  img, picture, video, canvas, svg { display: block; max-width: 100%; }
  input, button, textarea, select { font: inherit; color: inherit; }
  button { background: none; border: 0; padding: 0; cursor: pointer; }
  a { color: inherit; text-decoration: none; }
  p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
  ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
  table { border-collapse: collapse; }
  [hidden] { display: none !important; }
  [x-cloak] { display: none !important; }
}

@layer base {
  html { background: var(--canvas); }
  body {
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    line-height: 1.57;
    color: var(--text);
    background: var(--canvas);
    font-feature-settings: "kern", "calt";
    font-weight: 450;
  }
  h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
  h1 { font-size: var(--fs-h1); letter-spacing: -0.035em; }
  h2 { font-size: var(--fs-h2); }
  h3 { font-size: var(--fs-h3); }
  strong, b { font-weight: 650; color: var(--ink); }
  small { font-size: var(--fs-small); }
  code, kbd, samp { font-family: var(--font-mono); font-size: 0.92em; }
  ::selection { background: var(--accent-soft-2); color: var(--ink); }

  :focus { outline: none; }
  :focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: var(--r-sm); }

  /* Scrollbars: quiet, thin */
  * { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }

  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .skip-link { position: absolute; inset-inline-start: 12px; top: -48px; z-index: 100; padding: 8px 14px; border-radius: var(--r-sm); background: var(--ink); color: var(--text-on-ink); transition: top var(--t-fast) var(--ease-out); }
  .skip-link:focus { top: 12px; }

  .serif-accent, em.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
  .display { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.04em; line-height: 1.02; color: var(--ink); }
  .tabular { font-variant-numeric: tabular-nums; }

  /* Right-to-left (ADR-0058). Machine text (code, URLs, emails, phone numbers, tokens) keeps reading left to right. */
  [dir="rtl"] :is(pre, code, kbd, samp, .mono, .dv-code, .mb-code, .cs-code, .dc-code-input) { direction: ltr; unicode-bidi: isolate; }
  [dir="rtl"] input:is([type="url"], [type="email"], [type="tel"]) { direction: ltr; }
  /* Sign for transforms that move along the reading direction: translateX(calc(24px * var(--dir-sign, 1))). */
  [dir="rtl"] { --dir-sign: -1; }
  [dir="ltr"] { --dir-sign: 1; }
  /* Mirrored icons (.flip-rtl) keep their mirror when a hover rule sets its own transform: … scaleX(var(--flip-x, 1)). */
  [dir="rtl"] .flip-rtl { --flip-x: -1; }
}

/* css/components/controls.css */
/* Buttons, inputs, choice controls ---------------------------------------- */
@layer components {
  /* ---- Button ---- */
  .btn {
    --btn-h: 36px;
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    height: var(--btn-h); padding: 0 14px;
    border-radius: var(--r-sm); border: 1px solid transparent;
    font-size: var(--fs-body); font-weight: 500; line-height: 1; white-space: nowrap;
    user-select: none; position: relative;
    transition: background var(--t-fast) var(--ease-out), border-color var(--t-fast) var(--ease-out),
                color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out),
                transform var(--t-instant) var(--ease-out);
  }
  .btn:active:not(:disabled) { transform: translateY(1px) scale(0.99); }
  .btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
  .btn svg { width: 16px; height: 16px; flex: none; }
  .btn .kbd { margin-inline-start: 2px; }

  .btn-primary { background: var(--ink); color: var(--text-on-ink); box-shadow: var(--e1), inset 0 1px 0 rgb(255 255 255 / .08); }
  .btn-primary:hover:not(:disabled) { background: color-mix(in oklab, var(--ink) 88%, var(--accent)); }
  .btn-primary .kbd { background: rgb(255 255 255 / .12); color: inherit; border-color: rgb(255 255 255 / .16); }
  :root[data-theme="dark"] .btn-primary .kbd { background: rgb(0 0 0 / .08); border-color: rgb(0 0 0 / .12); }

  .btn-brand { background: linear-gradient(180deg, var(--emerald-500), var(--emerald-600)); color: #fff; box-shadow: var(--e1), inset 0 1px 0 rgb(255 255 255 / .2); }
  .btn-brand:hover:not(:disabled) { background: linear-gradient(180deg, var(--emerald-600), var(--emerald-700)); }

  .btn-secondary { background: var(--surface); color: var(--ink); border-color: var(--line-strong); box-shadow: var(--e1); }
  .btn-secondary:hover:not(:disabled) { background: var(--surface-hover); border-color: var(--moss-400); }

  .btn-ghost { background: transparent; color: var(--text); }
  .btn-ghost:hover:not(:disabled) { background: var(--surface-hover); color: var(--ink); }

  .btn-danger { background: var(--danger); color: #fff; }
  .btn-danger:hover:not(:disabled) { background: color-mix(in oklab, var(--danger) 88%, black); }
  .btn-danger-ghost { color: var(--danger); }
  .btn-danger-ghost:hover:not(:disabled) { background: var(--danger-soft); }

  .btn-sm { --btn-h: 30px; padding: 0 10px; font-size: var(--fs-small); gap: 6px; }
  .btn-lg { --btn-h: 44px; padding: 0 20px; font-size: 0.9375rem; border-radius: 10px; }
  .btn-block { width: 100%; }
  .btn-icon { width: var(--btn-h); padding: 0; }

  .btn .btn-spinner { display: none; }
  .btn[data-loading] .btn-label, .btn.is-loading .btn-label { opacity: 0; }
  .btn[data-loading] .btn-spinner, .btn.is-loading .btn-spinner { display: block; position: absolute; animation: spin .7s linear infinite; }

  /* ---- Keyboard hint ---- */
  .kbd {
    display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 5px;
    font-family: var(--font-sans); font-size: 11px; font-weight: 500; line-height: 1;
    color: var(--text-muted); background: var(--surface-sunken); border: 1px solid var(--line); border-radius: var(--r-xs);
  }

  /* ---- Field ---- */
  .field { display: grid; gap: 6px; }
  .field-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
  .field-label .optional { font-weight: 400; color: var(--text-subtle); }
  .field-hint { font-size: var(--fs-micro); color: var(--text-muted); line-height: 1.45; }
  .field-error { font-size: var(--fs-micro); color: var(--danger); display: flex; gap: 6px; align-items: center; }
  .field-error svg { width: 14px; height: 14px; }

  .input, .select, .textarea {
    width: 100%; min-height: 38px; padding: 8px 12px;
    background: var(--surface); color: var(--ink);
    border: 1px solid var(--line-strong); border-radius: var(--r-sm);
    box-shadow: var(--e1);
    transition: border-color var(--t-fast) var(--ease-out), box-shadow var(--t-fast) var(--ease-out), background var(--t-fast);
  }
  .input::placeholder, .textarea::placeholder { color: var(--text-subtle); }
  .input:hover, .select:hover, .textarea:hover { border-color: var(--moss-400); }
  .input:focus, .select:focus, .textarea:focus { border-color: var(--accent); box-shadow: var(--focus-ring); outline: none; }
  .input[aria-invalid="true"], .textarea[aria-invalid="true"], .select[aria-invalid="true"] { border-color: var(--danger); }
  .input[aria-invalid="true"]:focus { box-shadow: 0 0 0 3px color-mix(in oklab, var(--danger) 25%, transparent); }
  .input:disabled { background: var(--surface-sunken); color: var(--text-muted); }
  .textarea { min-height: 88px; resize: vertical; line-height: 1.5; }
  .select { appearance: none; padding-inline-end: 34px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236A7872' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 15 5 5 5-5'/%3E%3Cpath d='m7 9 5-5 5 5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; }
  [dir="rtl"] .select { background-position: left 10px center; }
  .input-lg { min-height: 46px; font-size: 0.9375rem; padding: 10px 14px; border-radius: 10px; }

  /* Input group: [prefix][input][suffix] */
  .input-group { display: flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); box-shadow: var(--e1); transition: border-color var(--t-fast), box-shadow var(--t-fast); overflow: hidden; }
  .input-group:hover { border-color: var(--moss-400); }
  .input-group:focus-within { border-color: var(--accent); box-shadow: var(--focus-ring); }
  .input-group .input, .input-group .select { border: 0; box-shadow: none; border-radius: 0; min-width: 0; }
  .input-group .input:focus, .input-group .select:focus { box-shadow: none; }
  .input-addon { display: flex; align-items: center; gap: 6px; padding: 0 12px; background: var(--surface-sunken); color: var(--text-muted); font-size: var(--fs-small); white-space: nowrap; border-inline-end: 1px solid var(--line); }
  .input-addon:last-child { border-inline-end: 0; border-inline-start: 1px solid var(--line); }
  .input-addon svg { width: 16px; height: 16px; }
  .input-icon { position: relative; }
  .input-icon > svg { position: absolute; inset-inline-start: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--text-subtle); pointer-events: none; }
  .input-icon > .input { padding-inline-start: 36px; }

  /* ---- Toggle (switch) ---- */
  .switch { position: relative; display: inline-flex; width: 36px; height: 20px; flex: none; }
  .switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
  .switch-track { position: absolute; inset: 0; border-radius: var(--r-pill); background: var(--moss-300); transition: background var(--t-fast) var(--ease-out); }
  .switch-track::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgb(0 0 0 / .2); transition: transform var(--t-base) var(--ease-spring); }
  .switch input:checked + .switch-track { background: var(--accent); }
  .switch input:checked + .switch-track::after { transform: translateX(calc(16px * var(--dir-sign, 1))); }
  .switch input:focus-visible + .switch-track { box-shadow: var(--focus-ring); }
  :root[data-theme="dark"] .switch-track { background: var(--line-strong); }

  .toggle-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 12px 0; }
  .toggle-row + .toggle-row { border-top: 1px solid var(--line); }
  .toggle-row-title { font-weight: 500; color: var(--ink); }
  .toggle-row-desc { font-size: var(--fs-small); color: var(--text-muted); }

  /* ---- Checkbox / radio ---- */
  .check { appearance: none; width: 16px; height: 16px; flex: none; border: 1px solid var(--line-strong); border-radius: 4px; background: var(--surface); display: inline-grid; place-content: center; transition: background var(--t-fast), border-color var(--t-fast); cursor: pointer; }
  .check::before { content: ""; width: 10px; height: 10px; transform: scale(0); transition: transform var(--t-fast) var(--ease-spring); clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%); background: #fff; }
  .check:checked { background: var(--ink); border-color: var(--ink); }
  .check:checked::before { transform: scale(1); }
  .check[type="radio"] { border-radius: 50%; }
  .check[type="radio"]::before { clip-path: circle(50%); width: 6px; height: 6px; }

  /* ---- Segmented control ---- */
  .segmented { display: inline-flex; padding: 3px; gap: 2px; background: var(--surface-sunken); border: 1px solid var(--line); border-radius: 10px; }
  .segmented > * { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 7px; font-size: var(--fs-small); font-weight: 500; color: var(--text-muted); transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast); }
  .segmented > *:hover { color: var(--ink); }
  .segmented > [aria-pressed="true"], .segmented > [aria-selected="true"], .segmented > .is-active { background: var(--surface); color: var(--ink); box-shadow: var(--e1), 0 0 0 1px var(--line); }
  .segmented svg { width: 15px; height: 15px; }

  /* ---- Choice cards (large selectable tiles, onboarding & pickers) ---- */
  .choice-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
  .choice {
    position: relative; display: flex; flex-direction: column; gap: 6px; text-align: start; padding: 14px;
    border: 1px solid var(--line-strong); border-radius: var(--r-md); background: var(--surface);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease-out), background var(--t-fast);
    cursor: pointer;
  }
  .choice:hover { border-color: var(--moss-400); transform: translateY(-1px); box-shadow: var(--e2); }
  .choice:has(input:checked), .choice.is-selected { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--surface)); box-shadow: 0 0 0 1px var(--accent), var(--e1); }
  .choice:has(input:focus-visible) { box-shadow: var(--focus-ring); }
  .choice input { position: absolute; opacity: 0; pointer-events: none; }
  .choice-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink); border: 1px solid var(--line); }
  .choice:has(input:checked) .choice-icon, .choice.is-selected .choice-icon { background: var(--ink); color: var(--text-on-ink); border-color: transparent; }
  .choice-icon svg { width: 18px; height: 18px; }
  .choice-title { font-weight: 500; color: var(--ink); }
  .choice-desc { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.4; }
  .choice-check { position: absolute; top: 12px; inset-inline-end: 12px; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; transition: all var(--t-fast); }
  .choice:has(input:checked) .choice-check, .choice.is-selected .choice-check { background: var(--accent); border-color: var(--accent); color: #fff; }
  .choice-check svg { width: 12px; height: 12px; opacity: 0; }
  .choice:has(input:checked) .choice-check svg, .choice.is-selected .choice-check svg { opacity: 1; }

  /* Option tiles (visual pickers in builder) */
  .tile-grid { display: grid; gap: 8px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tile { display: grid; gap: 6px; text-align: center; font-size: var(--fs-micro); color: var(--text-muted); cursor: pointer; }
  .tile-preview { aspect-ratio: 1 / 0.8; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface-sunken); display: grid; place-items: center; overflow: hidden; transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast); }
  .tile:hover .tile-preview { border-color: var(--moss-400); transform: translateY(-1px); }
  .tile.is-selected .tile-preview, .tile:has(input:checked) .tile-preview { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
  .tile.is-selected, .tile:has(input:checked) { color: var(--ink); font-weight: 500; }
  .tile input { position: absolute; opacity: 0; pointer-events: none; }

  /* Colour swatch input */
  .color-field { display: flex; align-items: center; gap: 8px; }
  .color-field input[type="color"] { appearance: none; width: 38px; height: 38px; padding: 3px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
  .color-field input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
  .color-field input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 5px; }
  .color-field input[type="color"]::-moz-color-swatch { border: 0; border-radius: 5px; }

  input[type="range"].range { width: 100%; accent-color: var(--accent); }

  @keyframes spin { to { rotate: 360deg; } }
}

/* css/components/surfaces.css */
/* Cards, badges, menus, dialogs, drawers, toasts, empty states, skeletons */
@layer components {
  /* ---- Card ---- */
  .card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--e1); }
  .card-pad { padding: var(--s-5); }
  .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; border-bottom: 1px solid var(--line); }
  .card-title { font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
  .card-subtitle { font-size: var(--fs-small); color: var(--text-muted); }
  .card-body { padding: 20px; }
  .card-footer { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); background: var(--surface-2); border-radius: 0 0 var(--r-lg) var(--r-lg); }
  .card-interactive { transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast) var(--ease-out); }
  .card-interactive:hover { border-color: var(--line-strong); box-shadow: var(--e2); transform: translateY(-1px); }

  /* ---- Badge / pill ---- */
  .badge { display: inline-flex; align-items: center; gap: 5px; height: 22px; padding: 0 8px; border-radius: var(--r-pill); font-size: var(--fs-micro); font-weight: 500; line-height: 1; white-space: nowrap; background: var(--surface-sunken); color: var(--text); border: 1px solid var(--line); }
  .badge svg { width: 12px; height: 12px; }
  .badge-accent { background: var(--accent-soft); color: var(--accent-text); border-color: color-mix(in oklab, var(--accent) 25%, transparent); }
  .badge-warning { background: var(--warning-soft); color: var(--warning); border-color: color-mix(in oklab, var(--warning) 25%, transparent); }
  .badge-danger { background: var(--danger-soft); color: var(--danger); border-color: color-mix(in oklab, var(--danger) 25%, transparent); }
  .badge-info { background: var(--info-soft); color: var(--info); border-color: color-mix(in oklab, var(--info) 25%, transparent); }
  .badge-ink { background: var(--ink); color: var(--text-on-ink); border-color: transparent; }
  .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
  .dot-live { color: var(--accent); box-shadow: 0 0 0 0 currentColor; animation: pulse 2s var(--ease-out) infinite; }

  .delta { display: inline-flex; align-items: center; gap: 2px; padding: 2px 6px; border-radius: var(--r-pill); font-size: var(--fs-micro); font-weight: 500; }
  .delta svg { width: 12px; height: 12px; }
  .delta-up { color: var(--accent-text); background: var(--accent-soft); }
  .delta-down { color: var(--danger); background: var(--danger-soft); }
  .delta-flat { color: var(--text-muted); background: var(--surface-sunken); }

  /* ---- Avatar ---- */
  .avatar { --size: 32px; width: var(--size); height: var(--size); flex: none; border-radius: 50%; display: grid; place-items: center; font-size: calc(var(--size) * .38); font-weight: 500; color: var(--ink); background: linear-gradient(135deg, var(--emerald-100), var(--moss-100)); border: 1px solid var(--line); overflow: hidden; }
  .avatar img { width: 100%; height: 100%; object-fit: cover; }
  .avatar-square { border-radius: 9px; }
  .avatar-ws { background: linear-gradient(135deg, var(--emerald-500), var(--forest-900)); color: #fff; border: 0; }

  /* ---- Menu / popover ---- */
  .menu {
    min-width: 220px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--e2);
    transform-origin: var(--origin, top right);
  }
  .menu-item { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 7px; font-size: var(--fs-body); color: var(--text); text-align: start; transition: background var(--t-instant), color var(--t-instant); }
  .menu-item:hover, .menu-item:focus-visible { background: var(--surface-hover); color: var(--ink); box-shadow: none; }
  .menu-item svg { width: 16px; height: 16px; color: var(--text-muted); flex: none; }
  .menu-item .kbd { margin-inline-start: auto; }
  .menu-item-danger, .menu-item-danger svg { color: var(--danger); }
  .menu-item-danger:hover { background: var(--danger-soft); color: var(--danger); }
  .menu-sep { height: 1px; margin: 6px -6px; background: var(--line); }
  .menu-label { padding: 6px 10px 4px; font-size: var(--fs-micro); color: var(--text-subtle); font-weight: 500; text-transform: uppercase; letter-spacing: .04em; }

  /* Transition classes for Alpine x-transition (entrance/exit) */
  .pop-enter { transition: opacity var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out); }
  .pop-enter-start { opacity: 0; transform: scale(.97) translateY(-4px); }
  .pop-enter-end { opacity: 1; transform: none; }
  .pop-leave { transition: opacity var(--t-instant) var(--ease-in), transform var(--t-instant) var(--ease-in); }
  .pop-leave-start { opacity: 1; }
  .pop-leave-end { opacity: 0; transform: scale(.98); }

  /* ---- Dialog / sheet ---- */
  .overlay { position: fixed; inset: 0; z-index: 60; background: var(--overlay); backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px); }
  .dialog-wrap { position: fixed; inset: 0; z-index: 61; display: grid; place-items: start center; padding: 10vh 16px 16px; overflow-y: auto; }
  .dialog { width: 100%; max-width: var(--dialog-w, 520px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--e3); overflow: hidden; }
  .dialog-lg { --dialog-w: 860px; }
  .dialog-md { --dialog-w: 640px; }
  .dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px 14px; }
  .dialog-title { font-size: var(--fs-h3); font-weight: 500; color: var(--ink); display: flex; align-items: center; gap: 8px; }
  .dialog-body { padding: 4px 22px 22px; }
  .dialog-footer { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 14px 22px; border-top: 1px solid var(--line); background: var(--surface-2); }
  .dialog-enter { transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
  .dialog-enter-start { opacity: 0; transform: translateY(10px) scale(.98); }
  .dialog-enter-end { opacity: 1; transform: none; }
  .fade-enter { transition: opacity var(--t-base) var(--ease-out); }
  .fade-leave { transition: opacity var(--t-fast) var(--ease-in); }
  .fade-start { opacity: 0; }
  .fade-end { opacity: 1; }

  .drawer { position: fixed; z-index: 61; top: 8px; inset-inline-end: 8px; bottom: 8px; width: min(520px, calc(100vw - 16px)); display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--e3); overflow: hidden; }
  .drawer-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 12px; border-bottom: 1px solid var(--line); }
  .drawer-body { flex: 1; overflow-y: auto; padding: 20px; align-content: start; }
  .drawer-enter { transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-out); }
  .drawer-enter-start { opacity: 0; transform: translateX(calc(24px * var(--dir-sign, 1))); }
  .drawer-enter-end { opacity: 1; transform: none; }
  .drawer-leave { transition: opacity var(--t-fast) var(--ease-in), transform var(--t-fast) var(--ease-in); }
  .drawer-leave-end { opacity: 0; transform: translateX(calc(16px * var(--dir-sign, 1))); }

  @media (max-width: 640px) {
    .dialog-wrap { place-items: end stretch; padding: 0; }
    .dialog { max-width: none; border-radius: var(--r-xl) var(--r-xl) 0 0; max-height: 92dvh; overflow-y: auto; }
    .dialog-enter-start { transform: translateY(32px); }
    .drawer { top: auto; left: 0; right: 0; bottom: 0; width: 100%; max-height: 92dvh; border-radius: var(--r-xl) var(--r-xl) 0 0; }
    .drawer-enter-start { transform: translateY(32px); }
  }

  /* ---- Toasts ---- */
  .toasts { position: fixed; z-index: 80; bottom: 16px; inset-inline-end: 16px; display: grid; gap: 8px; width: min(380px, calc(100vw - 32px)); }
  .toast { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: var(--ink); color: var(--text-on-ink); border-radius: var(--r-md); box-shadow: var(--e3); font-size: var(--fs-body); }
  .toast svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
  .toast-success svg { color: var(--emerald-400); }
  .toast-error svg { color: #FF9C9C; }
  .toast-enter { transition: opacity var(--t-base) var(--ease-out), transform var(--t-base) var(--ease-spring); }
  .toast-enter-start { opacity: 0; transform: translateY(12px) scale(.96); }
  .toast-enter-end { opacity: 1; transform: none; }

  /* ---- Alert / callout ---- */
  .callout { display: flex; gap: 12px; padding: 12px 14px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface-2); font-size: var(--fs-small); color: var(--text); }
  .callout svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }
  .callout-accent { background: var(--accent-soft); border-color: color-mix(in oklab, var(--accent) 22%, transparent); }
  .callout-accent svg { color: var(--accent-text); }
  .callout-warning { background: var(--warning-soft); border-color: color-mix(in oklab, var(--warning) 25%, transparent); }
  .callout-warning svg { color: var(--warning); }
  .callout-danger { background: var(--danger-soft); border-color: color-mix(in oklab, var(--danger) 25%, transparent); }
  .callout-danger svg { color: var(--danger); }

  /* ---- Empty state ---- */
  .empty { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 56px 24px; }
  .empty-art { position: relative; width: 240px; height: 120px; margin-bottom: 12px; }
  .empty-art .ghost { position: absolute; left: 50%; width: 220px; height: 44px; translate: -50% 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--e1); }
  .empty-art .ghost:nth-child(1) { top: 0; scale: .9; opacity: .55; }
  .empty-art .ghost:nth-child(2) { top: 30px; scale: .95; opacity: .8; }
  .empty-art .ghost:nth-child(3) { top: 62px; box-shadow: var(--e2); }
  .empty-art .ghost svg { width: 16px; height: 16px; color: var(--accent-text); }
  .empty-art .ghost .bar { height: 8px; border-radius: 4px; background: var(--moss-100); flex: 1; }
  .empty-art .ghost .bar.short { flex: .45; background: var(--accent-soft-2); }
  .empty-title { font-size: var(--fs-h3); font-weight: 500; color: var(--ink); }
  .empty-text { max-width: 380px; color: var(--text-muted); }
  .empty-actions { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; justify-content: center; }

  /* ---- Skeleton ---- */
  .skeleton { position: relative; overflow: hidden; background: var(--surface-sunken); border-radius: 6px; }
  .skeleton::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .55), transparent); animation: shimmer 1.4s infinite; }
  :root[data-theme="dark"] .skeleton::after { background: linear-gradient(90deg, transparent, rgb(255 255 255 / .05), transparent); }

  /* ---- Tabs (underline) ---- */
  .tabs { display: flex; gap: 20px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 0; font-weight: 500; color: var(--text-muted); white-space: nowrap; transition: color var(--t-fast); }
  .tab:hover { color: var(--ink); }
  .tab[aria-selected="true"], .tab.is-active { color: var(--ink); }
  .tab[aria-selected="true"]::after, .tab.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; border-radius: 2px; background: var(--ink); }
  .tab .count { font-size: var(--fs-micro); color: var(--text-subtle); font-weight: 400; }

  /* ---- Progress ---- */
  .progress { height: 6px; border-radius: var(--r-pill); background: var(--surface-sunken); overflow: hidden; }
  .progress > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--emerald-500), var(--emerald-400)); transition: width var(--t-slow) var(--ease-out); }
  .progress-ring { --p: 0; --size: 44px; width: var(--size); height: var(--size); border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--surface-active) 0); display: grid; place-items: center; }
  .progress-ring::before { content: ""; grid-area: 1/1; width: calc(var(--size) - 8px); height: calc(var(--size) - 8px); border-radius: 50%; background: var(--surface); }
  .progress-ring > span { grid-area: 1/1; font-size: var(--fs-micro); font-weight: 500; color: var(--ink); z-index: 1; }

  @keyframes shimmer { to { transform: translateX(100%); } }
  @keyframes pulse { 0% { box-shadow: 0 0 0 0 color-mix(in oklab, currentColor 55%, transparent); } 70% { box-shadow: 0 0 0 6px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
}

@layer components {
  :root[data-theme="dark"] .avatar:not(.avatar-ws) { background: linear-gradient(135deg, color-mix(in oklab, var(--accent) 28%, var(--surface)), var(--surface-2)); color: var(--ink); }
}

/* css/components/aurora.css */
/* ==========================================================================
   Aurora brand layer: gradients, glass, glow, motion and signature components.
   Used by the app, the marketing site and the auth/onboarding flows.
   ========================================================================== */
@layer components {
  /* ---- Titles use the display face everywhere ---- */
  .card-title, .page-title, .dialog-title, .section-title, .kpi-value, .drawer-title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; }

  /* ---- Ambient aurora backdrop (fixed, behind content) ---- */
  .aurora { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
  .aurora::before, .aurora::after, .aurora > i {
    content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; will-change: transform;
    animation: aurora-drift 26s var(--ease-out) infinite alternate;
  }
  .aurora::before { width: 46vmax; height: 46vmax; inset-inline-start: -12vmax; top: -18vmax; background: radial-gradient(circle, rgb(194 244 91 / .55), transparent 65%); }
  .aurora::after { width: 42vmax; height: 42vmax; inset-inline-end: -14vmax; top: -10vmax; background: radial-gradient(circle, rgb(124 92 255 / .38), transparent 65%); animation-duration: 32s; animation-direction: alternate-reverse; }
  .aurora > i { width: 38vmax; height: 38vmax; inset-inline-start: 30%; bottom: -26vmax; background: radial-gradient(circle, rgb(11 194 132 / .35), transparent 65%); animation-duration: 38s; }
  :root[data-theme="dark"] .aurora::before { background: radial-gradient(circle, rgb(43 227 162 / .30), transparent 65%); opacity: .7; }
  :root[data-theme="dark"] .aurora::after { background: radial-gradient(circle, rgb(124 92 255 / .38), transparent 65%); opacity: .8; }
  :root[data-theme="dark"] .aurora > i { background: radial-gradient(circle, rgb(255 122 61 / .16), transparent 65%); }
  @keyframes aurora-drift { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(4vmax, 3vmax, 0) scale(1.08); } 100% { transform: translate3d(-3vmax, 5vmax, 0) scale(.96); } }

  /* Film grain (subtle, premium) */
  .grain { position: relative; isolation: isolate; }
  .grain::after {
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; border-radius: inherit; opacity: .18; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  }

  /* ---- Glass ---- */
  .glass { background: var(--glass); border: 1px solid var(--glass-line); backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5); box-shadow: var(--e2); }

  /* ---- Gradient cards ---- */
  .g-card { position: relative; overflow: hidden; isolation: isolate; border-radius: var(--r-lg); color: #fff; border: 0; }
  .g-card > * { position: relative; z-index: 1; }
  .g-forest { background: var(--grad-forest); box-shadow: 0 24px 50px -24px rgb(6 42 30 / .8); }
  .g-violet { background: var(--grad-violet); box-shadow: var(--e-glow-violet); }
  .g-sunset { background: var(--grad-sunset); box-shadow: 0 24px 50px -22px rgb(232 83 30 / .6); }
  .g-ink { background: var(--grad-ink); box-shadow: var(--e3); }
  .g-brand { background: var(--grad-brand); color: var(--forest-950); box-shadow: var(--e-glow); }
  .g-card::before {
    content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; opacity: .5;
    background: radial-gradient(80% 60% at 110% -10%, rgb(255 255 255 / .35), transparent 60%);
  }
  .g-card .muted, .g-card .subtle { color: rgb(255 255 255 / .72); }
  .g-brand .muted { color: rgb(3 23 15 / .66); }

  .text-gradient { background: var(--grad-aurora); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .text-brand { background: linear-gradient(90deg, var(--emerald-500), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }

  /* Gradient border (1px) */
  .g-border { position: relative; border: 0 !important; }
  .g-border::before {
    content: ""; position: absolute; inset: 0; padding: 1px; border-radius: inherit; pointer-events: none;
    background: linear-gradient(135deg, rgb(11 194 132 / .7), rgb(124 92 255 / .55), rgb(255 122 61 / .45));
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  }

  /* Hover sheen */
  .sheen { position: relative; overflow: hidden; }
  .sheen::after { content: ""; position: absolute; inset: -50% auto -50% -60%; width: 40%; transform: rotate(18deg) translateX(-120%); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent); transition: transform 900ms var(--ease-out); pointer-events: none; }
  .sheen:hover::after { transform: rotate(18deg) translateX(520%); }

  /* ---- Buttons v2 ---- */
  .btn { --btn-h: 40px; border-radius: 12px; padding: 0 16px; font-weight: 600; letter-spacing: -0.005em; }
  .btn-sm { --btn-h: 32px; border-radius: 10px; padding: 0 12px; }
  .btn-icon { padding: 0; width: var(--btn-h); }
  .btn-lg { --btn-h: 50px; border-radius: 14px; padding: 0 22px; font-size: 0.9375rem; }
  .btn-xl { --btn-h: 58px; border-radius: 16px; padding: 0 28px; font-size: 1rem; }
  .btn-pill { border-radius: var(--r-pill); }
  .btn-primary { background: var(--ink); color: var(--text-on-ink); box-shadow: 0 8px 20px -10px rgb(11 15 13 / .6), inset 0 1px 0 rgb(255 255 255 / .12); }
  .btn-primary:hover:not(:disabled) { background: color-mix(in oklab, var(--ink) 86%, var(--accent)); box-shadow: 0 14px 26px -12px rgb(11 15 13 / .6), inset 0 1px 0 rgb(255 255 255 / .14); }
  .btn-brand { background: var(--grad-brand); color: var(--forest-950); box-shadow: 0 12px 28px -12px rgb(11 194 132 / .7), inset 0 1px 0 rgb(255 255 255 / .45); }
  .btn-brand:hover:not(:disabled) { filter: saturate(1.1) brightness(1.03); background: var(--grad-brand); box-shadow: 0 18px 34px -12px rgb(11 194 132 / .8), inset 0 1px 0 rgb(255 255 255 / .5); }
  .btn-assist { background: linear-gradient(135deg, #9A83FF, #7C5CFF 50%, #5B3BE8); color: #fff; box-shadow: 0 12px 28px -12px rgb(124 92 255 / .8), inset 0 1px 0 rgb(255 255 255 / .3); }
  .btn-assist:hover:not(:disabled) { filter: brightness(1.06); }
  .btn-glass { background: rgb(255 255 255 / .1); color: #fff; border: 1px solid rgb(255 255 255 / .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
  .btn-glass:hover:not(:disabled) { background: rgb(255 255 255 / .18); }
  .btn-secondary { border-color: var(--line-strong); box-shadow: var(--e1); }

  .input, .select, .textarea { min-height: 42px; border-radius: 12px; padding: 9px 14px; box-shadow: none; background: var(--surface); }
  .input-lg { min-height: 52px; border-radius: 14px; padding: 12px 16px; font-size: 0.9375rem; }
  .input-group { border-radius: 12px; box-shadow: none; }
  .input:focus, .select:focus, .textarea:focus { box-shadow: 0 0 0 4px var(--accent-soft-2); }
  .input-group:focus-within { box-shadow: 0 0 0 4px var(--accent-soft-2); }

  .card { border-radius: var(--r-lg); box-shadow: var(--e1); }
  .dialog { border-radius: var(--r-xl); }

  /* ---- Chips ---- */
  .chip { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface); font-size: var(--fs-small); font-weight: 600; color: var(--text); white-space: nowrap; transition: all var(--t-fast) var(--ease-out); }
  .chip svg { width: 14px; height: 14px; }
  .chip:hover { border-color: var(--line-strong); color: var(--ink); }
  .chip[aria-pressed="true"], .chip.is-active { background: var(--ink); color: var(--text-on-ink); border-color: transparent; }
  .chip-glass { background: rgb(255 255 255 / .12); border-color: rgb(255 255 255 / .18); color: #fff; backdrop-filter: blur(8px); }
  .eyebrow { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding-block: 0; padding-inline: 6px 12px; border-radius: var(--r-pill); font-size: var(--fs-small); font-weight: 600; color: var(--ink); background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--e1); }
  .eyebrow .eyebrow-tag { height: 20px; padding: 0 8px; border-radius: var(--r-pill); display: inline-flex; align-items: center; font-size: 11px; color: #fff; background: var(--grad-aurora); }

  /* ---- Stepper (segmented progress) ---- */
  .stepper { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
  .stepper > span { height: 4px; border-radius: var(--r-pill); background: var(--line-strong); overflow: hidden; position: relative; }
  .stepper > span::after { content: ""; position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--grad-brand); transition: transform var(--t-lazy) var(--ease-out); }
  [dir="rtl"] .stepper > span::after { transform-origin: right; }
  .stepper > span.is-done::after, .stepper > span.is-current::after { transform: scaleX(1); }
  .stepper > span.is-current::after { background: linear-gradient(90deg, var(--emerald-500), var(--violet-500)); }

  /* ---- Select cards (onboarding pickers) ---- */
  .pick-grid { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); }
  .pick {
    position: relative; display: grid; align-content: space-between; gap: 18px; min-height: 124px; padding: 16px; text-align: start; cursor: pointer;
    border-radius: 18px; border: 1px solid var(--line); background: var(--surface);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out), border-color var(--t-fast), background var(--t-base);
  }
  .pick:hover { transform: translateY(-3px); box-shadow: var(--e2); border-color: var(--line-strong); }
  .pick input { position: absolute; opacity: 0; pointer-events: none; }
  .pick-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink); border: 1px solid var(--line); transition: all var(--t-base) var(--ease-out); }
  .pick-icon svg { width: 20px; height: 20px; }
  .pick-title { font-family: var(--font-display); font-weight: 650; font-size: 1rem; color: var(--ink); letter-spacing: -0.01em; }
  .pick-desc { font-size: var(--fs-small); color: var(--text-muted); line-height: 1.4; margin-top: 2px; }
  .pick-radio { position: absolute; top: 14px; inset-inline-end: 14px; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid var(--line-strong); display: grid; place-items: center; transition: all var(--t-fast); }
  .pick-radio::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #fff; transform: scale(0); transition: transform var(--t-base) var(--ease-spring); }
  .pick:has(input:checked), .pick.is-selected { border-color: transparent; color: #fff; background: var(--grad-violet); box-shadow: var(--e-glow-violet); transform: translateY(-3px); }
  .pick.pick-green:has(input:checked), .pick.pick-green.is-selected { background: var(--grad-forest); box-shadow: 0 20px 44px -20px rgb(6 42 30 / .9); }
  .pick:has(input:checked) .pick-title, .pick.is-selected .pick-title { color: #fff; }
  .pick:has(input:checked) .pick-desc, .pick.is-selected .pick-desc { color: rgb(255 255 255 / .75); }
  .pick:has(input:checked) .pick-icon, .pick.is-selected .pick-icon { background: rgb(255 255 255 / .16); border-color: rgb(255 255 255 / .22); color: #fff; }
  .pick:has(input:checked) .pick-radio, .pick.is-selected .pick-radio { border-color: #fff; background: rgb(255 255 255 / .2); }
  .pick:has(input:checked) .pick-radio::after, .pick.is-selected .pick-radio::after { transform: scale(1); }
  .pick:has(input:focus-visible) { box-shadow: var(--focus-ring); }
  .pick-wide { grid-template-columns: 1fr auto; align-items: center; min-height: 96px; }

  /* ---- Floating / motion helpers ---- */
  .float { animation: float 7s ease-in-out infinite; }
  .float-slow { animation: float 10s ease-in-out infinite; }
  .float-delay { animation-delay: -3s; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .reveal { animation: reveal var(--t-lazy) var(--ease-out) both; }
  .reveal-2 { animation-delay: 80ms; } .reveal-3 { animation-delay: 160ms; } .reveal-4 { animation-delay: 240ms; } .reveal-5 { animation-delay: 320ms; }
  @keyframes reveal { from { opacity: 0; transform: translateY(14px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
  .glow-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; box-shadow: 0 0 18px 4px currentColor; background: currentColor; animation: twinkle 4s ease-in-out infinite; }
  @keyframes twinkle { 0%, 100% { opacity: .9; } 50% { opacity: .35; } }

  /* ---- Charts: hatched stacked bars ---- */
  .vbars { --h: 200px; display: grid; grid-template-columns: 32px 1fr; gap: 10px; }
  .vbars-axis { display: flex; flex-direction: column-reverse; justify-content: space-between; height: var(--h); font-size: 11px; color: var(--text-subtle); text-align: end; font-variant-numeric: tabular-nums; }
  .vbars-plot { position: relative; height: var(--h); display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; align-items: end; gap: clamp(4px, 1.4vw, 14px);
    background: repeating-linear-gradient(to top, var(--line) 0 1px, transparent 1px calc(var(--h) / 4)); }
  .vbar { position: relative; display: flex; flex-direction: column-reverse; gap: 3px; height: 100%; justify-content: flex-start; cursor: default; }
  .vbar > span { display: block; border-radius: 8px; min-height: 2px; transition: height var(--t-lazy) var(--ease-out), filter var(--t-fast); }
  .vbar .seg-a { background: var(--ink); }
  .vbar .seg-b { background: var(--lime-400); background-image: var(--hatch); }
  :root[data-theme="dark"] .vbar .seg-a { background: #EDEFEE; }
  .vbar:hover > span { filter: brightness(1.08); }
  .vbar .bar-tip { position: absolute; bottom: calc(100% + 6px); left: 50%; translate: -50% 0; padding: 4px 8px; border-radius: 8px; background: var(--ink); color: var(--text-on-ink); font-size: 11px; font-weight: 600; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity var(--t-fast); }
  .vbar:hover .bar-tip { opacity: 1; }
  .vbars-labels { grid-column: 2; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: clamp(4px, 1.4vw, 14px); font-size: 11px; color: var(--text-subtle); text-align: center; }
  .legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: var(--fs-micro); color: var(--text-muted); }
  .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: 6px; vertical-align: -1px; }

  /* ---- Donut ---- */
  .donut { --size: 168px; --thick: 22px; position: relative; width: var(--size); height: var(--size); border-radius: 50%; flex: none;
    background: conic-gradient(var(--donut)); -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--thick)), #000 calc(100% - var(--thick) + 1px)); mask: radial-gradient(farthest-side, transparent calc(100% - var(--thick)), #000 calc(100% - var(--thick) + 1px)); }
  .donut-wrap { position: relative; width: var(--size, 168px); height: var(--size, 168px); flex: none; }
  .donut-center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; }
  .donut-center b { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 650; letter-spacing: -0.03em; color: var(--ink); line-height: 1; }
  .donut-center span { font-size: var(--fs-micro); color: var(--text-muted); }

  /* ---- Progress ring (setup) ---- */
  .ring { --p: 50; --size: 56px; width: var(--size); height: var(--size); border-radius: 50%; display: grid; place-items: center; flex: none;
    background: radial-gradient(closest-side, var(--surface) 76%, transparent 78% 100%), conic-gradient(var(--accent) calc(var(--p) * 1%), var(--line) 0); }
  .ring b { font-family: var(--font-display); font-size: .95rem; font-weight: 700; color: var(--ink); }

  /* ---- Phone mockup (showcase) ---- */
  .phone { position: relative; width: 280px; aspect-ratio: 9 / 19; border-radius: 44px; padding: 10px; background: linear-gradient(160deg, #2A2F2C, #0B0D0C); box-shadow: 0 0 0 1px rgb(255 255 255 / .08) inset, 0 50px 100px -30px rgb(0 0 0 / .6), 0 30px 60px -30px rgb(11 194 132 / .35); }
  .phone-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: var(--surface); }
  .phone-screen::before { content: ""; position: absolute; top: 9px; left: 50%; translate: -50% 0; width: 86px; height: 24px; border-radius: 20px; background: #000; z-index: 5; }

  /* ---- Section heading pattern ---- */
  .kicker { font-size: var(--fs-micro); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); }
}

@layer components {
  .donut-block { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
  .donut-legend { flex: 1; min-width: 150px; display: grid; gap: 10px; margin: 0; padding: 0; }
  .donut-legend li { display: flex; align-items: center; gap: 10px; font-size: var(--fs-small); color: var(--text); }
  .donut-legend i { width: 10px; height: 10px; border-radius: 3px; flex: none; }
  .donut-legend b { font-variant-numeric: tabular-nums; color: var(--ink); }
  .vbar > span { border-radius: 6px; }
}

@layer components {
  .vbar .bar-tip { display: none; z-index: 5; }
  .vbar:hover .bar-tip { display: block; }
  .vbar:nth-last-child(-n+3) .bar-tip { left: auto; right: 0; translate: none; }
  .vbar:nth-child(-n+3) .bar-tip { left: 0; translate: none; }
  /* Right-to-left: the bars run from the right, so the edge tips swap sides. */
  [dir="rtl"] .vbar:nth-last-child(-n+3) .bar-tip { right: auto; left: 0; }
  [dir="rtl"] .vbar:nth-child(-n+3) .bar-tip { left: auto; right: 0; }
  .vbars-plot { overflow: visible; }
}
@layer components {
  .vbars-plot, .vbars-labels { grid-auto-columns: minmax(0, 1fr); }
  .vbars-labels span { white-space: nowrap; overflow: visible; font-size: 10.5px; }
  @media (max-width: 640px) { .vbars-plot, .vbars-labels { gap: 3px; } .vbars { grid-template-columns: 26px 1fr; gap: 6px; } }
}

/* css/components/data.css */
/* Data display: resource rows, tables, KPI tiles, charts, toolbars -------- */
@layer components {
  .toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 14px; }
  .toolbar .grow { flex: 1; }
  .toolbar .input-icon { width: min(320px, 100%); }

  /* ---- Resource list (row cards) ---- */
  .rows { display: grid; gap: 8px; }
  .row {
    display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px;
    padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface);
    transition: border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast);
  }
  .row:hover { border-color: var(--line-strong); box-shadow: var(--e1); }
  .row.is-archived { background: var(--surface-2); }
  .row-lead { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--surface-2); overflow: hidden; }
  .row-lead img { width: 20px; height: 20px; }
  .row-lead svg { width: 18px; height: 18px; color: var(--text-muted); }
  .row-lead.square { border-radius: 10px; }
  .row-main { min-width: 0; display: grid; gap: 2px; }
  .row-title { display: flex; align-items: center; gap: 8px; min-width: 0; font-weight: 500; color: var(--ink); }
  .row-title a:hover { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-strong); }
  .row-title .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .row-sub { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--fs-small); color: var(--text-muted); }
  .row-sub svg { width: 13px; height: 13px; flex: none; color: var(--text-subtle); }
  .row-sub .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .row-meta { display: flex; align-items: center; gap: 8px; }
  .icon-btn { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 7px; color: var(--text-muted); transition: background var(--t-instant), color var(--t-instant); }
  .icon-btn:hover { background: var(--surface-hover); color: var(--ink); }
  .icon-btn svg { width: 15px; height: 15px; }
  .icon-btn.is-done { color: var(--accent-text); }
  .stat-pill { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--surface-2); font-size: var(--fs-small); color: var(--text); font-variant-numeric: tabular-nums; transition: border-color var(--t-fast), background var(--t-fast); }
  .stat-pill:hover { border-color: var(--line-strong); background: var(--surface); }
  .stat-pill svg { width: 14px; height: 14px; color: var(--text-muted); }

  .pager { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding: 10px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface-2); font-size: var(--fs-small); color: var(--text-muted); }

  /* ---- Table ---- */
  .table-wrap { border: 1px solid var(--line); border-radius: var(--r-md); overflow: auto; background: var(--surface); }
  .table { width: 100%; font-size: var(--fs-body); }
  .table th { text-align: start; font-weight: 500; font-size: var(--fs-micro); color: var(--text-muted); text-transform: uppercase; letter-spacing: .04em; padding: 10px 14px; background: var(--surface-2); border-bottom: 1px solid var(--line); white-space: nowrap; }
  .table td { padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
  .table tr:last-child td { border-bottom: 0; }
  .table tbody tr { transition: background var(--t-instant); }
  .table tbody tr:hover { background: var(--surface-2); }
  .table .num { text-align: end; font-variant-numeric: tabular-nums; }

  /* ---- KPI tiles ---- */
  .kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
  .kpi { position: relative; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); box-shadow: var(--e1); overflow: hidden; }
  .kpi-label { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); color: var(--text-muted); }
  .kpi-label svg { width: 15px; height: 15px; }
  .kpi-value { margin-top: 8px; font-size: 1.75rem; font-weight: 500; letter-spacing: -0.02em; color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1.1; }
  .kpi-foot { margin-top: 8px; display: flex; align-items: center; gap: 8px; font-size: var(--fs-micro); color: var(--text-muted); }
  .kpi-spark { position: absolute; inset-inline-end: 14px; top: 18px; width: 88px; height: 30px; color: var(--accent); }
  .kpi.is-feature { background: radial-gradient(120% 140% at 100% 0%, color-mix(in oklab, var(--accent) 26%, transparent), transparent 55%), linear-gradient(160deg, var(--forest-900), #0B241B); color: #E9FFF5; border-color: transparent; }
  .kpi.is-feature .kpi-label, .kpi.is-feature .kpi-foot { color: rgb(233 255 245 / .7); }
  .kpi.is-feature .kpi-value { color: #fff; }
  .kpi.is-feature .kpi-spark { color: var(--emerald-400); }
  @media (max-width: 1023px) { .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* ---- Charts (server-rendered SVG) ---- */
  .chart { width: 100%; height: 220px; color: var(--accent); }
  .chart .grid-line { stroke: var(--line); stroke-dasharray: 3 4; }
  .chart .axis { fill: var(--text-subtle); font-size: 11px; font-family: var(--font-sans); }
  .chart .area { fill: url(#chartFill); }
  .chart .line { fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; stroke-linecap: round; }
  .chart .bar { fill: currentColor; opacity: .85; }
  .chart-empty { display: grid; place-items: center; height: 220px; color: var(--text-muted); font-size: var(--fs-small); border: 1px dashed var(--line-strong); border-radius: var(--r-md); background: repeating-linear-gradient(135deg, transparent 0 10px, var(--surface-2) 10px 20px); }

  .bars { display: grid; gap: 6px; align-content: start; }
  .bar-row { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 10px; border-radius: 8px; font-size: var(--fs-small); color: var(--text); overflow: hidden; }
  .bar-row::before { content: ""; position: absolute; inset: 0; width: var(--w, 0%); background: var(--accent-soft); border-radius: inherit; transition: width var(--t-slow) var(--ease-out); }
  .bar-row > * { position: relative; }
  .bar-row .label { display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bar-row .value { font-variant-numeric: tabular-nums; color: var(--ink); font-weight: 500; }

  /* ---- Description list ---- */
  .dl { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 10px 16px; font-size: var(--fs-body); }
  .dl dt { color: var(--text-muted); }
  .dl dd { margin: 0; color: var(--ink); min-width: 0; overflow-wrap: anywhere; }

  /* ---- Grid layout helpers ---- */
  .grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .grid-main-side { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
  @media (max-width: 1023px) { .grid-3, .grid-main-side { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 640px) { .grid-2 { grid-template-columns: minmax(0, 1fr); } .row { grid-template-columns: auto minmax(0, 1fr); } .row-meta { grid-column: 1 / -1; justify-content: flex-end; } .dl { grid-template-columns: minmax(0, 1fr); gap: 2px 0; } .dl dd { margin-bottom: 8px; } }
}

@layer components {
  .btn-secondary[aria-pressed="true"] { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); }
  @media (max-width: 767px) { .link-editor-grid { grid-template-columns: minmax(0, 1fr) !important; } .link-editor-side { border-inline-start: 0 !important; border-top: 1px solid var(--line); } }
}

@layer components {
  @media (max-width: 767px) {
    .kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .kpi { padding: 14px; }
    .kpi-value { font-size: 1.5rem; }
    .kpi-foot { white-space: nowrap; }
  }
  @media (max-width: 520px) { .kpi-spark { display: none; } }
}

/* css/components/auth.css */
/* Auth + onboarding: split stage. Left = calm form on an aurora canvas, right = dark living showcase. */
@layer components {
  .auth { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); min-height: 100dvh; gap: 0; background: var(--canvas); }
  .auth-main { position: relative; display: flex; flex-direction: column; min-height: 100dvh; overflow: hidden; isolation: isolate; }
  .auth-aurora { position: absolute; z-index: -1; opacity: .75; }
  :root[data-theme="dark"] .auth-aurora { opacity: .55; }
  .auth-top { display: flex; align-items: center; justify-content: space-between; padding: 24px clamp(20px, 5vw, 56px); }
  .auth-content { flex: 1; display: grid; align-items: center; padding: 12px clamp(20px, 5vw, 56px) 32px; }
  .auth-panel { width: 100%; max-width: 440px; margin: 0 auto; }
  .auth-title { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.1rem); line-height: 1.02; letter-spacing: -0.045em; margin: 18px 0 10px; }
  .auth-title em.accent, .onb-title em.accent { font-size: 1.08em; letter-spacing: -0.02em; background: linear-gradient(95deg, var(--emerald-600), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
  :root[data-theme="dark"] .auth-title em.accent, :root[data-theme="dark"] .onb-title em.accent { background: linear-gradient(95deg, #5FE6AE, #B9A9FF); -webkit-background-clip: text; background-clip: text; }
  .auth-sub { color: var(--text-muted); font-size: 0.975rem; max-width: 380px; }
  .auth-form { margin-top: 28px; display: grid; gap: 16px; }
  .auth-alt { margin-top: 26px; font-size: var(--fs-body); color: var(--text-muted); }
  .auth-alt a { color: var(--ink); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }
  .auth-alt a:hover { text-decoration: underline; text-underline-offset: 3px; }
  .auth-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 18px clamp(20px, 5vw, 56px) 22px; font-size: var(--fs-small); color: var(--text-subtle); }
  .auth-foot a:hover { color: var(--ink); }
  .auth-fineprint { font-size: var(--fs-micro); color: var(--text-subtle); text-align: center; }
  .auth-fineprint a { color: var(--text-muted); text-decoration: underline; text-underline-offset: 2px; }

  .field-icon { position: relative; }
  .field-icon > svg { position: absolute; inset-inline-start: 16px; top: 50%; translate: 0 -50%; width: 18px; height: 18px; color: var(--text-subtle); pointer-events: none; z-index: 1; transition: color var(--t-fast); }
  .field-icon > .input { padding-inline-start: 46px; }
  .field-icon:focus-within > svg { color: var(--accent-text); }
  .field-icon > .field-action { position: absolute; inset-inline-end: 8px; top: 50%; translate: 0 -50%; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; color: var(--text-subtle); }
  .field-icon > .field-action:hover { color: var(--ink); background: var(--surface-hover); }
  .field-icon > .field-action svg { width: 18px; height: 18px; }
  .field-icon > .input:has(+ .field-action), .field-icon > .input.has-action { padding-inline-end: 52px; }
  .auth .input-lg { background: var(--glass-strong); border-color: var(--line-strong); }
  :root[data-theme="dark"] .auth .input-lg { background: rgb(255 255 255 / .03); }

  .strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; margin-top: 8px; }
  .strength > i { height: 4px; border-radius: 4px; background: var(--line-strong); transition: background var(--t-base); }
  .strength[data-score="1"] > i:nth-child(-n+1) { background: var(--danger); }
  .strength[data-score="2"] > i:nth-child(-n+2) { background: var(--tangerine-500); }
  .strength[data-score="3"] > i:nth-child(-n+3) { background: var(--lime-500); }
  .strength[data-score="4"] > i { background: var(--emerald-500); }

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

  .brand-mark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--ink); letter-spacing: -0.03em; }
  .brand-mark svg { width: 34px; height: 34px; }

  /* ---- Stage ---- */
  .auth-stage { position: sticky; top: 0; height: 100dvh; margin-block: 12px; margin-inline: 0 12px; height: calc(100dvh - 24px); border-radius: var(--r-2xl); overflow: hidden; color: #fff; background: var(--grad-ink); box-shadow: var(--e3); }
  .stage-glow { position: absolute; inset: -20%; background: radial-gradient(40% 35% at 30% 30%, rgb(43 227 162 / .28), transparent 70%), radial-gradient(35% 35% at 75% 25%, rgb(124 92 255 / .38), transparent 70%), radial-gradient(40% 40% at 60% 90%, rgb(255 122 61 / .18), transparent 70%); animation: aurora-drift 24s ease-in-out infinite alternate; pointer-events: none; }
  .stage-inner { position: relative; z-index: 1; height: 100%; display: grid; grid-template-rows: auto 1fr auto; padding: clamp(24px, 3vw, 40px); }
  .stage-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .stage-kicker { font-size: var(--fs-micro); letter-spacing: .12em; text-transform: uppercase; color: rgb(255 255 255 / .5); font-weight: 600; }
  .stage-visual { position: relative; display: grid; place-items: center; min-height: 0; }
  .scene { position: absolute; inset: 0; display: grid; place-items: center; }
  .scene-enter { transition: opacity 600ms var(--ease-out), transform 700ms var(--ease-out), filter 600ms var(--ease-out); }
  .scene-leave { transition: opacity 300ms var(--ease-in); position: absolute; }
  .scene-start { opacity: 0; transform: translateY(16px) scale(.98); filter: blur(8px); }
  .stage-copy { text-align: center; max-width: 460px; margin: 0 auto; min-height: 132px; }
  .stage-copy h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.3vw, 2.2rem); line-height: 1.08; letter-spacing: -0.035em; }
  .stage-copy h2 em.accent { color: #C2F45B; font-size: 1.1em; }
  .stage-copy p { margin-top: 10px; color: rgb(255 255 255 / .62); font-size: .95rem; }
  .stage-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
  .stage-dots button { width: 8px; height: 8px; border-radius: 8px; background: rgb(255 255 255 / .25); transition: width var(--t-base) var(--ease-out), background var(--t-base); }
  .stage-dots button.is-on { width: 28px; background: #fff; }

  .auth-stage .phone { width: min(250px, 58%); }
  .auth-stage .glass, .onb-stage .glass { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .12); box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6); color: #fff; }
  .float-card { position: absolute; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 18px; min-width: 180px; }
  .float-card small { display: block; font-size: 11px; color: rgb(255 255 255 / .62); font-weight: 600; }
  .float-card b { display: block; font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: #fff; line-height: 1.2; }
  .float-card.g-brand small { color: rgb(3 23 15 / .6); } .float-card.g-brand b { color: var(--forest-950); }
  .float-card > svg { width: 20px; height: 20px; }
  .fc-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; }
  .fc-icon svg { width: 18px; height: 18px; }
  .fc-qr { width: 64px; height: 64px; padding: 6px; background: #fff; border-radius: 12px; }
  .fc-qr svg { width: 100%; height: 100%; }
  .float-card .delta-up { background: rgb(194 244 91 / .18); color: #C2F45B; }

  /* Mini page inside phones */
  .mini-page { height: 100%; overflow: hidden; background: linear-gradient(180deg, #FFF6EE, #FFFFFF 55%); color: #111; text-align: center; font-family: var(--font-sans); }
  .mini-cover { height: 30%; background: var(--grad-sunset); border-radius: 0 0 28px 28px; }
  .mini-avatar { width: 64px; height: 64px; margin: -34px auto 0; border-radius: 50%; border: 3px solid #fff; background: linear-gradient(135deg, #0B3B2A, #0BC284); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; box-shadow: 0 10px 20px -8px rgb(0 0 0 / .35); }
  .mini-name { margin-top: 8px; font-family: var(--font-display); font-weight: 700; font-size: 1rem; letter-spacing: -0.02em; display: inline-flex; align-items: center; gap: 4px; }
  .mini-name svg { width: 14px; height: 14px; color: #0BC284; }
  .mini-bio { font-size: 11px; color: #6B736C; margin-top: 2px; }
  .mini-socials { display: flex; justify-content: center; gap: 8px; margin: 10px 0 12px; }
  .mini-socials i { width: 22px; height: 22px; border-radius: 50%; background: #111; opacity: .85; }
  .mini-link { margin: 0 14px 8px; height: 36px; border-radius: 14px; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; background: #fff; box-shadow: 0 4px 14px -6px rgb(0 0 0 / .18), 0 0 0 1px rgb(0 0 0 / .05); }
  .mini-link.is-hero { background: #111; color: #fff; }
  .mini-card { margin: 12px 14px 0; padding: 12px; border-radius: 16px; background: #111; color: #fff; text-align: start; display: grid; grid-template-columns: 1fr auto; align-items: center; row-gap: 2px; }
  .mini-card b { font-size: 12px; color: #fff; } .mini-card span { font-size: 10px; opacity: .6; grid-row: 2; }
  .mini-card i { grid-row: span 2; font-style: normal; font-size: 10.5px; font-weight: 700; padding: 6px 10px; border-radius: 10px; background: #FF7A3D; }

  .stage-panel { width: min(430px, 86%); padding: 22px; border-radius: 24px; }
  .sp-label { color: rgb(255 255 255 / .6); font-weight: 600; font-size: 12px; }
  .sp-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.04em; color: #fff; line-height: 1.1; }
  .sp-bars { height: 150px; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 10px; align-items: end; margin: 18px 0 12px; }
  .sp-bar { height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
  .sp-bar span { display: block; border-radius: 7px; }
  .sp-bar .seg-a { background: #EDEFEE; }
  .sp-bar .seg-b { background: #C2F45B; background-image: repeating-linear-gradient(135deg, rgb(0 0 0 / .18) 0 2px, transparent 2px 6px); }

  .assist-demo { display: grid; gap: 14px; }
  .ad-prompt { display: flex; gap: 10px; align-items: flex-start; }
  .ad-avatar { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--grad-violet); }
  .ad-avatar svg { width: 16px; height: 16px; }
  .ad-prompt p { font-size: 13.5px; line-height: 1.5; color: rgb(255 255 255 / .9); padding: 10px 12px; border-radius: 14px; border-start-start-radius: 4px; background: rgb(124 92 255 / .28); border: 1px solid rgb(154 131 255 / .35); }
  .ad-build { display: grid; gap: 8px; padding: 12px; border-radius: 18px; background: rgb(255 255 255 / .96); }
  .ad-block { height: 12px; border-radius: 8px; background: linear-gradient(90deg, #EEF0EC 25%, #F8F9F6 50%, #EEF0EC 75%); background-size: 200% 100%; animation: shimmer 1.6s linear infinite; margin: 0 auto; width: 80%; }
  .ad-cover { height: 58px; width: 100%; background: var(--grad-sunset); animation: none; border-radius: 12px; }
  .ad-btn { height: 30px; width: 100%; display: grid; place-items: center; font-size: 11.5px; font-weight: 700; color: #fff; background: #1D1410; animation: none; }
  .ad-btn.is-soft { background: #FFE6D6; color: #9A3A0C; }
  .ad-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: auto; background: none; animation: none; width: 100%; }
  .ad-row i { height: 44px; border-radius: 10px; background: #FFF1E7; }
  .ad-status { font-size: 12px; color: rgb(255 255 255 / .7); display: flex; align-items: center; gap: 8px; }
  .ad-status b { color: #fff; }
  @keyframes shimmer { to { background-position: -200% 0; } }

  /* ---- Onboarding ---- */
  .onb-top { padding-bottom: 8px; }
  .onb-progress { display: flex; align-items: center; gap: 14px; padding: 0 clamp(20px, 5vw, 56px); }
  .onb-progress .stepper { flex: 1; max-width: 520px; }
  .onb-content { align-items: start; padding-top: clamp(20px, 5vh, 56px); overflow-y: auto; }
  .onb-panel { width: 100%; max-width: 620px; margin: 0 auto; }
  .onb-title { font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3.2rem); line-height: 1.02; letter-spacing: -0.045em; margin-bottom: 10px; }
  .onb-kinds { display: grid; gap: 12px; margin-top: 28px; }
  .onb-kinds .pick-wide { padding-block: 18px; padding-inline: 20px 58px; }
  .onb-kind-art { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; color: #fff; transform: rotate(-6deg); transition: transform var(--t-slow) var(--ease-spring); box-shadow: 0 14px 28px -14px rgb(0 0 0 / .5); }
  .onb-kind-art svg { width: 28px; height: 28px; }
  .onb-kind-personal { background: var(--grad-sunset); }
  .onb-kind-business { background: var(--grad-brand); color: var(--forest-950); }
  .onb-kind-agency { background: var(--grad-violet); }
  .onb-kind-organization { background: var(--grad-ink); }
  .pick:hover .onb-kind-art, .pick:has(input:checked) .onb-kind-art { transform: rotate(0) scale(1.05); }
  .onb-industries { margin-top: 28px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .onb-industries .pick { min-height: 118px; }
  .onb-nav { position: sticky; bottom: 0; display: flex; justify-content: space-between; gap: 12px; padding: 18px clamp(20px, 5vw, 56px) 24px; background: linear-gradient(transparent, var(--canvas) 40%); z-index: 2; }
  .onb-nav > * { min-width: 120px; }
  .onb-advanced { margin-top: 4px; border-radius: 14px; border: 1px solid var(--line); padding: 12px 14px; background: var(--glass-strong); }
  .onb-advanced summary { cursor: pointer; font-size: var(--fs-small); color: var(--text-muted); display: flex; align-items: center; gap: 8px; list-style: none; }
  .onb-advanced summary::-webkit-details-marker { display: none; }
  .onb-advanced[open] summary { margin-bottom: 12px; }
  .my-5 { margin-top: 20px; margin-bottom: 20px; }
  .assist-box.is-active { box-shadow: var(--e-glow-violet); }

  .handle-field { display: flex; align-items: center; min-height: 60px; border-radius: 16px; border: 1.5px solid var(--line-strong); background: var(--glass-strong); padding-block: 0; padding-inline: 18px 8px; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
  .handle-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft-2); }
  .handle-field.is-ok { border-color: var(--accent); }
  .handle-field.is-bad { border-color: var(--danger); }
  .handle-host { font-family: var(--font-display); font-size: 1.2rem; font-weight: 600; color: var(--text-subtle); letter-spacing: -0.02em; }
  .handle-field input { flex: 1; min-width: 0; border: 0; background: transparent; outline: none; font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; height: 56px; }
  .handle-state { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 700; padding: 0 10px; height: 32px; border-radius: 10px; white-space: nowrap; }
  .handle-state svg { width: 15px; height: 15px; }
  .is-ok .handle-state { color: var(--accent-text); background: var(--accent-soft); }
  .is-bad .handle-state { color: var(--danger); background: var(--danger-soft); }
  :root[data-theme="dark"] .handle-field { background: rgb(255 255 255 / .03); }

  .onb-done { padding-top: 4vh; }
  .avatar-stack { display: flex; margin-bottom: 22px; }
  .avatar-stack .avatar { border: 3px solid var(--canvas); margin-inline-start: -10px; font-family: var(--font-display); font-weight: 700; }
  .avatar-stack .avatar:first-child { margin-inline-start: 0; }
  .onb-next { display: grid; gap: 10px; margin-top: 30px; }
  .onb-next-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 20px; transition: transform var(--t-base) var(--ease-out); }
  .onb-next-card:hover { transform: translateX(calc(4px * var(--dir-sign, 1))); }
  .onb-next-card > span:nth-child(2) { flex: 1; display: grid; }
  .onb-next-card b { font-family: var(--font-display); color: var(--ink); font-size: 1rem; }
  .onb-next-card small { color: var(--text-muted); font-size: var(--fs-small); }
  .onb-next-card .fc-icon { color: #fff; }

  .onb-os { width: min(460px, 100%); display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 10px; }
  .onb-os-node { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding-block: 0; padding-inline: 12px 16px; border-radius: var(--r-pill); color: rgb(255 255 255 / .55); font-size: var(--fs-small); font-weight: 600; background: rgb(255 255 255 / .05); border: 1px dashed rgb(255 255 255 / .2); transition: all var(--t-base) var(--ease-spring); }
  .onb-os-node svg { width: 16px; height: 16px; }
  .onb-os-node.is-on { color: #fff; border: 1px solid rgb(194 244 91 / .5); background: rgb(194 244 91 / .12); transform: translateY(-2px); box-shadow: 0 10px 30px -12px rgb(194 244 91 / .5); }
  .onb-os-node.is-on svg { color: var(--lime-400); }
  .onb-mod { display: flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 11px; font-weight: 700; color: var(--text-subtle); }
  .onb-mod .os-dot { width: 6px; height: 6px; }
  .onb-mod.is-live { color: var(--accent-text); }
  .onb-mod.is-building { color: var(--assist-text); }
  .onb-fan { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
  .onb-fan .phone { position: absolute; width: 210px; transition: transform var(--t-lazy) var(--ease-out); }
  .onb-fan-0 { transform: translateX(-62%) rotate(-9deg) scale(.9); z-index: 1; opacity: .9; }
  .onb-fan-1 { transform: translateY(-2%) scale(1.06); z-index: 3; }
  .onb-fan-2 { transform: translateX(62%) rotate(9deg) scale(.9); z-index: 2; opacity: .9; }
  .onb-fan .page-preview { --scale: .5 !important; }
  .onb-phone-wrap { display: grid; justify-items: center; gap: 14px; }
  .onb-phone-wrap .phone { width: 270px; max-width: 62vw; }
  .onb-phone-wrap .phone-screen { transition: opacity var(--t-base), filter var(--t-base); }
  .onb-phone-wrap .phone-screen.is-loading { opacity: .5; filter: blur(3px); }
  .onb-urlbar { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 700; font-size: 13px; color: #fff; }
  .onb-urlbar svg { width: 14px; height: 14px; color: #C2F45B; }
  .onb-celebrate { animation: celebrate 1.2s var(--ease-spring) both; }
  @keyframes celebrate { 0% { transform: translateY(30px) scale(.9); opacity: 0; } 100% { transform: none; opacity: 1; } }

  .auth-teaser { display: none; }
  /* ---- Responsive ---- */
  @media (max-width: 1023px) {
    .auth { grid-template-columns: minmax(0, 1fr); }
    .auth-stage { display: none; }
    .auth-content { align-items: start; padding-top: 3vh; }
    .onb-industries { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .onb-content { padding-bottom: 12px; }
    .auth-teaser { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; margin: 34px -20px 0; padding: 4px 20px 24px; scroll-padding-inline: 20px; scroll-snap-type: x mandatory; }
    .auth-teaser::-webkit-scrollbar { display: none; }
    .auth-teaser > div { flex: 0 0 78%; max-width: 300px; scroll-snap-align: start; padding: 16px; border-radius: 20px; display: grid; gap: 10px; }
    .auth-teaser b { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.02em; color: inherit; }
    .auth-teaser p { font-size: 12.5px; opacity: .75; }
    .auth-teaser .fc-icon { background: rgb(255 255 255 / .16); }
  }
  @media (max-width: 640px) {
    .auth-top { padding: 16px 20px; }
    .auth-foot { justify-content: center; }
  }

  /* Legacy helpers still used by a few screens */
  .success-mark { width: 68px; height: 68px; margin: 0 auto 16px; border-radius: 22px; display: grid; place-items: center; background: var(--grad-forest); color: #fff; box-shadow: var(--e-glow); animation: pop var(--t-slow) var(--ease-spring) both; }
  .success-mark svg { width: 30px; height: 30px; }
  .divider-text { display: flex; align-items: center; gap: 12px; color: var(--text-subtle); font-size: var(--fs-micro); text-transform: uppercase; letter-spacing: .08em; }
  .divider-text::before, .divider-text::after { content: ""; flex: 1; height: 1px; background: var(--line); }
  @keyframes pop { from { transform: scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
}

/* Passkey sign-in (ADR-0030) */
@layer components {
  .auth-passkey { display: grid; gap: 12px; margin-top: 14px; }
  .auth-or { display: flex; align-items: center; gap: 12px; color: var(--text-subtle); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
  .auth-or::before, .auth-or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
}

/* Onboarding: your brand (ADR-0030) */
@layer components {
  .onb-brand-group { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
  .onb-swatches { display: flex; flex-wrap: wrap; gap: 10px; }
  .onb-swatch { width: 44px; height: 44px; border-radius: 14px; background: var(--sw, var(--surface)); border: 1px solid rgb(0 0 0 / .08); display: grid; place-items: center; color: var(--text-muted); cursor: pointer; transition: transform var(--t-fast), box-shadow var(--t-fast); }
  .onb-swatch:hover { transform: translateY(-1px); }
  .onb-swatch.is-on { box-shadow: 0 0 0 2px var(--canvas), 0 0 0 4px var(--ink); }
  .onb-swatch.is-template, .onb-swatch.is-custom { background: var(--surface); border-color: var(--line-strong); }
  .onb-swatch.is-custom { background: conic-gradient(from 90deg, #F06A2A, #D4A017, #0A8A5F, #2F6BFF, #7C5CFF, #E0457B, #F06A2A); color: #fff; }
  .onb-swatch.is-custom svg { filter: drop-shadow(0 1px 2px rgb(0 0 0 / .4)); }
  .onb-swatch:focus-visible, .onb-swatch:has(input:focus-visible) { outline: 2px solid var(--accent); outline-offset: 3px; }
  .onb-swatch svg { width: 18px; height: 18px; }
  .onb-fonts { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 8px; }
  .onb-font { display: grid; gap: 2px; justify-items: center; padding: 12px 8px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: border-color var(--t-fast); }
  .onb-font b { font-size: 26px; line-height: 1.1; color: var(--ink); font-weight: 600; }
  .onb-font small { font-size: 12px; color: var(--text-muted); font-weight: 600; }
  .onb-font.is-on { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink) inset; }
  .onb-logo { display: flex; align-items: center; gap: 14px; }
  .onb-logo-box { width: 72px; height: 72px; border-radius: 18px; border: 1px dashed var(--line-strong); background: var(--surface); display: grid; place-items: center; overflow: hidden; flex: none; color: var(--text-subtle); }
  .onb-logo-box img { width: 100%; height: 100%; object-fit: contain; padding: 8px; }
  .onb-logo-box > svg { width: 26px; height: 26px; }
}

/* css/components/builder.css */
/* Pages list + three-pane builder ---------------------------------------- */
@layer components {
  /* ---- Page hero (shared by list screens) ---- */
  .page-hero { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px; margin-bottom: 26px; }
  .page-hero .page-title { font-size: clamp(1.9rem, 1.3rem + 1.8vw, 2.6rem); letter-spacing: -0.045em; margin-top: 4px; }

  /* ---- Pages grid ---- */
  .site-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 18px; }
  .site-card { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); overflow: hidden; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base) var(--ease-out); text-align: start; }
  .site-card:hover { transform: translateY(-4px); box-shadow: var(--e3); }
  .stretched-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
  .site-card .badge { position: relative; z-index: 2; }
  .site-thumb { position: relative; height: 250px; overflow: hidden; margin: 8px 8px 0; border-radius: 18px; pointer-events: none; }
  .site-thumb .page-preview { position: absolute; left: 50%; top: 0; translate: -50% 0; }
  .site-thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 70px; background: linear-gradient(transparent, rgb(0 0 0 / .08)); }
  .site-thumb-actions { position: absolute; inset-inline-end: 10px; bottom: 10px; z-index: 3; pointer-events: auto; opacity: 0; transform: translateY(6px); transition: all var(--t-base) var(--ease-out); }
  .site-card:hover .site-thumb-actions { opacity: 1; transform: none; }
  .site-card-body { padding: 14px 18px 16px; }
  .site-card-title { font-family: var(--font-display); font-weight: 700; font-size: 1.08rem; letter-spacing: -0.02em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .site-card-stats { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 12px; font-size: var(--fs-micro); color: var(--text-muted); }
  .site-card-stats span { display: inline-flex; align-items: center; gap: 5px; }
  .site-card-stats b { color: var(--ink); font-weight: 700; }
  .site-card-new { align-items: center; justify-content: center; gap: 8px; min-height: 340px; border: 1.5px dashed var(--line-strong); background: transparent; box-shadow: none; }
  .site-card-new b { font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
  .site-card-new-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--grad-brand); color: var(--forest-950); box-shadow: var(--e-glow); margin-bottom: 6px; }
  .site-card-new-icon svg { width: 24px; height: 24px; }
  .site-card-new:hover { border-color: var(--accent); background: var(--accent-soft); }

  /* Scaled, non-interactive render of a page document */
  .page-preview { width: 390px; transform: scale(var(--scale, .6)); transform-origin: top center; margin-bottom: calc(-100% * (1 - var(--scale, .6))); pointer-events: none; }
  .page-preview-inner .ws-block { animation: none; cursor: default; }
  .page-preview-inner .ws-site { min-height: 820px; }
  .page-preview.is-phone { position: absolute; left: 50%; top: 0; translate: -50% 0; }

  /* Empty hero */
  .empty-hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); align-items: center; gap: 24px; padding: clamp(28px, 5vw, 56px); border-radius: 32px; min-height: 420px; }
  .empty-hero-copy h2 { color: #fff; font-size: clamp(2rem, 1.3rem + 2.4vw, 3.2rem); letter-spacing: -0.045em; line-height: 1.02; margin-top: 16px; }
  .empty-hero-copy h2 em.accent { color: #C2F45B; }
  .empty-hero-copy p { color: rgb(255 255 255 / .7); margin-top: 12px; max-width: 460px; font-size: 1rem; }
  .empty-hero-art { display: grid; place-items: center; }
  .empty-hero-art .phone { width: 230px; }
  @media (max-width: 800px) { .empty-hero { grid-template-columns: 1fr; } .empty-hero-art { display: none; } }

  /* ---- Create studio ---- */
  .studio-wrap { position: fixed; inset: 0; z-index: 61; display: grid; place-items: center; padding: 16px; overflow-y: auto; }
  .studio { width: min(1180px, 100%); height: min(820px, calc(100dvh - 32px)); display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr); background: var(--surface); border-radius: 32px; overflow: hidden; box-shadow: var(--e3); border: 1px solid var(--line); }
  .studio-main { display: flex; flex-direction: column; min-height: 0; }
  .studio-head { display: flex; justify-content: space-between; gap: 16px; padding: 26px 28px 8px; }
  .studio-title { font-size: 2rem; letter-spacing: -0.045em; }
  .studio-title em.accent { background: linear-gradient(95deg, var(--emerald-600), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .studio-tabs { display: flex; gap: 6px; padding: 10px 28px 0; }
  .studio-tab { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font-weight: 700; color: var(--text-muted); border: 1px solid transparent; transition: all var(--t-fast); }
  .studio-tab svg { width: 16px; height: 16px; }
  .studio-tab:hover { color: var(--ink); background: var(--surface-hover); }
  .studio-tab[aria-selected="true"] { background: var(--ink); color: var(--text-on-ink); }
  .studio-tab.is-assist[aria-selected="true"] { background: linear-gradient(135deg, #9A83FF, #7C5CFF 50%, #5B3BE8); color: #fff; box-shadow: var(--e-glow-violet); }
  .studio-body { flex: 1; overflow-y: auto; padding: 20px 28px; }
  .studio-fields { display: grid; grid-template-columns: 1fr 1.3fr; gap: 14px; margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--line); }
  .studio-foot { display: flex; align-items: center; gap: 8px; padding: 16px 28px; border-top: 1px solid var(--line); background: var(--surface-2); }
  .studio-preview-toggle { display: none; }
  .studio-stage { position: relative; overflow: hidden; background: var(--grad-ink); isolation: isolate; }
  .studio-stage-inner { position: relative; z-index: 1; height: 100%; display: grid; place-items: center; align-content: center; gap: 18px; padding: 28px; }
  .studio-stage .phone { width: 290px; }
  .studio-stage .phone-screen { transition: opacity var(--t-base), filter var(--t-base); }
  .studio-stage .phone-screen.is-loading { opacity: .5; filter: blur(3px); }
  .studio-empty { height: 100%; display: grid; place-items: center; align-content: center; gap: 14px; padding: 30px; text-align: center; color: var(--text-muted); background: linear-gradient(180deg, #F4F1FF, #fff); }
  .studio-empty p { color: #6B6488; font-size: 13px; }

  .assist-box { position: relative; border-radius: 22px; padding: 18px; background: linear-gradient(180deg, var(--assist-soft), var(--surface) 70%); }
  .assist-label { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; color: var(--ink); letter-spacing: -0.02em; }
  .assist-orb { width: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: var(--grad-violet); color: #fff; box-shadow: var(--e-glow-violet); flex: none; }
  .assist-orb svg { width: 17px; height: 17px; }
  .assist-orb.is-lg { width: 56px; height: 56px; border-radius: 18px; }
  .assist-orb.is-lg svg { width: 26px; height: 26px; }
  .assist-input { width: 100%; margin-top: 12px; border: 0; background: transparent; resize: none; font-size: 1.05rem; line-height: 1.55; color: var(--ink); outline: none; font-weight: 500; }
  .assist-input::placeholder { color: var(--text-subtle); }
  .assist-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
  .assist-notes { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; }
  .assist-notes .chip svg { color: var(--accent-text); }

  .template-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 12px; }
  .template-card { position: relative; display: grid; gap: 10px; padding: 8px; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); text-align: start; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base), border-color var(--t-fast); }
  .template-card:hover { transform: translateY(-3px); box-shadow: var(--e2); }
  .template-card.is-selected { border-color: transparent; box-shadow: 0 0 0 2px var(--ink), var(--e2); }
  .template-swatch { position: relative; display: grid; align-content: start; justify-items: center; gap: 5px; height: 132px; padding-bottom: 10px; border-radius: 14px; overflow: hidden; }
  .template-swatch-cover { width: 100%; height: 42px; margin-bottom: -8px; }
  .template-swatch-dot { width: 26px; height: 26px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .9); box-shadow: 0 4px 10px -4px rgb(0 0 0 / .4); }
  .template-swatch-line { width: 48%; height: 5px; border-radius: 4px; opacity: .8; }
  .template-swatch-line.is-short { width: 30%; opacity: .35; }
  .template-swatch-btn { width: 76%; height: 13px; border-radius: 6px; margin-top: 2px; }
  .template-meta { display: grid; padding: 0 4px 4px; }
  .template-meta b { font-family: var(--font-display); font-size: .98rem; font-weight: 700; color: var(--ink); letter-spacing: -0.015em; }
  .template-meta small { font-size: 11.5px; color: var(--text-muted); }
  .template-check { position: absolute; top: 14px; inset-inline-end: 14px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--text-on-ink); box-shadow: var(--e2); }
  .template-check svg { width: 14px; height: 14px; }

  @media (max-width: 900px) {
    .studio { grid-template-columns: 1fr; height: calc(100dvh - 24px); border-radius: 26px; }
    .studio-stage { position: absolute; inset: auto 0 72px 0; height: 0; transition: height var(--t-slow) var(--ease-out); z-index: 5; border-radius: 26px 26px 0 0; }
    .studio-stage.is-open { height: calc(100% - 120px); }
    .studio-preview-toggle { display: inline-flex; }
    .studio-fields { grid-template-columns: 1fr; }
    .studio-head, .studio-tabs, .studio-body, .studio-foot { padding-inline-start: 18px; padding-inline-end: 18px; }
    .studio .studio-fields { margin-inline-start: 18px !important; margin-inline-end: 18px !important; }
    .studio-foot .btn-ghost { display: none; }
  }

  /* ---- Builder frame ---- */
  body.is-builder { overflow: hidden; }
  .builder { height: 100dvh; display: grid; grid-template-rows: 56px minmax(0, 1fr); grid-template-columns: minmax(0, 1fr); background: var(--canvas); }
  .builder-bar > * { min-width: 0; }
  .builder-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; padding: 0 14px; background: var(--surface); border-bottom: 1px solid var(--line); }
  .builder-bar > :last-child { justify-self: end; }
  .builder-center { justify-self: center; }
  .save-state { display: inline-flex; align-items: center; min-width: 110px; justify-content: flex-end; }
  .save-state svg { display: inline; vertical-align: -2px; }
  .spin { animation: spin .8s linear infinite; }

  .builder-body { display: grid; grid-template-columns: 300px minmax(0, 1fr) 340px; min-height: 0; }
  .builder-left, .builder-right { display: flex; flex-direction: column; min-height: 0; background: var(--surface); }
  .builder-left { border-inline-end: 1px solid var(--line); }
  .builder-right { border-inline-start: 1px solid var(--line); }
  .builder-tabs { display: flex; gap: 18px; padding: 0 16px; border-bottom: 1px solid var(--line); flex: none; }
  .builder-tabs .tab { padding: 13px 0 11px; }
  .builder-tabs .tab:disabled { opacity: .4; cursor: not-allowed; }
  .builder-scroll { flex: 1; overflow-y: auto; padding: 14px 14px 32px; }

  /* ---- Outline ---- */
  .outline { grid-template-columns: minmax(0, 1fr); display: grid; gap: 4px; list-style: none; margin: 0; padding: 0; }
  .outline-item { position: relative; display: flex; align-items: center; gap: 2px; padding: 4px; border-radius: 11px; border: 1px solid transparent; background: var(--surface); transition: background var(--t-instant), border-color var(--t-fast), box-shadow var(--t-fast); }
  .outline-item:hover { background: var(--surface-hover); }
  .outline-item.is-selected { border-color: color-mix(in oklab, var(--accent) 55%, var(--line)); background: var(--accent-soft); box-shadow: 0 0 0 1px color-mix(in oklab, var(--accent) 35%, transparent); }
  .outline-item.is-hidden .outline-main { opacity: .45; }
  .outline-item.sortable-ghost { opacity: .35; }
  .outline-item.sortable-chosen { box-shadow: var(--e2); background: var(--surface); }
  .outline-handle { display: grid; place-items: center; width: 20px; height: 34px; color: var(--text-subtle); cursor: grab; flex: none; }
  .outline-handle:active { cursor: grabbing; }
  .outline-handle svg { width: 14px; height: 14px; }
  .outline-main { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 4px 4px; text-align: start; border-radius: 8px; }
  .outline-icon { width: 30px; height: 30px; flex: none; border-radius: 9px; display: grid; place-items: center; background: var(--surface-sunken); border: 1px solid var(--line); color: var(--ink); }
  .outline-icon svg { width: 15px; height: 15px; }
  .outline-item.is-selected .outline-icon { background: var(--ink); color: var(--text-on-ink); border-color: transparent; }
  .outline-title { display: block; font-size: var(--fs-small); font-weight: 500; color: var(--ink); line-height: 1.25; }
  .outline-sub { display: block; font-size: var(--fs-micro); color: var(--text-muted); line-height: 1.3; }
  .outline-actions { display: flex; opacity: 0; transition: opacity var(--t-fast); }
  .outline-item:hover .outline-actions, .outline-item.is-selected .outline-actions, .outline-item:focus-within .outline-actions { opacity: 1; }
  .outline-add { margin-top: 10px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; height: 40px; border: 1.5px dashed var(--line-strong); border-radius: 11px; color: var(--text-muted); font-weight: 500; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
  .outline-add:hover { border-color: var(--accent); color: var(--accent-text); background: var(--accent-soft); }
  .outline-add svg { width: 16px; height: 16px; }

  /* ---- Palette ---- */
  .block-palette { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 8px; }
  .block-tile { display: grid; justify-items: center; gap: 6px; padding: 12px 6px 10px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); transition: transform var(--t-fast) var(--ease-out), border-color var(--t-fast), box-shadow var(--t-fast), background var(--t-fast); }
  .block-tile:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--accent) 50%, var(--line)); box-shadow: var(--e2); background: linear-gradient(180deg, var(--accent-soft), var(--surface)); }
  .block-tile:active { transform: translateY(0) scale(.97); }
  .block-tile-icon { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink); border: 1px solid var(--line); }
  .block-tile:hover .block-tile-icon { background: var(--ink); color: var(--text-on-ink); border-color: transparent; }
  .block-tile-icon svg { width: 17px; height: 17px; }
  .block-tile-label { font-size: 11.5px; font-weight: 500; color: var(--ink); text-align: center; line-height: 1.2; }

  /* ---- Canvas + device ---- */
  .builder-canvas { position: relative; overflow-y: auto; padding: 28px 24px 60px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
  .device { width: 390px; max-width: 100%; transition: width var(--t-slow) var(--ease-out); flex: none; }
  .device.is-tablet { width: min(820px, 100%); }
  .device.is-desktop { width: min(1280px, 100%); }
  .device.is-tablet .device-screen { border-radius: 24px; }
  .device-screen { border-radius: 36px; overflow: hidden; min-height: 720px; box-shadow: 0 0 0 10px #0E1A15, 0 0 0 11px #2A3631, 0 40px 80px -30px rgb(8 50 36 / .55); position: relative; }
  .device.is-desktop .device-screen { border-radius: 14px; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgb(8 50 36 / .45); min-height: 640px; }
  .device-screen .ws-site { min-height: 720px; }
  .device.is-desktop .device-screen .ws-site { min-height: 640px; }
  .device-screen .ws-block { cursor: pointer; outline: 2px solid transparent; outline-offset: 5px; border-radius: calc(var(--site-radius) + 4px); transition: outline-color var(--t-fast); }
  .device-screen .ws-block:hover { outline-color: color-mix(in oklab, #0BC284 45%, transparent); }
  .device-screen .ws-block.is-selected { outline-color: #0BC284; }
  .device-screen .ws-block.is-hidden { opacity: .35; }
  .device-screen a, .device-screen button, .device-screen input, .device-screen summary { pointer-events: none; }
  .canvas-warn { max-width: 390px; }

  /* ---- Inspector ---- */
  .inspector-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
  .inspector-section { border-top: 1px solid var(--line); padding-top: 12px; }
  .inspector-section summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; font-size: var(--fs-small); font-weight: 500; color: var(--ink); }
  .inspector-section summary::-webkit-details-marker { display: none; }
  .image-field { display: flex; gap: 12px; align-items: flex-start; }
  .image-field-preview { width: 64px; height: 64px; flex: none; border-radius: 12px; overflow: hidden; display: grid; place-items: center; background: var(--surface-sunken); border: 1px solid var(--line); color: var(--text-subtle); }
  .image-field-preview img { width: 100%; height: 100%; object-fit: cover; }
  .theme-swatch { display: grid; grid-template-columns: 18px 1fr; grid-template-rows: 10px 10px; gap: 4px; width: 62%; align-items: center; }
  .theme-swatch > span:first-child { grid-row: span 2; }
  .theme-swatch > span:not(:first-child) { height: 10px; }
  .btn-sample { display: block; width: 60%; height: 16px; border-radius: 6px; }
  .btn-sample-solid { background: var(--ink); }
  .btn-sample-soft { background: color-mix(in oklab, var(--accent) 22%, transparent); border: 1px solid color-mix(in oklab, var(--accent) 40%, transparent); }
  .btn-sample-outline { border: 1.5px solid var(--ink); }
  .btn-sample-shadow { background: var(--surface); box-shadow: 0 4px 10px -3px rgb(0 0 0 / .3); }

  .builder-mobile-tabs { display: none; }

  @media (max-width: 1180px) { .builder-body { grid-template-columns: 260px minmax(0, 1fr) 300px; } }
  @media (max-width: 1023px) {
    .builder { grid-template-rows: 56px minmax(0, 1fr) 60px; }
    .builder-bar { grid-template-columns: minmax(0, 1fr) auto; }
    .builder-center { display: none; }
    .builder-body { grid-template-columns: minmax(0, 1fr); }
    .builder-left, .builder-right, .builder-canvas { display: none; }
    .builder-body[data-pane="blocks"] .builder-left, .builder-body[data-pane="inspector"] .builder-right { display: flex; border: 0; }
    .builder-body[data-pane="canvas"] .builder-canvas { display: flex; padding: 18px 12px 40px; }
    .builder-mobile-tabs { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border-top: 1px solid var(--line); }
    .builder-mobile-tabs button { display: grid; justify-items: center; align-content: center; gap: 2px; font-size: 11px; font-weight: 500; color: var(--text-muted); }
    .builder-mobile-tabs button svg { width: 20px; height: 20px; }
    .builder-mobile-tabs button[aria-pressed="true"] { color: var(--ink); }
    .builder-mobile-tabs button[aria-pressed="true"] svg { color: var(--accent-text); }
    .device-screen { box-shadow: 0 0 0 1px var(--line-strong), 0 20px 40px -24px rgb(8 50 36 / .45); border-radius: 22px; min-height: 600px; }
  }
}

/* ---- Builder v2: premium chrome ---- */
@layer components {
  .builder { grid-template-rows: 64px minmax(0, 1fr); background: var(--canvas); background-image: var(--grad-mesh); }
  .builder-bar { background: color-mix(in oklab, var(--surface) 86%, transparent); backdrop-filter: blur(16px) saturate(1.5); -webkit-backdrop-filter: blur(16px) saturate(1.5); padding: 0 16px; }
  .builder-site-dot { width: 34px; height: 34px; border-radius: 11px; flex: none; box-shadow: inset 0 0 0 1px rgb(255 255 255 / .3), var(--e1); }
  .builder-assist-btn { height: 34px; padding: 0 12px; border-radius: 10px; }
  .builder-body { grid-template-columns: 300px minmax(0, 1fr) 360px; gap: 10px; padding: 10px; }
  .builder-left, .builder-right { border: 1px solid var(--line) !important; border-radius: 22px; overflow: hidden; box-shadow: var(--e1); }
  .builder-tabs { gap: 4px; padding: 8px; border-bottom: 1px solid var(--line); }
  .builder-tabs .tab { padding: 0 12px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--text-muted); border: 0; }
  .builder-tabs .tab:hover { background: var(--surface-hover); color: var(--ink); }
  .builder-tabs .tab.is-active { background: var(--ink); color: var(--text-on-ink); }
  .builder-tabs .tab::after { display: none; }
  .builder-canvas { border-radius: 22px; background: radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--text-subtle) 40%, transparent) 1px, transparent 0) 0 0 / 20px 20px; padding-top: 18px; }
  .canvas-url { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--glass-strong); border: 1px solid var(--line); box-shadow: var(--e1); font-size: 12.5px; font-weight: 700; color: var(--ink); backdrop-filter: blur(10px); }
  .device-screen { box-shadow: 0 0 0 10px #111413, 0 0 0 11px #2B302D, 0 50px 90px -40px rgb(0 0 0 / .55), 0 30px 60px -30px rgb(11 194 132 / .25); border-radius: 40px; }
  :root[data-theme="dark"] .device-screen { box-shadow: 0 0 0 10px #1C201F, 0 0 0 11px #353B38, 0 50px 90px -40px rgb(0 0 0 / .9), 0 30px 60px -30px rgb(124 92 255 / .3); }
  .device-screen .ws-block.is-selected { outline-color: var(--violet-500); }
  .device-screen .ws-block:hover { outline-color: color-mix(in oklab, var(--violet-500) 45%, transparent); }

  .builder-quick { display: grid; gap: 8px; margin-bottom: 14px; }
  .builder-quick-card { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; text-align: start; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
  .builder-quick-card:hover { transform: translateY(-2px); }
  .builder-quick-card > svg { width: 20px; height: 20px; flex: none; }
  .builder-quick-card b { display: block; font-family: var(--font-display); font-size: .98rem; letter-spacing: -0.01em; color: inherit; }
  .builder-quick-card small { display: block; font-size: 11.5px; opacity: .75; }
  .builder-quick-card.is-plain { background: var(--surface-2); border: 1px solid var(--line); color: var(--ink); }
  .builder-quick-card.is-plain:hover { box-shadow: var(--e2); }

  .outline-item { border-radius: 14px; padding: 5px; }
  .outline-item.is-selected { border-color: color-mix(in oklab, var(--violet-500) 45%, var(--line)); background: var(--assist-soft); box-shadow: 0 0 0 1px color-mix(in oklab, var(--violet-500) 25%, transparent); }
  .outline-item.is-selected .outline-icon { background: var(--grad-violet); color: #fff; }
  .outline-icon { border-radius: 11px; width: 34px; height: 34px; }
  .outline-title { font-weight: 700; }
  .block-tile { border-radius: 16px; padding: 14px 6px 12px; }
  .block-tile-icon { border-radius: 12px; width: 38px; height: 38px; }
  .block-tile:hover .block-tile-icon { background: var(--grad-violet); color: #fff; }

  .builder-dialog { overflow: hidden; }
  .image-field-preview svg { width: 22px; height: 22px; }
  .builder-dialog-hero { display: flex; gap: 16px; align-items: flex-start; padding: 22px; border-radius: 0; }

  .theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .theme-card { display: grid; gap: 6px; text-align: center; font-size: var(--fs-micro); font-weight: 700; color: var(--text-muted); }
  .theme-card-preview { position: relative; display: grid; justify-items: center; align-content: start; gap: 5px; height: 96px; padding-bottom: 8px; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
  .theme-card:hover .theme-card-preview { transform: translateY(-2px); box-shadow: var(--e2); }
  .theme-card.is-selected .theme-card-preview { box-shadow: 0 0 0 2px var(--ink), var(--e2); }
  .theme-card.is-selected { color: var(--ink); }
  .theme-card-cover { width: 100%; height: 28px; margin-bottom: -8px; }
  .theme-card-dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgb(255 255 255 / .9); }
  .theme-card-btn { width: 72%; height: 11px; }
  .theme-card-btn.is-2 { opacity: .14; }
  .btn-sample-glass { background: color-mix(in oklab, var(--ink) 10%, transparent); border: 1px solid var(--line-strong); backdrop-filter: blur(4px); }

  @media (max-width: 1180px) { .builder-body { grid-template-columns: 270px minmax(0, 1fr) 320px; } }
  @media (max-width: 1023px) {
    .builder { grid-template-rows: 60px minmax(0, 1fr) 64px; }
    .builder-body { padding: 0; gap: 0; grid-template-columns: minmax(0, 1fr); }
    .builder-left, .builder-right { border-radius: 0; border: 0 !important; box-shadow: none; }
    .builder-canvas { border-radius: 0; }
    .canvas-url { display: none; }
  }
}

/* Version history (ADR-0031) */
@layer components {
  .hist-save { display: flex; gap: 6px; }
  .hist-save .input { flex: 1; min-width: 0; }
  .hist-empty { display: grid; justify-items: center; gap: 4px; text-align: center; padding: 28px 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-md); color: var(--text-muted); }
  .hist-empty > svg { width: 22px; height: 22px; }
  .hist-list { display: grid; gap: 0; position: relative; }
  .hist-item { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; }
  .hist-item + .hist-item::before { content: ""; position: absolute; inset-inline-start: 15px; top: -10px; height: 20px; width: 2px; background: var(--line); }
  .hist-dot { width: 32px; height: 32px; border-radius: 10px; flex: none; display: grid; place-items: center; background: var(--surface-sunken); color: var(--text-muted); border: 1px solid var(--line); }
  .hist-dot svg { width: 15px; height: 15px; }
  .hist-dot.is-published { background: var(--accent-soft); color: var(--accent-text); border-color: transparent; }
  .hist-dot.is-live { box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
  .hist-body { flex: 1; min-width: 0; }
  .hist-body > div { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
  .hist-name { font-size: 13.5px; color: var(--ink); overflow-wrap: anywhere; }
  .hist-body small { display: block; font-size: 12px; margin-top: 2px; }
}

/* Share preview (ADR-0032) */
@layer components {
  .share-card { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: var(--e1); }
  .share-card-img { display: block; width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; background: var(--surface-sunken); }
  .share-card-body { display: grid; gap: 2px; padding: 10px 12px; background: var(--surface-2); border-top: 1px solid var(--line); }
  .share-card-body small { font-size: 11px; color: var(--text-subtle); text-transform: lowercase; }
  .share-card-body b { font-size: 13.5px; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .share-card-body span { font-size: 12px; color: var(--text-muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
}

/* ==========================================================================================================
   Builder v3 (ADR-0068 §11): top bar that fits every width, outline tree, canvas tools and heat map,
   the block library (full-screen modal / bottom sheet) and the page design panel.
   ========================================================================================================== */
@layer components {
  .builder .kbd, .lib .kbd { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 6px; border: 1px solid var(--line-strong);
    background: var(--surface-2); color: var(--text-muted); font: 600 11px/1 var(--font-mono); box-shadow: 0 1px 0 var(--line-strong); }
  .btn-primary .kbd { background: rgb(255 255 255 / .14); color: inherit; border-color: rgb(255 255 255 / .2); box-shadow: none; }

  /* The library, media picker and dialogs are children of the grid too: keep them out of its rows. */
  .builder > :not(.builder-bar, .builder-body, .builder-mobile-tabs) { position: fixed; width: 0; height: 0; }
  .builder-mobile-tabs { grid-row: 3; }

  /* ---- Top bar: nothing wraps; wide-only actions move into the ⋯ menu ---- */
  .builder-bar-start { display: flex; align-items: center; gap: 8px; min-width: 0; flex-wrap: nowrap; }
  .builder-site-name { min-width: 0; line-height: 1.2; }
  .builder-site-name a { color: inherit; }
  .builder-center { display: flex; align-items: center; gap: 6px; }
  .builder-bar-end { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: nowrap; min-width: 0; }
  .builder-bar-end > * { flex: none; }
  .builder-bar-more { display: none; }
  @media (max-width: 1399px) {
    .builder-bar-wide { display: none !important; }
    .builder-bar-more { display: inline-flex; }
    .save-state { min-width: 0; }
    .save-state-text { display: none; }
  }
  @media (max-width: 1023px) {
    .builder-bar { grid-template-columns: minmax(0, 1fr) auto; }
    .builder-center { display: none; }
  }
  @media (max-width: 560px) {
    .builder-bar-label { display: none; }
    .builder-bar { padding: 0 10px; gap: 6px; }
    .builder-bar-end { gap: 4px; }
    .builder-site-dot { display: none; }
  }

  /* ---- Left column: header with the library button, outline tree ---- */
  .builder-left-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 10px 10px 16px; border-bottom: 1px solid var(--line); flex: none; }
  .builder-left-title { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: -0.01em; }
  .builder-add-btn { gap: 6px; }

  .outline-item { display: block; padding: 0; border: 0; background: none; box-shadow: none; }
  .outline-item:hover { background: none; }
  .outline-row { position: relative; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 14px; border: 1px solid transparent; background: var(--surface);
    transition: background var(--t-instant), border-color var(--t-fast), box-shadow var(--t-fast); }
  .outline-row:hover { background: var(--surface-hover); }
  .outline-item.is-selected { border: 0; background: none; box-shadow: none; }
  .outline-item.is-selected > .outline-row { border-color: color-mix(in oklab, var(--violet-500) 45%, var(--line)); background: var(--assist-soft); box-shadow: 0 0 0 1px color-mix(in oklab, var(--violet-500) 25%, transparent); }
  .outline-item.is-selected > .outline-row .outline-icon { background: var(--grad-violet); color: #fff; border-color: transparent; }
  .outline-item:not(.is-selected) > .outline-row .outline-icon { background: var(--surface-sunken); color: var(--ink); }
  .outline-item.is-hidden > .outline-row .outline-main { opacity: .45; }
  .outline-item.is-hidden { opacity: 1; }
  .outline-actions { display: flex; align-items: center; opacity: 0; transition: opacity var(--t-fast); }
  .outline-row:hover .outline-actions, .outline-item.is-selected > .outline-row .outline-actions, .outline-row:focus-within .outline-actions { opacity: 1; }
  .outline-main:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .outline-children { margin: 4px 0 2px; margin-inline-start: 22px; padding-inline-start: 8px; border-inline-start: 1.5px dashed var(--line-strong); }
  .outline-children .outline-icon { width: 28px; height: 28px; border-radius: 9px; }
  .outline-paste { margin-top: 8px; width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 12px; border-radius: 11px; border: 1px solid var(--line);
    background: var(--surface-2); color: var(--ink); font-weight: 600; font-size: var(--fs-small); }
  .outline-paste:hover { background: var(--surface-hover); }
  .outline-paste svg { width: 16px; height: 16px; flex: none; }
  @media (hover: none) { .outline-actions { opacity: 1; } }

  /* ---- Canvas: head, tools, drop marks, heat map ---- */
  .canvas-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; max-width: 100%; }
  .canvas-heat-toggle { display: inline-flex; align-items: center; gap: 6px; }
  .canvas-heat-toggle .chip { height: 34px; background: var(--glass-strong); backdrop-filter: blur(10px); }
  .canvas-heat-toggle .chip.is-active { background: linear-gradient(135deg, var(--heat), var(--rose-500)); color: #fff; }
  .canvas-heat-toggle .segmented > *, .insp-insights .segmented > * { white-space: nowrap; }
  .canvas-heat-legend { display: inline-flex; align-items: center; gap: 8px; max-width: min(430px, 100%); color: var(--text-muted); text-align: center; }
  .canvas-heat-scale { width: 64px; height: 8px; border-radius: 99px; flex: none; background: linear-gradient(90deg, color-mix(in oklab, var(--info) 45%, transparent), var(--heat), var(--rose-500)); }
  .device { position: relative; }
  .canvas-tools { position: absolute; inset: 0; pointer-events: none; z-index: 30; }
  .canvas-outline { display: none; }
  .canvas-bar { position: absolute; display: flex; align-items: center; justify-content: space-between; gap: 6px; height: 34px; pointer-events: none; }
  .canvas-bar.is-inside { padding-inline: 8px; }
  .canvas-bar-name { pointer-events: auto; display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 8px; background: var(--violet-500); color: #fff;
    font-size: 11.5px; font-weight: 700; white-space: nowrap; box-shadow: var(--e2); max-width: 40%; overflow: hidden; text-overflow: ellipsis; }
  .canvas-bar-actions { pointer-events: auto; display: inline-flex; gap: 2px; padding: 3px; border-radius: 11px; background: var(--ink); box-shadow: var(--e3); }
  .canvas-bar-btn { width: 30px; height: 28px; display: grid; place-items: center; border-radius: 8px; color: var(--text-on-ink); transition: background var(--t-fast); }
  .canvas-bar-btn svg { width: 15px; height: 15px; }
  .canvas-bar-btn:hover, .canvas-bar-btn:focus-visible { background: rgb(255 255 255 / .14); outline: none; }
  .canvas-bar-btn:focus-visible { box-shadow: 0 0 0 2px var(--violet-300); }
  .canvas-bar-btn.is-danger:hover { background: var(--danger); }
  .canvas-bar-btn.is-grab { cursor: grab; }
  .canvas-bar-btn.is-grab:active { cursor: grabbing; }
  .canvas-insert { position: absolute; pointer-events: auto; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-500); color: #fff;
    box-shadow: 0 0 0 3px var(--surface), var(--e2); transition: transform var(--t-fast) var(--ease-out), background var(--t-fast); z-index: 2; }
  .canvas-insert svg { width: 16px; height: 16px; }
  .canvas-insert:hover, .canvas-insert:focus-visible { transform: scale(1.15); background: var(--violet-600); outline: none; }
  .canvas-drop-line { position: absolute; border-radius: 3px; background: var(--violet-500); box-shadow: 0 0 0 3px color-mix(in oklab, var(--violet-500) 22%, transparent); pointer-events: none; }
  .canvas-drop-box { position: absolute; border-radius: 14px; border: 2px dashed var(--violet-500); background: color-mix(in oklab, var(--violet-500) 10%, transparent); pointer-events: none; }
  @media (pointer: coarse) {
    .canvas-bar { height: 44px; }
    .canvas-bar-btn { width: 40px; height: 38px; }
    .canvas-insert { width: 36px; height: 36px; }
  }
  .builder-canvas.is-heat .device-screen .ws-block { outline: 2px solid color-mix(in oklab, var(--heat) calc(var(--heat-v, 0) * 100%), color-mix(in oklab, var(--info) 60%, transparent)); outline-offset: 3px; }
  .builder-canvas.is-heat .device-screen .ws-block::after { content: var(--heat-label, "–"); position: absolute; inset-block-start: 6px; inset-inline-end: 6px; z-index: 6; pointer-events: none;
    padding: 3px 8px; border-radius: 99px; font: 700 11px/1.3 var(--font-sans); color: #fff; letter-spacing: .01em;
    background: color-mix(in oklab, var(--rose-500) calc(var(--heat-v, 0) * 100%), color-mix(in oklab, var(--info) 80%, #000)); box-shadow: 0 4px 12px -4px rgb(0 0 0 / .45); }
  .builder-canvas.is-heat .device-screen .ws-block .ws-block::after { inset-block-start: 4px; inset-inline-end: 4px; }

  /* ---- Mobile pane bar with the library button ---- */
  @media (max-width: 1023px) {
    .builder-mobile-tabs { grid-template-columns: 1fr 1fr auto 1fr; align-items: center; padding-bottom: env(safe-area-inset-bottom); }
    .builder-mobile-add { padding: 0 10px; }
    .builder-mobile-add > span { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; background: var(--grad-violet); color: #fff; box-shadow: var(--e-glow-violet); margin-top: -18px; }
    .builder-mobile-add > span svg { width: 22px; height: 22px; }
    .builder-left-head .kbd { display: none; }
  }
}

/* ---- The block library -------------------------------------------------------------------------------- */
@layer components {
  .lib { position: fixed; inset: 0; z-index: 70; }
  .lib-overlay { position: absolute; inset: 0; background: var(--overlay); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .lib-panel { position: absolute; inset: 16px; display: grid; grid-template-rows: auto minmax(0, 1fr); overflow: hidden; border-radius: 28px; background: var(--surface);
    border: 1px solid var(--line); box-shadow: var(--e3), 0 60px 120px -40px rgb(0 0 0 / .45); }
  .lib.is-dragging { pointer-events: none; }
  .canvas-tools-dragging { opacity: 0; pointer-events: none; }
  .lib.is-dragging .lib-panel, .lib.is-dragging .lib-overlay { opacity: 0; pointer-events: none; transition: opacity .18s var(--ease-out); }
  .lib-enter { transition: opacity .22s var(--ease-out), transform .28s var(--ease-out); }
  .lib-enter-start { opacity: 0; transform: translateY(14px) scale(.985); }
  .lib-enter-end { opacity: 1; transform: none; }
  .lib-grabber { display: none; }

  .lib-head { display: flex; align-items: center; gap: 14px; padding: 16px 18px 14px 24px; border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, color-mix(in oklab, var(--assist-soft) 70%, var(--surface)), var(--surface)); }
  .lib-title-wrap { flex: none; min-width: 0; }
  .lib-title { font-family: var(--font-display); font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
  .lib-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
  .lib-search { position: relative; flex: 1; min-width: 0; max-width: 640px; margin-inline: auto; display: flex; align-items: center; }
  .lib-search > svg { position: absolute; inset-inline-start: 16px; width: 18px; height: 18px; color: var(--text-subtle); pointer-events: none; }
  .lib-search .kbd { position: absolute; inset-inline-end: 12px; pointer-events: none; }
  .lib-search-input { width: 100%; height: 48px; padding: 0 44px 0 46px; border-radius: 16px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink);
    font-size: 15.5px; font-weight: 500; box-shadow: var(--e1); transition: border-color var(--t-fast), box-shadow var(--t-fast); }
  .lib-search-input::placeholder { color: var(--text-subtle); }
  .lib-search-input:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 4px color-mix(in oklab, var(--violet-500) 18%, transparent), var(--e1); }
  .lib-search-input::-webkit-search-cancel-button { display: none; }
  .lib-paste { max-width: 220px; flex: none; height: 36px; }
  .lib-close { flex: none; width: 40px; height: 40px; }

  .lib-body { display: grid; grid-template-columns: 236px minmax(0, 1fr); min-height: 0; }
  .lib-rail { overflow-y: auto; padding: 14px 10px 24px; border-inline-end: 1px solid var(--line); background: var(--surface-2); }
  .lib-rail-group { display: grid; gap: 2px; }
  .lib-rail-title { margin: 18px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-subtle); }
  .lib-nav { display: flex; align-items: center; gap: 10px; width: 100%; min-height: 38px; padding: 0 10px; border-radius: 11px; text-align: start; font-size: 13.5px; font-weight: 600; color: var(--text-muted);
    transition: background var(--t-fast), color var(--t-fast); }
  .lib-nav svg, .lib-nav-icon svg { width: 16px; height: 16px; flex: none; }
  .lib-nav-icon { display: inline-grid; place-items: center; }
  .lib-nav:hover { background: var(--surface-hover); color: var(--ink); }
  .lib-nav.is-active { background: var(--surface); color: var(--ink); box-shadow: var(--e1), 0 0 0 1px var(--line); }
  .lib-nav.is-active svg { color: var(--violet-500); }
  .lib-nav:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .lib-count { font-size: 11px; font-weight: 600; color: var(--text-subtle); font-variant-numeric: tabular-nums; }

  .lib-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; min-width: 0; }
  .lib-filters { display: flex; align-items: center; gap: 12px; padding: 12px 22px; border-bottom: 1px solid var(--line); min-width: 0; }
  .lib-chips { display: flex; gap: 6px; overflow-x: auto; flex: 1; min-width: 0; scrollbar-width: none; mask-image: linear-gradient(90deg, #000 88%, transparent); }
  [dir="rtl"] .lib-chips { mask-image: linear-gradient(-90deg, #000 88%, transparent); }
  .lib-chips::-webkit-scrollbar { display: none; }
  .lib-chips .chip { flex: none; height: 32px; }
  .lib-selects { display: flex; gap: 6px; flex: none; }
  .lib-select .select { height: 34px; padding-block: 0; font-size: var(--fs-small); min-width: 130px; }
  .lib-results { overflow-y: auto; padding: 6px 22px 32px; scroll-padding: 16px; }
  .lib-hint { display: flex; flex-wrap: wrap; gap: 6px 16px; padding: 10px 22px; border-top: 1px solid var(--line); font-size: 12px; color: var(--text-subtle); background: var(--surface-2); }
  .lib-hint span { display: inline-flex; align-items: center; gap: 6px; }

  .lib-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 18px 0 4px; }
  .lib-section-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
  .lib-section-sub { font-size: 12px; color: var(--text-muted); }
  .lib-group-head { display: flex; align-items: baseline; gap: 10px; margin: 22px 0 12px; }
  .lib-group-title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); }
  .lib-group-sub { font-size: 12.5px; color: var(--text-muted); }
  .lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 228px), 1fr)); gap: 14px; }

  .lib-card { position: relative; border-radius: 20px; border: 1px solid var(--line); background: var(--surface); box-shadow: 0 1px 2px rgb(0 0 0 / .04);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base), border-color var(--t-fast); }
  .lib-card:hover { transform: translateY(-3px); border-color: color-mix(in oklab, var(--violet-500) 35%, var(--line)); box-shadow: var(--e2), 0 18px 40px -24px color-mix(in oklab, var(--violet-500) 55%, transparent); }
  .lib-card:has(.lib-card-main:focus-visible) { border-color: var(--violet-500); box-shadow: 0 0 0 3px color-mix(in oklab, var(--violet-500) 30%, transparent), var(--e2); }
  .lib-card-main { display: grid; width: 100%; text-align: start; border-radius: inherit; cursor: pointer; outline: none; }
  .lib-thumb { position: relative; display: block; height: 168px; overflow: hidden; border-radius: 19px 19px 0 0; background: var(--surface-sunken); isolation: isolate; }
  .lib-thumb::after { content: ""; position: absolute; inset: auto 0 0; height: 36px; background: linear-gradient(transparent, rgb(0 0 0 / .06)); pointer-events: none; }
  .lib-thumb-frame { position: absolute; top: 0; inset-inline-start: 0; width: 150%; height: 150%; transform: scale(calc(1 / 1.5)); transform-origin: top left; pointer-events: none; }
  [dir="rtl"] .lib-thumb-frame { transform-origin: top right; }
  .lib-thumb-frame > .ws-site, .ds-thumb-frame > .ws-site, .insp-variant-frame > .ws-site, .lib-variant-frame > .ws-site { height: 100%; min-height: 100%; display: flex; flex-direction: column; justify-content: safe center; }
  .lib-thumb-icon { position: absolute; inset: 0; display: grid; place-items: center; color: var(--text-subtle); }
  .lib-thumb-icon svg { width: 28px; height: 28px; }
  .lib-thumb-icon.is-loading { background: linear-gradient(100deg, transparent 20%, color-mix(in oklab, var(--surface) 70%, transparent) 50%, transparent 80%) 0 0 / 200% 100%, var(--surface-sunken); animation: lib-shimmer 1.2s linear infinite; }
  @keyframes lib-shimmer { to { background-position: -200% 0, 0 0; } }
  .lib-card-body { display: grid; gap: 3px; padding: 12px 14px 14px; min-width: 0; }
  .lib-card-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; letter-spacing: -0.015em; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lib-card-desc { font-size: 12.5px; line-height: 1.4; color: var(--text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.8em; }
  .lib mark { background: color-mix(in oklab, var(--violet-500) 22%, transparent); color: inherit; border-radius: 3px; padding: 0 1px; }
  .lib-badges { position: absolute; top: 10px; inset-inline-start: 10px; display: flex; gap: 4px; pointer-events: none; }
  .lib-badge { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 99px; font-size: 10.5px; font-weight: 800; letter-spacing: .02em;
    background: rgb(255 255 255 / .9); color: #111; box-shadow: 0 2px 8px -2px rgb(0 0 0 / .25); backdrop-filter: blur(6px); }
  .lib-badge svg { width: 11px; height: 11px; }
  .lib-badge.is-new { background: var(--lime-400); color: var(--forest-950); }
  .lib-badge.is-featured { background: var(--ink); color: var(--text-on-ink); }
  .lib-badge.is-premium { background: linear-gradient(135deg, #F5D78E, #D9A441); color: #3A2A06; }
  .lib-badge.is-preset { background: var(--violet-500); color: #fff; }
  .lib-card-tools { position: absolute; top: 8px; inset-inline-end: 8px; display: flex; gap: 4px; opacity: 0; transform: translateY(-3px); transition: opacity var(--t-fast), transform var(--t-fast); }
  .lib-tool-group { display: contents; }
  .lib-card:hover .lib-card-tools, .lib-card:focus-within .lib-card-tools, .lib-card-tools:has(.is-on) { opacity: 1; transform: none; }
  .lib-tool { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: rgb(255 255 255 / .92); color: #1b1f1d; box-shadow: 0 4px 12px -4px rgb(0 0 0 / .35); backdrop-filter: blur(6px); }
  .lib-tool svg { width: 15px; height: 15px; }
  .lib-tool:hover { background: #fff; }
  .lib-tool.is-on { color: #C98A00; }
  .lib-tool.is-on svg { fill: currentColor; }
  .lib-tool.is-danger:hover { color: var(--danger); }
  .lib-card.is-locked .lib-thumb::before { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / .28)); }
  .lib-card.is-skeleton { pointer-events: none; }
  .lib-card.is-skeleton .lib-thumb { animation: lib-shimmer 1.2s linear infinite; background: linear-gradient(100deg, transparent 20%, color-mix(in oklab, var(--surface) 70%, transparent) 50%, transparent 80%) 0 0 / 200% 100%, var(--surface-sunken); }
  .lib-card.is-skeleton .lib-card-body span { display: block; height: 12px; border-radius: 6px; background: var(--surface-sunken); }
  .lib-card.is-skeleton .lib-card-body span + span { width: 60%; }
  .lib-rename { position: absolute; inset: auto 8px 8px; z-index: 3; display: flex; gap: 6px; padding: 6px; border-radius: 12px; background: var(--surface); box-shadow: var(--e3); }
  .lib-rename .input { height: 34px; }
  .lib-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 60px 16px; }
  .lib-empty-icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: var(--assist-soft); color: var(--violet-500); }
  .lib-empty-icon svg { width: 22px; height: 22px; }

  /* Preview before adding */
  .lib-preview { position: absolute; inset: 0; z-index: 5; display: grid; grid-template-columns: minmax(0, 1fr) 380px; background: var(--surface); animation: lib-slide .24s var(--ease-out); }
  @keyframes lib-slide { from { opacity: 0; transform: translateX(calc(var(--dir-sign, 1) * 18px)); } }
  .lib-preview-stage { display: grid; grid-template-rows: auto minmax(0, 1fr); min-height: 0; background: radial-gradient(circle at 1px 1px, color-mix(in oklab, var(--text-subtle) 35%, transparent) 1px, transparent 0) 0 0 / 20px 20px, var(--canvas); }
  .lib-preview-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 14px 18px; }
  .lib-preview-canvas { overflow: auto; display: grid; justify-items: center; align-content: safe center; gap: 12px; padding: 12px 24px 32px; }
  .lib-preview-frame { width: 390px; max-width: 100%; border-radius: 34px; overflow: hidden; box-shadow: 0 0 0 9px #111413, 0 0 0 10px #2B302D, 0 40px 80px -36px rgb(0 0 0 / .55); background: var(--surface); }
  .lib-preview-canvas.is-desktop .lib-preview-frame { width: min(100%, 1100px); border-radius: 14px; box-shadow: 0 0 0 1px var(--line-strong), 0 30px 60px -30px rgb(0 0 0 / .45); }
  .lib-preview-note { font-size: 12px; color: var(--text-muted); text-align: center; }
  .lib-preview-side { display: flex; flex-direction: column; gap: 18px; min-height: 0; overflow-y: auto; padding: 22px; border-inline-start: 1px solid var(--line); }
  .lib-preview-kicker { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--violet-500); }
  .lib-preview-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.03em; color: var(--ink); line-height: 1.1; }
  .lib-variant-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
  .lib-variant { display: grid; gap: 5px; padding: 5px; border-radius: 14px; border: 1px solid var(--line); background: var(--surface); text-align: start; transition: border-color var(--t-fast), box-shadow var(--t-fast); }
  .lib-variant:hover { border-color: var(--line-strong); }
  .lib-variant:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .lib-variant.is-active { border-color: var(--violet-500); box-shadow: 0 0 0 1px var(--violet-500); background: var(--assist-soft); }
  .lib-variant-thumb { position: relative; display: grid; place-items: center; height: 70px; border-radius: 10px; overflow: hidden; background: var(--surface-sunken); color: var(--violet-500); }
  .lib-variant-thumb > svg { width: 20px; height: 20px; }
  .lib-variant-frame { position: absolute; top: 0; inset-inline-start: 0; width: 480%; height: 480%; transform: scale(calc(1 / 4.8)); transform-origin: top left; pointer-events: none; }
  [dir="rtl"] .lib-variant-frame { transform-origin: top right; }
  .lib-variant-label { font-size: 11.5px; font-weight: 600; color: var(--ink); line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .lib-preview-actions { margin-top: auto; display: grid; gap: 8px; position: sticky; bottom: -22px; padding: 14px 0 0; background: linear-gradient(transparent, var(--surface) 30%); }
  .lib-add { height: 48px; font-size: 15px; justify-content: center; }
  .lib-upgrade { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 16px; background: linear-gradient(135deg, #FFF6DD, #FBE7B5); color: #3A2A06; }
  .lib-upgrade .muted { color: #6B5520; }
  .lib-upgrade-icon { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, #F5D78E, #D9A441); color: #3A2A06; }
  .lib-upgrade .btn { margin-inline-start: auto; }

  /* Phones and small tablets: a bottom sheet with the rail as a chip row */
  @media (max-width: 767px) {
    .lib-panel { inset: auto 0 0 0; height: 94dvh; border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom); }
    .lib-enter-start { transform: translateY(40px); }
    .lib-grabber { display: block; width: 44px; height: 5px; border-radius: 99px; background: var(--line-strong); margin: 8px auto -4px; }
    .lib-panel { grid-template-rows: auto auto minmax(0, 1fr); }
    .lib-head { flex-wrap: wrap; gap: 10px; padding: 10px 14px 12px; }
    .lib-title { font-size: 1.2rem; }
    .lib-sub { display: none; }
    .lib-title-wrap { flex: 1; }
    .lib-search { order: 5; flex-basis: 100%; max-width: none; }
    .lib-search .kbd { display: none; }
    .lib-search-input { height: 46px; font-size: 16px; }
    .lib-paste { order: 6; max-width: 100%; }
    .lib-body { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
    .lib-rail { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; padding: 10px 14px; border: 0; border-bottom: 1px solid var(--line); scrollbar-width: none; }
    .lib-rail::-webkit-scrollbar { display: none; }
    .lib-rail-group { display: flex; gap: 6px; }
    .lib-rail-title { display: none; }
    .lib-nav { width: auto; flex: none; min-height: 40px; border-radius: 99px; padding: 0 14px; border: 1px solid var(--line); background: var(--surface); white-space: nowrap; }
    .lib-nav.is-active { background: var(--ink); color: var(--text-on-ink); box-shadow: none; border-color: transparent; }
    .lib-nav.is-active svg { color: inherit; }
    .lib-filters { flex-wrap: wrap; padding: 10px 14px; gap: 8px; }
    .lib-chips { flex-basis: 100%; }
    .lib-selects { flex-basis: 100%; }
    .lib-select { flex: 1; }
    .lib-select .select { width: 100%; min-width: 0; height: 40px; }
    .lib-results { padding: 4px 14px 28px; }
    .lib-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .lib-thumb { height: 124px; }
    .lib-thumb-frame { width: 210%; height: 210%; transform: scale(calc(1 / 2.1)); }
    .lib-card { border-radius: 16px; }
    .lib-card-body { padding: 10px 10px 12px; }
    .lib-card-title { font-size: 14px; }
    .lib-card-desc { font-size: 12px; }
    .lib-card-tools { opacity: 1; transform: none; }
    .lib-tool { width: 36px; height: 36px; }
    .lib-hint { display: none; }
    .lib-preview { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto auto; overflow-y: auto; }
    .lib-preview-stage { min-height: 0; display: block; }
    .lib-preview-canvas { overflow: visible; padding: 8px 14px 18px; }
    .lib-preview-frame { width: 100%; border-radius: 22px; box-shadow: 0 0 0 1px var(--line-strong), var(--e2); }
    .lib-preview-side { border: 0; border-top: 1px solid var(--line); overflow: visible; padding: 18px 16px 24px; }
    .lib-preview-actions { position: sticky; bottom: 0; padding-bottom: 8px; }
  }
  @media (min-width: 768px) and (max-width: 1100px) {
    .lib-body { grid-template-columns: 200px minmax(0, 1fr); }
    .lib-preview { grid-template-columns: minmax(0, 1fr) 320px; }
    .lib-paste { display: none; }
  }
  @media (hover: none) { .lib-card-tools { opacity: 1; transform: none; } }
  @media (prefers-reduced-motion: reduce) {
    .lib-card, .lib-enter, .lib-preview, .lib-thumb-icon.is-loading, .lib-card.is-skeleton .lib-thumb { transition: none; animation: none; }
    .lib-card:hover { transform: none; }
  }
}

/* ---- Page design panel ------------------------------------------------------------------------------------ */
@layer components {
  .design-panel .ds-section { display: grid; gap: 12px; }
  .design-panel .ds-section + .ds-section { padding-top: 18px; border-top: 1px solid var(--line); }
  .ds-head { display: grid; gap: 2px; }
  .ds-title { font-family: var(--font-display); font-size: 1rem; font-weight: 800; letter-spacing: -0.015em; color: var(--ink); }
  .ds-desc { margin-top: -4px; }
  .ds-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 140px), 1fr)); gap: 10px; }
  .ds-gallery.is-themes { grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); }
  .ds-card { display: grid; gap: 6px; text-align: center; border-radius: 16px; padding: 4px; }
  .ds-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
  .ds-thumb { position: relative; display: block; height: 150px; overflow: hidden; border-radius: 14px; background: var(--surface-sunken); border: 1px solid var(--line);
    transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); isolation: isolate; }
  .ds-gallery.is-themes .ds-thumb { height: 118px; }
  .ds-card:hover .ds-thumb { transform: translateY(-2px); box-shadow: var(--e2); }
  .ds-card.is-active .ds-thumb { border-color: transparent; box-shadow: 0 0 0 2px var(--violet-500), var(--e2); }
  .ds-thumb-frame { position: absolute; top: 0; inset-inline-start: 0; width: 260%; height: 260%; transform: scale(calc(1 / 2.6)); transform-origin: top left; pointer-events: none; }
  .ds-gallery.is-systems .ds-thumb-frame { width: 700%; height: 700%; transform: scale(calc(1 / 7)); }
  .ds-gallery.is-themes .ds-thumb-frame { width: 350%; height: 350%; transform: scale(calc(1 / 3.5)); }
  .ds-thumb-frame > .ws-site { justify-content: flex-start !important; }
  [dir="rtl"] .ds-thumb-frame { transform-origin: top right; }
  .ds-thumb-skel { position: absolute; inset: 0; }
  .ds-thumb-skel.is-loading { background: linear-gradient(100deg, transparent 20%, color-mix(in oklab, var(--surface) 70%, transparent) 50%, transparent 80%) 0 0 / 200% 100%; animation: lib-shimmer 1.2s linear infinite; }
  .ds-check { position: absolute; top: 6px; inset-inline-end: 6px; z-index: 2; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--violet-500); color: #fff; box-shadow: var(--e2); }
  .ds-check svg { width: 13px; height: 13px; }
  .ds-card-name { font-size: 12px; font-weight: 700; color: var(--text-muted); }
  .ds-card.is-active .ds-card-name { color: var(--ink); }
  .ds-swatch { position: absolute; inset: auto 8px 8px; display: flex; gap: 4px; }
  .ds-swatch i { flex: 1; height: 12px; border-radius: 4px; }

  .ds-colours { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 8px; }
  .ds-colour { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; min-width: 0; }
  .ds-colour:hover { border-color: var(--line-strong); }
  .ds-colour:focus-within { outline: 2px solid var(--accent); outline-offset: 1px; }
  .ds-colour > span:last-child { display: grid; min-width: 0; }
  .ds-colour b { font-size: 12.5px; color: var(--ink); }
  .ds-colour small { font-size: 10.5px; color: var(--text-subtle); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ds-colour-dot { position: relative; width: 30px; height: 30px; flex: none; border-radius: 9px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .12); overflow: hidden; }
  .ds-colour-dot input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }

  .ds-buttons { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
  .ds-btn-tile { display: grid; gap: 6px; justify-items: center; padding: 10px 4px 8px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
  .ds-btn-tile small { font-size: 11px; font-weight: 600; color: var(--text-muted); }
  .ds-btn-tile.is-active { border-color: var(--violet-500); box-shadow: 0 0 0 1px var(--violet-500); background: var(--assist-soft); }
  .ds-btn-tile.is-active small { color: var(--ink); }
  .ds-btn-tile:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .ds-btn-sample { display: grid; place-items: center; width: 100%; height: 26px; padding: 0 4px; font-size: 10.5px; font-weight: 700; border-radius: var(--pr, 10px); overflow: hidden; white-space: nowrap; }
  .ds-btn-sample.shape-square { border-radius: 2px; }
  .ds-btn-sample.shape-pill { border-radius: 99px; }
  .ds-btn-sample.shape-leaf { border-radius: 14px 2px 14px 2px; }
  .ds-btn-sample.is-solid { background: var(--pa); color: var(--pt); }
  .ds-btn-sample.is-soft { background: color-mix(in oklab, var(--pa) 18%, transparent); color: var(--px); border: 1px solid color-mix(in oklab, var(--pa) 35%, transparent); }
  .ds-btn-sample.is-glass { background: color-mix(in oklab, var(--px) 8%, transparent); color: var(--px); border: 1px solid color-mix(in oklab, var(--px) 18%, transparent); }
  .ds-btn-sample.is-outline { background: transparent; color: var(--px); border: 1.5px solid var(--px); }
  .ds-btn-sample.is-shadow { background: var(--surface); color: var(--px); box-shadow: 0 6px 14px -6px rgb(0 0 0 / .35); }

  .ds-fonts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ds-font { display: grid; gap: 2px; justify-items: center; padding: 8px 4px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface-2); }
  .ds-font small { font-size: 10.5px; font-weight: 600; color: var(--text-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ds-font.is-active { border-color: var(--violet-500); box-shadow: 0 0 0 1px var(--violet-500); background: var(--assist-soft); }
  .ds-font:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .ds-font-sample { font-size: 21px; font-weight: 700; line-height: 1.1; color: var(--ink); }
  .ds-font-sample.is-italic { font-style: italic; font-weight: 400; }

  .ds-bgs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .ds-bg { display: grid; gap: 5px; justify-items: center; padding: 6px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
  .ds-bg small { font-size: 11px; font-weight: 600; color: var(--text-muted); }
  .ds-bg.is-active { border-color: var(--violet-500); box-shadow: 0 0 0 1px var(--violet-500); background: var(--assist-soft); }
  .ds-bg:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
  .ds-bg-art { width: 100%; height: 36px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); background: var(--b); }
  .ds-bg-art.is-preset { background: linear-gradient(135deg, var(--b), color-mix(in oklab, var(--a) 25%, var(--b))); }
  .ds-bg-art.is-gradient { background: linear-gradient(135deg, var(--b), var(--a)); }
  .ds-bg-art.is-animated { background: linear-gradient(135deg, var(--b), var(--a), var(--b)) 0 0 / 300% 300%; animation: ds-pan 5s ease-in-out infinite alternate; }
  @keyframes ds-pan { to { background-position: 100% 100%; } }
  .ds-bg-art.is-pattern { background: radial-gradient(color-mix(in oklab, var(--ink) 30%, transparent) 1.2px, transparent 1.6px) 0 0 / 8px 8px, var(--b); }
  .ds-bg-art.is-image { background: linear-gradient(160deg, #8FB8A8, #2F5D50 60%, #1B2F2A); }
  .ds-patterns { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
  .ds-pattern { display: grid; gap: 4px; justify-items: center; padding: 5px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
  .ds-pattern small { font-size: 10.5px; font-weight: 600; color: var(--text-muted); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .ds-pattern.is-active { border-color: var(--violet-500); box-shadow: 0 0 0 1px var(--violet-500); }
  .ds-pattern-art { display: block; width: 100%; height: 38px; border-radius: 8px; box-shadow: inset 0 0 0 1px rgb(0 0 0 / .08); }
  .ds-image { display: flex; align-items: center; gap: 12px; }
  .ds-image-preview { width: 72px; height: 72px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--surface-sunken); border: 1px solid var(--line); color: var(--text-subtle); }
  .ds-image-preview img { width: 100%; height: 100%; object-fit: cover; }
  @media (prefers-reduced-motion: reduce) { .ds-bg-art.is-animated, .ds-thumb-skel.is-loading { animation: none; } }
}

/* Unlayered on purpose: the site stylesheet (unlayered) sets the page frame's height; thumbnails centre their block. */
.lib-thumb-frame > .ws-site > .ws-frame, .insp-variant-frame > .ws-site > .ws-frame, .lib-variant-frame > .ws-site > .ws-frame, .lib-preview-frame > .ws-site > .ws-frame { min-height: 0; }
.lib-preview-frame > .ws-site { min-height: min(620px, 62vh); display: flex; flex-direction: column; justify-content: safe center; }
.lib-preview-canvas.is-desktop .lib-preview-frame > .ws-site { min-height: min(460px, 52vh); }
@media (max-width: 767px) { .lib-preview-frame > .ws-site { min-height: 300px; } }

/* css/components/os.css */
/* Weesify OS: pillar navigation, the OS map and module pages ------------------------------ */
@layer components {
  /* Sidebar: pillar sections, compact items, roadmap badges */
  .nav-item.is-planned { color: var(--text-subtle); }
  .nav-item.is-planned svg { opacity: .8; }
  .nav-badge { margin-inline-start: auto; min-width: 26px; height: 18px; padding: 0 6px; display: inline-grid; place-items: center; border-radius: var(--r-pill); font-size: 10px; font-weight: 700; letter-spacing: .02em; color: var(--text-subtle); border: 1px dashed var(--line-strong); }
  .nav-badge.is-now { border: 0; color: #fff; background: var(--grad-violet); }
  .nav-item[aria-current="page"] .nav-badge { color: var(--text-on-ink); border-color: rgb(255 255 255 / .3); }

  /* Status language, shared everywhere */
  .os-dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex: none; }
  .os-dot.is-live { background: var(--emerald-500); box-shadow: 0 0 0 3px color-mix(in oklab, var(--emerald-500) 22%, transparent); }
  .os-dot.is-building { background: var(--violet-500); box-shadow: 0 0 0 3px color-mix(in oklab, var(--violet-500) 22%, transparent); animation: os-pulse 2.2s var(--ease-out) infinite; }
  .os-dot.is-planned { background: transparent; border: 2px solid var(--text-subtle); }
  .g-card .os-dot.is-planned { border-color: rgb(255 255 255 / .7); }
  @keyframes os-pulse { 50% { box-shadow: 0 0 0 6px color-mix(in oklab, var(--violet-500) 6%, transparent); } }
  @media (prefers-reduced-motion: reduce) { .os-dot.is-building { animation: none; } }

  .os-counts { display: flex; flex-wrap: wrap; gap: 8px; }
  .os-count { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: var(--r-pill); background: var(--glass-strong); border: 1px solid var(--line); font-size: var(--fs-small); color: var(--text-muted); box-shadow: var(--e1); }
  .os-count b { color: var(--ink); font-size: 15px; }

  /* Roadmap strip */
  .os-road { padding: 20px 22px; }
  .os-stages { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
  .os-stage { display: grid; gap: 6px; min-width: 0; }
  .os-stage-bar { height: 6px; border-radius: var(--r-pill); background: var(--line-strong); }
  .os-stage.is-done .os-stage-bar { background: var(--grad-forest); }
  .os-stage.is-now .os-stage-bar { background: repeating-linear-gradient(-45deg, var(--violet-500) 0 6px, var(--violet-400) 6px 12px); }
  .os-stage-n { font-size: 11px; font-weight: 700; color: var(--text-subtle); font-variant-numeric: tabular-nums; }
  .os-stage-label { font-size: 12.5px; font-weight: 600; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .os-stage.is-done .os-stage-label { color: var(--ink); }
  .os-stage.is-now .os-stage-label { color: var(--assist-text); }
  @media (max-width: 720px) {
    .os-stages { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 14px; }
  }

  /* Pillars and module cards */
  .os-pillar { margin-top: 34px; }
  .os-pillar-head { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
  .os-pillar-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; }
  .os-pillar-icon svg { width: 20px; height: 20px; }
  .os-pillar-title { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.03em; }
  .os-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 14px; }
  .os-card { position: relative; display: flex; flex-direction: column; gap: 6px; min-height: 196px; padding: 18px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); color: var(--text); transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast), border-color var(--t-fast); }
  .os-card:hover { transform: translateY(-2px); box-shadow: var(--e2); border-color: var(--line-strong); }
  .os-card.is-planned { background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--hatch); border-style: dashed; box-shadow: none; }
  .os-card.is-building { border-color: color-mix(in oklab, var(--violet-500) 40%, var(--line)); background: linear-gradient(160deg, var(--assist-soft), var(--surface) 55%); }
  .os-card-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: var(--ink); border: 1px solid var(--line); }
  .os-card-icon:not(.g-card) { background: var(--surface-sunken); }
  .os-card-icon.g-card { border: 0; color: #fff; }
  .os-card-icon svg { width: 20px; height: 20px; }
  .os-card.is-building .os-card-icon { background: var(--grad-violet); color: #fff; border: 0; }
  .os-card-title { margin-top: 10px; font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); }
  .os-card-tag { font-size: var(--fs-small); color: var(--text-muted); }
  .os-card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; gap: 8px; }
  .os-card-cta { margin-inline-start: auto; display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-small); font-weight: 600; color: var(--ink); }
  .os-card-cta svg { width: 14px; height: 14px; transition: transform var(--t-fast) var(--ease-out); }
  .os-card:hover .os-card-cta svg { transform: translateX(calc(3px * var(--dir-sign, 1))) scaleX(var(--flip-x, 1)); }
  .os-status { display: inline-flex; align-items: center; height: 22px; padding: 0 9px; border-radius: var(--r-pill); font-size: 11px; font-weight: 700; white-space: nowrap; }
  .os-status.is-live { background: var(--accent-soft); color: var(--accent-text); }
  .os-status.is-building { background: var(--assist-soft); color: var(--assist-text); }
  .os-status.is-planned { color: var(--text-muted); border: 1px dashed var(--line-strong); }
  .os-goal { display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 700; color: var(--heat); }
  .os-goal svg { width: 13px; height: 13px; }

  /* The connected-graph band */
  .os-flow { margin-top: 38px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 26px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 1000px) { .os-flow { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; } }
  .os-flow-title { color: #fff; font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.04em; margin: 14px 0 8px; }
  .os-flow-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; counter-reset: flow; }
  @media (min-width: 560px) { .os-flow-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .os-flow-steps li { display: flex; flex-direction: column; gap: 10px; padding: 14px; border-radius: 16px; background: rgb(255 255 255 / .06); border: 1px solid rgb(255 255 255 / .1); color: rgb(255 255 255 / .9); font-size: var(--fs-small); font-weight: 600; }
  .os-flow-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: rgb(194 244 91 / .14); color: var(--lime-400); }
  .os-flow-icon svg { width: 17px; height: 17px; }

  /* Module page */
  .os-back { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
  .os-back:hover { color: var(--ink); }
  .os-back svg { width: 15px; height: 15px; }
  .os-hero { padding: clamp(22px, 4vw, 44px); display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
  @media (min-width: 900px) { .os-hero { grid-template-columns: minmax(0, 1.4fr) minmax(0, .6fr); align-items: center; } }
  .os-hero-title { color: #fff; font-family: var(--font-display); font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); letter-spacing: -0.05em; line-height: 1; margin-top: 16px; }
  .os-hero-tag { font-family: var(--font-accent); font-style: italic; font-size: 1.35rem; color: rgb(255 255 255 / .86); margin-top: 6px; }
  .os-hero-pitch { max-width: 58ch; margin-top: 12px; color: rgb(255 255 255 / .78); }
  .os-hero-art { display: grid; justify-items: center; gap: 16px; }
  .os-hero-glyph { width: 116px; height: 116px; border-radius: 34px; display: grid; place-items: center; background: rgb(255 255 255 / .12); border: 1px solid rgb(255 255 255 / .22); backdrop-filter: blur(10px); box-shadow: 0 24px 60px -24px rgb(0 0 0 / .5); }
  .os-hero-glyph svg { width: 52px; height: 52px; color: #fff; stroke-width: 1.5; }
  .os-hero-stage { width: min(240px, 100%); padding: 12px 14px; border-radius: 16px; background: rgb(0 0 0 / .18); display: grid; gap: 6px; color: #fff; }
  .os-hero-stage small { color: rgb(255 255 255 / .7); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
  .os-hero-stage b { font-family: var(--font-display); font-size: 1.3rem; }
  .os-hero-stage .stepper > span { background: rgb(255 255 255 / .2); }
  @media (max-width: 899px) { .os-hero-art { justify-items: start; grid-auto-flow: column; justify-content: start; align-items: center; } .os-hero-glyph { width: 72px; height: 72px; border-radius: 22px; } .os-hero-glyph svg { width: 32px; height: 32px; } }
  .os-features { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .os-features li { display: flex; align-items: center; gap: 12px; font-weight: 500; color: var(--text); }
  .os-feature-tick { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
  .os-feature-tick svg { width: 14px; height: 14px; }

  /* Create launcher: modules that are coming */
  .launcher-soon-head { display: flex; align-items: center; justify-content: space-between; margin: 20px 2px 10px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--text-subtle); }
  .launcher-soon-head a { display: inline-flex; align-items: center; gap: 4px; letter-spacing: 0; text-transform: none; font-size: var(--fs-small); color: var(--assist-text); }
  .launcher-soon-head svg { width: 13px; height: 13px; }
  .launcher-soon { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); gap: 8px; }
  .launcher-soon-tile { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 12px; border-radius: var(--r-md); border: 1px dashed var(--line-strong); color: var(--text-muted); font-size: var(--fs-small); font-weight: 600; transition: border-color var(--t-fast), color var(--t-fast), background var(--t-fast); }
  .launcher-soon-tile svg { width: 17px; height: 17px; flex: none; }
  .launcher-soon-tile small { font-size: 10.5px; font-weight: 700; color: var(--text-subtle); }
  .launcher-soon-tile:hover { border-style: solid; border-color: color-mix(in oklab, var(--violet-500) 45%, var(--line)); color: var(--ink); background: var(--assist-soft); }

  /* Home: compact OS overview */
  .os-home-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); gap: 6px 18px; padding: 4px 20px 20px; }
  .os-home-col { display: grid; align-content: start; gap: 2px; min-width: 0; }
  .os-home-head { display: flex; align-items: center; gap: 10px; padding: 6px 0 8px; font-size: var(--fs-small); color: var(--ink); }
  .os-home-icon.g-card { border-radius: 9px; }
  .os-home-icon { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; }
  .os-home-icon svg { width: 14px; height: 14px; }
  .os-home-row { display: flex; align-items: center; gap: 10px; height: 34px; padding: 0 10px; margin: 0 -10px; border-radius: 10px; font-size: var(--fs-small); font-weight: 600; color: var(--text); min-width: 0; }
  .os-home-row:hover { background: var(--surface-hover); }
  .os-home-row.is-planned { color: var(--text-muted); font-weight: 500; }
  .os-home-row small { font-size: 10.5px; font-weight: 700; color: var(--text-subtle); }
  .os-home-goal { width: 14px; height: 14px; color: var(--heat); flex: none; }

  /* Tall navigation: keep the pillars visible on shorter screens */
  @media (min-width: 1024px) and (max-height: 1040px) { .sidebar-foot .usage-card { display: none; } }
}

/* css/marketing.css */
/* ==========================================================================
   weesify.com marketing site. Built on the Aurora tokens; no framework.
   ========================================================================== */
@layer components {
  .mk { background: var(--canvas); color: var(--text); font-size: 15px; overflow-x: hidden; }
  .mk-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 40px); }
  .mk .kicker { display: inline-block; margin-bottom: 12px; }
  .mk em.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }

  /* ---- Nav with mega menus (ADR-0026) ---- */
  .mk-nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 clamp(12px, 3vw, 28px); pointer-events: none; }
  .mk-nav-inner { pointer-events: auto; position: relative; z-index: 2; max-width: 1180px; margin: 0 auto; display: flex; align-items: center; gap: 18px; height: 64px; padding-block: 0; padding-inline: 18px 10px; border-radius: 22px; background: rgb(255 255 255 / .74); border: 1px solid rgb(255 255 255 / .85); backdrop-filter: blur(18px) saturate(1.6); -webkit-backdrop-filter: blur(18px) saturate(1.6); box-shadow: 0 12px 40px -18px rgb(0 0 0 / .35); transition: background var(--t-base), border-color var(--t-base); }
  .mk-nav.is-dark:not(.mega-open) .mk-nav-inner { background: rgb(14 17 16 / .55); border-color: rgb(255 255 255 / .1); }
  .mk-nav.is-dark:not(.mega-open) :is(.mk-brand span, .mk-link, .mk-signin) { color: #fff; }
  .mk-nav.is-dark:not(.mega-open) .mk-burger span { background: #fff; }
  .mk-brand { font-size: 1.25rem; }
  .mk-links { display: flex; gap: 2px; margin: 0 auto; }
  .mk-link { display: inline-flex; align-items: center; gap: 4px; padding: 8px 13px; border-radius: 12px; font: inherit; font-weight: 650; font-size: 14.5px; color: var(--text); background: none; border: 0; cursor: pointer; transition: background var(--t-fast), color var(--t-fast); }
  .mk-link:hover, .mk-link.is-open { background: rgb(0 0 0 / .05); color: var(--ink); }
  .mk-nav.is-dark:not(.mega-open) .mk-link:hover { background: rgb(255 255 255 / .1); }
  .mk-caret svg { width: 14px; height: 14px; transition: transform var(--t-base) var(--ease-out); }
  .mk-link.is-open .mk-caret svg { transform: rotate(180deg); }
  .mk-nav-cta { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
  .mk-signin { padding: 8px 12px; font-weight: 700; color: var(--ink); border-radius: 12px; }
  .mk-signin:hover { background: rgb(0 0 0 / .05); }
  .mk-burger { display: none; width: 44px; height: 44px; border-radius: 12px; place-content: center; gap: 5px; background: none; border: 0; cursor: pointer; }
  .mk-burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform var(--t-base) var(--ease-out), opacity var(--t-fast); }
  .mk-nav.menu-open .mk-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .mk-nav.menu-open .mk-burger span:nth-child(2) { opacity: 0; }
  .mk-nav.menu-open .mk-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  html.mk-lock { overflow: hidden; }

  .mk-mega-wrap { pointer-events: none; position: relative; z-index: 1; max-width: 1180px; margin: 10px auto 0; }
  .mk-mega-wrap.is-open { pointer-events: auto; }
  .mk-mega { padding: 14px; border-radius: 26px; background: rgb(255 255 255 / .92); border: 1px solid rgb(255 255 255 / .9); backdrop-filter: blur(22px) saturate(1.7); -webkit-backdrop-filter: blur(22px) saturate(1.7);
    box-shadow: 0 40px 90px -40px rgb(10 20 15 / .45), 0 0 0 1px rgb(10 20 15 / .04); animation: mk-mega-in .26s var(--ease-out) both; }
  .mk-mega.is-swap { animation: mk-mega-swap .2s var(--ease-out) both; }
  @keyframes mk-mega-in { from { opacity: 0; transform: translateY(-8px) scale(.985); } to { opacity: 1; transform: none; } }
  @keyframes mk-mega-swap { from { opacity: .4; } to { opacity: 1; } }
  .mk-mega[hidden] { display: none; }

  /* Product cards */
  .mk-mega-cards { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
  .mk-mcard { --t1: #F1ECFF; --t2: #FAF8FF; --tc: #7C5CFF; grid-column: span 2; position: relative; display: grid; grid-template-rows: auto 1fr; min-height: 232px; border-radius: 20px; overflow: hidden; color: var(--ink);
    background: linear-gradient(160deg, var(--t1), var(--t2) 70%); border: 1px solid rgb(10 20 15 / .06); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); isolation: isolate; }
  .mk-mcard::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgb(10 20 15 / .035) 1px, transparent 1px), linear-gradient(90deg, rgb(10 20 15 / .035) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(180deg, transparent, #000 60%); }
  .mk-mcard:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -28px rgb(10 20 15 / .5); }
  .mk-mcard.is-wide { grid-column: span 3; min-height: 138px; grid-template-rows: none; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .mk-mcard-head { display: grid; gap: 4px; padding: 18px 18px 10px; align-content: start; }
  .mk-mcard-icon { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: var(--tc); box-shadow: 0 6px 14px -6px var(--tc); margin-bottom: 8px; }
  .mk-mcard-icon svg { width: 16px; height: 16px; }
  .mk-mcard-head b { font-size: 15.5px; letter-spacing: -0.01em; }
  .mk-mcard-head small { color: var(--text-muted); font-size: 13.5px; line-height: 1.45; }
  .tone-green { --t1: #E3F8EE; --t2: #F6FDF9; --tc: #0BA870; }
  .tone-orange { --t1: #FFEDE3; --t2: #FFF9F5; --tc: #F26A2E; }
  .tone-amber { --t1: #FFF3D6; --t2: #FFFCF4; --tc: #D99A06; }
  .tone-blue { --t1: #E4EDFF; --t2: #F7FAFF; --tc: #3B6FE0; }
  .tone-pink { --t1: #FFE6F0; --t2: #FFF8FB; --tc: #E5487F; }
  .tone-ink { --t1: #1F2925; --t2: #0E1512; --tc: #C2F45B; color: #fff; }
  .tone-ink .mk-mcard-head b { color: #fff; }
  .tone-ink .mk-mcard-head small { color: rgb(255 255 255 / .66); }
  .tone-ink .mk-mcard-icon { color: #0E1512; }
  .tone-ink.mk-mcard::after { background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); }

  /* Columns */
  .mk-mega-cols { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); }
  .mk-mega-col { padding: 8px 10px 10px; }
  .mk-mega-col + .mk-mega-col { border-inline-start: 1px solid var(--line); }
  .mk-mega-title { margin: 6px 10px 8px; font-size: 11.5px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; color: var(--text-subtle); }
  .mk-mitem { display: flex; gap: 12px; align-items: flex-start; padding: 10px; border-radius: 14px; color: var(--ink); transition: background var(--t-fast); }
  a.mk-mitem:hover, a.mk-mitem:focus-visible { background: rgb(10 20 15 / .045); }
  .mk-mitem-icon { flex: none; width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 6px -3px rgb(0 0 0 / .18); color: var(--ink); transition: transform var(--t-fast) var(--ease-out), background var(--t-fast), color var(--t-fast); }
  a.mk-mitem:hover .mk-mitem-icon { transform: scale(1.06); background: var(--ink); color: #C2F45B; border-color: transparent; }
  .mk-mitem-icon svg { width: 17px; height: 17px; }
  .mk-mitem-icon.is-tone { background: var(--tc); color: #fff; border: 0; }
  .mk-mitem b { display: block; font-size: 14.5px; font-weight: 650; }
  .mk-mitem b em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 7px; margin-inline-start: 4px; border-radius: 99px; background: var(--surface-hover); color: var(--text-muted); vertical-align: 1px; }
  .mk-mitem small { display: block; font-size: 13px; color: var(--text-muted); margin-top: 1px; }
  .mk-mitem.is-soon { opacity: .6; }
  .mk-mega-foot { display: flex; align-items: center; gap: 18px; margin: 8px -14px -14px; padding: 16px 24px; border-top: 1px solid var(--line); border-radius: 0 0 26px 26px; background: linear-gradient(90deg, rgb(10 20 15 / .025), rgb(124 92 255 / .05)); color: var(--ink); overflow: hidden; min-height: 76px; }
  .mk-mega-foot > span:first-child { flex: none; display: grid; gap: 2px; }
  .mk-mega-foot b { font-size: 14.5px; }
  .mk-mega-foot b em { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 2px 8px; margin-inline-start: 6px; border-radius: 99px; background: #E4EDFF; color: #3B6FE0; }
  .mk-mega-foot small { color: var(--text-muted); font-size: 13px; }
  .mk-mega-foot:hover small span { display: inline-block; transform: translateX(calc(3px * var(--dir-sign, 1))); }

  /* Mobile menu */
  .mk-menu { pointer-events: auto; max-width: 1180px; margin: 8px auto 0; padding: 8px; border-radius: 22px; background: rgb(255 255 255 / .97); backdrop-filter: blur(18px); display: grid; gap: 2px; box-shadow: var(--e3); max-height: calc(100dvh - 110px); overflow-y: auto; overscroll-behavior: contain; animation: mk-mega-in .24s var(--ease-out) both; }
  .mk-menu[hidden] { display: none; }
  .mk-menu-link, .mk-acc summary { display: flex; align-items: center; justify-content: space-between; padding: 14px 14px; border-radius: 14px; font-weight: 700; font-size: 1.05rem; color: var(--ink); cursor: pointer; list-style: none; }
  .mk-acc summary::-webkit-details-marker { display: none; }
  .mk-acc summary svg { width: 18px; height: 18px; transition: transform var(--t-base); }
  .mk-acc[open] summary { background: rgb(10 20 15 / .04); }
  .mk-acc[open] summary svg { transform: rotate(180deg); }
  .mk-acc-body { display: grid; gap: 2px; padding: 4px 0 8px; }
  .mk-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 6px 6px; position: sticky; bottom: -8px; margin: 0 -8px -8px; padding: 12px 14px 14px; background: linear-gradient(to bottom, rgb(255 255 255 / 0), rgb(255 255 255 / .97) 30%); }
  @media (max-width: 1040px) { .mk-links, .mk-signin, .mk-cta, .mk-mega-wrap { display: none; } .mk-burger { display: grid; } }

  /* Menu art: tiny live illustrations */
  .ma { position: relative; display: block; min-height: 110px; overflow: hidden; }
  .mk-mcard.is-wide .ma { min-height: 0; }
  .ma svg { display: block; }
  .ma-pages { display: flex; justify-content: center; align-items: flex-end; gap: 0; padding-top: 6px; }
  .ma-phone { width: 92px; height: 130px; border-radius: 16px 16px 0 0; background: #fff; border: 1px solid rgb(10 20 15 / .08); border-bottom: 0; box-shadow: 0 -10px 30px -18px rgb(60 30 160 / .5); padding: 7px; display: grid; gap: 5px; align-content: start; justify-items: center; transform: translateY(14px); transition: transform var(--t-base) var(--ease-out); }
  .ma-phone.is-back { transform: translate(-18px, 30px) rotate(-7deg); order: -1; margin-inline-end: -46px; opacity: .8; }
  .mk-mcard:hover .ma-phone:not(.is-back) { transform: translateY(6px); }
  .ma-cover { width: 100%; height: 30px; border-radius: 9px; background: linear-gradient(120deg, #8468FF, #FF9A5C); }
  .ma-cover.g2 { background: linear-gradient(120deg, #0BC284, #3B6FE0); }
  .ma-av { width: 22px; height: 22px; border-radius: 99px; margin-top: -16px; background: #1F2925; border: 2px solid #fff; }
  .ma-line { height: 5px; border-radius: 9px; background: #E6E9E4; }
  .w40 { width: 40%; } .w50 { width: 50%; } .w60 { width: 60%; } .w70 { width: 70%; } .w80 { width: 80%; }
  .ma-btn { width: 100%; height: 12px; border-radius: 6px; background: #F1F3EF; }
  .ma-btn.is-accent { background: #1F2925; }
  .ma-analytics { color: var(--tc); padding: 0 0 0 0; }
  .ma-analytics > svg { position: absolute; inset: auto 0 0 0; width: 100%; height: 92px; }
  .ma-chip, .ma-row { display: flex; align-items: center; gap: 7px; font-size: 12px; background: #fff; border: 1px solid rgb(10 20 15 / .07); border-radius: 10px; padding: 6px 9px; box-shadow: 0 6px 16px -12px rgb(0 0 0 / .4); color: var(--ink); }
  .ma-chip { position: absolute; inset-inline-start: 16px; top: 6px; }
  .ma-chip svg, .ma-row svg { width: 13px; height: 13px; color: var(--text-muted); }
  .ma-chip b { margin-inline-start: 6px; font-size: 11px; color: var(--tc); }
  .ma-links, .ma-audience { display: grid; gap: 6px; padding: 4px 16px 16px; align-content: end; }
  .ma-row b { font-weight: 650; flex: 1; } .ma-row em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--tc); background: color-mix(in oklab, var(--tc) 12%, #fff); padding: 1px 7px; border-radius: 99px; }
  .ma-row.is-faded { opacity: .45; }
  .ma-dot { width: 20px; height: 20px; border-radius: 99px; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 800; color: #fff; background: linear-gradient(145deg, var(--tc), #8468FF); }
  .ma-commerce { display: flex; gap: 8px; align-items: center; padding: 14px 16px; }
  .ma-tile { flex: 1; display: grid; gap: 2px; justify-items: start; padding: 10px; border-radius: 12px; background: #fff; border: 1px solid rgb(10 20 15 / .07); font-size: 12px; box-shadow: 0 8px 18px -14px rgb(0 0 0 / .4); }
  .ma-tile svg { width: 15px; height: 15px; color: var(--tc); }
  .ma-tile em { font-style: normal; font-size: 11px; color: var(--text-muted); }
  .ma-ai { display: grid; gap: 8px; padding: 14px 16px; align-content: center; }
  .ma-prompt { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 12px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); font-size: 12px; color: rgb(255 255 255 / .85); }
  .ma-prompt svg { width: 14px; height: 14px; color: #C2F45B; }
  .ma-prompt i { font-style: normal; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .ma-code { display: grid; gap: 6px; padding: 0 4px; }
  .ma-code i { height: 6px; border-radius: 9px; background: linear-gradient(90deg, rgb(194 244 91 / .7), rgb(132 104 255 / .5)); animation: ma-shine 2.4s ease-in-out infinite alternate; }
  .ma-code i:nth-child(2) { animation-delay: .3s; } .ma-code i:nth-child(3) { animation-delay: .6s; }
  @keyframes ma-shine { from { opacity: .45; } to { opacity: 1; } }
  .ma-templates { flex: 1; min-height: 56px; }
  .ma-templates.is-strip { align-self: stretch; margin-block: -16px; margin-inline: 0 -24px; }
  .ma-bubble { position: absolute; width: 38px; height: 38px; border-radius: 99px; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 20px -12px rgb(0 0 0 / .6); animation: ma-float 6s ease-in-out infinite alternate; }
  .ma-bubble svg { width: 17px; height: 17px; }
  .ma-bubble.g1 { left: 6%; top: 12%; background: #1F2925; } .ma-bubble.g2 { left: 16%; top: 52%; background: #8468FF; animation-delay: -1s; }
  .ma-bubble.g3 { left: 27%; top: 8%; background: #FF9A5C; animation-delay: -2s; } .ma-bubble.g4 { left: 37%; top: 50%; background: #0BC284; animation-delay: -3s; }
  .ma-bubble.g5 { left: 48%; top: 14%; background: #3B6FE0; animation-delay: -1.5s; } .ma-bubble.g6 { left: 58%; top: 56%; background: #E5487F; animation-delay: -2.5s; }
  .ma-bubble.g7 { left: 68%; top: 10%; background: #D99A06; animation-delay: -.5s; } .ma-bubble.g8 { left: 77%; top: 50%; background: #1F2925; animation-delay: -3.5s; }
  .ma-bubble.g9 { left: 87%; top: 12%; background: #7C5CFF; animation-delay: -4s; } .ma-bubble.g10 { left: 94%; top: 55%; background: #0BA870; animation-delay: -1.2s; }
  @keyframes ma-float { from { transform: translateY(-3px); } to { transform: translateY(4px); } }
  @media (prefers-reduced-motion: reduce) { .ma-bubble, .ma-code i, .mk-mega, .mk-menu { animation: none; } }

  /* ---- Hero ---- */
  .mk-hero { position: relative; overflow: hidden; background: var(--grad-ink); color: #fff; padding: 150px 0 90px; margin: 10px; border-radius: 40px; min-height: min(920px, 100svh); display: grid; align-items: center; }
  .mk-hero-glow { position: absolute; inset: -20%; background: radial-gradient(35% 30% at 20% 25%, rgb(43 227 162 / .30), transparent 70%), radial-gradient(35% 35% at 80% 20%, rgb(124 92 255 / .42), transparent 70%), radial-gradient(40% 40% at 65% 95%, rgb(255 122 61 / .20), transparent 70%); animation: aurora-drift 26s ease-in-out infinite alternate; pointer-events: none; }
  .mk-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; align-items: center; }
  .mk-eyebrow { display: inline-flex; align-items: center; gap: 10px; height: 36px; padding-block: 0; padding-inline: 6px 14px; border-radius: 999px; background: rgb(255 255 255 / .08); border: 1px solid rgb(255 255 255 / .14); color: rgb(255 255 255 / .9); font-weight: 650; font-size: 13.5px; backdrop-filter: blur(8px); transition: background var(--t-fast); }
  .mk-eyebrow:hover { background: rgb(255 255 255 / .14); }
  .mk-eyebrow svg { width: 14px; height: 14px; }
  .mk-display { overflow-wrap: anywhere; margin-top: 22px; color: #fff; font-size: clamp(2.8rem, 1.4rem + 5.2vw, 5.6rem); line-height: .98; letter-spacing: -0.055em; font-weight: 650; }
  .mk-display em.accent { display: inline-block; font-size: 1.04em; background: linear-gradient(95deg, #C2F45B 0%, #5FE6AE 40%, #B9A9FF 100%); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
  .mk-lead { margin-top: 22px; max-width: 540px; font-size: clamp(1.02rem, .95rem + .3vw, 1.2rem); line-height: 1.6; color: rgb(255 255 255 / .72); }
  .mk-claim { margin-top: 30px; display: flex; align-items: center; max-width: 560px; height: 66px; padding-block: 0; padding-inline: 22px 7px; border-radius: 999px; background: #fff; box-shadow: 0 24px 60px -24px rgb(0 0 0 / .8), 0 0 0 6px rgb(255 255 255 / .06); }
  .mk-claim-host { font-family: var(--font-display); font-weight: 650; font-size: 1.15rem; color: #7A817C; letter-spacing: -0.02em; white-space: nowrap; }
  .mk-claim input { flex: 1; min-width: 0; height: 100%; border: 0; outline: none; background: transparent; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: #0B0F0D; letter-spacing: -0.02em; }
  .mk-claim .btn { flex: none; }
  .mk-hero-ticks { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: rgb(255 255 255 / .7); font-size: 14px; font-weight: 600; }
  .mk-hero-ticks li { display: inline-flex; align-items: center; gap: 7px; }
  .mk-hero-ticks svg { width: 16px; height: 16px; color: #C2F45B; }

  .mk-hero-visual { position: relative; height: 620px; }
  .mk-hero-phone { position: absolute; width: 250px; }
  .mk-hero-phone .phone-screen { background: #fff; }
  .mk-hero-phone-0 { inset-inline-start: 4%; top: 70px; transform: rotate(-8deg); z-index: 1; animation: float 9s ease-in-out infinite; }
  .mk-hero-phone-1 { left: 50%; translate: -50% 0; top: 0; z-index: 3; width: 280px; animation: float 8s ease-in-out infinite; animation-delay: -2s; }
  .mk-hero-phone-2 { inset-inline-end: 2%; top: 90px; transform: rotate(8deg); z-index: 2; animation: float 10s ease-in-out infinite; animation-delay: -4s; }
  .mk-hero-visual .glass { background: rgb(255 255 255 / .09); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(16px); color: #fff; box-shadow: 0 20px 50px -20px rgb(0 0 0 / .7); }
  .mk-fc-1 { inset-inline-start: -4%; top: 34%; z-index: 4; }
  .mk-fc-2 { inset-inline-end: -2%; top: 58%; z-index: 4; padding: 10px; }
  .mk-fc-3 { inset-inline-start: 8%; bottom: 20px; z-index: 4; }
  .mk-hero-visual .float-card .delta-up { background: rgb(194 244 91 / .18); color: #C2F45B; }
  .mk-hero .float-card small { color: rgb(255 255 255 / .62); }
  .mk-hero .float-card b { color: #fff; }

  /* ---- Marquee ---- */
  .mk-marquee { overflow: hidden; padding: 30px 0 10px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .mk-marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 42s linear infinite; }
  .mk-marquee-item { display: inline-flex; align-items: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--ink); white-space: nowrap; box-shadow: var(--e1); }
  .mk-marquee-item svg { width: 20px; height: 20px; color: var(--accent-text); }
  @keyframes marquee { to { transform: translateX(calc(-50% * var(--dir-sign, 1))); } }

  /* ---- Sections ---- */
  .mk-section { padding: clamp(70px, 9vw, 130px) 0; }
  .mk-section-tight { padding-top: clamp(40px, 6vw, 70px); }
  .mk-head { max-width: 760px; margin-bottom: clamp(34px, 5vw, 60px); }
  .mk-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; max-width: none; }
  .mk-h2 { font-size: clamp(2.1rem, 1.3rem + 3vw, 3.9rem); line-height: 1.02; letter-spacing: -0.05em; font-weight: 650; }
  .mk-h2 em.accent { font-size: 1.06em; background: linear-gradient(95deg, var(--emerald-600), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
  .g-card .mk-h2 em.accent, .mk-assist .mk-h2 em.accent { background: linear-gradient(95deg, #C2F45B, #B9A9FF); -webkit-background-clip: text; background-clip: text; }
  .mk-sub { margin-top: 18px; font-size: 1.1rem; line-height: 1.6; color: var(--text-muted); max-width: 620px; }

  /* ---- Bento ---- */
  /* Platform: the OS pillars */
  .mk-os-status { display: flex; flex-wrap: wrap; gap: 10px; margin: -18px 0 26px; }
  .mk-os-status span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; border-radius: var(--r-pill); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); font-size: var(--fs-small); font-weight: 600; color: var(--text-muted); }
  .mk-os-status b { color: var(--ink); }
  .mk-os { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
  .mk-os-pillar { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); min-width: 0; }
  .mk-os-pillar h3 { margin-top: 10px; font-size: 1.3rem; letter-spacing: -0.03em; }
  .mk-os-pillar > p { font-size: var(--fs-small); color: var(--text-muted); min-height: 2.6em; }
  .mk-os-pillar ul { list-style: none; margin: 10px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
  .mk-os-pillar li { display: flex; align-items: center; gap: 9px; font-size: var(--fs-small); font-weight: 600; color: var(--ink); min-width: 0; }
  .mk-os-pillar li span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .mk-os-pillar li.is-planned { color: var(--text-muted); font-weight: 500; }
  .mk-os-pillar li small { font-size: 10.5px; font-weight: 700; color: var(--text-subtle); }
  .mk-os-pillar li.is-live small { color: var(--accent-text); }
  .mk-os-pillar li.is-building small { color: var(--assist-text); }
  .mk-flow { margin-top: 16px; border-radius: 30px; padding: clamp(24px, 4vw, 44px); display: grid; gap: 28px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; }
  .mk-flow h3 { color: #fff; font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); letter-spacing: -0.04em; margin: 14px 0 8px; }
  .mk-flow p { color: rgb(255 255 255 / .7); max-width: 52ch; }
  .mk-flow ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; position: relative; }
  .mk-flow ol::before { content: ""; position: absolute; left: 8%; right: 8%; top: 27px; height: 2px; background: linear-gradient(90deg, #2BE3A2, #9A83FF, #FF9A5C); opacity: .6; }
  .mk-flow li { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
  .mk-flow li span { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: #151A18; border: 1px solid rgb(255 255 255 / .14); color: var(--lime-400); box-shadow: 0 12px 30px -14px rgb(0 0 0 / .8); }
  .mk-flow li svg { width: 22px; height: 22px; }
  .mk-flow li b { color: #fff; font-size: var(--fs-small); }

  /* Roadmap */
  .mk-road { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
  .mk-road-step { position: relative; display: grid; gap: 6px; align-content: start; padding: 20px; border-radius: 24px; border: 1px dashed var(--line-strong); background: transparent; min-width: 0; }
  .mk-road-step b { font-family: var(--font-display); font-size: 1.12rem; letter-spacing: -0.02em; color: var(--ink); }
  .mk-road-step > span:not(.mk-road-n) { font-size: var(--fs-small); color: var(--text-muted); }
  .mk-road-step small { margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-subtle); }
  .mk-road-n { font-family: var(--font-display); font-size: 12px; font-weight: 800; color: var(--text-subtle); }
  .mk-road-step.is-done { border-style: solid; border-color: var(--line); background: var(--surface); box-shadow: var(--e1); }
  .mk-road-step.is-done small { color: var(--accent-text); }
  .mk-road-step.is-now { border: 0; background: var(--grad-violet); color: #fff; box-shadow: var(--e-glow-violet); }
  .mk-road-step.is-now b, .mk-road-step.is-now small, .mk-road-step.is-now .mk-road-n { color: #fff; }
  .mk-road-step.is-now > span:not(.mk-road-n) { color: rgb(255 255 255 / .8); }
  @media (max-width: 1100px) { .mk-os { grid-template-columns: repeat(3, minmax(0, 1fr)); } .mk-road { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mk-flow { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 640px) {
    .mk-os { grid-template-columns: minmax(0, 1fr); }
    .mk-os-pillar > p { min-height: 0; }
    .mk-road { grid-template-columns: minmax(0, 1fr); }
    .mk-flow ol { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 18px; }
    .mk-flow ol::before { display: none; }
    .mk-os-status { margin-top: -10px; }
  }

  .mk-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .mk-card { position: relative; overflow: hidden; border-radius: 30px; padding: 28px; border: 1px solid var(--line); box-shadow: var(--e1); transition: transform var(--t-slow) var(--ease-out), box-shadow var(--t-slow); }
  .mk-card:not(.g-card), .mk-plan:not(.g-card) { background: var(--surface); }
  .mk-card.g-card, .mk-plan.g-card { border: 0; }
  .mk-card:hover { transform: translateY(-4px); box-shadow: var(--e3); }
  .mk-card h3 { font-size: 1.5rem; letter-spacing: -0.035em; margin-top: 18px; }
  .mk-card p { margin-top: 8px; color: var(--text-muted); line-height: 1.55; }
  .mk-card-icon { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; color: #fff; }
  .mk-card-icon svg { width: 22px; height: 22px; }
  .mk-card-pages { grid-column: span 3; grid-row: span 2; display: grid; grid-template-rows: auto 1fr; background: linear-gradient(180deg, #FFF6EF, var(--surface) 55%); }
  .mk-card-art { position: relative; min-height: 380px; margin: 20px -28px -28px; }
  .mk-card-art .phone { position: absolute; left: 50%; top: 20px; translate: -50% 0; width: 250px; }
  .mk-card-links { grid-column: span 3; }
  .mk-card-qr { grid-column: span 3; display: grid; grid-template-columns: 1fr auto; column-gap: 20px; }
  .mk-card-qr > :not(.mk-qr) { grid-column: 1; }
  .mk-qr { grid-column: 2; grid-row: 1 / span 3; width: 150px; height: 150px; padding: 12px; border-radius: 22px; background: #fff; box-shadow: var(--e2); align-self: center; }
  .mk-qr svg { width: 100%; height: 100%; }
  .mk-card-analytics { grid-column: span 4; display: grid; grid-template-columns: 1fr 1.1fr; gap: 24px; align-items: end; }
  .mk-bars { height: 190px; margin: 0; }
  .mk-card-audience { grid-column: span 2; }
  .mk-card-domain { grid-column: span 6; display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 420px); gap: 20px; align-items: center; }
  .mk-card-domain h3 { margin-top: 0; }
  .mk-card-domain p { margin-top: 4px; }
  .mk-link-demo { margin-top: 20px; display: grid; gap: 10px; }
  .mk-link-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); }
  .mk-link-row.is-dim { opacity: .7; }
  .mk-link-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--emerald-500); box-shadow: 0 0 0 4px var(--accent-soft); }
  .mk-pill { margin-inline-start: auto; font-family: var(--font-sans); font-size: 12.5px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--ink); color: var(--text-on-ink); }
  .mk-people { display: grid; gap: 8px; margin-top: 18px; }
  .mk-person { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
  .mk-person b { flex: 1; color: var(--ink); font-size: 14px; }
  .mk-domain { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); font-family: var(--font-display); font-size: 1.15rem; color: var(--text-muted); }
  .mk-domain b { color: var(--ink); }
  .mk-domain svg { width: 16px; height: 16px; color: var(--accent-text); }

  /* ---- Assist ---- */
  .mk-assist { position: relative; overflow: hidden; margin: 0 10px; border-radius: 40px; padding: clamp(70px, 9vw, 120px) 0; color: #fff; background: radial-gradient(60% 60% at 90% 10%, rgb(196 181 255 / .35), transparent 60%), radial-gradient(50% 60% at 0% 100%, rgb(43 227 162 / .22), transparent 60%), linear-gradient(155deg, #2A1A7A 0%, #16104A 45%, #0B0A1F 100%); }
  .mk-assist-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 50px; align-items: center; }
  .mk-assist-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
  .mk-assist-list li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: rgb(255 255 255 / .9); }
  .mk-assist-list svg { width: 18px; height: 18px; color: #C2F45B; }
  .mk-assist .glass { background: rgb(255 255 255 / .07); border: 1px solid rgb(255 255 255 / .14); backdrop-filter: blur(16px); }
  .mk-assist-result { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; }
  .mk-assist-result .phone { width: 240px; }
  .mk-assist-notes { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
  .mk-assist-notes .chip svg { color: #C2F45B; }
  .mk-assist .ad-prompt p { min-height: 3.2em; }

  /* ---- Templates gallery ---- */
  .mk-gallery { display: flex; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 10px max(clamp(18px, 4vw, 40px), calc((100vw - 1240px) / 2 + 40px)) 30px; scrollbar-width: none; }
  .mk-gallery::-webkit-scrollbar { display: none; }
  .mk-tpl { flex: 0 0 auto; margin: 0; scroll-snap-align: center; display: grid; justify-items: center; gap: 16px; }
  .mk-tpl .phone { width: 260px; transition: transform var(--t-slow) var(--ease-out); }
  .mk-tpl:hover .phone { transform: translateY(-8px) rotate(-1.5deg); }
  .mk-tpl figcaption { text-align: center; display: grid; }
  .mk-tpl figcaption b { font-family: var(--font-display); font-size: 1.15rem; color: var(--ink); }
  .mk-tpl figcaption span { font-size: 13px; color: var(--text-muted); }
  .mk-arrow { width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); box-shadow: var(--e1); transition: all var(--t-fast); }
  .mk-arrow:hover { background: var(--ink); color: var(--text-on-ink); }
  .mk-arrow svg { width: 20px; height: 20px; }

  /* ---- Steps ---- */
  .mk-steps { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
  .mk-step { position: relative; padding: 28px; border-radius: 28px; background: var(--surface); border: 1px solid var(--line); overflow: hidden; }
  .mk-step h3 { font-size: 1.4rem; letter-spacing: -0.03em; margin-top: 18px; }
  .mk-step p { color: var(--text-muted); margin-top: 8px; }
  .mk-step-n { position: absolute; inset-inline-end: 20px; top: 8px; font-family: var(--font-display); font-weight: 800; font-size: 5rem; letter-spacing: -0.06em; color: var(--surface-sunken); line-height: 1; }

  /* ---- Pricing ---- */
  .mk-pricing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 980px; }
  .mk-plan { padding: 32px; border-radius: 32px; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
  .mk-plan h3 { font-size: 1.3rem; }
  .mk-plan-price { font-family: var(--font-display); font-size: 3rem; font-weight: 700; letter-spacing: -0.05em; color: var(--ink); line-height: 1; }
  .mk-plan ul { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 10px; }
  .mk-plan li { display: flex; gap: 10px; align-items: flex-start; font-weight: 550; }
  .mk-plan li svg { width: 18px; height: 18px; color: var(--accent); flex: none; margin-top: 2px; }
  .mk-plan.is-pro li { color: rgb(255 255 255 / .85); }
  .mk-plan.is-pro li svg { color: #C2F45B; }

  /* ---- FAQ ---- */
  .mk-faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; }
  .mk-faq { display: grid; gap: 10px; }
  .mk-faq-item { border-radius: 22px; background: var(--surface); border: 1px solid var(--line); transition: box-shadow var(--t-base); }
  .mk-faq-item[open] { box-shadow: var(--e2); }
  .mk-faq-item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; cursor: pointer; list-style: none; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--ink); letter-spacing: -0.015em; }
  .mk-faq-item summary::-webkit-details-marker { display: none; }
  .mk-faq-item summary svg { width: 20px; height: 20px; flex: none; transition: transform var(--t-base) var(--ease-out); }
  .mk-faq-item[open] summary svg { transform: rotate(45deg); }
  .mk-faq-item p { padding: 0 22px 20px; color: var(--text-muted); line-height: 1.6; }

  /* ---- Final CTA + footer ---- */
  .mk-final { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 20px; align-items: center; padding: clamp(32px, 5vw, 64px); border-radius: 40px; margin: 40px 0 70px; overflow: hidden; min-height: 420px; }
  .mk-final .mk-claim { margin-top: 26px; }
  .mk-final-art { position: relative; height: 100%; min-height: 340px; }
  .mk-final-art .phone { position: absolute; left: 50%; top: 10px; translate: -50% 0; width: 240px; }
  .mk-footer { padding: 60px 0 30px; border-top: 1px solid var(--line); background: var(--surface); }
  .mk-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(var(--fcols, 3), minmax(0, 1fr)); gap: 30px; }
  .mk-footer-grid > div { display: grid; gap: 10px; align-content: start; }
  .mk-footer-grid b { color: var(--ink); font-family: var(--font-display); margin-bottom: 4px; }
  .mk-footer-grid a:not(.brand-mark) { color: var(--text-muted); font-weight: 550; }
  .mk-footer-grid a:hover { color: var(--ink); }
  .mk-footer-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 50px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-subtle); }

  /* ---- Scroll reveal ---- */
  [data-reveal] { opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity 900ms var(--ease-out), transform 900ms var(--ease-out), filter 900ms var(--ease-out); }
  [data-reveal].is-in, .no-js [data-reveal] { opacity: 1; transform: none; filter: none; }
  @media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; filter: none; } .mk-marquee-track { animation: none; } }

  /* ---- Responsive ---- */
  @media (max-width: 1100px) {
    .mk-hero-grid { grid-template-columns: minmax(0, 1fr); }
    .mk-hero-visual { height: 560px; max-width: 640px; width: 100%; margin: 0 auto; }
    .mk-hero { min-height: 0; }
    .mk-assist-grid, .mk-faq-grid { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 860px) {
    .mk-bento { grid-template-columns: 1fr; }
    .mk-bento > * { grid-column: auto !important; grid-row: auto !important; }
    .mk-card-analytics, .mk-card-domain { grid-template-columns: 1fr; }
    .mk-steps, .mk-pricing { grid-template-columns: 1fr; }
    .mk-final { grid-template-columns: minmax(0, 1fr); }
    .mk-final-art { display: none; }
    .mk-footer-grid { grid-template-columns: 1fr 1fr; }
    .mk-footer-grid > div:first-child { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .mk-nav { inset: 10px 0 auto; }
    .mk-nav-inner { height: 58px; padding-block: 0; padding-inline: 14px 6px; }
    .mk-hero { margin: 6px; border-radius: 30px; padding: 110px 0 50px; }
    .mk-claim { height: 58px; padding-inline-start: 16px; }
    .mk-claim-host, .mk-claim input { font-size: 1rem; }
    .mk-claim .btn { --btn-h: 46px; padding: 0 16px; }
    .mk-hero-visual { height: 470px; }
    .mk-hero-phone { width: 190px; }
    .mk-hero-phone-1 { width: 220px; }
    .mk-hero-phone-0 { inset-inline-start: -6%; }
    .mk-hero-phone-2 { inset-inline-end: -6%; }
    .mk-fc-1 { inset-inline-start: 0; top: 60%; }
    .mk-fc-2 { display: none; }
    .mk-fc-3 { inset-inline-start: auto; inset-inline-end: 2%; bottom: 0; }
    .mk-assist { margin: 0 6px; border-radius: 30px; }
    .mk-assist-result { grid-template-columns: 1fr; justify-items: center; }
    .mk-assist-notes { flex-direction: row; flex-wrap: wrap; justify-content: center; }
    .mk-card { padding: 22px; border-radius: 26px; }
    .mk-card-qr { grid-template-columns: 1fr; }
    .mk-qr { grid-column: 1; grid-row: auto; margin-top: 16px; }
    .mk-arrow { display: none; }
    .mk-tpl .phone { width: 230px; }
  }
}

/* Pricing driven by console plans */
.mk-plans { display: grid; gap: 22px; }
.mk-plans-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.mk-toggle { display: inline-flex; padding: 4px; border-radius: 999px; background: var(--surface-2); border: 1px solid var(--line); }
.mk-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: inherit; font-weight: 650; color: var(--text-muted); cursor: pointer; }
.mk-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--text-on-ink); }
.mk-toggle small { margin-inline-start: 4px; color: var(--accent-text); font-weight: 750; }
.mk-toggle button[aria-pressed="true"] small { color: var(--lime-400); }
.mk-currency { display: inline-flex; gap: 4px; }
.mk-currency a { padding: 6px 12px; border-radius: 999px; font-size: 13px; font-weight: 650; color: var(--text-muted); border: 1px solid var(--line); }
.mk-currency a[aria-current] { background: var(--ink); color: var(--text-on-ink); border-color: var(--ink); }
.mk-plans[data-interval="monthly"] .is-yearly, .mk-plans[data-interval="yearly"] .is-monthly { display: none; }
.mk-pricing.mk-pricing-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); max-width: none; }
.mk-pricing.mk-pricing-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: none; }
.mk-pricing.mk-pricing-1 { grid-template-columns: minmax(0, 480px); }
@media (max-width: 960px) { .mk-pricing.mk-pricing-3, .mk-pricing.mk-pricing-4, .mk-pricing.mk-pricing-2 { grid-template-columns: minmax(0, 1fr); } }
.mk-plan-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.mk-plan-per { margin: -6px 0 0; color: var(--text-muted); font-size: 14px; }
.mk-plan.is-pro .mk-plan-per, .mk-plan.is-pro .mk-plan-tag { color: rgb(255 255 255 / .72); }
.mk-plan.is-pro h3, .mk-plan.is-pro .mk-plan-price { color: #fff; }
.mk-plan-tag { margin: 0; color: var(--text-muted); }
.mk-pricing-more { margin-top: 18px; }
.mk-compare { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 14px; }
.mk-compare th, .mk-compare td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: start; }
.mk-compare thead th { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); background: var(--surface-2); }
.mk-compare td { color: var(--text); }
.mk-compare tbody th { font-weight: 600; color: var(--text-muted); }
.mk-compare .mk-group th { padding-top: 26px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); border-bottom: 0; }
.mk-compare-wrap { overflow-x: auto; border-radius: 24px; border: 1px solid var(--line); background: var(--surface); }

/* ---- Builder sections (ADR-0016) ---- */
@layer components {
  .mk-first { padding-top: clamp(130px, 15vw, 180px); }
  .mk-anchor { display: block; height: 0; scroll-margin-top: 110px; }
  .mk-announce { pointer-events: auto; max-width: max-content; margin: 0 auto 8px; display: flex; align-items: center; gap: 10px; padding-block: 8px; padding-inline: 16px 8px; border-radius: 999px; font-size: 13.5px; font-weight: 650; box-shadow: 0 10px 30px -16px rgb(0 0 0 / .5); }
  .mk-announce a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 12px; border-radius: 999px; font-weight: 750; white-space: nowrap; }
  .mk-announce svg { width: 14px; height: 14px; }
  .mk-announce.is-ink { background: rgb(12 14 13 / .86); color: #fff; backdrop-filter: blur(14px); }
  .mk-announce.is-ink a { background: var(--lime-400); color: var(--forest-950); }
  .mk-announce.is-brand { background: var(--grad-brand); color: var(--forest-950); }
  .mk-announce.is-brand a { background: rgb(3 23 15 / .9); color: #fff; }
  .mk-announce.is-violet { background: var(--grad-violet); color: #fff; }
  .mk-announce.is-violet a { background: #fff; color: var(--violet-700); }
  .mk-preview-flag { position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%); z-index: 90; padding: 8px 16px; border-radius: 999px; background: var(--tangerine-500); color: #fff; font-weight: 750; font-size: 13px; box-shadow: var(--e3); }
  .brand-logo { height: 30px; width: auto; max-width: 180px; object-fit: contain; }
  .mk-socials { display: flex; gap: 8px; margin-top: 16px; }
  .mk-socials a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--ink); }
  .mk-socials svg { width: 17px; height: 17px; }

  .mk-pagehero-grid { display: grid; gap: clamp(28px, 5vw, 60px); align-items: center; }
  .mk-pagehero.has-image .mk-pagehero-grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); }
  .mk-pagehero.is-center:not(.has-image) .mk-pagehero-copy { text-align: center; margin: 0 auto; max-width: 860px; }
  .mk-pagehero.is-center:not(.has-image) .mk-lead { margin-inline-start: auto; margin-inline-end: auto; }
  .mk-pagehero-title { color: var(--ink); }
  .mk-pagehero-title em.accent { background: linear-gradient(95deg, var(--emerald-600), var(--violet-500)); -webkit-background-clip: text; background-clip: text; color: transparent; padding-inline-end: .06em; }
  .mk-pagehero .mk-lead { color: var(--text-muted); }
  .mk-pagehero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .mk-pagehero.is-center:not(.has-image) .mk-pagehero-actions { justify-content: center; }
  .mk-pagehero-media img, .mk-split-media img { width: 100%; height: auto; border-radius: 32px; box-shadow: var(--e3); display: block; }

  .mk-features { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 16px; }
  .mk-feature { padding: 28px; border-radius: 28px; }
  .mk-features.is-cards .mk-feature, .mk-features.is-gradient .mk-feature { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
  .mk-features.is-plain .mk-feature { padding: 8px 0; }
  .mk-feature h3 { font-size: 1.25rem; letter-spacing: -0.03em; margin-top: 18px; color: var(--ink); }
  .mk-feature p { margin-top: 8px; color: var(--text-muted); line-height: 1.6; }
  .mk-feature-icon { background: var(--accent-soft); color: var(--accent-text); }

  .mk-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
  .mk-split.no-image { grid-template-columns: minmax(0, 1fr); max-width: 820px; }
  .mk-split.is-left .mk-split-media { order: -1; }
  .mk-split.is-dark { padding: clamp(28px, 5vw, 56px); border-radius: 40px; color: #fff; }
  .mk-split.is-dark .mk-h2, .mk-split.is-dark .mk-prose, .mk-split.is-dark .mk-split-list { color: #fff; }
  .mk-split.is-dark .mk-prose p { color: rgb(255 255 255 / .74); }
  .mk-split-list { display: grid; gap: 10px; margin-top: 22px; font-weight: 650; }
  .mk-split-list li { display: flex; gap: 10px; align-items: flex-start; }
  .mk-split-list svg { width: 20px; height: 20px; color: var(--accent); flex: none; margin-top: 2px; }

  .mk-stats { border-radius: 40px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; }
  .mk-stats.is-light { background: var(--surface); border: 1px solid var(--line); }
  .mk-stats.is-dark { color: #fff; }
  .mk-stats.is-dark .mk-h2 { color: #fff; }
  .mk-stats-grid { display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 20px; }
  .mk-stats-grid > div { display: flex; flex-direction: column-reverse; gap: 6px; }
  .mk-stats-grid dd { font-family: var(--font-display); font-weight: 750; font-size: clamp(2.4rem, 1.4rem + 3.4vw, 4.4rem); letter-spacing: -0.06em; line-height: 1; }
  .mk-stats.is-dark dd { background: linear-gradient(95deg, var(--lime-400), #B9A9FF); -webkit-background-clip: text; background-clip: text; color: transparent; }
  .mk-stats-grid dt { color: var(--text-muted); font-weight: 600; }
  .mk-stats.is-dark dt { color: rgb(255 255 255 / .66); }

  .mk-quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
  .mk-quote { position: relative; padding: 30px; border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); display: flex; flex-direction: column; gap: 22px; }
  .mk-quote-mark { width: 30px; height: 30px; color: var(--accent); }
  .mk-quote blockquote { font-family: var(--font-display); font-size: 1.2rem; line-height: 1.45; letter-spacing: -0.02em; color: var(--ink); flex: 1; }
  .mk-quote figcaption { display: flex; align-items: center; gap: 12px; }
  .mk-quote figcaption span { display: grid; }
  .mk-quote figcaption small { color: var(--text-muted); }
  .mk-quote-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }

  .mk-logos { text-align: center; }
  .mk-logos-label { color: var(--text-muted); font-weight: 650; margin-bottom: 22px; }
  .mk-logos ul { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: clamp(22px, 5vw, 56px); }
  .mk-logos img { height: 34px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .72; transition: filter var(--t-base), opacity var(--t-base); }
  .mk-logos img:hover { filter: none; opacity: 1; }

  .mk-richtext.is-narrow { max-width: 780px; }
  .mk-richtext-meta { margin-top: 12px; color: var(--text-muted); font-weight: 600; }
  .mk-prose { margin-top: 26px; color: var(--text); font-size: 1.05rem; line-height: 1.75; }
  .mk-prose > * + * { margin-top: 1em; }
  .mk-prose h2 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; color: var(--ink); margin-top: 1.8em; }
  .mk-prose h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--ink); margin-top: 1.5em; }
  .mk-prose ul, .mk-prose ol { padding-inline-start: 1.3em; }
  .mk-prose ul { list-style: disc; } .mk-prose ol { list-style: decimal; }
  .mk-prose li + li { margin-top: .35em; }
  .mk-prose a { color: var(--accent-text); font-weight: 650; text-decoration: underline; text-underline-offset: 3px; }
  .mk-prose blockquote { padding: 16px 20px; border-radius: 18px; background: var(--heat-soft); color: var(--ink); }
  .mk-prose table { width: 100%; border-collapse: collapse; } .mk-prose th, .mk-prose td { padding: 10px; border-bottom: 1px solid var(--line); text-align: start; }
  .mk-prose code { font-family: var(--font-mono); font-size: .9em; background: var(--surface-sunken); padding: 2px 6px; border-radius: 6px; }
  .mk-split .mk-prose { margin-top: 18px; }

  @media (max-width: 960px) {
    .mk-features { grid-template-columns: repeat(min(var(--cols, 3), 2), minmax(0, 1fr)); }
    .mk-pagehero.has-image .mk-pagehero-grid, .mk-split { grid-template-columns: minmax(0, 1fr); }
    .mk-split.is-left .mk-split-media { order: 0; }
    .mk-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }
  @media (max-width: 640px) {
    .mk-features, .mk-steps { grid-template-columns: minmax(0, 1fr); }
    .mk-announce { max-width: 100%; font-size: 12.5px; }
    .mk-announce span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  }
}

/* ==========================================================================
   Homepage sections, reference structure (ADR-0026)
   ========================================================================== */
@layer components {
  .mk-head-center { margin-inline-start: auto; margin-inline-end: auto; text-align: center; }
  .mk-head-center .mk-sub { margin-inline-start: auto; margin-inline-end: auto; }
  .mk-head-chip .kicker, .mk-chip-soft { display: inline-flex; align-items: center; height: 28px; padding: 0 12px; border-radius: 99px; background: #D9F99D; color: #1A3B12; font-size: 12.5px; font-weight: 700; letter-spacing: 0; text-transform: none; margin-bottom: 18px; }
  .mk h2 em.accent, .mk h1 em.accent { font-family: var(--font-accent); font-style: italic; font-weight: 400; }

  /* ---- App hero ---- */
  .mk-apphero { position: relative; margin: 10px; border-radius: 36px; overflow: hidden; color: #fff; padding: 150px 0 0;
    background: radial-gradient(60% 60% at 50% 110%, rgb(155 225 93 / .35), transparent 70%), radial-gradient(40% 50% at 12% 70%, rgb(11 194 132 / .25), transparent 70%), linear-gradient(180deg, #0A1F16 0%, #07130E 55%, #0C1411 100%); }
  .mk-ah-bg { position: absolute; inset: 0; pointer-events: none; }
  .mk-ah-grid { position: absolute; inset: 0; background-image: linear-gradient(rgb(255 255 255 / .05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / .05) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(70% 60% at 50% 30%, #000 30%, transparent 80%); }
  .mk-ah-glow { position: absolute; border-radius: 50%; filter: blur(70px); }
  .mk-ah-glow.a { width: 520px; height: 380px; inset-inline-start: -120px; bottom: 80px; background: rgb(155 225 93 / .28); animation: aurora-drift 18s ease-in-out infinite alternate; }
  .mk-ah-glow.b { width: 460px; height: 320px; inset-inline-end: -80px; top: 60px; background: rgb(124 92 255 / .22); animation: aurora-drift 22s ease-in-out infinite alternate-reverse; }
  .mk-ah-sq { position: absolute; width: 64px; height: 64px; background: rgb(255 255 255 / .045); border: 1px solid rgb(255 255 255 / .06); animation: mk-sq 7s ease-in-out infinite; }
  @keyframes mk-sq { 0%, 100% { opacity: .2; } 50% { opacity: 1; } }
  .mk-ah-inner { position: relative; z-index: 1; text-align: center; display: grid; justify-items: center; }
  .mk-ah-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding-block: 0; padding-inline: 10px 14px; border-radius: 99px; background: rgb(255 255 255 / .06); border: 1px solid rgb(194 244 91 / .35); color: #DDF7A8; font-size: 13px; font-weight: 600; }
  .mk-ah-chip i { width: 8px; height: 8px; border-radius: 99px; background: #C2F45B; box-shadow: 0 0 0 4px rgb(194 244 91 / .18); }
  .mk-ah-title { margin: 22px auto 0; max-width: 900px; font-size: clamp(2.7rem, 1.3rem + 5vw, 5.4rem); line-height: 1.02; letter-spacing: -0.05em; font-weight: 600; color: #fff; }
  .mk-ah-title em.accent { display: inline-block; font-family: var(--font-accent); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: #C2F45B; padding-inline-end: .04em; }
  .mk-ah-lead { margin: 20px auto 0; max-width: 560px; font-size: clamp(1rem, .95rem + .3vw, 1.15rem); line-height: 1.6; color: rgb(255 255 255 / .72); }
  .mk-ah-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-top: 30px; }
  .mk-ah-btn { display: inline-flex; align-items: center; gap: 8px; height: 50px; padding: 0 22px; border-radius: 14px; font-weight: 700; font-size: 15px; background: #fff; color: #0C1411; transition: transform var(--t-fast) var(--ease-out), box-shadow var(--t-fast); }
  .mk-ah-btn svg { width: 17px; height: 17px; transition: transform var(--t-fast) var(--ease-out); }
  .mk-ah-btn:hover { transform: translateY(-1px); } .mk-ah-btn:hover svg { transform: translate(2px, -2px); }
  .mk-ah-btn.is-main { background: #C2F45B; color: #0C1411; box-shadow: 0 12px 30px -12px rgb(194 244 91 / .8); }
  .mk-ah-btn.is-ink { background: #0E2A1E; color: #fff; margin-top: 26px; }
  .mk-ah-note { margin-top: 14px; font-size: 13px; color: rgb(255 255 255 / .5); }

  /* The dashboard mock-up */
  .mk-dash { margin: 56px auto 0; width: min(1080px, 100%); border-radius: 26px 26px 0 0; padding: 10px 10px 0; background: rgb(255 255 255 / .1); border: 1px solid rgb(255 255 255 / .16); border-bottom: 0; box-shadow: 0 -30px 80px -30px rgb(155 225 93 / .5); backdrop-filter: blur(6px); text-align: start; color: #0E1512;
    mask-image: linear-gradient(180deg, #000 70%, transparent); -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); }
  .mk-dash > * { background: #FBFCFA; }
  .mk-dash-top { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border-radius: 18px 18px 0 0; border-bottom: 1px solid #ECEFEA; }
  .mk-dash-logo { font-size: 15px; } .mk-dash-logo .brand-mark, .mk-dash-logo { color: #0E1512; }
  .mk-dash-tabs { display: flex; gap: 2px; margin: 0 auto; padding: 4px; border-radius: 99px; background: #F0F2EE; font-size: 12.5px; }
  .mk-dash-tabs b, .mk-dash-tabs i { font-style: normal; padding: 6px 14px; border-radius: 99px; font-weight: 600; color: #58625D; }
  .mk-dash-tabs b { background: #0E1512; color: #fff; }
  .mk-dash-tools { display: flex; align-items: center; gap: 12px; color: #58625D; }
  .mk-dash-tools > svg { width: 16px; height: 16px; }
  .mk-dash-me { display: flex; align-items: center; gap: 8px; padding-block: 3px; padding-inline: 3px 10px; border: 1px solid #E6E9E4; border-radius: 99px; background: #fff; }
  .mk-dash-me > i { width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 800; color: #fff; background: linear-gradient(145deg, #0BA870, #8468FF); }
  .mk-dash-me b { display: block; font-size: 12px; } .mk-dash-me small { display: block; font-size: 10.5px; color: #8A948F; }
  .mk-dash-body { display: flex; }
  .mk-dash-rail { display: grid; gap: 8px; align-content: start; padding: 16px 10px; border-inline-end: 1px solid #ECEFEA; }
  .mk-dash-rail i { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #8A948F; }
  .mk-dash-rail i.is-on { background: #0E1512; color: #C2F45B; }
  .mk-dash-rail svg { width: 16px; height: 16px; }
  .mk-dash-main { flex: 1; padding: 18px 20px 26px; min-width: 0; }
  .mk-dash-hello b { display: block; font-family: var(--font-display); font-size: 1.45rem; letter-spacing: -0.03em; }
  .mk-dash-hello small { color: #6B756F; font-size: 12.5px; }
  .mk-dash-grid { display: grid; grid-template-columns: 1.1fr 1fr 1.25fr; gap: 12px; margin-top: 16px; }
  .mk-dash-card { padding: 14px; border-radius: 16px; background: #fff; border: 1px solid #ECEFEA; box-shadow: 0 10px 24px -20px rgb(0 0 0 / .4); }
  .mk-dash-card > small { display: flex; justify-content: space-between; align-items: center; font-size: 11.5px; color: #6B756F; font-weight: 600; }
  .mk-dash-card > small em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; }
  .mk-dash-card > small svg { width: 12px; height: 12px; }
  .mk-dash-balance > b { display: block; margin-top: 6px; font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -0.03em; }
  .mk-dash-up { display: inline-flex; align-items: center; gap: 4px; margin-top: 4px; font-size: 11px; font-weight: 700; color: #1E8A3D; }
  .mk-dash-up svg { width: 12px; height: 12px; } .mk-dash-up i { font-style: normal; color: #8A948F; font-weight: 500; }
  .mk-dash-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
  .mk-dash-btns i { display: flex; align-items: center; justify-content: center; gap: 5px; height: 32px; border-radius: 10px; font-style: normal; font-size: 11.5px; font-weight: 700; background: #F0F2EE; }
  .mk-dash-btns i.is-main { background: #C2F45B; color: #0E1512; }
  .mk-dash-btns svg { width: 13px; height: 13px; }
  .mk-dash-wallets { display: block; margin-top: 12px; padding-top: 10px; border-top: 1px dashed #E6E9E4; }
  .mk-dash-wallets > small { font-size: 11px; color: #8A948F; font-weight: 600; }
  .mk-dash-wallets > span { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 6px; }
  .mk-dash-wallets i { font-style: normal; display: grid; padding: 7px; border-radius: 9px; background: #F7F8F6; font-size: 10.5px; }
  .mk-dash-wallets i b { font-weight: 600; color: #6B756F; } .mk-dash-wallets i em { font-style: normal; font-weight: 800; font-size: 12px; }
  .mk-dash-wallets s { text-decoration: none; color: #C2410C; font-weight: 700; } .mk-dash-wallets s.up { color: #1E8A3D; }
  .mk-dash-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .mk-dash-kpi { display: grid; gap: 2px; align-content: start; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid #ECEFEA; }
  .mk-dash-kpi small { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: #6B756F; font-weight: 600; }
  .mk-dash-kpi small svg { width: 13px; height: 13px; }
  .mk-dash-kpi b { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.03em; margin-top: 8px; }
  .mk-dash-kpi em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #8A948F; } .mk-dash-kpi em.up { color: #1E8A3D; }
  .mk-dash-kpi.is-feature { background: linear-gradient(160deg, #1E7A45, #0E3B24); border: 0; color: #fff; }
  .mk-dash-kpi.is-feature small, .mk-dash-kpi.is-feature em { color: rgb(255 255 255 / .75); }
  .mk-dash-bars { display: flex; align-items: flex-end; gap: 10px; height: 150px; margin-top: 12px; padding: 0 4px; background: repeating-linear-gradient(180deg, transparent 0 36px, #F0F2EE 36px 37px); }
  .mk-dash-bars i { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: 3px; }
  .mk-dash-bars s, .mk-dash-bars u { display: block; border-radius: 6px; transform-origin: bottom; animation: mk-grow .9s var(--ease-out) both; animation-delay: var(--d); }
  .mk-dash-bars s { height: var(--a); background: #C2F45B; } .mk-dash-bars u { height: var(--b); background: #16261E; }
  .mk-dash-months { display: flex; gap: 10px; padding: 6px 4px 0; } .mk-dash-months i { flex: 1; font-style: normal; font-size: 10px; color: #8A948F; text-align: center; }
  .mk-dash-chart > small em { gap: 8px; } .mk-dash-chart > small svg { color: #9BE15D; } .mk-dash-chart > small .b { width: 9px; height: 9px; border-radius: 99px; background: #16261E; display: inline-block; }
  @keyframes mk-grow { from { transform: scaleY(.05); } to { transform: none; } }
  @media (max-width: 900px) { .mk-dash-grid { grid-template-columns: 1fr 1fr; } .mk-dash-chart { grid-column: 1 / -1; } .mk-dash-tabs { display: none; } }
  @media (max-width: 640px) { .mk-apphero { padding-top: 120px; border-radius: 28px; margin: 6px; } .mk-dash-grid { grid-template-columns: 1fr; } .mk-dash-kpis { grid-template-columns: 1fr 1fr; } .mk-dash-rail, .mk-dash-me span { display: none; } .mk-dash-main { padding: 14px; } }

  /* ---- Proof strip ---- */
  .mk-proof-wrap { padding-top: 56px; padding-bottom: 40px; }
  .mk-proof { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
  .mk-proof-text { display: flex; align-items: center; gap: 18px; margin: 0; font-size: 1.12rem; font-weight: 600; color: var(--ink); line-height: 1.4; max-width: 360px; }
  .mk-proof-icon { flex: none; width: 56px; height: 56px; border-radius: 99px; display: grid; place-items: center; background: #ECFCCB; color: #3F6212; }
  .mk-proof-icon svg { width: 22px; height: 22px; }
  .mk-proof-stats { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
  .mk-proof-stat b { display: block; font-family: var(--font-display); font-size: clamp(2rem, 1.4rem + 2vw, 2.9rem); letter-spacing: -0.04em; font-weight: 600; color: var(--ink); }
  .mk-proof-stat small { color: var(--text-muted); font-size: 14px; }
  @media (max-width: 860px) { .mk-proof { grid-template-columns: minmax(0, 1fr); } .mk-proof-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

  /* ---- Soft tinted feature cards ("how it works") ---- */
  .mk-features.is-soft { gap: 14px; }
  .mk-features.is-soft .mk-feature { position: relative; overflow: hidden; padding: 26px; border-radius: 22px; background: linear-gradient(160deg, #F1F6FF, #F8FBFF); border: 1px solid #E4ECF8; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
  .mk-features.is-soft .mk-feature:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -40px rgb(20 40 80 / .5); }
  .mk-features.is-soft .mk-feature:nth-child(4n+2) { background: linear-gradient(160deg, #F3FBEA, #FAFEF6); border-color: #E3F2D3; }
  .mk-features.is-soft .mk-feature:nth-child(4n+3) { background: linear-gradient(160deg, #F6F2FF, #FBF9FF); border-color: #ECE5FF; }
  .mk-features.is-soft .mk-feature:nth-child(4n+4) { background: linear-gradient(160deg, #FFF6EE, #FFFBF7); border-color: #FBE9DA; }
  .mk-features.is-soft .mk-feature-icon { background: #fff; box-shadow: 0 6px 14px -8px rgb(0 0 0 / .3); }
  .mk-features.is-soft h3 { margin-top: 18px; font-size: 1.12rem; }
  .mk-features.is-soft p { color: var(--text-muted); max-width: 44ch; }
  .mk-soft-deco { position: absolute; inset-inline-end: -18px; top: -18px; width: 140px; height: 140px; color: rgb(10 20 40 / .045); transform: rotate(-12deg); }
  .mk-soft-deco svg { width: 100%; height: 100%; stroke-width: 1.2; }

  /* ---- Showcase ---- */
  .mk-show { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 16px; }
  .mk-show-card { display: block; color: inherit; }
  .mk-show-art { height: 250px; border-radius: 22px; background: linear-gradient(160deg, #F3F8FF, #FAFCFF); border: 1px solid #E6EEF8; overflow: hidden; display: grid; place-items: center; padding: 18px; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
  .mk-show-card:nth-child(3n+2) .mk-show-art { background: linear-gradient(160deg, #F2FBE9, #FBFEF7); border-color: #E3F2D3; }
  .mk-show-card:nth-child(3n+3) .mk-show-art { background: linear-gradient(160deg, #F7F3FF, #FCFAFF); border-color: #ECE5FF; }
  a.mk-show-card:hover .mk-show-art { transform: translateY(-3px); box-shadow: 0 30px 50px -40px rgb(20 40 80 / .5); }
  .mk-show-card h3 { margin-top: 18px; font-size: 1.1rem; }
  .mk-show-card p { margin-top: 6px; color: var(--text-muted); font-size: 14.5px; max-width: 42ch; }
  @media (max-width: 900px) { .mk-show { grid-template-columns: minmax(0, 1fr); } }

  /* ---- Works-with marquee ---- */
  .mk-works { padding-top: 40px; padding-bottom: 40px; overflow: hidden; }
  .mk-works-cap { text-align: center; font-weight: 600; color: var(--ink); margin: 0 0 22px; }
  .mk-works-rows { display: grid; gap: 12px; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
  .mk-works-row { overflow: hidden; }
  .mk-works-track { display: flex; gap: 12px; width: max-content; animation: mk-marquee 40s linear infinite; }
  .mk-works-row.is-rev .mk-works-track { animation-direction: reverse; animation-duration: 46s; }
  .mk-works-row:hover .mk-works-track { animation-play-state: paused; }
  .mk-works-item { display: inline-flex; align-items: center; gap: 10px; height: 54px; padding: 0 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 700; color: var(--ink); white-space: nowrap; }
  .mk-works-item svg { width: 20px; height: 20px; }
  @keyframes mk-marquee { to { transform: translateX(calc(-50% * var(--dir-sign, 1))); } }

  /* ---- Spotlight ---- */
  .mk-spot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(28px, 5vw, 70px); align-items: center; }
  .mk-spot.is-left .mk-spot-art { order: -1; }
  .mk-spot-list { display: grid; gap: 10px; margin: 22px 0 0; padding: 0; list-style: none; }
  .mk-spot-list li { display: flex; gap: 10px; align-items: center; font-weight: 600; color: var(--ink); }
  .mk-spot-list li span { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; background: #ECFCCB; color: #3F6212; }
  .mk-spot-list svg { width: 15px; height: 15px; }
  .mk-spot-art { border-radius: 28px; padding: clamp(18px, 4vw, 44px); background: radial-gradient(70% 70% at 80% 10%, rgb(124 92 255 / .12), transparent 70%), linear-gradient(160deg, #EFF6FF, #F8FBFF); border: 1px solid #E4ECF8; }
  @media (max-width: 900px) { .mk-spot { grid-template-columns: minmax(0, 1fr); } .mk-spot.is-left .mk-spot-art { order: 0; } }

  /* ---- Live visuals ---- */
  .mv { position: relative; width: 100%; font-size: 12.5px; color: #0E1512; }
  .mv-panel { display: grid; gap: 8px; padding: 16px; border-radius: 16px; background: #fff; border: 1px solid #E8ECE8; box-shadow: 0 24px 40px -30px rgb(20 40 60 / .45); }
  .mv-head { display: flex; justify-content: space-between; align-items: center; } .mv-head b { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
  .mv-head em { font-style: normal; color: #6B756F; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; } .mv-head svg { width: 14px; height: 14px; }
  .mv-big { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.03em; }
  .mv-big i { font-family: var(--font-sans, inherit); font-style: normal; font-size: 11px; font-weight: 800; color: #1E8A3D; background: #E3F8EE; padding: 2px 7px; border-radius: 99px; vertical-align: 5px; }
  .mv-big i.down { color: #C2410C; background: #FFEDE3; }
  .mv-line { width: 100%; height: 110px; overflow: visible; }
  .mv-draw { stroke-dasharray: 600; stroke-dashoffset: 600; animation: mv-draw 1.8s var(--ease-out) forwards .2s; }
  @keyframes mv-draw { to { stroke-dashoffset: 0; } }
  .mv-tip { position: absolute; right: 22%; top: 88px; padding: 4px 8px; border-radius: 8px; background: #0E1512; color: #fff; font-weight: 700; font-size: 11px; }
  .mv-bars { display: flex; align-items: flex-end; gap: 8px; height: 110px; }
  .mv-bars.is-tall { height: 150px; }
  .mv-bars i { flex: 1; position: relative; height: var(--h); border-radius: 8px; background: #E9EEE7; transform-origin: bottom; animation: mk-grow .9s var(--ease-out) both; animation-delay: var(--d); display: flex; justify-content: center; }
  .mv-bars i.is-hot { background: linear-gradient(180deg, #9BE15D, #6CC04A); }
  .mv-bars i b { position: absolute; top: -22px; font-size: 10.5px; padding: 2px 6px; border-radius: 6px; background: #0E1512; color: #fff; white-space: nowrap; }
  .mv-bars i u { position: absolute; bottom: -18px; text-decoration: none; font-size: 10px; color: #8A948F; }
  .mv-bars.is-tall { margin-bottom: 18px; }
  .mv-float { position: absolute; inset-inline-start: -8px; bottom: -10px; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 12px; background: #0E1512; color: #fff; font-weight: 700; font-size: 12px; box-shadow: 0 18px 30px -18px rgb(0 0 0 / .6); animation: ma-float 5s ease-in-out infinite alternate; }
  .mv-float.is-right { inset-inline-start: auto; inset-inline-end: -8px; bottom: auto; top: -12px; }
  .mv-float svg { width: 14px; height: 14px; color: #C2F45B; }
  .mv-links { display: grid; gap: 8px; }
  .mv-link { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #E8ECE8; box-shadow: 0 14px 24px -22px rgb(0 0 0 / .5); }
  .mv-link > i { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; background: #0E1512; color: #fff; } .mv-link > i svg { width: 14px; height: 14px; }
  .mv-link span { flex: 1; min-width: 0; display: grid; } .mv-link small { color: #8A948F; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mv-link em { font-style: normal; display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 11.5px; padding: 4px 8px; border-radius: 8px; border: 1px solid #E8ECE8; } .mv-link em svg { width: 12px; height: 12px; }
  .mv-link.is-faded { opacity: .45; }
  .mv-person { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-top: 1px solid #F0F2EE; }
  .mv-person > i { width: 30px; height: 30px; border-radius: 99px; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: #0BA870; } .mv-person > i.p1 { background: #8468FF; } .mv-person > i.p2 { background: #FF9A5C; }
  .mv-person span { flex: 1; display: grid; } .mv-person small { color: #8A948F; }
  .mv-person em { font-style: normal; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 99px; background: #F0F2EE; }
  .mv-qr { display: flex; align-items: center; gap: 18px; justify-content: center; }
  .mv-qr-code { display: grid; grid-template-columns: repeat(7, 14px); gap: 3px; padding: 12px; border-radius: 16px; background: #fff; border: 1px solid #E8ECE8; box-shadow: 0 24px 40px -30px rgb(20 40 60 / .45); }
  .mv-qr-code i { width: 14px; height: 14px; border-radius: 3px; background: #F0F2EE; } .mv-qr-code i.on { background: #0E1512; }
  .mv-qr-stat { display: grid; gap: 2px; } .mv-qr-stat b { font-family: var(--font-display); font-size: 1.4rem; } .mv-qr-stat small { color: #8A948F; }
  .mv-qr-stat em { font-style: normal; display: inline-flex; gap: 4px; align-items: center; color: #1E8A3D; font-weight: 700; } .mv-qr-stat svg { width: 13px; height: 13px; }
  .mv-lesson { display: grid; grid-template-columns: 1fr 90px 36px; gap: 10px; align-items: center; }
  .mv-lesson small { color: #3A4540; } .mv-lesson i { height: 7px; border-radius: 99px; background: #F0F2EE; overflow: hidden; } .mv-lesson s { display: block; height: 100%; background: linear-gradient(90deg, #8468FF, #0BA870); border-radius: inherit; }
  .mv-lesson em { font-style: normal; font-weight: 700; text-align: end; }
  .mv-flow { display: grid; gap: 14px; justify-items: center; }
  .mv-node { position: relative; display: flex; align-items: center; gap: 10px; width: min(280px, 100%); padding: 10px 12px; border-radius: 14px; background: #fff; border: 1px solid #E8ECE8; box-shadow: 0 14px 24px -22px rgb(0 0 0 / .5); }
  .mv-node + .mv-node::before { content: ""; position: absolute; left: 50%; top: -15px; width: 2px; height: 14px; background: repeating-linear-gradient(180deg, #B8C0BB 0 3px, transparent 3px 6px); }
  .mv-node > i { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #fff; background: #0BA870; } .mv-node > i svg { width: 15px; height: 15px; }
  .mv-node.n1 > i { background: #D99A06; } .mv-node.n2 > i { background: #8468FF; } .mv-node.n3 > i { background: #0E1512; }
  .mv-node small { display: block; font-size: 10.5px; color: #8A948F; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
  .mv-page { display: grid; place-items: center; }
  .mv-phone { width: 190px; display: grid; justify-items: center; gap: 6px; padding: 10px 10px 16px; border-radius: 24px; background: #fff; border: 1px solid #E8ECE8; box-shadow: 0 30px 50px -30px rgb(20 40 60 / .5); }
  .mv-cover { width: 100%; height: 60px; border-radius: 16px; background: linear-gradient(120deg, #0BA870, #8468FF); }
  .mv-av { width: 46px; height: 46px; border-radius: 99px; margin-top: -30px; border: 3px solid #fff; display: grid; place-items: center; font-style: normal; font-weight: 800; color: #fff; background: #0E1512; }
  .mv-phone small { color: #8A948F; font-size: 11px; margin-bottom: 4px; }
  .mv-btn { width: 100%; padding: 9px; border-radius: 12px; background: #F0F2EE; font-style: normal; font-weight: 700; font-size: 11.5px; text-align: center; } .mv-btn.is-accent { background: #0E1512; color: #fff; }
  .mv-range { display: flex; justify-content: space-between; padding: 8px 10px; border-radius: 10px; background: #F7F8F6; } .mv-range small { color: #8A948F; }
  .mv-stack { display: flex; height: 14px; border-radius: 99px; overflow: hidden; gap: 3px; margin-top: 4px; } .mv-stack i { display: block; height: 100%; border-radius: 4px; }
  .mv-legend { display: flex; flex-wrap: wrap; gap: 10px; } .mv-legend small { display: inline-flex; align-items: center; gap: 5px; color: #6B756F; } .mv-legend i { width: 8px; height: 8px; border-radius: 99px; }
  .mk-spot-art .mv-panel { padding: 20px; }
  @media (prefers-reduced-motion: reduce) { .mv-draw { animation: none; stroke-dashoffset: 0; } .mv-bars i, .mk-dash-bars s, .mk-dash-bars u, .mv-float, .mk-works-track, .mk-ah-sq, .mk-ah-glow { animation: none; } }
}
@layer components {
  /* Clickable feature cards */
  a.mk-feature.is-link { display: block; color: inherit; transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
  a.mk-feature.is-link:hover { transform: translateY(-3px); box-shadow: 0 30px 50px -40px rgb(20 40 80 / .55); }
  .mk-feature-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--ink); }
  .mk-feature-more svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
  a.mk-feature.is-link:hover .mk-feature-more svg { transform: translateX(calc(3px * var(--dir-sign, 1))) scaleX(var(--flip-x, 1)); }

  /* Template gallery grid */
  .mk-tfilter { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -20px 0 32px; }
  .mk-tfilter .chip { cursor: pointer; } .mk-tfilter .chip small { opacity: .6; margin-inline-start: 2px; }
  .mk-tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px 18px; }
  .mk-tcard[hidden] { display: none; }
  .mk-tcard-stage { position: relative; display: grid; place-items: center; padding: 26px 0 0; height: 420px; overflow: hidden; border-radius: 24px; background: linear-gradient(160deg, #F3F6F2, #FAFBF9); border: 1px solid var(--line); }
  .mk-tcard-stage .phone { transform: translateY(20px); transition: transform var(--t-slow, .4s) var(--ease-out); }
  .mk-tcard:hover .mk-tcard-stage .phone { transform: translateY(6px); }
  .mk-tcard-use { position: absolute; left: 50%; bottom: 18px; translate: -50% 12px; opacity: 0; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; white-space: nowrap; box-shadow: 0 18px 30px -16px rgb(0 0 0 / .6); transition: opacity var(--t-base), translate var(--t-base) var(--ease-out); }
  .mk-tcard-use svg { width: 15px; height: 15px; }
  .mk-tcard:hover .mk-tcard-use, .mk-tcard-use:focus-visible { opacity: 1; translate: -50% 0; }
  @media (hover: none) { .mk-tcard-use { opacity: 1; translate: -50% 0; } }
  .mk-tcard figcaption { display: grid; gap: 2px; padding: 12px 4px 0; } .mk-tcard figcaption span { color: var(--text-muted); font-size: 13.5px; }

  /* Timeline (changelog) */
  .mk-timeline { position: relative; max-width: 860px; margin: 0 auto; padding: 0; list-style: none; display: grid; gap: 18px; }
  .mk-timeline::before { content: ""; position: absolute; inset-inline-start: 150px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(180deg, var(--line), transparent); }
  .mk-timeline li { display: grid; grid-template-columns: 130px minmax(0, 1fr); gap: 40px; align-items: start; }
  .mk-tl-date { position: relative; text-align: end; font-weight: 700; color: var(--text-muted); font-size: 14px; padding-top: 22px; }
  .mk-tl-date::after { content: ""; position: absolute; inset-inline-end: -27px; top: 26px; width: 12px; height: 12px; border-radius: 99px; background: #C2F45B; box-shadow: 0 0 0 4px var(--canvas), 0 0 0 5px var(--line); }
  .mk-tl-card { padding: 20px 22px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
  .mk-tl-tag { display: inline-block; margin-bottom: 8px; padding: 2px 10px; border-radius: 99px; background: #ECFCCB; color: #3F6212; font-size: 12px; font-weight: 700; }
  .mk-tl-card h3 { font-size: 1.15rem; } .mk-tl-card p { margin-top: 6px; color: var(--text-muted); }
  @media (max-width: 700px) { .mk-timeline::before { inset-inline-start: 6px; } .mk-timeline li { grid-template-columns: minmax(0, 1fr); gap: 6px; padding-inline-start: 26px; } .mk-tl-date { text-align: start; padding-top: 0; } .mk-tl-date::after { inset-inline-end: auto; inset-inline-start: -26px; top: 4px; } }
}
@layer components {
  .mk-dash-logo .brand-mark, .mk-dash-logo { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; }
  .mk-dash-logo svg { width: 22px; height: 22px; }
  .mk-dash-kpi.is-feature b { color: #fff; }
}
@layer components {
  .mv-sales .mv-bars { margin-top: 22px; }
  .mv-sources { display: grid; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px dashed #E6E9E4; }
  .mv-sources > small { color: #8A948F; font-weight: 600; }
  .mv-source { display: grid; grid-template-columns: 24px 1fr 90px 36px; gap: 10px; align-items: center; }
  .mv-source i { width: 24px; height: 24px; border-radius: 8px; display: grid; place-items: center; background: #F0F2EE; } .mv-source i svg { width: 13px; height: 13px; }
  .mv-source b { font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mv-source s { height: 6px; border-radius: 99px; background: #F0F2EE; overflow: hidden; } .mv-source u { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9BE15D, #0BA870); }
  .mv-source em { font-style: normal; font-weight: 700; text-align: end; }
}
@layer components {
  .tone-violet { --tc: #7C5CFF; }
  .mk-tcard-stage .phone { transform: translateY(24px) scale(.82); transform-origin: top center; }
  .mk-tcard:hover .mk-tcard-stage .phone { transform: translateY(12px) scale(.82); }
  .mk-tcard-stage { height: 400px; }
}

/* F1 polish: tighten the seam under compact page heroes */
.mk-pagehero:not(.has-image) { padding-bottom: clamp(24px, 4vw, 48px); }
.mk-pagehero + .mk-section { padding-top: clamp(28px, 4vw, 56px); }

/* ==== C7 · R — Changelog page and the cookie banner (ADR-0067) ==== */
.cl-list { display: grid; gap: clamp(20px, 3vw, 32px); max-width: 920px; }
.cl-entry { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 12px 28px; padding-block-end: clamp(20px, 3vw, 32px); border-block-end: 1px solid var(--line); scroll-margin-top: 110px; }
.cl-entry:last-of-type { border-block-end: 0; }
.cl-meta { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; color: var(--text-muted); font-size: 14px; }
.cl-tag { display: inline-block; padding: 2px 10px; border-radius: var(--r-pill); font-size: 12px; font-weight: 650; background: var(--surface-sunken); color: var(--ink); }
.cl-tag.is-new { background: var(--success-soft); color: var(--success); }
.cl-tag.is-improved { background: var(--info-soft); color: var(--info); }
.cl-tag.is-fixed { background: var(--warning-soft); color: var(--warning); }
.cl-title { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; margin: 0 0 .4em; color: var(--ink); }
.cl-title a { color: inherit; text-decoration: none; }
.cl-title a:hover { text-decoration: underline; }
.cl-prose { font-size: 16px; }
.cl-pager { display: flex; align-items: center; justify-content: center; gap: 16px; }
@media (max-width: 720px) { .cl-entry { grid-template-columns: 1fr; } .cl-meta { flex-direction: row; flex-wrap: wrap; align-items: center; } }

.ck-banner { position: fixed; inset-block-end: 16px; inset-inline: 16px; z-index: 60; max-width: 560px; margin-inline-start: auto; padding: 20px 22px;
  background: var(--surface); color: var(--text); border: 1px solid var(--line-strong); border-radius: var(--r-lg); box-shadow: 0 18px 50px rgb(0 0 0 / .18); }
.ck-banner[hidden] { display: none; }
.ck-title { font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 6px; color: var(--ink); }
.ck-text { margin: 0 0 12px; font-size: 14.5px; line-height: 1.55; }
.ck-text a { color: var(--ink); text-decoration: underline; margin-inline-start: 4px; }
.ck-more { margin-block-end: 12px; font-size: 14px; }
.ck-more summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.ck-cats { list-style: none; margin: 10px 0; padding: 0; display: grid; gap: 10px; }
.ck-cat { display: flex; align-items: center; gap: 8px; }
.ck-cats small { display: block; color: var(--text-muted); padding-inline-start: 24px; }
.ck-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
/* ---- end C7 · R ---- */

/* css/help.css */
/* Public help centre, contact, request pages and roadmap (ADR-0034). Lives in the marketing bundle. */
@layer components {
  .hp svg { width: 18px; height: 18px; flex: none; }
  .hp-hero { position: relative; padding: clamp(130px, 15vw, 176px) 0 clamp(40px, 6vw, 72px); overflow: hidden; isolation: isolate;
    background: radial-gradient(60% 70% at 15% 0%, color-mix(in oklab, var(--emerald-300) 35%, transparent), transparent 70%),
                radial-gradient(50% 60% at 90% 10%, color-mix(in oklab, var(--violet-300) 30%, transparent), transparent 70%); }
  .hp-hero.is-compact { padding-bottom: clamp(24px, 4vw, 40px); }
  .hp-hero-inner { display: grid; justify-items: center; text-align: center; gap: 14px; }
  .hp-hero.is-compact .hp-hero-inner { justify-items: start; text-align: start; }
  .hp-hero.is-compact .hp-hero-inner > * { max-width: 860px; }
  .hp-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 700; color: var(--ink); box-shadow: var(--e1); }
  .hp-kicker svg { width: 15px; height: 15px; color: var(--accent-text); }
  .hp-title { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 1.4rem + 4vw, 4.4rem); line-height: 1; letter-spacing: -0.05em; font-weight: 650; color: var(--ink); overflow-wrap: anywhere; }
  .hp-title.is-sm { font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); letter-spacing: -0.04em; }
  .hp-sub { margin: 0; max-width: 620px; font-size: clamp(1.02rem, .95rem + .3vw, 1.18rem); line-height: 1.6; color: var(--text-muted); }
  .hp-meta { margin: 0; font-size: 14px; color: var(--text-muted); }
  .hp-hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }
  .hp-crumbs { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--text-muted); }
  .hp-crumbs svg { width: 14px; height: 14px; }
  .hp-crumbs a:hover { color: var(--ink); }
  .hp-crumbs span { color: var(--ink); }
  .hp-search { position: relative; display: flex; align-items: center; gap: 8px; width: min(640px, 100%); padding-block: 6px; padding-inline: 48px 6px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 60px -30px rgb(11 15 13 / .45); }
  .hp-search > svg { position: absolute; inset-inline-start: 18px; color: var(--text-muted); }
  .hp-search input { flex: 1; min-width: 0; height: 44px; border: 0; background: none; font: inherit; font-size: 16px; color: var(--text); }
  .hp-search input:focus { outline: none; }
  .hp-search:focus-within { box-shadow: var(--focus-ring), 0 24px 60px -30px rgb(11 15 13 / .45); }
  .hp-search.is-lg { margin-top: 10px; }
  .hp-search .btn { height: 44px; }
  .hp-popular { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; margin: 4px 0 0; font-size: 13.5px; color: var(--text-muted); }
  .hp-popular a { font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
  .hp-popular a:hover { text-decoration-color: var(--accent); }

  .hp-section { padding-top: clamp(24px, 4vw, 48px); padding-bottom: clamp(24px, 4vw, 48px); }
  .hp-narrow > * { max-width: 860px; } /* aligned with the page's left edge, like the title above */
  .hp-muted { color: var(--text-muted); margin: 0 0 12px; }
  .hp-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 16px; }
  .hp-cat { display: flex; flex-direction: column; gap: 8px; padding: 22px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); color: var(--text); transition: transform var(--t-base) var(--ease-out), box-shadow var(--t-base); }
  .hp-cat:hover { transform: translateY(-3px); box-shadow: var(--e3); }
  .hp-cat h2 { margin: 6px 0 0; font-family: var(--font-display); font-size: 1.25rem; letter-spacing: -0.02em; color: var(--ink); }
  .hp-cat p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text-muted); }
  .hp-cat-foot { margin-top: auto; padding-top: 8px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: var(--accent-text); }
  .hp-cat-foot svg { width: 15px; height: 15px; transition: transform var(--t-fast); }
  .hp-cat:hover .hp-cat-foot svg { transform: translateX(calc(3px * var(--dir-sign, 1))) scaleX(var(--flip-x, 1)); }
  .hp-cat-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--grad-forest, var(--ink)); color: #C2F45B; box-shadow: 0 12px 24px -14px rgb(11 15 13 / .6); }
  .hp-cat-icon svg { width: 20px; height: 20px; }
  .hp-cat-icon.is-lg { width: 60px; height: 60px; border-radius: 18px; }
  .hp-cat-icon.is-lg svg { width: 26px; height: 26px; }
  .hp-cat-head { display: flex; align-items: center; gap: 16px; }
  .hp-cat-head .hp-sub { margin-top: 6px; }

  .hp-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
  .hp-row { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); color: var(--text); transition: border-color var(--t-fast), transform var(--t-fast); }
  .hp-row:hover { border-color: var(--accent); transform: translateX(calc(2px * var(--dir-sign, 1))); }
  .hp-row > svg:last-child { color: var(--text-subtle); width: 16px; height: 16px; }
  .hp-row-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--accent-soft); color: var(--accent-text); }
  .hp-row-main { display: grid; gap: 3px; min-width: 0; flex: 1; }
  .hp-row-main b { color: var(--ink); font-size: 15.5px; }
  .hp-row-main small { color: var(--text-muted); font-size: 14px; }
  .hp-row-main em { font-style: normal; font-size: 12.5px; font-weight: 600; color: var(--text-subtle); }

  .hp-article-grid { display: grid; gap: clamp(24px, 4vw, 56px); align-items: start; }
  @media (min-width: 1000px) { .hp-article-grid { grid-template-columns: minmax(0, 1fr) 280px; } .hp-aside { position: sticky; top: 110px; } }
  .hp-prose { max-width: 740px; font-size: 16.5px; line-height: 1.75; color: var(--text); overflow-wrap: anywhere; }
  .hp-prose > :first-child { margin-top: 0; }
  .hp-prose h2 { font-family: var(--font-display); font-size: 1.55rem; letter-spacing: -0.025em; margin: 2em 0 .5em; color: var(--ink); scroll-margin-top: 110px; }
  .hp-prose h3 { font-size: 1.15rem; margin: 1.6em 0 .4em; color: var(--ink); scroll-margin-top: 110px; }
  .hp-prose p, .hp-prose ul, .hp-prose ol { margin: 0 0 1em; }
  .hp-prose li { margin: .3em 0; }
  .hp-prose li::marker { color: var(--accent-text); font-weight: 700; }
  .hp-prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
  .hp-prose code { font-family: var(--font-mono); font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-sunken); }
  .hp-prose pre { padding: 16px 18px; border-radius: 14px; background: var(--ink); color: #E9F2EC; overflow-x: auto; font-size: 14px; }
  .hp-prose pre code { padding: 0; background: none; color: inherit; }
  .hp-prose blockquote { margin: 1.2em 0; padding: 14px 18px; border-inline-start: 3px solid var(--accent); border-radius: 0; border-start-end-radius: 14px; border-end-end-radius: 14px; background: var(--accent-soft); color: var(--ink); }
  .hp-prose blockquote p:last-child { margin: 0; }
  .hp-prose img { max-width: 100%; height: auto; border-radius: 16px; border: 1px solid var(--line); box-shadow: var(--e2); }
  .hp-prose table { width: 100%; border-collapse: collapse; margin: 1em 0; font-size: 15px; display: block; overflow-x: auto; }
  .hp-prose th, .hp-prose td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: start; }
  .hp-prose th { color: var(--ink); }
  .hp-prose hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
  .hp-aside { display: grid; gap: 20px; }
  .hp-toc, .hp-related { display: grid; gap: 2px; padding: 16px; border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--line); }
  .hp-toc p, .hp-related p { margin: 0 0 6px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }
  .hp-toc a, .hp-related a { padding: 6px 10px; border-radius: 10px; font-size: 14px; font-weight: 600; color: var(--text); }
  .hp-toc a:hover, .hp-related a:hover { background: var(--surface-hover); color: var(--ink); }

  .hp-feedback-wrap { padding-bottom: 24px; }
  .hp-feedback { max-width: 740px; position: relative; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding: 18px 22px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
  .hp-feedback-q { margin: 0; font-weight: 700; color: var(--ink); font-size: 16px; }
  .hp-feedback-a { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 8px; }
  .hp-feedback .btn svg { width: 16px; height: 16px; }
  .hp-no summary { list-style: none; cursor: pointer; }
  .hp-no summary::-webkit-details-marker { display: none; }
  .hp-no[open] summary { background: var(--surface-active, var(--surface-2)); }
  .hp-no[open] { flex-basis: 100%; }
  .hp-no-panel { display: grid; gap: 8px; margin-top: 10px; width: 100%; max-width: 480px; }
  .hp-no-panel label { font-size: 14px; font-weight: 600; color: var(--ink); }
  .hp-no-panel label span { color: var(--text-subtle); font-weight: 500; }
  .hp-no-panel textarea, .hp-field input, .hp-field textarea { width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-strong); background: var(--surface); font: inherit; font-size: 15px; color: var(--text); }
  .hp-no-panel textarea:focus, .hp-field input:focus, .hp-field textarea:focus { outline: none; border-color: var(--accent); box-shadow: var(--focus-ring); }
  .hp-no-panel .btn { justify-self: start; }

  .hp-cta { display: grid; gap: 16px; }
  @media (min-width: 900px) { .hp-cta { grid-template-columns: 1.3fr 1fr; } }
  .hp-cta-item { display: grid; gap: 14px; align-content: start; padding: clamp(22px, 3vw, 32px); border-radius: var(--r-2xl); background: var(--grad-forest, var(--ink)); color: #fff; box-shadow: var(--e3); }
  .hp-cta-item.is-alt { background: var(--surface); color: var(--text); border: 1px solid var(--line); box-shadow: var(--e1); }
  .hp-cta-item h2 { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.02em; color: inherit; }
  .hp-cta-item.is-alt h2 { color: var(--ink); }
  .hp-cta-item p { margin: 0; line-height: 1.55; opacity: .85; }
  .hp-cta-icon { width: 46px; height: 46px; border-radius: 15px; display: grid; place-items: center; background: rgb(255 255 255 / .12); color: #C2F45B; }
  .hp-cta-item.is-alt .hp-cta-icon, .hp-side-card .hp-cta-icon { background: var(--accent-soft); color: var(--accent-text); }
  .hp-cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
  .hp-link { font-size: 14px; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; opacity: .85; }
  .hp-empty, .hp-done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: clamp(28px, 5vw, 56px) 20px; border-radius: var(--r-2xl); border: 1.5px dashed var(--line-strong); }
  .hp-empty h2 { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); }
  .hp-empty p { margin: 0 0 6px; color: var(--text-muted); }
  .hp-done { border: 0; padding-top: clamp(120px, 14vw, 170px); margin: 0 auto; }
  .hp-done-icon { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--accent); color: #fff; box-shadow: 0 20px 40px -20px var(--accent); }
  .hp-done-icon svg { width: 32px; height: 32px; }
  .hp-done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px; }

  /* Contact form and web requests */
  .hp-contact-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; }
  @media (min-width: 1000px) { .hp-contact-grid { grid-template-columns: minmax(0, 1fr) 340px; } }
  .hp-form { position: relative; display: grid; gap: 16px; padding: clamp(20px, 3vw, 30px); border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e2); }
  .hp-form .btn { justify-self: start; }
  .hp-topics { border: 0; margin: 0; padding: 0; min-width: 0; }
  .hp-topics legend { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
  .hp-topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(150px, 100%), 1fr)); gap: 8px; }
  .hp-topic { position: relative; cursor: pointer; }
  .hp-topic input { position: absolute; opacity: 0; inset: 0; }
  .hp-topic span { display: flex; align-items: center; gap: 8px; padding: 11px 12px; border-radius: 14px; border: 1.5px solid var(--line); font-size: 14px; font-weight: 600; color: var(--text); transition: all var(--t-fast); }
  .hp-topic span svg { width: 16px; height: 16px; color: var(--text-muted); }
  .hp-topic:hover span { background: var(--surface-hover); }
  .hp-topic input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-text); }
  .hp-topic input:checked + span svg { color: var(--accent-text); }
  .hp-topic input:focus-visible + span { box-shadow: var(--focus-ring); }
  .hp-row2 { display: grid; gap: 16px; }
  @media (min-width: 640px) { .hp-row2 { grid-template-columns: 1fr 1fr; } }
  .hp-field { display: grid; gap: 6px; }
  .hp-field label { font-size: 14px; font-weight: 700; color: var(--ink); }
  .hp-field.has-error input, .hp-field.has-error textarea { border-color: var(--danger); }
  .hp-error { margin: 0; font-size: 13px; font-weight: 600; color: var(--danger); }
  .hp-hint { margin: 0; font-size: 13px; color: var(--text-muted); }
  .hp-alert { display: flex; align-items: center; gap: 8px; margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--danger-soft); color: var(--danger); font-weight: 600; font-size: 14px; }
  .hp-note { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); color: var(--ink); font-weight: 600; font-size: 14px; }
  .hp-note a { text-decoration: underline; }
  .hp-contact-aside { display: grid; gap: 16px; }
  .hp-side-card { display: grid; gap: 10px; justify-items: start; padding: 22px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); }
  .hp-side-card h2 { margin: 4px 0 0; font-family: var(--font-display); font-size: 1.2rem; color: var(--ink); }
  .hp-side-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--text-muted); }
  .hp-status { display: inline-flex; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: var(--surface-sunken); color: var(--text-muted); }
  .hp-status.is-open { background: var(--accent-soft); color: var(--accent-text); }
  .hp-status.is-pending { background: var(--warning-soft); color: var(--warning); }
  .hp-thread { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 12px; }
  .hp-msg { padding: 14px 18px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
  .hp-msg.is-staff { background: var(--accent-soft); border-color: transparent; }
  .hp-msg-by { display: flex; gap: 8px; align-items: center; margin: 0 0 6px; font-size: 13px; }
  .hp-msg-by b { color: var(--ink); }
  .hp-msg-by time { color: var(--text-subtle); }
  .hp-msg-body { white-space: pre-line; overflow-wrap: anywhere; line-height: 1.6; }
  .hp-sys { text-align: center; font-size: 12.5px; color: var(--text-muted); }
  .hp-reply { margin-bottom: 14px; }

  /* Roadmap */
  .hp-board { display: grid; gap: 16px; align-items: start; }
  @media (min-width: 900px) { .hp-board { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
  .hp-col { display: grid; gap: 10px; padding: 14px; border-radius: var(--r-2xl); background: var(--surface-2); border: 1px solid var(--line); }
  .hp-col-head { display: flex; align-items: center; gap: 8px; margin: 2px 4px 4px; font-family: var(--font-display); font-size: 1.1rem; color: var(--ink); }
  .hp-col-head svg { width: 18px; height: 18px; }
  .hp-col-head span { margin-inline-start: auto; min-width: 26px; height: 26px; padding: 0 8px; border-radius: 999px; display: grid; place-items: center; font-family: var(--font-sans); font-size: 12.5px; background: var(--surface); color: var(--text-muted); }
  .hp-col.is-planned .hp-col-head svg { color: var(--violet-500); }
  .hp-col.is-progress .hp-col-head svg { color: var(--tangerine-500); }
  .hp-col.is-shipped .hp-col-head svg { color: var(--emerald-600); }
  .hp-card { padding: 14px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
  .hp-card h3 { margin: 0; font-size: 15.5px; line-height: 1.35; color: var(--ink); overflow-wrap: anywhere; }
  .hp-card p { margin: 6px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
  .hp-card-foot { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12.5px !important; font-weight: 600; }
  .hp-card-foot span { display: inline-flex; align-items: center; gap: 4px; }
  .hp-card-foot svg { width: 13px; height: 13px; }
  .hp-col-empty { margin: 4px; font-size: 13.5px; color: var(--text-subtle); }
  .hp-ghost { color: var(--ink); }

  /* Status page (ADR-0035) */
  .st-hero .hp-hero-inner > * { max-width: none; }
  .st-banner { display: flex; align-items: center; gap: 18px; width: 100%; padding: clamp(18px, 3vw, 28px); border-radius: var(--r-2xl); color: #fff; box-shadow: var(--e3); }
  .st-banner.is-ok { background: linear-gradient(135deg, var(--emerald-500), var(--emerald-700)); }
  .st-banner.is-warn { background: linear-gradient(135deg, #F5B53D, #D98A0B); }
  .st-banner.is-bad { background: linear-gradient(135deg, #F0645B, #C4333A); }
  .st-banner.is-maint { background: linear-gradient(135deg, #6AA6FF, #2563EB); }
  .st-banner h1 { margin: 0; font-family: var(--font-display); font-size: clamp(1.5rem, 1.1rem + 1.8vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.1; color: #fff; }
  .st-banner p { margin: 6px 0 0; font-size: 14.5px; opacity: .9; }
  .st-banner-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; flex: none; background: rgb(255 255 255 / .18); }
  .st-banner-icon svg { width: 28px; height: 28px; }
  .st-links { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; font-size: 14px; font-weight: 600; }
  .st-links a { display: inline-flex; align-items: center; gap: 6px; color: var(--text-muted); }
  .st-links a:hover { color: var(--ink); }
  .st-links svg { width: 15px; height: 15px; }
  .st-body { display: grid; gap: 28px; }
  .st-block { display: grid; gap: 12px; }
  .st-block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
  .st-h2 { display: flex; align-items: center; gap: 8px; margin: 0; font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; color: var(--ink); }
  .st-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: 12.5px; color: var(--text-muted); }
  .st-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-inline-end: -6px; }
  .st-comps { display: grid; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); overflow: hidden; }
  .st-comp { display: grid; gap: 10px; padding: 18px 20px; }
  .st-comp + .st-comp { border-top: 1px solid var(--line); }
  .st-comp-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
  .st-comp-head h3 { margin: 0; font-size: 15.5px; color: var(--ink); }
  .st-comp-head p { margin: 2px 0 0; font-size: 13px; color: var(--text-muted); }
  .st-comp-head .st-note { color: var(--ink); font-weight: 600; }
  .st-state { display: inline-flex; align-items: center; gap: 6px; flex: none; font-size: 13px; font-weight: 700; white-space: nowrap; }
  .st-state i { width: 9px; height: 9px; border-radius: 50%; }
  .st-state.is-ok { color: var(--emerald-700); } .st-state.is-ok i { background: var(--emerald-500); box-shadow: 0 0 0 4px color-mix(in oklab, var(--emerald-500) 20%, transparent); }
  .st-state.is-warn { color: #B46A00; } .st-state.is-warn i { background: #F5B53D; }
  .st-state.is-bad { color: #C4333A; } .st-state.is-bad i { background: #E5484D; }
  .st-state.is-maint { color: #2563EB; } .st-state.is-maint i { background: #6AA6FF; }
  .st-bars { display: grid; grid-template-columns: repeat(90, minmax(0, 1fr)); gap: 2px; height: 34px; }
  .st-bars span, .st-legend i { border-radius: 3px; background: var(--line); }
  .st-bars span { transition: transform var(--t-fast); }
  .st-bars span:hover { transform: scaleY(1.12); }
  .st-bars .is-ok, .st-legend .is-ok { background: var(--emerald-500); }
  .st-bars .is-warn, .st-legend .is-warn { background: #F5B53D; }
  .st-bars .is-bad, .st-legend .is-bad { background: #E5484D; }
  .st-bars .is-maint, .st-legend .is-maint { background: #6AA6FF; }
  .st-bars .is-none, .st-legend .is-none { background: color-mix(in oklab, var(--text) 10%, transparent); }
  .st-comp-foot { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--text-subtle); }
  .st-comp-foot b { color: var(--text-muted); font-weight: 700; }
  .st-d45 { display: none; }
  @media (max-width: 640px) { .st-d90 { display: none; } .st-d45 { display: inline; } }
  @media (max-width: 640px) { .st-bars { grid-template-columns: repeat(45, minmax(0, 1fr)); } .st-bars span:nth-child(-n+45) { display: none; } .st-comp-head { flex-direction: column; gap: 6px; } }
  .st-inc { display: grid; gap: 12px; padding: 18px 20px; border-radius: var(--r-2xl); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); border-inline-start: 5px solid var(--line-strong); }
  .st-inc.is-bad { border-inline-start-color: #E5484D; } .st-inc.is-warn { border-inline-start-color: #F5B53D; } .st-inc.is-maint { border-inline-start-color: #6AA6FF; } .st-inc.is-done { border-inline-start-color: var(--emerald-500); box-shadow: none; }
  .st-inc-head { display: flex; align-items: flex-start; gap: 12px; }
  .st-inc-dot { display: none; }
  .st-inc-title { flex: 1; min-width: 0; }
  .st-inc-title h3 { margin: 0; font-size: 16.5px; color: var(--ink); overflow-wrap: anywhere; }
  .st-inc-title p { margin: 3px 0 0; font-size: 13px; color: var(--text-muted); }
  .st-inc-affects { font-weight: 600; }
  .st-pill { flex: none; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: var(--surface-sunken); color: var(--text-muted); }
  .st-pill.is-bad { background: rgb(229 72 77 / .12); color: #C4333A; } .st-pill.is-warn { background: rgb(245 181 61 / .18); color: #B46A00; } .st-pill.is-maint { background: rgb(106 166 255 / .16); color: #2563EB; } .st-pill.is-done { background: color-mix(in oklab, var(--emerald-500) 14%, transparent); color: var(--emerald-700); }
  .st-updates { list-style: none; margin: 0; padding-block: 0; padding-inline: 14px 0; display: grid; gap: 12px; border-inline-start: 2px solid var(--line); }
  .st-updates li { position: relative; font-size: 14.5px; line-height: 1.55; }
  .st-updates li::before { content: ""; position: absolute; inset-inline-start: -20px; top: 7px; width: 10px; height: 10px; border-radius: 50%; background: var(--surface); border: 2px solid var(--line-strong); }
  .st-updates li:first-child::before { border-color: var(--ink); }
  .st-updates b { color: var(--ink); }
  .st-updates p { margin: 2px 0; white-space: pre-line; overflow-wrap: anywhere; }
  .st-updates time { font-size: 12.5px; color: var(--text-subtle); }
  .st-quiet { display: flex; align-items: center; gap: 8px; margin: 0; padding: 16px 18px; border-radius: var(--r-xl); background: var(--surface); border: 1px dashed var(--line-strong); color: var(--text-muted); font-weight: 600; }
  .st-quiet svg { color: var(--emerald-600); }
  .st-pager { display: flex; gap: 10px; }
}

/* css/components/developers.css */
/* Developers: API tokens in settings and the public API reference (ADR-0046) -------- */
@layer components {
  .dv-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 16px; align-items: start; }
  .dv-row.is-off { opacity: .62; }
  .dv-hint { font-family: var(--font-mono, ui-monospace, monospace); font-size: .75rem; font-weight: 500; color: var(--text-muted); margin-inline-start: 6px; }
  .dv-scopes { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
  .dv-scopes .badge { font-family: var(--font-mono, ui-monospace, monospace); font-size: .6875rem; }
  .dv-reveal { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: 22px; border: 1.5px solid var(--accent); background: var(--accent-soft); margin-bottom: 16px; }
  .dv-reveal-icon { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: #fff; flex: none; }
  .dv-reveal-icon svg { width: 20px; height: 20px; }
  .dv-token { display: flex; align-items: center; gap: 6px; margin-top: 10px; padding-block: 8px; padding-inline: 14px 8px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); max-width: 100%; }
  .dv-token code { font-family: var(--font-mono, ui-monospace, monospace); font-size: .875rem; overflow-wrap: anywhere; flex: 1; min-width: 0; user-select: all; }
  .dv-code { margin: 0; padding: 14px 16px; border-radius: 16px; background: #14161a; color: #e8e6e1; font-family: var(--font-mono, ui-monospace, monospace); font-size: .8125rem; line-height: 1.6; overflow-x: auto; white-space: pre; }
  .dv-code code { font: inherit; color: inherit; background: none; }
  .dv-notes { list-style: none; display: grid; gap: 12px; margin: 0; }
  .dv-notes li { display: grid; grid-template-columns: 18px minmax(0, 1fr); gap: 10px; font-size: .875rem; color: var(--text-muted); line-height: 1.5; }
  .dv-notes svg { width: 18px; height: 18px; color: var(--ink); margin-top: 1px; }
  .dv-pick { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
  .dv-scope { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; align-items: start; padding: 10px 12px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
  .dv-scope:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
  .dv-scope input { margin-top: 3px; }
  .dv-scope code { font-family: var(--font-mono, ui-monospace, monospace); font-size: .6875rem; color: var(--text-muted); }
  .dv-scope small { display: block; color: var(--text-muted); font-size: .8125rem; }
  .dv-scope.is-off { opacity: .55; cursor: not-allowed; }

  /* Public reference */
  .dv-doc { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 40px; align-items: start; }
  .dv-toc { position: sticky; top: 90px; display: grid; gap: 2px; font-size: .875rem; }
  .dv-toc a { padding: 6px 10px; border-radius: 10px; color: var(--text-muted); text-decoration: none; }
  .dv-toc a:hover { background: var(--surface-sunken); color: var(--ink); }
  .dv-toc b { padding: 14px 10px 4px; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); }
  .dv-sec { display: grid; gap: 14px; padding-bottom: 36px; scroll-margin-top: 90px; }
  .dv-sec h2 { font-family: var(--font-display); font-size: 1.6rem; letter-spacing: -0.03em; }
  .dv-sec p, .dv-sec li { color: var(--text-muted); line-height: 1.65; }
  .dv-sec ul { padding-inline-start: 1.2em; display: grid; gap: 4px; }
  .dv-sec code:not(.dv-code code) { font-family: var(--font-mono, ui-monospace, monospace); font-size: .85em; background: var(--surface-sunken); padding: 1px 6px; border-radius: 6px; }
  .dv-ep { border: 1px solid var(--line); border-radius: 18px; background: var(--surface); overflow: hidden; scroll-margin-top: 90px; }
  .dv-ep > summary { display: flex; align-items: center; gap: 12px; padding: 12px 16px; cursor: pointer; list-style: none; }
  .dv-ep > summary::-webkit-details-marker { display: none; }
  .dv-ep[open] > summary { border-bottom: 1px solid var(--line); }
  .dv-verb { font-family: var(--font-mono, ui-monospace, monospace); font-size: .6875rem; font-weight: 700; padding: 3px 8px; border-radius: 8px; min-width: 56px; text-align: center; background: var(--surface-sunken); }
  .dv-verb.is-get { background: #e3f1e8; color: #1f6b3d; }
  .dv-verb.is-post { background: #e6ecfb; color: #2d4fb3; }
  .dv-verb.is-patch { background: #fbf0dd; color: #8a5a10; }
  .dv-verb.is-delete { background: #fbe4e2; color: #a2322a; }
  .dv-path { font-family: var(--font-mono, ui-monospace, monospace); font-size: .875rem; font-weight: 600; }
  .dv-ep-body { padding: 14px 16px; display: grid; gap: 10px; }
  .dv-params { width: 100%; border-collapse: collapse; font-size: .8125rem; }
  .dv-params th, .dv-params td { text-align: start; padding: 6px 8px; border-top: 1px solid var(--line); vertical-align: top; }
  .dv-params th { color: var(--text-muted); font-weight: 600; font-size: .6875rem; text-transform: uppercase; letter-spacing: .06em; border-top: 0; }
  .dv-params td:first-child { font-family: var(--font-mono, ui-monospace, monospace); white-space: nowrap; }
  @media (max-width: 960px) { .dv-grid, .dv-doc { grid-template-columns: minmax(0, 1fr); } .dv-toc { position: static; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); } }
  @media (max-width: 640px) { .dv-reveal { flex-wrap: wrap; } }
}
@layer components {
  .dv-subtabs { margin-bottom: 16px; }
  .wh-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
  .wh-list { display: grid; gap: 6px; padding: 10px; }
  .wh-item { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px; border-radius: 16px; border: 1px solid transparent; text-align: start; width: 100%; background: none; cursor: pointer; }
  .wh-item:hover { background: var(--surface-2); }
  .wh-item.is-active { border-color: var(--accent); background: var(--accent-soft); }
  .wh-kind { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-sunken); color: var(--ink); font-weight: 700; font-size: .8125rem; }
  .wh-kind svg { width: 18px; height: 18px; }
  .wh-kind.is-slack { background: #f4ede4; color: #611f69; }
  .wh-kind.is-discord { background: #e8eafd; color: #4752c4; }
  .wh-head { display: flex; gap: 14px; align-items: flex-start; flex-wrap: wrap; }
  .wh-head h2 { font-family: var(--font-display); font-size: 1.35rem; letter-spacing: -0.02em; overflow-wrap: anywhere; }
  .wh-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wh-stat { padding: 12px; border-radius: 14px; background: var(--surface-2); border: 1px solid var(--line); }
  .wh-stat small { display: block; color: var(--text-muted); font-size: .75rem; }
  .wh-stat b { font-size: .9375rem; }
  .wh-events { display: flex; flex-wrap: wrap; gap: 4px; }
  .wh-log { display: grid; }
  .wh-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 16px; border-top: 1px solid var(--line); font-size: .875rem; }
  .wh-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--text-muted); }
  .wh-dot.is-delivered { background: var(--success, #1f8a4c); }
  .wh-dot.is-failed { background: var(--warning); }
  .wh-dot.is-dead { background: var(--danger); }
  .wh-row code { font-family: var(--font-mono, ui-monospace, monospace); font-size: .8125rem; }
  .wh-pick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; }
  .wh-pick legend { grid-column: 1 / -1; }
  .wh-pick h4 { grid-column: 1 / -1; font-size: .6875rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin-top: 8px; }
  .wh-check { display: flex; gap: 8px; align-items: center; font-size: .875rem; }
  .wh-kinds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .wh-kinds label { display: grid; justify-items: center; gap: 6px; padding: 14px 8px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; font-weight: 600; font-size: .875rem; }
  .wh-kinds label:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
  .wh-json { max-height: 420px; overflow: auto; }
  .ig-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
  .ig-card { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); }
  .ig-card header { display: flex; gap: 12px; align-items: center; }
  .ig-logo { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1rem; color: #fff; flex: none; }
  .ig-logo svg { width: 20px; height: 20px; }
  .ig-card p { color: var(--text-muted); font-size: .875rem; line-height: 1.5; }
  .ig-card details summary { cursor: pointer; font-size: .875rem; font-weight: 600; }
  .ig-card ol { padding-inline-start: 1.2em; display: grid; gap: 6px; margin-top: 8px; font-size: .8125rem; color: var(--text-muted); line-height: 1.5; }
  .ig-card footer { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }
  .ig-h { font-family: var(--font-display); font-size: 1.1rem; margin: 20px 0 10px; }
  @media (max-width: 960px) { .wh-grid { grid-template-columns: minmax(0, 1fr); } }
  @media (max-width: 640px) { .wh-stats { grid-template-columns: minmax(0, 1fr); } .wh-pick { grid-template-columns: minmax(0, 1fr); } .wh-row { grid-template-columns: auto minmax(0, 1fr) auto; } .wh-row .wh-when { display: none; } }
}
/* Templates marketplace (ADR-0048) */
@layer components {
  .mp-search { display: flex; align-items: center; gap: 10px; max-width: 520px; margin-top: 18px; padding: 0 16px; height: 50px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--e1); }
  .mp-search svg { width: 18px; height: 18px; color: var(--text-muted); }
  .mp-search input { flex: 1; border: 0; background: none; outline: none; font: inherit; min-width: 0; }
  .mp-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; align-items: center; }
  .mp-cats a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); color: var(--text-muted); text-decoration: none; font-size: .875rem; background: var(--surface); }
  .mp-cats a.is-active { background: var(--ink); color: var(--surface); border-color: var(--ink); }
  .mp-cats .grow { flex: 1; }
  .mp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
  .mp-card { display: grid; border-radius: 22px; border: 1px solid var(--line); background: var(--surface); overflow: hidden; text-decoration: none; color: inherit; transition: box-shadow var(--t-fast), transform var(--t-fast); }
  .mp-card:hover { box-shadow: var(--e2, 0 8px 30px rgb(0 0 0 / .08)); transform: translateY(-2px); }
  .mp-thumb { height: 300px; overflow: hidden; position: relative; background: var(--surface-sunken); display: flex; justify-content: center; }
  .mp-thumb .page-preview { flex: none; }
  .mp-meta { display: grid; gap: 2px; padding: 12px 14px; border-top: 1px solid var(--line); }
  .mp-meta small { color: var(--text-muted); font-size: .8125rem; }
  .mp-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
  .mp-stage { display: flex; justify-content: center; padding: 28px; border-radius: 32px; background: var(--surface-sunken); }
  .mp-info { display: grid; gap: 16px; align-content: start; position: sticky; top: 100px; }
  .mp-info .btn { justify-self: start; }
  .mp-by { color: var(--text-muted); }
  .mp-notes { list-style: none; display: grid; gap: 8px; padding: 0; margin: 0; color: var(--text-muted); font-size: .9375rem; }
  .mp-notes li { display: flex; gap: 8px; align-items: center; }
  .mp-notes svg { width: 16px; height: 16px; color: var(--accent); }
  .mp-h { font-family: var(--font-display); font-size: 1.4rem; margin: 48px 0 16px; }
  .mk-row .mk-note { display: flex; gap: 6px; align-items: center; margin-top: 4px; color: var(--danger); font-size: .8125rem; }
  .mk-row .mk-note svg { width: 14px; height: 14px; }
  .mk-share { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 20px; }
  .mk-share-preview { display: flex; justify-content: center; }
  .mk-share-preview .phone { transform: scale(.8); transform-origin: top center; }
  .mk-use { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 28px; align-items: start; }
  .mk-review { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
  .mk-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: .875rem; }
  .mk-facts dt { color: var(--text-muted); }
  @media (max-width: 960px) { .mp-detail, .mk-use, .mk-review { grid-template-columns: minmax(0, 1fr); } .mp-info { position: static; } .mk-share { grid-template-columns: minmax(0, 1fr); } .mk-share-preview { display: none; } }
}
@layer components {
  /* Reviewers see every block: the console preview scrolls instead of cropping. */
  .mk-review .phone { aspect-ratio: auto; height: 640px; }
  .mk-review .phone-screen { overflow-y: auto; }
}
@layer components {
  .mp-card { position: relative; }
  .mp-card-link { font-weight: 700; color: inherit; text-decoration: none; }
  .mp-card-link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* the whole card is the link */
  .mp-card-link:focus-visible { outline: none; }
  .mp-card:has(.mp-card-link:focus-visible) { box-shadow: var(--focus-ring); }
}
/* Partner programme (ADR-0049) */
@layer components {
  .pt-join { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 16px; align-items: start; }
  .pt-pitch { padding: 28px; color: #fff; border-radius: 26px; display: grid; gap: 14px; }
  .pt-pitch h2 { font-family: var(--font-display); font-size: 1.8rem; letter-spacing: -0.03em; color: #fff; }
  .pt-pitch ol { display: grid; gap: 10px; padding-inline-start: 1.2em; color: rgb(255 255 255 / .85); line-height: 1.5; }
  .pt-pitch b { color: #fff; }
  .pt-link { display: flex; gap: 16px; align-items: flex-end; flex-wrap: wrap; }
  .pt-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 16px; align-items: start; }
  .pt-details { white-space: pre-wrap; overflow-wrap: anywhere; font-family: var(--font-mono, ui-monospace, monospace); font-size: .875rem; padding: 12px; border-radius: 12px; background: var(--surface-sunken); margin-top: 4px; }
  @media (max-width: 960px) { .pt-join, .pt-grid { grid-template-columns: minmax(0, 1fr); } }
}
@layer components {
  .pt-saved { display: inline-flex; align-items: center; gap: 6px; }
  .pt-saved svg { width: 16px; height: 16px; color: var(--accent); }
}

/* css/site/base.css */
/* ==========================================================================
   Weesify public pages: the base part (ADR-0068 §9). Tokens, the page shell, typography, shared primitives
   (buttons, cards, inputs), block wrappers, styling tokens, animations. Every page bundle starts with it, and
   module pages (forms, store, bookings, courses, community) use it with their module parts.
   Themed entirely by --site-* tokens set on .ws-site from the document theme (Theme::cssVars). Scoped under
   .ws-site so the builder canvas can include the same rules inside the app.
   ========================================================================== */
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/fonts/Poppins-Regular.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 500; font-display: swap; src: url("/fonts/Poppins-Medium.woff") format("woff"); }
@font-face { font-family: "Poppins"; font-weight: 600 700; font-display: swap; src: url("/fonts/Poppins-Bold.woff") format("woff"); }
@font-face { font-family: "Lora"; font-style: italic; font-weight: 400 700; font-display: swap; src: url("/fonts/Lora-Italic-Variable.woff") format("woff"); }
@font-face { font-family: "Manrope"; font-weight: 200 800; font-display: swap; src: url("/fonts/Manrope-Variable.woff") format("woff"); }
@font-face { font-family: "Urbanist"; font-weight: 100 900; font-display: swap; src: url("/fonts/Urbanist-Variable.woff") format("woff"); }
@font-face { font-family: "Instrument Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/InstrumentSerif-Italic.woff") format("woff"); }

/* Right-to-left (ADR-0058). This file ships in every bundle, including the standalone public one, so the
   direction primitives live here too: the transform sign, mirrored icons, and machine text that stays left to right. */
[dir="rtl"] { --dir-sign: -1; }
[dir="ltr"] { --dir-sign: 1; }
[dir="rtl"] .flip-rtl { --flip-x: -1; transform: scaleX(-1); }
[dir="rtl"] .ws-page input:is([type="url"], [type="email"], [type="tel"]) { direction: ltr; }

/* ---- Page shell -------------------------------------------------------------------------------------------- */
.ws-site :is(h1, h2, h3, h4, p, summary, b, strong, blockquote, figcaption) { color: inherit; }
.ws-site :is(b, strong) { font-weight: 700; } /* never inherit the app theme inside the builder canvas / thumbnails */
.ws-page { margin: 0; min-height: 100dvh; -webkit-font-smoothing: antialiased; }
.ws-page *, .ws-page *::before, .ws-page *::after, .ws-frame, .ws-frame *, .ws-frame *::before, .ws-frame *::after { box-sizing: border-box; }
.ws-page main { min-height: 100dvh; }

.ws-site { --gap: 12px; position: relative; min-height: 100%; background: var(--site-bg); color: var(--site-text); font-family: var(--site-font); font-size: 15px; line-height: 1.55; font-weight: 500; -webkit-font-smoothing: antialiased; overflow: hidden; overflow: clip; }
.ws-page .ws-site { min-height: 100dvh; }
.ws-site-inner { width: 100%; max-width: 560px; margin: 0 auto; padding: 44px 18px 40px; display: flex; flex-direction: column; gap: var(--gap); position: relative; }
.ws-site a { color: inherit; text-decoration: none; }
.ws-site svg { width: 18px; height: 18px; flex: none; }
.ws-block { position: relative; animation: ws-rise .5s cubic-bezier(.2,.8,.2,1) both; }
.ws-block:nth-child(2) { animation-delay: .04s } .ws-block:nth-child(3) { animation-delay: .08s } .ws-block:nth-child(4) { animation-delay: .12s } .ws-block:nth-child(5) { animation-delay: .16s } .ws-block:nth-child(n+6) { animation-delay: .2s }
@keyframes ws-rise { from { opacity: 0; transform: translateY(8px); } }
@media (prefers-reduced-motion: reduce) { .ws-block { animation: none; } }

/* ---- Shared primitives: buttons (themed by .ws-btn-*), cards, inputs --------------------------------------- */
/* Buttons (themed by .ws-btn-*) */
.ws-button { display: flex; align-items: center; gap: 12px; min-height: 58px; padding: 12px 18px; border-radius: var(--site-radius); font-weight: 700; letter-spacing: -0.01em; transition: transform .18s cubic-bezier(.2,.8,.2,1), box-shadow .18s, background .18s, border-color .18s; }
.ws-button:hover { transform: translateY(-2px); }
.ws-button:active { transform: translateY(0) scale(.99); }
.ws-button:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 2px; }
.ws-button-label { flex: 1; text-align: center; }
.ws-button-icon, .ws-button-arrow { width: 22px; display: grid; place-items: center; opacity: .85; }
.ws-button-arrow { opacity: 0; transform: translate(-4px, 4px); transition: opacity .18s, transform .18s; }
.ws-button:hover .ws-button-arrow { opacity: .7; transform: none; }
.ws-btn-solid .ws-button { background: var(--site-btn-bg); color: var(--site-btn-text); box-shadow: 0 1px 2px rgb(0 0 0 / .08); }
.ws-btn-solid .ws-button:hover { box-shadow: 0 10px 24px -12px rgb(0 0 0 / .45); }
.ws-btn-soft .ws-button { background: color-mix(in oklab, var(--site-btn-bg) 16%, transparent); color: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-btn-bg) 30%, transparent); backdrop-filter: blur(8px); }
.ws-btn-soft .ws-button:hover { background: color-mix(in oklab, var(--site-btn-bg) 24%, transparent); }
.ws-btn-outline .ws-button { background: transparent; color: var(--site-text); border: 1.5px solid var(--site-text); }
.ws-btn-outline .ws-button:hover { background: var(--site-text); color: var(--site-bg-base); }
.ws-btn-shadow .ws-button { background: var(--site-surface); color: var(--site-text); box-shadow: 0 1px 0 rgb(255 255 255 / .6) inset, 0 8px 22px -10px rgb(0 0 0 / .25); }
.ws-btn-shadow .ws-button:hover { box-shadow: 0 16px 32px -12px rgb(0 0 0 / .32); }
.ws-site .ws-button-featured { background: var(--site-accent) !important; color: var(--site-accent-text) !important; border-color: transparent !important; box-shadow: 0 12px 28px -14px var(--site-accent) !important; }
.ws-site .ws-button-outline { background: transparent !important; color: var(--site-text) !important; border: 1.5px solid currentColor !important; box-shadow: none !important; }
.ws-placeholder { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 96px; padding: 16px; border-radius: var(--site-radius); border: 1.5px dashed color-mix(in oklab, var(--site-text) 22%, transparent); color: var(--site-muted); font-size: 14px; }
/* Cards (capture, countdown) */
.ws-card { padding: 20px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 9%, transparent); box-shadow: 0 12px 32px -22px rgb(0 0 0 / .35); text-align: center; }
.ws-card-title { margin: 0; font-size: 1.05rem; font-weight: 600; }
.ws-card-text { margin: 6px 0 0; color: var(--site-muted); font-size: 14px; }
.ws-capture-form { margin-top: 14px; display: grid; gap: 8px; }
.ws-capture-row { display: flex; gap: 8px; }
.ws-input { flex: 1; min-width: 0; height: 46px; padding: 0 14px; border-radius: calc(var(--site-radius) - 2px); border: 1px solid color-mix(in oklab, var(--site-text) 18%, transparent); background: color-mix(in oklab, var(--site-surface) 80%, white); color: #0E1A15; font: inherit; }
.ws-input:focus { outline: 3px solid color-mix(in oklab, var(--site-accent) 45%, transparent); border-color: var(--site-accent); }
.ws-submit { display: inline-flex; align-items: center; justify-content: center; height: 46px; padding: 0 18px; border: 0; border-radius: calc(var(--site-radius) - 2px); background: var(--site-accent); color: var(--site-accent-text); font: inherit; font-weight: 600; cursor: pointer; transition: filter .15s, transform .15s; }
.ws-submit:hover { filter: brightness(1.05); transform: translateY(-1px); }
.ws-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--site-muted); text-align: start; }
.ws-consent input { margin-top: 3px; accent-color: var(--site-accent); }
.ws-success { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 14px 0 0; color: var(--site-text); font-weight: 500; }
.ws-success svg { color: var(--site-accent); }

.ws-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ws-report-link { display: block; width: max-content; margin: 10px auto 0; font-size: 12px; opacity: .55; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ws-report-link:hover { opacity: .9; }

/* ---- Branding, empty states, system pages (gate / 404 / sensitive) ----------------------------------------- */
/* Branding + empty */
.ws-branding { margin: 22px auto 0; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; font-size: 12px; font-weight: 500; color: var(--site-text, #0E1A15); background: color-mix(in oklab, var(--site-surface, #fff) 70%, transparent); border: 1px solid color-mix(in oklab, var(--site-text, #0E1A15) 10%, transparent); backdrop-filter: blur(6px); opacity: .85; }
.ws-branding:hover { opacity: 1; }
.ws-branding svg { width: 16px !important; height: 14px !important; color: #0BC284; }
.ws-empty { padding: 40px 16px; text-align: center; color: var(--site-muted); border: 1.5px dashed color-mix(in oklab, var(--site-text) 18%, transparent); border-radius: var(--site-radius); }

/* System pages (gate / 404 / sensitive) */
.ws-system { --site-text: #0E1A15; --site-muted: #56655E; --site-accent: #0BC284; --site-accent-text: #fff; --site-surface: #fff; --site-radius: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 24px; font-family: "Poppins", system-ui, sans-serif; color: #0E1A15; background: radial-gradient(90% 60% at 50% 0%, #D6FAEA 0%, #F6FAF8 55%, #FFFFFF 100%); }
.ws-system main { min-height: 0; }
.ws-system-card { width: 100%; max-width: 400px; padding: 32px 28px; text-align: center; background: #fff; border: 1px solid #E3E9E6; border-radius: 22px; box-shadow: 0 30px 60px -30px rgb(8 50 36 / .35); }
.ws-system-card h1 { margin: 0; font-size: 1.3rem; font-weight: 600; letter-spacing: -0.02em; }
.ws-system-card p { margin: 8px 0 0; color: #56655E; font-size: 14px; }
.ws-system-icon { width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 16px; display: grid; place-items: center; background: #EAFDF5; color: #067A53; }
.ws-system-icon svg { width: 24px; height: 24px; }
.ws-system-links { margin-top: 18px; font-size: 14px; color: #6B7280; }
.ws-system-links a { color: #067A53; font-weight: 600; text-decoration: none; }
.ws-system-links a:hover { text-decoration: underline; }
.ws-brand-icon svg { width: 32px; height: 26px; }
.ws-gate-form { margin-top: 18px; display: grid; gap: 10px; }
.ws-gate-form .ws-submit { width: 100%; }
.ws-error { margin: 0 !important; color: #C93434 !important; font-size: 13px !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
@media (max-width: 420px) { .ws-capture-row { flex-direction: column; } .ws-capture-row .ws-input { flex: none; width: 100%; } .ws-submit { width: 100%; } }
.ws-system a.ws-submit, .ws-branding { text-decoration: none; }


/* ---- Premium layer (was "v2" in site.css) ------------------------------------------------------------------- */
.ws-dark { color-scheme: dark; }
.ws-btn-glass .ws-button { background: color-mix(in oklab, var(--site-surface) 100%, transparent); color: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-text) 12%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: inset 0 1px 0 rgb(255 255 255 / .08), 0 10px 30px -18px rgb(0 0 0 / .5); }
.ws-btn-glass .ws-button:hover { background: color-mix(in oklab, var(--site-text) 10%, transparent); border-color: color-mix(in oklab, var(--site-accent) 45%, transparent); }
.ws-button-icon { width: 34px; height: 34px; margin-block: -4px; margin-inline: -6px 0; border-radius: calc(var(--site-radius) - 6px); background: color-mix(in oklab, currentColor 10%, transparent); opacity: 1; }
.ws-button-icon svg { width: 17px; height: 17px; }
.ws-button-featured { position: relative; overflow: hidden; }
.ws-button-featured::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -30%; width: 30%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent); animation: ws-sheen 4.5s ease-in-out infinite; }
@keyframes ws-sheen { 0%, 60% { left: -40%; } 100% { left: 130%; } }
.ws-card-glass { --site-blur: blur(18px) saturate(1.4); --site-line: color-mix(in oklab, var(--site-text) 11%, transparent); }
.ws-card-glass .ws-card { background: var(--site-surface); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-color: color-mix(in oklab, var(--site-text) 11%, transparent); }
.ws-card { border-radius: calc(var(--site-radius) + 6px); padding: 22px; }
.ws-card-title { font-family: var(--site-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; }
.ws-dark .ws-input { background: rgb(255 255 255 / .08); color: var(--site-text); border-color: rgb(255 255 255 / .14); }
.ws-dark .ws-input::placeholder { color: color-mix(in oklab, var(--site-text) 50%, transparent); }

/* ==========================================================================
   ADR-0068 display layer
   ========================================================================== */

/* ---- Tokens the theme doesn't set on older token arrays, and colours for text over media ---------------------- */
.ws-site {
  --site-on-media: #FFFFFF; --site-ink-dark: #0E1A15; --site-ink-light: #FFFFFF;
  --site-shadow-sm: 0 1px 2px rgba(0,0,0,.08); --site-shadow-md: 0 12px 32px -22px rgba(0,0,0,.35);
  --site-shadow-lg: 0 24px 48px -24px rgba(0,0,0,.45); --site-shadow-float: 0 40px 80px -32px rgba(0,0,0,.5);
  --site-btn-radius: var(--site-radius); --site-line: color-mix(in oklab, var(--site-text) 9%, transparent);
  --site-gap: var(--gap); --site-ease: cubic-bezier(.2,.8,.2,1);
}
.ws-space-compact { --gap: 9px; --pad-k: .85; }
.ws-space-airy { --gap: 18px; --pad-k: 1.2; }
.ws-bshape-square { --site-btn-radius: 0px; }
.ws-bshape-pill { --site-btn-radius: 999px; }
.ws-bshape-leaf { --site-btn-radius: calc(var(--site-radius) + 12px) 4px; }
.ws-site .ws-button { border-radius: var(--site-btn-radius); font-family: var(--site-btn-font, inherit); }

/* ---- The page frame: the container every responsive rule queries (ADR-0068 §5) -------------------------------- */
.ws-frame { container: ws-page / inline-size; position: relative; z-index: 1; width: 100%; }
.ws-frame > * { --w: var(--w-m, 560px); }
@container ws-page (min-width: 600px) { .ws-frame > * { --w: var(--w-t, 560px); } }
@container ws-page (min-width: 1024px) { .ws-frame > * { --w: var(--w-d, 560px); } }
.ws-frame .ws-site-inner { max-width: var(--w, 560px); }
.ws-site > .ws-frame:only-child, .ws-page .ws-frame { min-height: inherit; }

/* ---- Backgrounds: animated gradient, pattern library, image with blur and overlay ------------------------------ */
.ws-bg-animated { background-size: 280% 280%; animation: ws-bg-pan 22s ease-in-out infinite alternate; }
@keyframes ws-bg-pan { from { background-position: 0% 30%; } to { background-position: 100% 70%; } }
.ws-bgp { --ink: color-mix(in oklab, var(--site-text) 10%, transparent); }
.ws-bgp-dots { background: radial-gradient(var(--ink) 1.3px, transparent 1.8px) 0 0 / 18px 18px, var(--site-bg); }
.ws-bgp-grid { background: linear-gradient(var(--ink) 1px, transparent 1px) 0 0 / 26px 26px, linear-gradient(90deg, var(--ink) 1px, transparent 1px) 0 0 / 26px 26px, var(--site-bg); }
.ws-bgp-lines { background: repeating-linear-gradient(0deg, var(--ink) 0 1px, transparent 1px 16px), var(--site-bg); }
.ws-bgp-diagonal { background: repeating-linear-gradient(45deg, var(--ink) 0 1px, transparent 1px 13px), var(--site-bg); }
.ws-bgp-checks { background: conic-gradient(color-mix(in oklab, var(--site-text) 5%, transparent) 25%, transparent 0 50%, color-mix(in oklab, var(--site-text) 5%, transparent) 0 75%, transparent 0) 0 0 / 32px 32px, var(--site-bg); }
.ws-bgp-stagger { background: radial-gradient(var(--ink) 1.4px, transparent 2px) 0 0 / 28px 28px, radial-gradient(var(--ink) 1.4px, transparent 2px) 14px 14px / 28px 28px, var(--site-bg); }
.ws-bgp-rings { background: repeating-radial-gradient(circle at 100% 0%, transparent 0 22px, var(--ink) 22px 23px), var(--site-bg); }
.ws-bgp-waves { background: radial-gradient(circle at 50% 100%, transparent 8px, var(--ink) 8.5px 10px, transparent 10.5px) 0 0 / 26px 13px, var(--site-bg); }
.ws-bg-image::before { content: ""; position: absolute; inset: calc(-1 * var(--site-bg-blur, 0px)); z-index: 0; background: var(--site-bg-image) center / cover no-repeat; filter: blur(var(--site-bg-blur, 0px)); }
.ws-bg-image::after { content: ""; position: absolute; inset: 0; z-index: 0; background: color-mix(in oklab, var(--site-bg-base) calc(var(--site-bg-overlay, .4) * 100%), transparent); }

/* ---- Block wrapper and the styling tokens (block.style → ws-s-{prop}-{value} → --b-* custom properties) ------- */
.ws-block { --b-bg: initial; --b-fg: initial; --b-border: initial; --b-radius: initial; --b-shadow: initial; --b-pad: initial; --b-blur: initial;
  --b-scale: 1; --b-fit: initial; --b-align: initial; --b-justify: initial; --cols: initial; min-width: 0; }
.ws-surface { background: var(--b-bg, var(--site-surface)); color: var(--b-fg, inherit); border: var(--b-border, 1px solid var(--site-line));
  border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); box-shadow: var(--b-shadow, var(--site-shadow-md)); backdrop-filter: var(--b-blur, var(--site-blur, none)); -webkit-backdrop-filter: var(--b-blur, var(--site-blur, none)); }
.ws-s-surface-none { --b-bg: transparent; --b-border: 0 solid transparent; --b-shadow: none; --b-pad: 0px; }
.ws-s-surface-solid { --b-bg: var(--site-surface); }
.ws-s-surface-soft { --b-bg: color-mix(in oklab, var(--b-accent, var(--site-accent)) 12%, transparent); --b-border: 1px solid color-mix(in oklab, var(--b-accent, var(--site-accent)) 24%, transparent); --b-shadow: none; }
.ws-s-surface-glass { --b-bg: color-mix(in oklab, var(--site-surface) 55%, transparent); --b-blur: blur(16px) saturate(1.4); --b-border: 1px solid color-mix(in oklab, var(--site-text) 13%, transparent); }
.ws-s-surface-outline { --b-bg: transparent; --b-border: 1.5px solid color-mix(in oklab, currentColor 70%, transparent); --b-shadow: none; }
.ws-s-surface-gradient { --b-bg: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .3), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--b-accent, var(--site-accent)) 88%, #fff), color-mix(in oklab, var(--b-accent, var(--site-accent)) 68%, #000)); --b-fg: var(--site-on-media); --b-border: 0 solid transparent; --b-shadow: 0 14px 30px -18px rgb(0 0 0 / .5); }
.ws-s-surface-accent { --b-bg: var(--b-accent, var(--site-accent)); --b-fg: var(--b-accent-text, var(--site-accent-text)); --b-border: 0 solid transparent; --b-shadow: 0 14px 30px -16px var(--b-accent, var(--site-accent)); }
.ws-s-surface-image { --b-fg: var(--site-on-media); --b-border: 0 solid transparent; }
.ws-s-shape-square { --b-radius: 0px; --site-btn-radius: 0px; }
.ws-s-shape-rounded { --b-radius: max(14px, calc(var(--site-radius) + 4px)); --site-btn-radius: max(12px, var(--site-radius)); }
.ws-s-shape-pill { --b-radius: 999px; --site-btn-radius: 999px; }
.ws-s-shape-organic { --b-radius: 30px 10px 30px 10px; --site-btn-radius: 24px 8px 24px 8px; }
.ws-s-elevation-none { --b-shadow: none; }
.ws-s-elevation-sm { --b-shadow: var(--site-shadow-sm); }
.ws-s-elevation-md { --b-shadow: var(--site-shadow-md); }
.ws-s-elevation-lg { --b-shadow: var(--site-shadow-lg); }
.ws-s-elevation-float { --b-shadow: var(--site-shadow-float); }
.ws-s-text-light { --b-fg: var(--site-ink-light); color: var(--site-ink-light); --site-muted: color-mix(in oklab, var(--site-ink-light) 72%, transparent); }
.ws-s-text-dark { --b-fg: var(--site-ink-dark); color: var(--site-ink-dark); --site-muted: color-mix(in oklab, var(--site-ink-dark) 68%, transparent); }
.ws-s-align-start { --b-align: start; --b-justify: flex-start; text-align: start; }
.ws-s-align-center { --b-align: center; --b-justify: center; text-align: center; }
.ws-s-width-content { max-width: 100%; }
.ws-s-width-wide { width: min(100cqw - 24px, 100% + 240px); max-width: none; margin-inline: calc((100% - min(100cqw - 24px, 100% + 240px)) / 2); }
.ws-s-width-full { width: 100cqw; max-width: none; margin-inline: calc(50% - 50cqw); --b-radius: 0px; }
.ws-s-padding-none { --b-pad: 0px; }
.ws-s-padding-s { --b-pad: 12px; }
.ws-s-padding-m { --b-pad: 20px; }
.ws-s-padding-l { --b-pad: 32px; }
.ws-s-size-s { --b-scale: .9; font-size: .93em; }
.ws-s-size-m { --b-scale: 1; }
.ws-s-size-l { --b-scale: 1.12; font-size: 1.06em; }
.ws-s-size-xl { --b-scale: 1.28; font-size: 1.14em; }
.ws-s-border-none { --b-border: 0 solid transparent; }
.ws-s-border-hairline { --b-border: 1px solid color-mix(in oklab, var(--site-text) 14%, transparent); }
.ws-s-border-strong { --b-border: 2px solid currentColor; }
.ws-s-media-fit-cover { --b-fit: cover; }
.ws-s-media-fit-contain { --b-fit: contain; }
.ws-s-accent { --site-accent: var(--b-accent); --site-accent-text: var(--b-accent-text); }

/* Hover (interactive surfaces carry .ws-hov) */
.ws-hov { transition: transform .2s var(--site-ease), box-shadow .2s, background .18s, border-color .18s; }
.ws-hov:hover { transform: translateY(var(--b-hover-y, -2px)) rotate(var(--b-hover-rot, 0deg)); }
.ws-hov:active { transform: translateY(0) scale(.99); }
.ws-hov:focus-visible, .ws-site :is(a, button, summary):focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 2px; }
.ws-s-hover-lift { --b-hover-y: -4px; }
.ws-s-hover-glow .ws-hov:hover { box-shadow: 0 0 0 3px color-mix(in oklab, var(--site-accent) 35%, transparent), 0 18px 40px -18px var(--site-accent); }
.ws-s-hover-tilt { --b-hover-y: -3px; --b-hover-rot: -1.2deg; }
.ws-s-hover-none .ws-hov:hover, .ws-s-hover-none .ws-button:hover { transform: none; }

/* ---- Item primitives shared by the variants --------------------------------------------------------------------- */
.ws-media { display: block; width: 100%; height: 100%; object-fit: var(--b-fit, cover); }
.ws-media-ph { display: grid; place-items: center; width: 100%; height: 100%; min-height: 64px; color: color-mix(in oklab, var(--site-accent-text) 85%, transparent);
  background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .28), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 80%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 55%, var(--site-text))); }
.ws-media-ph svg { width: 28%; height: auto; max-width: 44px; opacity: .9; }
.ws-ico { width: 40px; height: 40px; flex: none; border-radius: calc(var(--site-radius) - 4px); display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }
.ws-ico svg { width: 19px; height: 19px; }
.ws-t1 { margin: 0; font-family: var(--site-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.18; font-size: calc(1.04rem * var(--b-scale, 1)); overflow-wrap: anywhere; }
.ws-t2 { margin: 0; color: var(--site-muted); font-size: 13.5px; font-weight: 500; line-height: 1.4; }
.ws-tx { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; }
.ws-tx p { margin: 0 0 .6em; } .ws-tx p:last-child { margin: 0; }
.ws-eyebrow { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--site-accent); }
.ws-badge { display: inline-flex; align-items: center; gap: 4px; width: fit-content; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; background: var(--site-accent); color: var(--site-accent-text); }
.ws-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-meta li { display: inline-flex; align-items: center; gap: 5px; }
.ws-meta svg { width: 14px; height: 14px; }
.ws-price { display: inline-flex; align-items: baseline; gap: 6px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.ws-price s { font-weight: 500; font-size: .86em; color: var(--site-muted); }
.ws-rating { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 700; }
.ws-rating svg { width: 14px; height: 14px; color: var(--site-accent); fill: currentColor; }
.ws-cta { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: var(--site-btn-radius); background: var(--site-accent); color: var(--site-accent-text); font-weight: 700; font-size: 14px; white-space: nowrap; }
.ws-cta svg { width: 16px; height: 16px; }
.ws-go { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, currentColor 8%, transparent); transition: transform .2s var(--site-ease), background .2s; }
.ws-go svg { width: 16px; height: 16px; }
.ws-hov:hover .ws-go { transform: translateX(calc(3px * var(--dir-sign, 1))); }
.ws-copied { outline: 2px solid var(--site-accent) !important; }

/* ---- Collections: one markup, layouts switched by CSS (ADR-0068 §5) --------------------------------------------- */
.ws-many { position: relative; min-width: 0; }
.ws-chead { display: grid; gap: 4px; margin: 0 0 12px; text-align: var(--b-align, start); }
.ws-chead h2 { margin: 0; font-family: var(--site-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; }
.ws-chead p { margin: 0; color: var(--site-muted); font-size: 14px; }
.ws-track { display: grid; gap: var(--c-gap, 10px); min-width: 0; }
.ws-car-nav { display: none; gap: 8px; justify-content: flex-end; margin-top: 10px; }
.ws-car-nav button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--site-line); background: var(--site-surface); color: var(--site-text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--site-shadow-sm); transition: opacity .2s, transform .2s; }
.ws-car-nav button:hover { transform: translateY(-1px); }
.ws-car-nav button[disabled] { opacity: .35; cursor: default; }
.ws-car-nav svg { width: 18px; height: 18px; }
html:not(.ws-js) .ws-mode-public .ws-car-nav { display: none !important; }
.ws-ci { position: relative; min-width: 0; }

/* ---- Behaviour animations (reveal on scroll; only with site.js, never under reduced motion) --------------------- */
.ws-block.ws-a { animation: none; }
.ws-js .ws-mode-public .ws-a:not(.is-in) { opacity: 0; }
.ws-js .ws-mode-public .ws-a-rise:not(.is-in) { transform: translateY(22px); }
.ws-js .ws-mode-public .ws-a-scale:not(.is-in) { transform: scale(.95); }
.ws-js .ws-mode-public .ws-a-slide:not(.is-in) { transform: translateX(calc(28px * var(--dir-sign, 1))); }
.ws-js .ws-mode-public .ws-a-stagger:not(.is-in) { opacity: 1; }
.ws-js .ws-mode-public .ws-a-stagger:not(.is-in) .ws-track > * { opacity: 0; transform: translateY(14px); }
.ws-a, .ws-a-stagger .ws-track > * { transition: opacity .7s ease, transform .7s var(--site-ease); }
.ws-a-stagger .ws-track > * { transition-delay: calc(min(var(--i, 0), 10) * 70ms); }
.ws-motion-none .ws-block { animation: none; }
.ws-motion-none :is(.ws-hov, .ws-button, .ws-a) { transition: none; }
.ws-motion-none .ws-button-featured::after, .ws-motion-none .ws-bg-animated { animation: none; }

/* ---- Sticky slot (sticky CTA bar, announcement, floating button) ------------------------------------------------ */
.ws-sticky { position: sticky; bottom: 0; z-index: 40; display: grid; justify-items: center; gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); pointer-events: none; }
.ws-sticky > * { pointer-events: auto; width: min(100%, var(--w-m, 560px)); }
.ws-sticky .ws-block { animation: none; }

/* ---- Builder canvas and thumbnails -------------------------------------------------------------------------------- */
.ws-mode-canvas .ws-block.is-hidden { opacity: .38; }
.ws-mode-canvas .ws-block.is-empty > .ws-placeholder { min-height: 72px; }
.ws-is-thumb { pointer-events: none; }
.ws-is-thumb .ws-block { animation: none; }
.ws-is-thumb .ws-site-inner { padding-block: 20px; }

/* ---- Reduced motion: everything stills, including the featured sheen and animated backgrounds ------------------ */
@media (prefers-reduced-motion: reduce) {
  .ws-site *, .ws-site *::before, .ws-site *::after, .ws-site { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .ws-button-featured::after, .ws-sheen::after { display: none; }
  .ws-js .ws-a, .ws-js .ws-a-stagger .ws-track > * { opacity: 1 !important; transform: none !important; }
}
.ws-dark .ws-branding { background: rgb(255 255 255 / .08); color: var(--site-text); border-color: rgb(255 255 255 / .12); }

/* ---- Lightbox (galleries; built by site.js) ------------------------------------------------------------------------ */
.ws-lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 56px 12px; background: rgb(6 8 7 / .92); }
.ws-lightbox[hidden] { display: none; }
.ws-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 8px; box-shadow: 0 30px 80px -30px rgb(0 0 0 / .8); }
.ws-lightbox button { position: absolute; width: 48px; height: 48px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .12); color: #fff; font-size: 28px; line-height: 1; cursor: pointer; }
.ws-lightbox button:hover, .ws-lightbox button:focus-visible { background: rgb(255 255 255 / .24); outline: 2px solid rgb(255 255 255 / .6); }
.ws-lb-close { top: 12px; inset-inline-end: 12px; }
.ws-lb-prev { inset-inline-start: 12px; top: 50%; transform: translateY(-50%); }
.ws-lb-next { inset-inline-end: 12px; top: 50%; transform: translateY(-50%); }
.ws-lb-count { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); color: rgb(255 255 255 / .8); font-size: 13px; font-weight: 600; }
.ws-lb-fig { margin: 0; display: grid; justify-items: center; align-content: center; gap: 12px; width: 100%; height: 100%; min-height: 0; }
.ws-lb-fig img { max-height: calc(100% - 44px); min-height: 0; }
.ws-lb-cap { max-width: 60ch; color: rgb(255 255 255 / .88); font: 500 14px/1.45 system-ui, sans-serif; text-align: center; }
.ws-lb-cap[hidden] { display: none; }
.ws-lightbox button[hidden] { display: none; }
@media (prefers-reduced-motion: no-preference) { .ws-lightbox:not([hidden]) .ws-lb-fig img { animation: ws-lb-in .28s cubic-bezier(.2,.8,.2,1); } }
@keyframes ws-lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---- Flow: shells that place single items two to a row on larger screens (systems add .ws-flow-half via blockClasses) */
.ws-flow { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); align-items: start; }
.ws-flow > .ws-block { grid-column: 1 / -1; min-width: 0; }
@container ws-page (min-width: 600px) {
  .ws-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-flow > .ws-flow-half { grid-column: auto; align-self: stretch; }
  .ws-flow > .ws-flow-half > :not(.ws-sheet) { height: 100%; }
}
/* Items over media keep light text (links inherit the page colour otherwise). */
.ws-site :is(.ws-sv-image-card, .ws-sv-banner, .ws-mg-lead, .ws-tile-x.has-media) { color: var(--site-on-media); }
.ws-site .ws-tile-x:not(.has-media) { color: var(--b-fg, var(--site-on-media)); }
.ws-site .ws-sv-premium { color: var(--site-ink-light); }
.ws-site .ws-surface { color: var(--b-fg, var(--site-text)); }

/* ---- Item parts shared by several variants (text block, thumbnails, price pill, bento tiles) ---- */
.ws-on-media { position: absolute; top: 12px; inset-inline-start: 12px; box-shadow: 0 6px 16px -8px rgb(0 0 0 / .5); }
.ws-txt { display: grid; gap: 4px; min-width: 0; }
.ws-eyebrow-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-txt .ws-t1 { font-size: calc(1.12rem * var(--b-scale, 1)); }
.ws-txt .ws-tx { margin-top: 2px; }
.ws-tx.is-clamped { display: -webkit-box; -webkit-line-clamp: var(--clamp, 3); -webkit-box-orient: vertical; overflow: hidden; }
.ws-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-top: 8px; }
.ws-thumb { width: calc(56px * var(--b-scale, 1)); height: calc(56px * var(--b-scale, 1)); flex: none; border-radius: max(8px, calc(var(--site-radius) - 2px)); overflow: hidden; display: grid; place-items: center; }
.ws-thumb .ws-ico { width: 100%; height: 100%; border-radius: inherit; }
.ws-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-pill { flex: none; padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 13.5px; background: var(--site-accent); color: var(--site-accent-text); font-variant-numeric: tabular-nums; }
.ws-tile-x { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; min-height: 150px; aspect-ratio: 1; padding: var(--b-pad, 16px); overflow: hidden; isolation: isolate; text-align: start;
  border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); color: var(--b-fg, var(--site-on-media)); box-shadow: var(--b-shadow, 0 16px 32px -20px rgb(0 0 0 / .5)); border: var(--b-border, 0 solid transparent);
  background: var(--b-bg, radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .32), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 88%, #fff), color-mix(in oklab, var(--site-accent) 68%, #000))); }
.ws-tile-x .ws-tile-bg { position: absolute; inset: 0; z-index: -2; transition: transform .6s var(--site-ease); }
.ws-tile-x:hover .ws-tile-bg { transform: scale(1.05); }
.ws-tile-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .05) 30%, rgb(0 0 0 / .68)); }
.ws-tile-x.has-media { color: var(--site-on-media); }
.ws-tile-top { display: flex; justify-content: space-between; align-items: flex-start; }
.ws-tile-x .ws-tile-icon { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in oklab, currentColor 18%, transparent); }
.ws-tile-x .ws-tile-icon svg { width: 20px; height: 20px; }
.ws-tile-x .ws-tile-arrow { position: static; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, currentColor 18%, transparent); }
.ws-tile-x .ws-tile-arrow svg { width: 14px; height: 14px; }
.ws-tile-x .ws-tile-text { display: grid; gap: 3px; }
.ws-tile-x .ws-tile-text b { font-family: var(--site-heading); font-size: calc(1.15rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.ws-tile-x .ws-tile-text small { font-size: 12.5px; opacity: .78; font-weight: 600; }
.ws-tile-price { font-weight: 800 !important; opacity: 1 !important; }
.ws-s-surface-solid .ws-tile-x, .ws-s-surface-none .ws-tile-x, .ws-s-surface-outline .ws-tile-x, .ws-s-surface-glass .ws-tile-x, .ws-s-surface-soft .ws-tile-x { color: var(--b-fg, var(--site-text)); }
.ws-s-surface-soft .ws-tile-x .ws-tile-icon, .ws-s-surface-solid .ws-tile-x .ws-tile-icon { background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }

/* css/site/modules/forms.css */
/* Weesify Forms: hosted, embedded and in the builder canvas (ADR-0016). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* ---- Weesify Forms (hosted, embedded, builder canvas) ---- */
.wf { display: grid; gap: 18px; text-align: start; }
.wf-head { display: grid; gap: 8px; }
.wf-title { font-family: var(--site-heading); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--site-text); margin: 0; }
.wf-intro { color: var(--site-muted); font-size: 15px; line-height: 1.55; margin: 0; white-space: pre-line; }
.wf-progress { height: 6px; border-radius: 999px; background: color-mix(in oklab, var(--site-text) 10%, transparent); overflow: hidden; }
.wf-progress span { display: block; height: 100%; border-radius: inherit; background: var(--site-accent); transition: width .35s cubic-bezier(.2,.8,.2,1); }
.wf-stepcount { margin: -8px 0 0; font-size: 12px; font-weight: 600; color: var(--site-muted); letter-spacing: .02em; }
.wf:not(.wf-js) .wf-stepcount, .wf:not(.wf-js) .wf-progress { display: none; }
.wf-step { border: 0; margin: 0; padding: 0; min-width: 0; display: grid; gap: 14px; }
.wf-step[hidden] { display: none; }
.wf-step-title { font-family: var(--site-heading); font-size: 1.2rem; font-weight: 700; color: var(--site-text); padding: 0; margin-bottom: 4px; }
.wf-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.wf-field { grid-column: 1 / -1; display: grid; gap: 6px; min-width: 0; position: relative; }
.wf-field.wf-w-half { grid-column: span 1; }
@media (max-width: 520px) { .wf-field.wf-w-half { grid-column: 1 / -1; } }
.wf-field[hidden] { display: none; }
.wf-label { font-weight: 600; font-size: 14px; color: var(--site-text); }
.wf-req { font-style: normal; color: var(--site-accent); margin-inline-start: 3px; }
.wf-help { font-size: 12.5px; color: var(--site-muted); margin: -2px 0 2px; line-height: 1.45; }
.wf-input { box-sizing: border-box; width: 100%; height: 48px; padding: 0 14px; border-radius: calc(var(--site-radius) - 4px); border: 1px solid color-mix(in oklab, var(--site-text) 16%, transparent); background: color-mix(in oklab, var(--site-surface) 85%, white); color: #0E1A15; font: inherit; font-size: 15px; transition: border-color .15s, box-shadow .15s; }
.ws-dark .wf-input { background: rgb(255 255 255 / .06); color: var(--site-text); border-color: rgb(255 255 255 / .16); }
.wf-input::placeholder { color: color-mix(in oklab, var(--site-muted) 80%, transparent); }
.wf-input:focus { outline: none; border-color: var(--site-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-accent) 22%, transparent); }
.wf-textarea { height: auto; min-height: 120px; padding: 12px 14px; resize: vertical; line-height: 1.5; }
.wf-select-wrap { position: relative; }
.wf-select-wrap::after { content: ""; position: absolute; inset-inline-end: 16px; top: 50%; width: 8px; height: 8px; border-right: 2px solid var(--site-muted); border-bottom: 2px solid var(--site-muted); transform: translateY(-70%) rotate(45deg); pointer-events: none; }
.wf-select { appearance: none; padding-inline-end: 40px; }
.wf-choices { display: grid; gap: 8px; }
.wf-choice { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; border-radius: calc(var(--site-radius) - 4px); border: 1px solid color-mix(in oklab, var(--site-text) 14%, transparent); background: color-mix(in oklab, var(--site-surface) 90%, transparent); cursor: pointer; font-size: 15px; color: var(--site-text); transition: border-color .15s, background .15s; }
.wf-choice input { position: absolute; opacity: 0; pointer-events: none; }
.wf-choice-mark { width: 20px; height: 20px; flex: none; border-radius: 50%; border: 2px solid color-mix(in oklab, var(--site-text) 30%, transparent); display: grid; place-items: center; transition: all .15s; }
.wf-t-checkboxes .wf-choice-mark { border-radius: 6px; }
.wf-choice:has(input:checked) { border-color: var(--site-accent); background: color-mix(in oklab, var(--site-accent) 10%, var(--site-surface)); }
.wf-choice input:checked + .wf-choice-mark { border-color: var(--site-accent); background: var(--site-accent); box-shadow: inset 0 0 0 3px var(--site-surface); }
.wf-t-checkboxes .wf-choice input:checked + .wf-choice-mark { box-shadow: none; background: var(--site-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat; }
.wf-choice:has(input:focus-visible) { box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-accent) 22%, transparent); }
.wf-rating { display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.wf-rating input { position: absolute; opacity: 0; pointer-events: none; }
.wf-rating label { cursor: pointer; color: color-mix(in oklab, var(--site-text) 22%, transparent); transition: color .12s, transform .12s; }
.wf-rating label svg { width: 34px; height: 34px; fill: currentColor; }
.wf-rating label:hover, .wf-rating label:hover ~ label, .wf-rating input:checked ~ label { color: #F5B82E; }
.wf-rating label:hover { transform: scale(1.08); }
.wf-rating input:focus-visible + label { outline: 3px solid color-mix(in oklab, var(--site-accent) 45%, transparent); border-radius: 8px; }
.wf-consent { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border-radius: calc(var(--site-radius) - 4px); background: color-mix(in oklab, var(--site-accent) 7%, transparent); font-size: 13.5px; line-height: 1.45; color: var(--site-text); cursor: pointer; }
.wf-consent input { margin-top: 2px; width: 18px; height: 18px; accent-color: var(--site-accent); flex: none; }
.wf-heading { font-family: var(--site-heading); font-size: 1.25rem; margin: 8px 0 0; color: var(--site-text); letter-spacing: -0.02em; }
.wf-paragraph { margin: 0; color: var(--site-muted); line-height: 1.55; white-space: pre-line; }
.wf-break { display: flex; align-items: center; gap: 10px; color: var(--site-muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.wf-break::before, .wf-break::after { content: ""; flex: 1; height: 1px; background: color-mix(in oklab, var(--site-text) 14%, transparent); }
.wf-break span { display: inline-flex; align-items: center; gap: 6px; }
.wf-break svg { width: 14px; height: 14px; }
.wf-field.has-error .wf-input, .wf-field.has-error .wf-choice { border-color: #E5484D; }
.wf-error { margin: 0; font-size: 12.5px; color: #E5484D; font-weight: 600; }
.wf-alert { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: rgb(229 72 77 / .1); color: #C4333A; font-size: 14px; font-weight: 600; }
.wf-alert svg { width: 18px; height: 18px; flex: none; }
.wf-nav { display: flex; gap: 10px; align-items: center; justify-content: flex-end; margin-top: 4px; }
.wf-nav .ws-submit { min-width: 140px; height: 50px; gap: 8px; }
.wf-nav .ws-submit svg { width: 16px; height: 16px; }
.wf-submit.is-sending { opacity: .7; }
.wf-back { display: inline-flex; align-items: center; gap: 6px; margin-inline-end: auto; background: none; border: 0; font: inherit; font-weight: 600; color: var(--site-muted); cursor: pointer; padding: 10px 4px; }
.wf-back svg { width: 16px; height: 16px; }
.wf-back[hidden], .wf-next[hidden], .wf-submit[hidden] { display: none; }
@media (max-width: 420px) { .wf-nav .ws-submit { flex: 1; } }
.wf-logic-badge { position: absolute; top: -9px; inset-inline-end: 8px; display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 700; color: #fff; background: #7C5CFF; z-index: 2; }
.wf-logic-badge svg { width: 11px; height: 11px; }

/* Hosted form page */
.wf-page { min-height: 100dvh; background: var(--site-bg); color: var(--site-text); font-family: var(--site-font); }
.wf-page-cover { height: clamp(120px, 22vw, 200px); background: var(--site-cover); }
.wf-page-inner { width: min(640px, 100% - 28px); margin: calc(-1 * clamp(60px, 10vw, 100px)) auto 40px; }
.wf-page-card { padding: clamp(22px, 5vw, 40px); border-radius: calc(var(--site-radius) + 10px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 8%, transparent); box-shadow: 0 30px 80px -40px rgb(0 0 0 / .45); backdrop-filter: blur(12px); }
.wf-page-by { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--site-muted); }
.wf-page-by i { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-style: normal; color: var(--site-accent-text); background: var(--site-accent); font-weight: 800; }
.wf-done { display: grid; justify-items: center; gap: 10px; text-align: center; padding: 20px 0; }
.wf-done-icon { width: 72px; height: 72px; border-radius: 24px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 20px 40px -20px var(--site-accent); animation: wf-pop .5s cubic-bezier(.2,1.4,.4,1); }
.wf-done-icon svg { width: 34px; height: 34px; }
.wf-done h1 { font-family: var(--site-heading); font-size: 1.8rem; margin: 6px 0 0; letter-spacing: -0.03em; }
.wf-done p { color: var(--site-muted); margin: 0; max-width: 44ch; line-height: 1.55; white-space: pre-line; }
.wf-done .wf-note { margin-top: 8px; padding: 10px 14px; border-radius: 12px; background: color-mix(in oklab, var(--site-accent) 10%, transparent); color: var(--site-text); font-size: 14px; font-weight: 600; }
@keyframes wf-pop { from { transform: scale(.6); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wf-done-icon { animation: none; } .wf-progress span { transition: none; } }
.ws-block-form .ws-card { text-align: start; }

/* css/site/modules/sheets.css */
/* Module actions: the trigger card and the sheet (ADR-0012). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* ---- Module actions: premium trigger card + sheet (forms today; store, bookings, courses next) ---- */
.ws-action-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); color: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); box-shadow: 0 14px 34px -22px rgb(0 0 0 / .45); overflow: hidden; isolation: isolate; transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; text-decoration: none; }
.ws-action-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(120% 140% at 0% 0%, color-mix(in oklab, var(--site-accent) 22%, transparent), transparent 55%); }
.ws-action-card:hover { transform: translateY(-2px); box-shadow: 0 22px 44px -24px rgb(0 0 0 / .5); }
.ws-action-card:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 2px; }
.ws-action-icon { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 10px 22px -12px var(--site-accent); }
.ws-action-icon svg { width: 22px; height: 22px; }
.ws-action-text { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: start; }
.ws-action-text b { font-family: var(--site-heading); font-size: 16px; letter-spacing: -0.01em; }
.ws-action-text small { color: var(--site-muted); font-size: 12.5px; font-weight: 500; }
.ws-action-go { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--site-text) 7%, transparent); transition: transform .2s; }
.ws-action-go svg { width: 16px; height: 16px; }
.ws-action-card:hover .ws-action-go { transform: translateX(calc(3px * var(--dir-sign, 1))); background: var(--site-accent); color: var(--site-accent-text); }

.ws-sheet { position: fixed; inset: 0; z-index: 100; display: grid; align-items: end; justify-items: center; }
.ws-sheet[hidden] { display: none; }
.ws-sheet-backdrop { position: absolute; inset: 0; background: rgb(8 10 9 / .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .28s ease; }
.ws-sheet-panel { position: relative; width: min(560px, 100%); max-height: min(92dvh, 900px); overflow-y: auto; overscroll-behavior: contain; background: var(--site-bg-base); background-image: var(--site-bg); color: var(--site-text); font-family: var(--site-font); border-radius: 28px 28px 0 0; box-shadow: 0 -30px 80px -30px rgb(0 0 0 / .6); transform: translateY(40px); opacity: 0; transition: transform .38s cubic-bezier(.2,.9,.25,1), opacity .25s ease; padding-bottom: env(safe-area-inset-bottom); }
.ws-sheet.is-open .ws-sheet-backdrop { opacity: 1; }
.ws-sheet.is-open .ws-sheet-panel { transform: none; opacity: 1; }
@media (min-width: 640px) { .ws-sheet { align-items: center; padding: 24px; } .ws-sheet-panel { border-radius: 28px; transform: translateY(16px) scale(.98); } }
.ws-sheet-grab { display: block; width: 44px; height: 5px; border-radius: 999px; margin: 10px auto 0; background: color-mix(in oklab, var(--site-text) 22%, transparent); }
@media (min-width: 640px) { .ws-sheet-grab { display: none; } }
.ws-sheet-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: flex-start; gap: 14px; padding: 18px 20px 16px; background: linear-gradient(var(--site-bg-base) 70%, color-mix(in oklab, var(--site-bg-base) 0%, transparent)); }
.ws-sheet-head::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--site-cover); opacity: .9; }
.ws-sheet-icon { width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 12px 24px -14px var(--site-accent); }
.ws-sheet-icon svg { width: 22px; height: 22px; }
.ws-sheet-titles { flex: 1; min-width: 0; }
.ws-sheet-titles h2 { margin: 2px 0 4px; font-family: var(--site-heading); font-size: 1.35rem; line-height: 1.15; letter-spacing: -0.025em; }
.ws-sheet-titles p { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.5; white-space: pre-line; }
.ws-sheet-close { width: 38px; height: 38px; flex: none; border-radius: 50%; border: 0; display: grid; place-items: center; background: color-mix(in oklab, var(--site-text) 8%, transparent); color: var(--site-text); cursor: pointer; }
.ws-sheet-close:hover { background: color-mix(in oklab, var(--site-text) 14%, transparent); }
.ws-sheet-close svg { width: 18px; height: 18px; }
.ws-sheet-body { padding: 4px 20px 24px; }
.ws-sheet-body .wf { background: var(--site-surface); padding: 18px; border-radius: calc(var(--site-radius) + 4px); border: 1px solid color-mix(in oklab, var(--site-text) 8%, transparent); }
html.ws-sheet-lock, html.ws-sheet-lock body { overflow: hidden; }
@media (prefers-reduced-motion: reduce) { .ws-sheet-panel, .ws-sheet-backdrop { transition: none; } }
.ws-action-thumb { width: 56px; height: 56px; flex: none; border-radius: 14px; object-fit: cover; box-shadow: 0 10px 22px -14px rgb(0 0 0 / .5); }
.ws-action-meta { flex: none; padding: 8px 12px; border-radius: 999px; background: var(--site-accent); color: var(--site-accent-text); font-weight: 800; font-size: 13.5px; box-shadow: 0 10px 20px -12px var(--site-accent); }

/* css/site/modules/commerce.css */
/* Shop: product details, checkout and the pay page (ADR-0014). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* ---- Shop: product details + checkout ---- */
.shop { display: grid; gap: 14px; text-align: start; }
.shop-img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: calc(var(--site-radius) + 2px); box-shadow: 0 20px 44px -28px rgb(0 0 0 / .55); }
.shop-name { margin: 4px 0 0; font-family: var(--site-heading); font-size: clamp(1.5rem, 1.2rem + 1.4vw, 2.1rem); line-height: 1.08; letter-spacing: -0.03em; color: var(--site-text); }
.shop-tagline { margin: -6px 0 0; color: var(--site-muted); font-size: 15px; }
.shop-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0; }
.shop-price b { font-family: var(--site-heading); font-size: 1.7rem; letter-spacing: -0.03em; color: var(--site-text); }
.shop-price s { color: var(--site-muted); font-size: 15px; }
.shop-save { padding: 3px 9px; border-radius: 999px; font-size: 12px; font-weight: 800; background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-text); }
.shop-desc { color: var(--site-text); opacity: .86; line-height: 1.6; white-space: pre-line; font-size: 15px; }
.shop-includes { list-style: none; margin: 0; padding: 14px; display: grid; gap: 9px; border-radius: calc(var(--site-radius) - 2px); background: color-mix(in oklab, var(--site-accent) 7%, transparent); }
.shop-includes li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; color: var(--site-text); }
.shop-includes svg { width: 18px; height: 18px; flex: none; margin-top: 2px; color: var(--site-accent); stroke-width: 3; }
.shop-form { display: grid; gap: 14px; padding-top: 6px; border-top: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.shop-buy { width: 100%; height: 54px; gap: 10px; font-size: 16px; }
.shop-buy svg { width: 18px; height: 18px; }
.shop-trust { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; font-size: 12.5px; color: var(--site-muted); text-align: center; }
.shop-trust svg { width: 14px; height: 14px; }
.shop-delivery-msg { margin: 6px 0 0; padding: 14px; border-radius: 14px; background: color-mix(in oklab, var(--site-accent) 8%, transparent); white-space: pre-line; line-height: 1.55; }
.shop-dl-title { margin: 18px 0 8px; font-family: var(--site-heading); font-size: 1.1rem; }
.shop-dl { display: grid; gap: 10px; }

/* Checkout in the sheet (ADR-0014): the details form gives way to Weesify's own pay page in a frame. */
.shop-payframe { display: block; width: 100%; min-height: 420px; border: 0; border-radius: calc(var(--site-radius) + 2px); background: transparent; }
.shop.is-paying > :not(.shop-payframe) { display: none; }
body.is-framed { background: transparent; }
body.is-framed .wf-page { min-height: 0; padding: 0; background: transparent; }
body.is-framed .wf-page-inner { padding: 0; }
body.is-framed .wf-page-card { box-shadow: none; padding: 4px 2px 12px; background: transparent; border: 0; }

/* Weesify pay page */
.pay { display: grid; gap: 16px; }
.pay-summary { display: grid; gap: 4px; padding: 16px 18px; border-radius: calc(var(--site-radius) + 2px); background: color-mix(in oklab, var(--site-accent) 7%, var(--site-card)); border: 1px solid color-mix(in oklab, var(--site-accent) 18%, transparent); }
.pay-line { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; color: var(--site-text); }
.pay-line b { font-family: var(--site-heading); font-size: 1.6rem; letter-spacing: -0.03em; white-space: nowrap; }
.pay-line.is-muted { color: var(--site-muted); font-size: 13px; }
.pay-test { display: flex; gap: 8px; align-items: center; margin: 0; padding: 9px 12px; border-radius: 12px; background: #FFF6DB; color: #7A5A00; font-size: 13px; font-weight: 600; }
.pay-test svg, .pay-alert svg { width: 16px; height: 16px; flex: none; }
.pay-alert { display: flex; gap: 8px; align-items: center; padding: 10px 12px; border-radius: 12px; background: #FDECEC; color: #9B1C1C; font-size: 14px; }
.pay-alert[hidden] { display: none; }
.pay-form { display: grid; gap: 14px; }
.pay-element { min-height: 140px; }
.pay-card { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.pay-hint { margin: -4px 0 0; text-align: center; color: var(--site-muted); font-size: 12.5px; }
.shop-buy.is-busy { opacity: .7; pointer-events: none; }

/* css/site/modules/reporting.css */
/* Reporting a page (ADR-0017). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* Reporting (ADR-0017) */
.ws-report-link { display: block; width: max-content; margin: 10px auto 0; font-size: 12px; opacity: .55; color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.ws-report-link:hover { opacity: .9; }
.ws-report { display: grid; gap: 14px; margin-top: 22px; text-align: start; }
.ws-field { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.ws-field small { font-weight: 500; opacity: .7; }
.ws-field textarea.ws-input { height: auto; padding: 12px 14px; resize: vertical; }
.ws-field select.ws-input { appearance: auto; }
.ws-error { color: #D93A3A; font-weight: 600; opacity: 1 !important; }
.ws-hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* css/site/modules/bookings.css */
/* Bookings (ADR-0022). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* Bookings (ADR-0022): day chips, time grid, booking card ------------------------------------------------------- */
.bk { display: grid; gap: 12px; margin: 4px 0 18px; }
.bk-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--site-muted); }
.bk-meta svg { width: 15px; height: 15px; }
.bk-meta span { opacity: .5; }
.bk-days { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.bk-day { flex: none; scroll-snap-align: start; cursor: pointer; }
.bk-day input { position: absolute; opacity: 0; pointer-events: none; }
.bk-day span { display: grid; justify-items: center; gap: 0; width: 60px; padding: 9px 0; border-radius: calc(var(--site-radius) + 2px); border: 1.5px solid color-mix(in oklab, var(--site-text) 14%, transparent); background: var(--site-surface); color: var(--site-text); transition: border-color .15s, background .15s, transform .15s; }
.bk-day span b { font-size: 20px; line-height: 1.15; font-weight: 800; }
.bk-day span small { font-size: 11px; color: var(--site-muted); font-weight: 600; }
.bk-day:hover span { transform: translateY(-1px); }
.bk-day input:checked + span { background: var(--site-accent); border-color: var(--site-accent); color: var(--site-accent-text); }
.bk-day input:checked + span small { color: inherit; opacity: .85; }
.bk-day input:focus-visible + span { outline: 3px solid color-mix(in oklab, var(--site-accent) 45%, transparent); outline-offset: 2px; }
.bk-times { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; margin: 0; padding: 0; border: 0; min-width: 0; }
.bk-times-head { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; font-weight: 700; color: var(--site-heading); }
@supports selector(:has(a)) { .bk-times-head { display: none; } }
.bk-time { cursor: pointer; }
.bk-time input { position: absolute; opacity: 0; pointer-events: none; }
.bk-time span { display: grid; justify-items: center; padding: 11px 6px; border-radius: calc(var(--site-radius) - 2px); border: 1.5px solid color-mix(in oklab, var(--site-text) 14%, transparent); background: var(--site-surface); font-weight: 700; font-size: 15px; color: var(--site-text); transition: border-color .15s, background .15s; }
.bk-time span small { font-size: 11px; font-weight: 600; color: var(--site-muted); }
.bk-time:hover span { border-color: var(--site-accent); }
.bk-time input:checked + span { background: var(--site-accent); border-color: var(--site-accent); color: var(--site-accent-text); }
.bk-time input:checked + span small { color: inherit; }
.bk-time input:focus-visible + span { outline: 3px solid color-mix(in oklab, var(--site-accent) 45%, transparent); outline-offset: 2px; }
.bk.has-error .bk-times { outline: 2px solid #D93A3A; outline-offset: 6px; border-radius: 8px; }
.bk-card { display: grid; gap: 8px; margin: 16px 0; padding: 16px 18px; border-radius: calc(var(--site-radius) + 4px); border: 1px solid color-mix(in oklab, var(--site-text) 12%, transparent); background: var(--site-surface); color: var(--site-text); font-size: 15px; }
.bk-card b { font-size: 18px; color: var(--site-heading); }
.bk-card span { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bk-card svg { width: 16px; height: 16px; color: var(--site-muted); flex: none; }
.bk-card small { color: var(--site-muted); }
.bk-card a { color: var(--site-accent); font-weight: 700; }
.bk-cancel { margin-top: 14px; }
.bk-cancel summary { cursor: pointer; font-size: 14px; color: var(--site-muted); font-weight: 600; }
.bk-cancel details[open] summary { margin-bottom: 10px; }

/* css/site/modules/courses.css */
/* Courses (ADR-0023, ADR-0041). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* Courses (ADR-0023): curriculum on the sales page, the student area, certificates ------------------------------- */
.cs-curr { margin: 6px 0 20px; padding: 16px; border-radius: calc(var(--site-radius) + 4px); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); background: color-mix(in oklab, var(--site-surface) 80%, transparent); }
.cs-curr-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin: 0 0 8px; }
.cs-curr-head b { color: var(--site-heading); font-size: 16px; } .cs-curr-head span { font-size: 13px; color: var(--site-muted); }
.cs-curr-section { margin: 12px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--site-muted); }
.cs-curr-list { list-style: none; margin: 0; padding: 0; display: grid; }
.cs-curr-list li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid color-mix(in oklab, var(--site-text) 8%, transparent); font-size: 14.5px; color: var(--site-text); }
.cs-curr-list li:first-child { border-top: 0; }
.cs-curr-icon svg { width: 16px; height: 16px; color: var(--site-muted); display: block; }
.cs-curr-title { flex: 1; min-width: 0; }
.cs-curr-list small { color: var(--site-muted); font-size: 12px; }
.cs-curr-preview { font-size: 12.5px; font-weight: 700; color: var(--site-accent); text-decoration: none; padding: 3px 9px; border-radius: 99px; background: color-mix(in oklab, var(--site-accent) 12%, transparent); }
.cs-curr-by { margin: 10px 0 0; font-size: 13px; color: var(--site-muted); }
.cs-access { margin-top: 12px; font-size: 13.5px; }
.cs-access summary { cursor: pointer; color: var(--site-muted); font-weight: 600; }
.cs-access-form { display: grid; gap: 8px; margin-top: 10px; }

.lr { min-height: 100dvh; background: var(--site-bg-base); color: var(--site-text); font-family: var(--site-font); }
.lr-bar { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 12px clamp(14px, 3vw, 28px); background: color-mix(in oklab, var(--site-surface) 92%, transparent); backdrop-filter: blur(12px); border-bottom: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.lr-bar-title { display: grid; flex: 1; min-width: 0; }
.lr-bar-title small { font-size: 11.5px; color: var(--site-muted); font-weight: 600; }
.lr-bar-title b { color: var(--site-heading); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lr-progress { width: min(200px, 30vw); height: 8px; border-radius: 99px; background: color-mix(in oklab, var(--site-text) 10%, transparent); overflow: hidden; }
.lr-progress span { display: block; height: 100%; border-radius: inherit; background: var(--site-accent); transition: width .5s; }
.lr-pct { font-weight: 800; font-size: 13px; color: var(--site-heading); min-width: 38px; text-align: end; }
.lr-cta { font-weight: 800; font-size: 14px; padding: 9px 16px; border-radius: 99px; background: var(--site-accent); color: var(--site-accent-text); text-decoration: none; }
.lr-body { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin: 0 auto; gap: 24px; padding: 20px clamp(14px, 3vw, 28px) 60px; }
@media (min-width: 960px) { .lr-body { grid-template-columns: 300px minmax(0, 1fr); } .lr-nav { position: sticky; top: 76px; align-self: start; max-height: calc(100dvh - 96px); overflow: auto; } }
.lr-nav-toggle { border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); padding: 6px; }
.lr-nav-toggle summary { display: flex; justify-content: space-between; padding: 10px 12px; font-weight: 800; cursor: pointer; color: var(--site-heading); list-style: none; }
.lr-nav-toggle summary span { color: var(--site-muted); font-weight: 600; font-size: 13px; }
.lr-nav-section { margin: 10px 12px 4px; font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--site-muted); }
.lr-nav ol { list-style: none; margin: 0; padding: 0; }
.lr-nav li a, .lr-nav-item { display: flex; gap: 10px; align-items: flex-start; padding: 9px 12px; border-radius: 12px; color: var(--site-text); text-decoration: none; font-size: 14px; }
.lr-nav li a:hover { background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.lr-nav li.is-current a { background: color-mix(in oklab, var(--site-accent) 14%, transparent); font-weight: 700; }
.lr-nav li i { flex: none; width: 22px; height: 22px; border-radius: 99px; display: grid; place-items: center; border: 1.5px solid color-mix(in oklab, var(--site-text) 20%, transparent); }
.lr-nav li i svg { width: 12px; height: 12px; }
.lr-nav li.is-done i { background: var(--site-accent); border-color: var(--site-accent); color: var(--site-accent-text); }
.lr-nav li.is-locked { opacity: .55; }
.lr-nav li small { display: block; font-size: 11.5px; color: var(--site-muted); }
.lr-main { min-width: 0; }
.lr-kicker { margin: 0 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--site-accent); }
.lr-title { margin: 0 0 16px; color: var(--site-heading); font-size: clamp(1.5rem, 1.1rem + 1.6vw, 2.3rem); letter-spacing: -0.03em; line-height: 1.12; }
.lr-video { position: relative; aspect-ratio: 16 / 9; border-radius: calc(var(--site-radius) + 6px); overflow: hidden; background: #000; box-shadow: 0 30px 60px -30px rgb(0 0 0 / .5); margin-bottom: 22px; }
.lr-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.lr-text { font-size: 16.5px; line-height: 1.7; max-width: 70ch; }
.lr-text h2 { font-size: 1.3rem; color: var(--site-heading); margin: 24px 0 8px; }
.lr-text a { color: var(--site-accent); font-weight: 600; }
.lr-text ul { padding-inline-start: 20px; }
.lr-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 32px; padding-top: 20px; border-top: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); flex-wrap: wrap; }
.lr-btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--site-text); text-decoration: none; padding: 12px 14px; border-radius: 12px; }
.lr-btn svg, .lr-done svg { width: 16px; height: 16px; }
.lr-done { display: inline-flex; align-items: center; gap: 8px; width: auto; padding: 0 22px; }
.lr-empty, .lr-finished { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 40px 20px; border-radius: calc(var(--site-radius) + 6px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); margin-bottom: 20px; }
.lr-empty svg { width: 28px; height: 28px; color: var(--site-muted); }
.lr-empty h1, .lr-finished h1 { margin: 6px 0 0; color: var(--site-heading); font-size: 1.5rem; }
.lr-finished span svg { width: 44px; height: 44px; color: var(--site-accent); }
.lr-finished .ws-submit { width: auto; padding: 0 24px; margin-top: 10px; display: inline-flex; align-items: center; text-decoration: none; }
.lr-preview-note { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--site-muted); margin: 0 0 12px; }
.lr-preview-note svg { width: 15px; height: 15px; }
.lr-preview-note a { color: var(--site-accent); font-weight: 700; }

.cert-page { margin: 0; min-height: 100dvh; display: grid; place-items: center; background: radial-gradient(circle at 20% 10%, #EDE7FF, transparent 50%), radial-gradient(circle at 90% 90%, #D8F7EA, transparent 50%), #F7F8F5; font-family: Georgia, 'Times New Roman', serif; color: #14201A; padding: 20px; }
.cert { width: min(900px, 100%); aspect-ratio: 1.414; max-height: 90dvh; background: #fff; border-radius: 14px; box-shadow: 0 50px 100px -40px rgb(20 32 26 / .35); padding: clamp(14px, 2.5vw, 26px); }
.cert-inner { height: 100%; border: 2px solid #D9CFB0; outline: 1px solid #D9CFB0; outline-offset: -8px; border-radius: 8px; display: grid; align-content: center; justify-items: center; text-align: center; padding: 4%; gap: 4px; }
.cert-org { margin: 0; font-family: -apple-system, 'Segoe UI', sans-serif; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: clamp(10px, 1.3vw, 13px); color: #7C5CFF; }
.cert-kicker { margin: 6px 0 14px; font-size: clamp(18px, 3vw, 30px); letter-spacing: .02em; }
.cert-small { margin: 0; font-style: italic; color: #56655E; font-size: clamp(11px, 1.4vw, 15px); }
.cert-name { margin: 6px 0; font-size: clamp(24px, 5vw, 52px); font-weight: 400; border-bottom: 1px solid #D9CFB0; padding: 0 5% 6px; }
.cert-course { margin: 6px 0 16px; font-size: clamp(16px, 2.6vw, 26px); font-weight: 700; }
.cert-meta { display: flex; gap: clamp(14px, 4vw, 48px); flex-wrap: wrap; justify-content: center; font-family: -apple-system, 'Segoe UI', sans-serif; }
.cert-meta span { display: grid; } .cert-meta small { font-size: 11px; color: #8A9690; text-transform: uppercase; letter-spacing: .08em; } .cert-meta b { font-size: clamp(12px, 1.5vw, 15px); }
.cert-void { color: #C0392B; font-weight: 700; font-family: sans-serif; }
.cert-foot { margin: 18px 0 0; font-family: sans-serif; font-size: 11px; color: #8A9690; }
.cert { --cert-accent: #7C5CFF; }
.cert-page { align-content: center; gap: 14px; }
.cert-logo { max-height: clamp(26px, 5vw, 48px); max-width: 40%; object-fit: contain; margin-bottom: 6px; }
.cert-org { color: var(--cert-accent); }
.cert-classic .cert-inner { border-color: color-mix(in oklab, var(--cert-accent) 45%, #D9CFB0); outline-color: color-mix(in oklab, var(--cert-accent) 45%, #D9CFB0); }
.cert-modern { position: relative; overflow: hidden; font-family: -apple-system, 'Segoe UI', sans-serif; }
.cert-modern::before { content: ''; position: absolute; inset-block: 0; inset-inline: 0 auto; width: clamp(10px, 2.2vw, 22px); background: var(--cert-accent); }
.cert-modern .cert-inner { border: 0; outline: 0; justify-items: start; text-align: start; padding-inline-start: 9%; }
.cert-modern .cert-kicker { font-weight: 800; letter-spacing: -0.02em; }
.cert-modern .cert-name { font-weight: 800; letter-spacing: -0.03em; padding-inline-start: 0; border-bottom-color: var(--cert-accent); border-bottom-width: 3px; }
.cert-modern .cert-meta { justify-content: flex-start; }
.cert-minimal .cert-inner { border: 0; outline: 0; }
.cert-minimal .cert-kicker::before { content: ''; display: block; width: 56px; height: 3px; margin: 0 auto 14px; background: var(--cert-accent); border-radius: 3px; }
.cert-minimal .cert-name { border-bottom: 0; }
.cert-sign { display: grid; justify-items: center; }
.cert-sign i { font-family: 'Brush Script MT', 'Segoe Script', cursive; font-size: clamp(18px, 2.6vw, 28px); line-height: 1; border-bottom: 1px solid #C9CFCB; padding: 0 12px 2px; color: #14201A; }
.cert-modern .cert-sign { justify-items: start; }
.cert-actions { margin: 0; text-align: center; font-family: -apple-system, 'Segoe UI', sans-serif; }
.cert-actions a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; background: #14201A; color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.cert-actions svg { width: 16px; height: 16px; }
@media print { .cert-page { background: #fff; } .cert { box-shadow: none; } .cert-actions { display: none; } }

/* Course depth (ADR-0041): quizzes, assignments and lesson discussions in the student area ------------------------ */
.lr-note { margin: 0 0 12px; font-size: 14px; color: var(--site-muted); font-weight: 600; }
.lr-quiz, .lr-work { margin-top: 26px; display: grid; gap: 16px; }
.lr-questions { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: q; }
.lr-q { counter-increment: q; padding: 18px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.lr-q fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: 12px; min-width: 0; }
.lr-q-prompt { margin: 0; padding: 0; display: flex; gap: 10px; align-items: flex-start; font-weight: 700; color: var(--site-heading); font-size: 16px; line-height: 1.4; }
.lr-q-prompt::before { content: counter(q); flex: none; width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; font-size: 12.5px; background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.lr-q legend.lr-q-prompt { margin-bottom: 12px; }
.lr-q-prompt small { font-weight: 500; color: var(--site-muted); }
.lr-q-mark { margin-inline-start: auto; flex: none; width: 24px; height: 24px; border-radius: 99px; display: grid; place-items: center; }
.lr-q-mark svg { width: 14px; height: 14px; }
.lr-q.is-right { border-color: color-mix(in oklab, #10B981 45%, transparent); }
.lr-q.is-right .lr-q-mark { background: #10B981; color: #fff; }
.lr-q.is-wrong { border-color: color-mix(in oklab, #EF4444 40%, transparent); }
.lr-q.is-wrong .lr-q-mark { background: #EF4444; color: #fff; }
.lr-q-answer { margin-block: 10px 0; margin-inline: 36px 0; font-size: 14px; font-weight: 700; color: var(--site-text); }
.lr-q-why { margin-block: 6px 0; margin-inline: 36px 0; font-size: 14px; color: var(--site-muted); line-height: 1.55; }
.lr-score { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 28px 20px; border-radius: calc(var(--site-radius) + 6px); color: #fff; background: linear-gradient(135deg, #0F766E, #10B981); box-shadow: 0 30px 60px -34px rgb(16 185 129 / .7); }
.lr-score.is-fail { background: linear-gradient(135deg, #7C2D12, #F97316); box-shadow: 0 30px 60px -34px rgb(249 115 22 / .7); }
.lr-score b { font-size: clamp(2.6rem, 2rem + 3vw, 4rem); line-height: 1; letter-spacing: -0.04em; }
.lr-score span { font-weight: 700; opacity: .92; }
.lr-score small { opacity: .85; }
.lr-score .ws-submit { width: auto; padding: 0 22px; margin-top: 8px; display: inline-flex; align-items: center; text-decoration: none; background: #fff; color: #14201A; }
.lr-status { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.lr-status > svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--site-muted); }
.lr-status b { display: block; color: var(--site-heading); }
.lr-status small { color: var(--site-muted); font-size: 12.5px; }
.lr-status.is-approved { border-color: color-mix(in oklab, #10B981 45%, transparent); background: color-mix(in oklab, #10B981 8%, var(--site-surface)); }
.lr-status.is-approved > svg { color: #10B981; }
.lr-status.is-changes_requested { border-color: color-mix(in oklab, #F59E0B 50%, transparent); background: color-mix(in oklab, #F59E0B 8%, var(--site-surface)); }
.lr-status.is-changes_requested > svg { color: #D97706; }
.lr-feedback { margin: 10px 0 0; padding: 10px 12px; border-inline-start: 3px solid var(--site-accent); border-radius: 6px; background: color-mix(in oklab, var(--site-text) 4%, transparent); white-space: pre-line; font-size: 14.5px; }
.lr-mywork { padding: 14px 16px; border-radius: 12px; background: color-mix(in oklab, var(--site-text) 4%, transparent); }
.lr-mywork small { font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--site-muted); }
.lr-mywork p { margin: 4px 0 0; white-space: pre-line; overflow-wrap: anywhere; }
.lr-work .lr-btn { justify-self: start; padding-inline-start: 0; }
.lr-work-form { display: grid; gap: 14px; padding: 20px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.lr-work-form h2 { margin: 0; font-size: 1.15rem; color: var(--site-heading); }
.lr-work-form .ws-submit, .lr-quiz-form .ws-submit { justify-self: start; }
.lr-quiz-form { display: grid; gap: 16px; }
.lr-disc { margin-top: 40px; padding-top: 24px; border-top: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); display: grid; gap: 14px; }
.lr-disc h2 { margin: 0; font-size: 1.2rem; color: var(--site-heading); display: flex; align-items: center; gap: 8px; }
.lr-disc h2 span { font-size: 12px; font-weight: 800; padding: 2px 9px; border-radius: 99px; background: color-mix(in oklab, var(--site-text) 8%, transparent); color: var(--site-muted); }
.lr-c { padding: 14px 16px; border-radius: calc(var(--site-radius) + 2px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 9%, transparent); }
.lr-c header { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.lr-c header b { color: var(--site-heading); }
.lr-c header small { color: var(--site-muted); font-size: 12px; margin-inline-start: auto; }
.lr-c p { margin: 6px 0 0; white-space: pre-line; overflow-wrap: anywhere; font-size: 15px; line-height: 1.55; }
.lr-c.is-reply { margin: 10px 0 0 clamp(8px, 3vw, 24px); background: color-mix(in oklab, var(--site-text) 3%, transparent); }
.lr-c.is-team { border-color: color-mix(in oklab, var(--site-accent) 35%, transparent); }
.lr-c-badge { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 99px; background: var(--site-accent); color: var(--site-accent-text); }
.lr-c-reply { margin-top: 8px; }
.lr-c-reply summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--site-accent); list-style: none; }
.lr-c-reply form { display: grid; gap: 8px; margin-top: 8px; }
.lr-c-reply .lr-btn { justify-self: start; padding: 8px 0; }
.lr-c-new { display: grid; gap: 10px; }
.lr-c-new .ws-submit { justify-self: start; width: auto; padding: 0 22px; }
.lr-nav li .lr-kind { display: inline-block; margin-inline-start: 6px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--site-accent); }

/* Instructors on the course sales page (ADR-0041) */
.crs-team { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr)); }
.crs-person { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.crs-person-photo { flex: none; width: 56px; height: 56px; border-radius: 99px; background: color-mix(in oklab, var(--site-accent) 18%, transparent) center / cover no-repeat; display: grid; place-items: center; font-weight: 800; color: var(--site-accent); font-size: 20px; }
.crs-person b { display: block; color: var(--site-heading); }
.crs-person small { display: block; color: var(--site-muted); font-size: 13px; font-weight: 600; }
.crs-person p { margin: 6px 0 0; font-size: 14px; line-height: 1.55; }

/* css/site/modules/community.css */
/* Community (ADR-0024, ADR-0031). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* ---------------------------------------------------------------- community (ADR-0024) */
.cm, .cm-gate, .cm-inside { --cm-line: color-mix(in oklab, var(--site-text) 10%, transparent); --cm-soft: color-mix(in oklab, var(--site-text) 5%, transparent); }
.cm { min-height: 100dvh; background: var(--site-bg-base); color: var(--site-text); font-family: var(--site-font); }
.cm-bar { position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 12px; padding: 10px clamp(14px, 3vw, 28px); background: color-mix(in oklab, var(--site-surface) 90%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--cm-line); }
.cm-brand { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; text-decoration: none; color: inherit; }
.cm-logo { width: 36px; height: 36px; border-radius: 11px; flex: none; display: grid; place-items: center; object-fit: cover; font-weight: 800; color: var(--site-accent-text); background: linear-gradient(145deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 55%, #7C5CFF)); }
.cm-brand-text { display: grid; min-width: 0; }
.cm-brand-text small { font-size: 11.5px; color: var(--site-muted); font-weight: 600; }
.cm-brand-text b { color: var(--site-heading); font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cm-me { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--site-heading); font-weight: 700; font-size: 14px; padding-block: 4px; padding-inline: 4px 12px; border-radius: 99px; border: 1px solid var(--cm-line); background: var(--site-surface); }
.cm-me.is-active { border-color: var(--site-accent); }
.cm-me-name { max-width: 14ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 520px) { .cm-me-name { display: none; } .cm-me { padding: 3px; } }
.cm-av { width: 36px; height: 36px; border-radius: 99px; flex: none; display: grid; place-items: center; font-weight: 800; font-size: 14px; color: var(--site-heading); background: color-mix(in oklab, var(--site-accent) 18%, var(--site-surface)); }
.cm-av.is-team { color: #fff; background: linear-gradient(145deg, #1F2925, #5B3BE8); }
.cm-av-sm { width: 30px; height: 30px; font-size: 12.5px; }
.cm-av-lg { width: 48px; height: 48px; font-size: 18px; }

.cm-body { display: grid; grid-template-columns: minmax(0, 1fr); max-width: 1180px; margin: 0 auto; gap: 18px; padding: 14px clamp(14px, 3vw, 28px) 64px; }
.cm-nav { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 calc(-1 * clamp(14px, 3vw, 28px)); padding: 2px clamp(14px, 3vw, 28px); }
.cm-nav::-webkit-scrollbar { display: none; }
.cm-nav-item { display: inline-flex; align-items: center; gap: 7px; flex: none; padding: 8px 13px; border-radius: 99px; font-size: 14px; font-weight: 600; text-decoration: none; color: var(--site-text); background: var(--site-surface); border: 1px solid var(--cm-line); }
.cm-nav-item svg { width: 15px; height: 15px; color: var(--site-muted); }
.cm-nav-item small { color: var(--site-muted); font-weight: 600; font-size: 12px; }
.cm-nav-item.is-active { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; }
.cm-nav-item.is-active svg, .cm-nav-item.is-active small { color: inherit; opacity: .8; }
.cm-side { display: none; }
@media (min-width: 900px) {
  .cm-body { grid-template-columns: 230px minmax(0, 1fr); gap: 28px; padding-top: 24px; }
  .cm-nav { flex-direction: column; margin: 0; padding: 0; overflow: visible; position: sticky; top: 80px; align-self: start; }
  .cm-nav-item { border: 0; background: transparent; border-radius: 12px; padding: 10px 12px; }
  .cm-nav-item span { flex: 1; }
  .cm-nav-item:hover { background: var(--cm-soft); }
  .cm-nav-item.is-active { background: var(--site-surface); color: var(--site-heading); box-shadow: 0 1px 0 var(--cm-line), 0 10px 24px -18px rgb(0 0 0 / .35); }
  .cm-nav-item.is-active svg { color: var(--site-accent); opacity: 1; }
}
@media (min-width: 1180px) { .cm-body { grid-template-columns: 230px minmax(0, 1fr) 280px; } .cm-side { display: grid; gap: 14px; align-content: start; position: sticky; top: 80px; align-self: start; } }
.cm-main { min-width: 0; display: grid; gap: 14px; align-content: start; }
.cm-head h1 { margin: 0; color: var(--site-heading); font-size: clamp(1.5rem, 1.15rem + 1.3vw, 2.1rem); letter-spacing: -0.03em; line-height: 1.1; }
.cm-head p { margin: 6px 0 0; color: var(--site-muted); font-size: 15px; max-width: 60ch; }
.cm-card { background: var(--site-surface); border: 1px solid var(--cm-line); border-radius: calc(var(--site-radius) + 6px); padding: 16px; display: grid; gap: 8px; }
.cm-card b { color: var(--site-heading); }
.cm-card p { margin: 0; }
.cm-muted { color: var(--site-muted); font-size: 14px; }
.cm-pre { white-space: pre-line; }
.cm-stat { display: flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.cm-stat svg { width: 15px; height: 15px; color: var(--site-accent); }
.cm-powered { font-size: 12px; color: var(--site-muted); margin: 4px 4px 0; }
.cm-powered a { color: inherit; }
.cm-alert, .cm-ok, .cm-note { display: flex; align-items: center; gap: 8px; margin: 0; padding: 11px 14px; border-radius: 14px; font-size: 14px; }
.cm-alert { background: color-mix(in oklab, #E5484D 12%, var(--site-surface)); color: color-mix(in oklab, #E5484D 70%, var(--site-heading)); }
.cm-ok { background: color-mix(in oklab, var(--site-accent) 14%, var(--site-surface)); color: var(--site-heading); }
.cm-note { background: var(--cm-soft); color: var(--site-muted); }
.cm-note a { color: var(--site-accent); font-weight: 700; }
.cm-alert svg, .cm-ok svg, .cm-note svg { width: 16px; height: 16px; flex: none; }

.cm-input { width: 100%; box-sizing: border-box; font: inherit; font-size: 15px; color: var(--site-text); background: var(--site-surface); border: 1px solid var(--cm-line); border-radius: 12px; padding: 10px 12px; resize: vertical; }
.cm-input:focus { outline: 2px solid color-mix(in oklab, var(--site-accent) 45%, transparent); outline-offset: 1px; }
.cm-compose { display: flex; gap: 12px; align-items: flex-start; background: var(--site-surface); border: 1px solid var(--cm-line); border-radius: calc(var(--site-radius) + 6px); padding: 14px; box-shadow: 0 18px 40px -32px rgb(0 0 0 / .45); }
.cm-compose-fields { flex: 1; min-width: 0; display: grid; gap: 8px; }
.cm-compose .cm-input { border-color: transparent; background: var(--cm-soft); }
.cm-input-title { font-weight: 700; }
.cm-compose-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cm-select { font: inherit; font-size: 13.5px; font-weight: 600; color: var(--site-text); background: var(--cm-soft); border: 0; border-radius: 99px; padding: 8px 12px; max-width: 60vw; }
.cm-btn { width: auto; min-height: 40px; padding: 0 18px; display: inline-flex; align-items: center; gap: 7px; font-size: 14.5px; }
.cm-btn svg { width: 15px; height: 15px; }
.cm-btn-ghost { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 700; color: var(--site-heading); background: transparent; border: 1px solid var(--cm-line); border-radius: 12px; padding: 9px 14px; cursor: pointer; }
.cm-btn-ghost svg { width: 15px; height: 15px; }
.cm-btn-ghost.is-danger { color: #D93036; border-color: color-mix(in oklab, #D93036 35%, transparent); }
.cm-rules summary { cursor: pointer; font-size: 13px; color: var(--site-muted); font-weight: 600; }
.cm-rules p { white-space: pre-line; font-size: 13.5px; color: var(--site-muted); margin: 6px 0 0; }

.cm-feed { display: grid; gap: 12px; }
.cm-post { position: relative; background: var(--site-surface); border: 1px solid var(--cm-line); border-radius: calc(var(--site-radius) + 6px); padding: 16px 16px 10px; }
.cm-post.is-pinned { border-color: color-mix(in oklab, var(--site-accent) 45%, transparent); }
.cm-post.is-hidden, .cm-comment.is-hidden { opacity: .6; border-style: dashed; }
.cm-post-head { display: flex; align-items: center; gap: 10px; }
.cm-meta { margin: 0; flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; column-gap: 7px; row-gap: 0; font-size: 14px; }
.cm-meta b { color: var(--site-heading); }
.cm-meta-sub, .cm-meta time { color: var(--site-muted); font-size: 12.5px; }
.cm-post-head .cm-meta-sub { flex-basis: 100%; }
.cm-meta-sub a { color: inherit; font-weight: 600; text-decoration: none; }
.cm-badge { font-size: 11px; font-weight: 800; letter-spacing: .02em; padding: 2px 8px; border-radius: 99px; color: var(--site-accent); background: color-mix(in oklab, var(--site-accent) 13%, transparent); }
.cm-badge.is-team { color: #fff; background: linear-gradient(90deg, #1F2925, #5B3BE8); }
.cm-badge.is-hidden { color: #B25E00; background: color-mix(in oklab, #F5A524 18%, transparent); }
.cm-badge.is-you { color: var(--site-muted); background: var(--cm-soft); }
.cm-pin svg { width: 16px; height: 16px; color: var(--site-accent); }
.cm-post-title { margin: 12px 0 0; font-size: 1.12rem; line-height: 1.3; letter-spacing: -0.01em; color: var(--site-heading); }
h1.cm-post-title { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); letter-spacing: -0.02em; }
.cm-post-title a { color: inherit; text-decoration: none; }
.cm-text { font-size: 15.5px; line-height: 1.6; margin-top: 8px; overflow-wrap: anywhere; }
.cm-text p { margin: 0 0 8px; } .cm-text h2 { font-size: 1.05rem; color: var(--site-heading); margin: 12px 0 6px; } .cm-text ul { margin: 0 0 8px; padding-inline-start: 20px; }
.cm-text a { color: var(--site-accent); font-weight: 600; }
.cm-more { display: inline-block; font-size: 14px; font-weight: 700; color: var(--site-accent); text-decoration: none; margin-top: -2px; }
.cm-post-foot { display: flex; gap: 4px; margin-top: 8px; border-top: 1px solid var(--cm-line); padding-top: 6px; }
.cm-act { display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 13.5px; font-weight: 700; color: var(--site-muted); background: transparent; border: 0; border-radius: 10px; padding: 8px 10px; cursor: pointer; text-decoration: none; }
.cm-act:hover { background: var(--cm-soft); color: var(--site-heading); }
.cm-act svg { width: 17px; height: 17px; }
.cm-act.is-liked { color: #E5486F; } .cm-act.is-liked svg { fill: currentColor; }
.cm-act.is-static { cursor: default; } .cm-act.is-static:hover { background: none; color: var(--site-muted); }
.cm-menu { position: relative; }
.cm-menu summary { list-style: none; cursor: pointer; width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: var(--site-muted); }
.cm-menu summary::-webkit-details-marker { display: none; }
.cm-menu summary svg { width: 18px; height: 18px; }
.cm-menu[open] summary { background: var(--cm-soft); }
.cm-menu-pop { position: absolute; inset-inline-end: 0; top: 36px; z-index: 4; width: 250px; display: grid; gap: 2px; padding: 6px; background: var(--site-surface); border: 1px solid var(--cm-line); border-radius: 14px; box-shadow: 0 24px 50px -20px rgb(0 0 0 / .35); }
.cm-menu-pop button { display: flex; align-items: center; gap: 9px; width: 100%; font: inherit; font-size: 14px; font-weight: 600; text-align: start; color: var(--site-text); background: transparent; border: 0; border-radius: 10px; padding: 9px 10px; cursor: pointer; }
.cm-menu-pop button:hover { background: var(--cm-soft); }
.cm-menu-pop button svg { width: 15px; height: 15px; color: var(--site-muted); }
.cm-menu-pop .is-danger { color: #D93036; }
.cm-report-form { display: grid; gap: 6px; }
.cm-report-form .cm-input { font-size: 13.5px; padding: 8px 10px; }
.cm-empty { display: grid; justify-items: center; text-align: center; gap: 4px; padding: 44px 20px; border-radius: calc(var(--site-radius) + 6px); border: 1px dashed var(--cm-line); color: var(--site-muted); }
.cm-empty svg { width: 28px; height: 28px; }
.cm-empty h2 { margin: 6px 0 0; font-size: 1.1rem; color: var(--site-heading); }
.cm-empty p { margin: 0; }
.cm-pager { display: flex; justify-content: space-between; }
.cm-back { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--site-muted); text-decoration: none; }
.cm-back svg { width: 15px; height: 15px; }

.cm-comments { display: grid; gap: 10px; }
.cm-comments h2 { margin: 6px 0 0; font-size: 1rem; color: var(--site-heading); }
.cm-comment { display: flex; gap: 10px; padding: 12px 14px; border-radius: 16px; background: var(--site-surface); border: 1px solid var(--cm-line); }
.cm-comment-main { flex: 1; min-width: 0; }
.cm-comment .cm-text { margin-top: 4px; font-size: 15px; }
.cm-comment-tools { display: flex; gap: 12px; align-items: flex-start; flex-wrap: wrap; }
.cm-link { font: inherit; font-size: 12.5px; font-weight: 700; color: var(--site-muted); background: none; border: 0; padding: 0; cursor: pointer; list-style: none; }
.cm-report summary::-webkit-details-marker { display: none; }
.cm-report[open] { flex-basis: 100%; }
.cm-report .cm-report-form { margin-top: 6px; grid-template-columns: 1fr auto; }
.cm-compose-comment { box-shadow: none; }

.cm-search { position: relative; }
.cm-search svg { position: absolute; inset-inline-start: 12px; top: 50%; translate: 0 -50%; width: 16px; height: 16px; color: var(--site-muted); }
.cm-search .cm-input { padding-inline-start: 36px; }
.cm-head .cm-search { margin-top: 14px; max-width: 460px; }
.cm-head .cm-search .cm-input { padding-inline-end: 38px; border-radius: 99px; }
.cm-search-clear { position: absolute; inset-inline-end: 8px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 99px; display: grid; place-items: center; color: var(--site-muted); }
.cm-search .cm-search-clear svg { position: static; translate: none; width: 14px; height: 14px; }
.cm-search-clear:hover { background: var(--cm-soft); color: var(--site-heading); }
.cm-search input[type=search]::-webkit-search-cancel-button { display: none; }
.cm-results { margin: 0; font-size: 14px; color: var(--site-muted); font-weight: 600; }
.cm-people { display: grid; gap: 10px; }
@media (min-width: 640px) { .cm-people { grid-template-columns: 1fr 1fr; } }
.cm-person { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 16px; background: var(--site-surface); border: 1px solid var(--cm-line); }
.cm-person-name { margin: 0; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; } .cm-person-name b { color: var(--site-heading); }
.cm-person-bio { margin: 3px 0; font-size: 14px; }
.cm-person small { color: var(--site-muted); font-size: 12.5px; }
.cm-form { gap: 12px; }
.cm-field { display: grid; gap: 6px; font-size: 14px; font-weight: 700; color: var(--site-heading); }
.cm-field small { color: var(--site-muted); font-weight: 500; }
.cm-check { display: flex; align-items: center; gap: 9px; font-size: 14px; }
.cm-check input { width: 18px; height: 18px; accent-color: var(--site-accent); }
.cm-danger summary { cursor: pointer; font-weight: 700; color: #D93036; }

.cm-inside-desc { display: block; font-size: 12.5px; color: var(--site-muted); }
.cm-gate { display: grid; justify-items: center; text-align: center; gap: 8px; }
.cm-gate-mark { width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; overflow: hidden; color: var(--site-accent-text); background: linear-gradient(145deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 55%, #7C5CFF)); box-shadow: 0 20px 40px -20px color-mix(in oklab, var(--site-accent) 80%, transparent); }
.cm-gate-mark svg { width: 30px; height: 30px; } .cm-gate-mark img { width: 100%; height: 100%; object-fit: cover; }
.cm-gate-by { margin: 6px 0 0; font-size: 13px; font-weight: 700; color: var(--site-muted); text-transform: uppercase; letter-spacing: .05em; }
.cm-gate h1 { margin: 0; color: var(--site-heading); font-size: clamp(1.6rem, 1.2rem + 1.5vw, 2.2rem); letter-spacing: -0.03em; line-height: 1.1; }
.cm-gate-tag { margin: 0; color: var(--site-muted); font-size: 16px; }
.cm-gate-count { display: inline-flex; align-items: center; gap: 7px; margin: 6px 0; font-size: 14px; font-weight: 700; }
.cm-gate-count svg { width: 16px; height: 16px; color: var(--site-accent); }
.cm-gate-spaces { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.cm-gate-spaces a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; font-size: 13.5px; font-weight: 600; text-decoration: none; color: var(--site-text); border: 1px solid var(--cm-line); }
.cm-gate-spaces svg { width: 14px; height: 14px; color: var(--site-muted); } .cm-gate-spaces small { color: var(--site-accent); font-weight: 700; }
.cm-gate-join { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; margin-top: 8px; }
.cm-gate-join svg { width: 18px; height: 18px; }
.cm-gate .cs-access { width: 100%; }
.cm-row { display: flex; flex-wrap: wrap; gap: 8px; }
.cm-gate-av { font-size: 26px; font-weight: 800; color: var(--site-accent-text); background: var(--site-accent); }

/* In-community notifications (ADR-0031) */
.cm-bell { position: relative; margin-inline-start: auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 99px; border: 1px solid var(--cm-line); background: var(--site-surface); color: var(--site-heading); flex: none; }
.cm-bell svg { width: 18px; height: 18px; }
.cm-bell.is-active { border-color: var(--site-accent); }
.cm-bell-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; background: var(--site-accent); color: var(--site-on-accent, #fff); font-size: 11px; font-weight: 800; display: grid; place-items: center; box-shadow: 0 0 0 2px var(--site-bg, #fff); }
.cm-inbox { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.cm-note-item a { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 12px 14px; border-radius: calc(var(--site-radius) + 4px); border: 1px solid var(--cm-line); background: var(--site-surface); text-decoration: none; color: var(--site-text); }
.cm-note-item a:hover { border-color: color-mix(in oklab, var(--site-accent) 45%, var(--cm-line)); }
.cm-note-item a { position: relative; }
.cm-note-item.is-new a { border-color: color-mix(in oklab, var(--site-accent) 45%, var(--cm-line)); box-shadow: inset 3px 0 0 var(--site-accent); }
.cm-note-item.is-new time::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--site-accent); margin-inline-end: 6px; vertical-align: 1px; }
.cm-note-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: var(--cm-soft); color: var(--site-heading); }
.cm-note-icon svg { width: 16px; height: 16px; }
.cm-note-icon.is-announcement { background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }
.cm-note-text { font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.cm-note-text b { color: var(--site-heading); }
.cm-note-text small { display: block; margin-top: 3px; color: var(--site-muted); font-size: 13px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cm-note-item time { font-size: 12px; color: var(--site-muted); white-space: nowrap; }

/* css/site/modules/shop-extras.css */
/* Product options, discounts and licence keys (ADR-0037-0039). Split out of site.css (ADR-0068 §9); module pages load it through the site.css bundle. */
/* Product options (ADR-0037) */
.shop-variants { border: 0; margin: 0; padding: 0; min-width: 0; }
.shop-variants legend { padding: 0; margin-bottom: 8px; }
.shop-variant { justify-content: flex-start; }
.shop-variant-name { flex: 1; min-width: 0; font-weight: 600; overflow-wrap: anywhere; }
.shop-variant-name small { display: block; font-weight: 500; font-size: 12.5px; color: var(--site-muted); }
.shop-variant-price { flex: none; display: inline-flex; align-items: baseline; gap: 6px; font-weight: 700; font-variant-numeric: tabular-nums; }
.shop-variant-price s { font-weight: 500; font-size: 13px; color: var(--site-muted); }
.shop-variant.is-out { opacity: .55; cursor: not-allowed; }
.shop-variant.is-out .shop-variant-title { text-decoration: line-through; text-decoration-thickness: 1px; }
.shop-add { margin-top: 10px; }

/* Discounts (ADR-0038) */
.shop-sale { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin: 0; padding: 5px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-text); }
.shop-sale svg { width: 15px; height: 15px; color: var(--site-accent); }
.shop-price s { color: var(--site-muted); font-size: 15px; }
.shop-code { border-radius: calc(var(--site-radius) - 4px); border: 1px dashed color-mix(in oklab, var(--site-text) 22%, transparent); padding: 10px 14px; font-size: 14px; }
.shop-code summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--site-text); list-style: none; }
.shop-code summary::-webkit-details-marker { display: none; }
.shop-code summary svg { width: 16px; height: 16px; }
.shop-code .wf-input { margin-top: 10px; text-transform: uppercase; letter-spacing: .04em; }
.shop-code[open] { border-style: solid; }

/* Licence keys on the order page (ADR-0039) */
.lic-list { display: grid; gap: 10px; }
.lic { display: grid; gap: 6px; padding: 12px 14px; border-radius: calc(var(--site-radius) - 4px); border: 1px solid color-mix(in oklab, var(--site-text) 12%, transparent); background: color-mix(in oklab, var(--site-surface) 92%, transparent); min-width: 0; }
.lic small { color: var(--site-muted); font-size: 13px; }
.lic-key { display: block; padding: 10px 12px; border-radius: 10px; background: color-mix(in oklab, var(--site-text) 6%, transparent); font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; letter-spacing: .04em; color: var(--site-text); overflow-wrap: anywhere; user-select: all; cursor: copy; }
.lic-key.is-copied { outline: 2px solid var(--site-accent); }
.lic-devices { margin: 2px 0 0; font-size: 13px; color: var(--site-muted); }
.lic-device { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 13.5px; }
.lic-device span { display: inline-flex; align-items: center; gap: 6px; min-width: 0; overflow-wrap: anywhere; }
.lic-device svg { width: 15px; height: 15px; flex: none; }
.lic-device button { flex: none; border: 0; background: none; font: inherit; font-weight: 600; color: var(--site-accent); cursor: pointer; }

.shop-tax { margin: -4px 0 0; font-size: 13px; color: var(--site-muted); }

/* css/site/modules/storefront.css */
/* ==========================================================================
   Storefront, cart and "find my orders" (ADR-0033). Public pages, themed by --site-* tokens.
   Mobile-first: one column of cards, a sticky cart bar; two to three columns from tablet up.
   ========================================================================== */
.sf { overflow: visible; overflow-x: clip; --sf-line: color-mix(in oklab, var(--site-text) 10%, transparent); --sf-soft: color-mix(in oklab, var(--site-accent) 10%, transparent); }
.sf svg { width: 16px; height: 16px; }

/* Top bar */
.sf-top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px max(16px, env(safe-area-inset-left), calc((100% - 1080px) / 2)); padding-top: max(10px, env(safe-area-inset-top));
    background: color-mix(in oklab, var(--site-bg-base) 78%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--sf-line); }
.sf-brand { display: inline-flex; align-items: center; gap: 10px; min-width: 0; font-weight: 700; }
.sf-brand-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--site-heading); letter-spacing: -0.01em; }
.sf-mark { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; flex: none; font-style: normal; font-weight: 800; background: var(--site-accent); color: var(--site-accent-text); }
.sf-logo { width: 30px; height: 30px; border-radius: 10px; object-fit: cover; flex: none; }
.sf-cart-btn, .sf-back { position: relative; display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; flex: none;
    background: var(--site-surface); border: 1px solid var(--sf-line); box-shadow: 0 8px 20px -14px rgb(0 0 0 / .4); transition: transform .15s, box-shadow .15s; }
.sf-cart-btn:hover, .sf-back:hover { transform: translateY(-1px); }
.sf-cart-btn.has-items { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; }
.sf .sf-badge { min-width: 22px; height: 22px; padding: 0 6px; display: grid; place-items: center; border-radius: 999px; font-size: 12px; background: var(--site-accent-text); color: var(--site-accent); }
.sf-cart-btn:focus-visible, .sf-back:focus-visible, .sf-btn:focus-visible, .sf-chip:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 55%, transparent); outline-offset: 2px; }

/* Hero */
.sf-hero { position: relative; }
.sf-hero-cover { height: clamp(110px, 20vw, 190px); background: var(--site-cover); }
.sf-hero-inner { width: min(1080px, 100% - 32px); margin: calc(-1 * clamp(44px, 7vw, 64px)) auto 0; position: relative; display: grid; justify-items: start; gap: 8px; }
.sf-hero-mark, .sf-hero-logo { width: clamp(76px, 12vw, 96px); height: clamp(76px, 12vw, 96px); border-radius: 26px; border: 4px solid var(--site-bg-base); box-shadow: 0 18px 40px -20px rgb(0 0 0 / .5); }
.sf-hero-mark { display: grid; place-items: center; font-family: var(--site-heading); font-size: clamp(2rem, 1.5rem + 2vw, 2.7rem); font-weight: 800; background: var(--site-accent); color: var(--site-accent-text); }
.sf-hero-logo { object-fit: cover; background: var(--site-surface); }
.sf-title { margin: 6px 0 0; font-family: var(--site-heading); font-size: clamp(1.9rem, 1.4rem + 2.4vw, 3rem); line-height: 1.02; letter-spacing: -0.035em; }
.sf-intro { margin: 0; max-width: 62ch; color: var(--site-muted); font-size: 15.5px; line-height: 1.55; }
.sf-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 13px; font-weight: 600; color: var(--site-muted); }
.sf-meta svg { width: 14px; height: 14px; }

/* Body */
.sf-body { width: min(1080px, 100% - 32px); margin: 22px auto 0; display: grid; gap: 16px; }
.sf-alert { margin: 0; }
.sf-note { display: flex; gap: 8px; align-items: center; padding: 12px 14px; border-radius: 12px; background: var(--sf-soft); font-size: 14px; font-weight: 600; }

.sf-toast { display: flex; align-items: center; gap: 12px; padding-block: 10px; padding-inline: 12px 10px; border-radius: calc(var(--site-radius) + 4px); background: var(--site-surface); border: 1px solid var(--sf-line); box-shadow: 0 18px 40px -24px rgb(0 0 0 / .5); animation: sf-drop .45s cubic-bezier(.2,1.2,.4,1) both; }
.sf-toast-icon { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; flex: none; background: var(--site-accent); color: var(--site-accent-text); }
.sf-toast-text { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.sf-toast-text small { color: var(--site-muted); font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sf a.sf-toast-go { flex: none; padding: 9px 14px; border-radius: 999px; font-weight: 700; font-size: 13.5px; background: var(--site-text); color: var(--site-bg-base); }
@keyframes sf-drop { from { opacity: 0; transform: translateY(-8px) scale(.98); } }

.sf-tools { display: grid; gap: 12px; }
.sf-search { position: relative; display: flex; align-items: center; }
.sf-search svg { position: absolute; inset-inline-start: 14px; color: var(--site-muted); pointer-events: none; }
.sf-search input { width: 100%; height: 46px; padding-block: 0; padding-inline: 40px 14px; border-radius: 999px; border: 1px solid var(--sf-line); background: var(--site-surface); color: var(--site-text); font: inherit; font-size: 15px; }
.sf-search input:focus { outline: none; border-color: var(--site-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-accent) 18%, transparent); }
.sf-chips { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px; mask-image: linear-gradient(90deg, transparent, #000 16px, #000 calc(100% - 16px), transparent); }
.sf-chips::-webkit-scrollbar { display: none; }
.sf-chip { flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; font-size: 13.5px; font-weight: 700; border: 1px solid var(--sf-line); background: var(--site-surface); color: var(--site-text); }
.sf-chip svg { width: 15px; height: 15px; opacity: .8; }
.sf-chip.is-on { background: var(--site-text); color: var(--site-bg-base); border-color: transparent; }

/* Product grid */
.sf-grid { display: grid; grid-template-columns: 1fr; gap: 14px; }
.sf-card { display: grid; grid-template-columns: 112px minmax(0, 1fr); border-radius: calc(var(--site-radius) + 6px); background: var(--site-surface); border: 1px solid var(--sf-line); overflow: hidden;
    box-shadow: 0 16px 36px -28px rgb(0 0 0 / .5); transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; animation: ws-rise .45s cubic-bezier(.2,.8,.2,1) both; }
.sf-card:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgb(0 0 0 / .55); }
.sf-card.is-added { box-shadow: 0 0 0 3px color-mix(in oklab, var(--site-accent) 45%, transparent), 0 26px 50px -30px rgb(0 0 0 / .55); }
.sf-card-media { position: relative; display: grid; place-items: center; min-height: 112px; min-width: 0; background: var(--sf-soft); color: var(--site-accent); overflow: hidden; }
.sf-card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s cubic-bezier(.2,.8,.2,1); }
.sf-card:hover .sf-card-media img { transform: scale(1.04); }
.sf-card-media.is-blank { background: radial-gradient(120% 120% at 0% 0%, color-mix(in oklab, var(--site-accent) 30%, transparent), transparent 60%), var(--sf-soft); }
.sf-card-media.is-blank > svg { width: 34px; height: 34px; stroke-width: 1.6; }
.sf-kind { display: none; }
.sf-save { position: absolute; top: 8px; inset-inline-start: 8px; padding: 3px 8px; border-radius: 999px; font-size: 11.5px; font-weight: 800; background: var(--site-accent); color: var(--site-accent-text); }
.sf-card-body { display: flex; flex-direction: column; gap: 4px; padding: 12px 14px; min-width: 0; }
.sf-card-name { margin: 0; font-family: var(--site-heading); font-size: 1.05rem; line-height: 1.2; letter-spacing: -0.015em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-card-name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.sf-card-tag { margin: 0; font-size: 13.5px; color: var(--site-muted); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sf-card-foot { margin-top: auto; padding-top: 8px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.sf-price { margin: 0; display: flex; align-items: baseline; gap: 6px; }
.sf-price b { font-family: var(--site-heading); font-size: 1.12rem; letter-spacing: -0.02em; }
.sf-price s { font-size: 13px; color: var(--site-muted); }
.sf-add { margin: 0; }
.sf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; height: 38px; padding: 0 14px; border: 0; border-radius: calc(var(--site-radius) - 4px); font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer;
    background: var(--site-btn-bg); color: var(--site-btn-text); transition: transform .15s, filter .15s; white-space: nowrap; }
.sf-btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.sf-btn.is-ghost { background: transparent; color: var(--site-text); box-shadow: inset 0 0 0 1.5px var(--sf-line); }
.sf-btn.is-in { background: var(--sf-soft); color: var(--site-text); }
.sf-btn.is-off { background: transparent; color: var(--site-muted); cursor: default; box-shadow: inset 0 0 0 1.5px var(--sf-line); }
.sf-btn.is-busy, .ws-submit.is-busy { opacity: .7; pointer-events: none; }

.sf-empty { display: grid; justify-items: center; gap: 8px; text-align: center; padding: 48px 20px; border-radius: calc(var(--site-radius) + 6px); border: 1.5px dashed var(--sf-line); }
.sf-empty-icon { width: 64px; height: 64px; border-radius: 22px; display: grid; place-items: center; background: var(--sf-soft); color: var(--site-accent); }
.sf-empty-icon svg { width: 28px; height: 28px; }
.sf-empty h2 { margin: 6px 0 0; font-family: var(--site-heading); font-size: 1.35rem; letter-spacing: -0.02em; }
.sf-empty p { margin: 0 0 8px; color: var(--site-muted); }

.sf-foot { width: min(1080px, 100% - 32px); margin: 36px auto 0; padding: 18px 0 calc(110px + env(safe-area-inset-bottom)); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--sf-line); font-size: 13px; font-weight: 600; color: var(--site-muted); }
.sf-foot > a:first-child { display: inline-flex; align-items: center; gap: 6px; }
.sf-foot > a:first-child:hover { color: var(--site-text); }
.sf-foot .ws-branding { margin: 0; }

/* Sticky cart bar (phones) */
.sf a.sf-bar { position: fixed; z-index: 30; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; padding-block: 8px; padding-inline: 12px 8px; border-radius: 999px;
    background: var(--site-text); color: var(--site-bg-base); box-shadow: 0 20px 44px -16px rgb(0 0 0 / .55); animation: sf-up .5s cubic-bezier(.2,1.2,.4,1) both; }
.sf-bar-count { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; }
.sf-bar-total { flex: 1; font-weight: 700; font-size: 14px; opacity: .85; }
.sf .sf-bar-go { display: inline-flex; align-items: center; gap: 6px; padding: 10px 16px; border-radius: 999px; font-weight: 800; font-size: 14px; background: var(--site-accent); color: var(--site-accent-text); }
@keyframes sf-up { from { opacity: 0; transform: translateY(20px); } }

/* Cart page */
.sf-cart-title { margin: 6px 0 0; font-family: var(--site-heading); font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.4rem); letter-spacing: -0.035em; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.sf-cart-title small { font-family: var(--site-font); font-size: 14px; font-weight: 700; color: var(--site-muted); letter-spacing: 0; }
.sf-cart-grid { display: grid; gap: 16px; align-items: start; }
.sf-lines { display: grid; margin: 0; border-radius: calc(var(--site-radius) + 6px); background: var(--site-surface); border: 1px solid var(--sf-line); overflow: hidden; transition: opacity .2s; }
.sf-lines.is-saving { opacity: .6; }
.sf-line { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 14px; }
.sf-line + .sf-line { border-top: 1px solid var(--sf-line); }
.sf-line-img { position: relative; width: 64px; height: 64px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; background: var(--sf-soft); color: var(--site-accent); }
.sf-line-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sf-line-main { display: grid; gap: 3px; min-width: 0; }
.sf-line-name { font-weight: 700; line-height: 1.3; overflow-wrap: anywhere; }
.sf-line-variant { display: block; font-size: 13px; color: var(--site-muted); margin-top: 1px; }
.sf-line-note { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--site-muted); }
.sf-line-note svg { width: 13px; height: 13px; }
.sf-line-ctl { display: flex; align-items: center; gap: 8px; margin-top: 6px; flex-wrap: wrap; }
.sf-qty select { height: 34px; padding-block: 0; padding-inline: 12px 28px; border-radius: 10px; border: 1px solid var(--sf-line); background: var(--site-surface); color: var(--site-text); font: inherit; font-weight: 700; font-size: 14px; }
.sf-qty-one { font-size: 13px; font-weight: 700; color: var(--site-muted); }
.sf-remove { display: inline-flex; align-items: center; gap: 5px; height: 34px; padding: 0 10px; border: 0; border-radius: 10px; background: transparent; color: var(--site-muted); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sf-remove:hover { color: #C4333A; background: rgb(229 72 77 / .08); }
.sf-remove svg { width: 14px; height: 14px; }
.sf-line-price { display: grid; justify-items: end; gap: 2px; text-align: end; }
.sf-line-price b { font-family: var(--site-heading); font-size: 1.02rem; white-space: nowrap; }
.sf-line-price small { font-size: 12px; color: var(--site-muted); white-space: nowrap; }
.sf-update { padding: 0 14px 14px; }
.sf-summary { display: grid; gap: 16px; padding: 18px; border-radius: calc(var(--site-radius) + 6px); background: var(--site-surface); border: 1px solid var(--sf-line); box-shadow: 0 26px 60px -40px rgb(0 0 0 / .5); }
.sf-sum-rows { display: grid; gap: 8px; }
.sf-sum-rows p { margin: 0; display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; color: var(--site-muted); }
.sf-sum-total { padding-top: 10px; border-top: 1px solid var(--sf-line); color: var(--site-text) !important; font-weight: 700; }
.sf-sum-total b { font-family: var(--site-heading); font-size: 1.45rem; letter-spacing: -0.02em; }
.sf-checkout { border-top: 0; padding-top: 0; }
.sf-foot-by { font-weight: 600; }

/* Find my orders */
.sf-lookup { display: grid; gap: 12px; }
.sf-lookup-icon { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 18px 36px -18px var(--site-accent); }
.sf-lookup-icon svg { width: 26px; height: 26px; }
.sf-lookup-title { margin: 6px 0 0; font-family: var(--site-heading); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.2rem); letter-spacing: -0.035em; }
.sf-lookup-text { margin: 0 0 4px; color: var(--site-muted); line-height: 1.55; }

/* Receipt: the lines of a cart order */
.ord-lines { display: grid; margin: 4px 0 0; padding: 0; list-style: none; border-top: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); }
.ord-lines li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); font-size: 14.5px; }
.ord-lines li span { min-width: 0; overflow-wrap: anywhere; }
.ord-lines li small { color: var(--site-muted); font-weight: 700; }
.ord-lines li b { white-space: nowrap; }
.ord-lines li.is-total { border-bottom: 0; font-weight: 800; }
.ord-find { margin: 18px 0 0; text-align: center; font-size: 13px; color: var(--site-muted); }
.ord-find a { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 640px) {
    .sf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
    .sf-card { grid-template-columns: 1fr; grid-template-rows: auto 1fr; }
    .sf-card-media { aspect-ratio: 4 / 3; min-height: 0; }
    .sf-kind { position: absolute; top: 10px; inset-inline-end: 10px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800;
        background: color-mix(in oklab, var(--site-surface) 82%, transparent); color: var(--site-text); backdrop-filter: blur(8px); }
    .sf-kind svg { width: 13px; height: 13px; }
    .sf-save { top: 10px; inset-inline-start: 10px; }
    .sf-card-body { padding: 16px 18px 18px; gap: 6px; }
    .sf-card-name { font-size: 1.18rem; }
    .sf-tools { grid-template-columns: minmax(220px, 340px) minmax(0, 1fr); align-items: center; }
    .sf-chips { margin: 0; padding: 2px 0; mask-image: none; flex-wrap: wrap; overflow: visible; }
    .sf-foot { padding-bottom: 40px; }
    .sf a.sf-bar { inset-inline-start: auto; inset-inline-end: 24px; bottom: 24px; min-width: 340px; }
}
@media (min-width: 960px) {
    .sf-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .sf-cart-grid { grid-template-columns: minmax(0, 1fr) 380px; }
    .sf-summary { position: sticky; top: 76px; }
}
@media (prefers-reduced-motion: reduce) { .sf-card, .sf-toast, .sf-bar { animation: none; } .sf-card:hover { transform: none; } }

/* On a product page: add to the shop's cart instead of buying now */
.sf-also { display: grid; gap: 10px; margin-top: 16px; padding-top: 16px; border-top: 1px dashed color-mix(in oklab, var(--site-text) 14%, transparent); }
.sf-also form { margin: 0; }
.sf-also-btn { width: 100%; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: calc(var(--site-radius) - 2px); font: inherit; font-weight: 700; cursor: pointer;
    background: transparent; color: var(--site-text); box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--site-text) 16%, transparent); transition: background .15s; }
.sf-also-btn:hover { background: color-mix(in oklab, var(--site-accent) 10%, transparent); }
.sf-also-btn svg, .sf-also-link svg { width: 16px; height: 16px; }
.sf-also-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--site-muted); }
.sf-also-link:hover { color: var(--site-text); }

/* The small live preview on the Storefront settings screen (app). Unlayered, like the rest of this file, so it wins over the page's own breakpoints. */
.sfa-mini { height: 560px; border-radius: 26px; overflow: hidden auto; scrollbar-width: none; font-size: 13px; }
.sfa-mini .sf-hero-cover { height: 84px; }
.sfa-mini .sf-hero-inner { width: calc(100% - 24px); margin-top: -34px; gap: 4px; }
.sfa-mini .sf-hero-mark, .sfa-mini .sf-hero-logo { width: 60px; height: 60px; border-radius: 18px; font-size: 1.5rem; border-width: 3px; }
.sfa-mini .sf-title { font-size: 1.4rem; margin-top: 2px; }
.sfa-mini .sf-intro { font-size: 12.5px; }
.sfa-mini .sf-body { width: calc(100% - 24px); margin-top: 14px; padding-bottom: 20px; }
.sfa-mini .sf-grid { grid-template-columns: 1fr; gap: 10px; }
.sfa-mini .sf-card { grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: none; animation: none; }
.sfa-mini .sf-card-media { aspect-ratio: 1; }
.sfa-mini .sf-card-body { padding: 10px 12px; }
.sfa-mini .sf-card-name { font-size: .92rem; }
.sfa-mini .sf-price b { font-size: .95rem; }
.sfa-mini .sf-btn { height: 30px; padding: 0 10px; font-size: 12px; }
.sfa-mini .sf-kind { display: none; }
.sfa-mini .sf-empty { padding: 28px 12px; }
.sfa-mini .sf-hero-inner { margin: -34px auto 0; }
.sfa-mini .sf-card:hover { transform: none; }

/* Discounts (ADR-0038) */
.sf-sum-rows .sf-sum-off { color: var(--site-accent); font-weight: 600; }
.sf-sum-off span:first-child { display: inline-flex; align-items: center; gap: 6px; min-width: 0; }
.sf-sum-off svg { width: 15px; height: 15px; flex: none; }
.sf-sum-off small { font-weight: 500; color: var(--site-muted); }
.sf-code { border-radius: calc(var(--site-radius) - 2px); border: 1px dashed var(--sf-line); padding: 10px 12px; font-size: 14px; }
.sf-code summary { display: flex; align-items: center; gap: 8px; cursor: pointer; font-weight: 600; color: var(--site-text); list-style: none; }
.sf-code summary::-webkit-details-marker { display: none; }
.sf-code svg { width: 16px; height: 16px; flex: none; }
.sf-code-form { display: flex; gap: 8px; margin-top: 10px; }
.sf-code-form .wf-input { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .04em; }
.sf-code-form .sf-btn { flex: none; }
.sf-code .wf-error { margin: 8px 0 0; }
.sf-code.is-on { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-style: solid; background: color-mix(in oklab, var(--site-accent) 8%, transparent); }
.sf-code.is-on span { display: inline-flex; align-items: center; gap: 6px; }

/* css/site/modules/donations.css */
/* Donations in the checkout (hosted product page and the bio-page sheet): amount chips, "Other", message. */
.dn { border: 0; margin: 0; padding: 0; min-width: 0; }
.dn legend { padding: 0; margin-bottom: 8px; }
.dn-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.dn-chip { position: relative; cursor: pointer; min-width: 0; }
.dn-chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dn-chip-in { display: grid; place-items: center; align-content: center; gap: 2px; min-height: 56px; padding: 8px 10px; text-align: center;
  border-radius: calc(var(--site-radius) - 2px); border: 1.5px solid color-mix(in oklab, var(--site-text) 14%, transparent);
  background: color-mix(in oklab, var(--site-surface) 88%, transparent); color: var(--site-text); transition: border-color .15s, background .15s, transform .15s, box-shadow .15s; }
.dn-chip.has-emoji .dn-chip-in { min-height: 76px; }
.dn-chip-in b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.dn-chip-in small { font-size: 11.5px; font-weight: 700; color: var(--site-muted); line-height: 1.2; }
.dn-emoji { font-size: 22px; line-height: 1; }
.dn-chip:hover .dn-chip-in { border-color: color-mix(in oklab, var(--site-accent) 55%, transparent); transform: translateY(-1px); }
.dn-chip input:checked + .dn-chip-in { border-color: var(--site-accent); background: color-mix(in oklab, var(--site-accent) 12%, var(--site-surface)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--site-accent) 22%, transparent); }
.dn-chip input:checked + .dn-chip-in small { color: var(--site-accent); }
.dn-chip input:focus-visible + .dn-chip-in { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 2px; }
.dn-custom { display: grid; gap: 6px; margin-top: 12px; }
.dn:has(.dn-chip-other input:not(:checked)) .dn-custom { display: none; }
.dn-amount { position: relative; display: flex; align-items: center; }
.dn-amount > span { position: absolute; inset-inline-start: 14px; font-weight: 800; color: var(--site-muted); pointer-events: none; }
.dn-amount .wf-input { padding-inline-start: 38px; font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.dn-opt { font-weight: 500; font-size: 12px; color: var(--site-muted); }
@media (prefers-reduced-motion: reduce) { .dn-chip-in { transition: none; } .dn-chip:hover .dn-chip-in { transform: none; } }

/* ---- Support blocks on the page (donate, fundraiser, tip jar, supporter perks): shared parts ---------------------- */
.sp-donate, .sp-card { position: relative; overflow: hidden; text-align: var(--b-align, start); }
.sp-body { display: grid; gap: 14px; padding: var(--b-pad, 22px); }
.sp-head { display: flex; align-items: center; gap: 12px; }
.sp-head-t { display: grid; gap: 4px; min-width: 0; }
.sp-title { margin: 0; font-family: var(--site-heading); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; font-size: calc(1.36rem * var(--b-scale, 1)); overflow-wrap: anywhere; }
.sp-text { margin: 0; color: var(--site-muted); font-size: 14.5px; line-height: 1.55; }
.sp-badge { width: 46px; height: 46px; flex: none; border-radius: 15px; display: grid; place-items: center; color: var(--site-accent-text);
  background: radial-gradient(90% 90% at 100% 0%, color-mix(in oklab, var(--site-surface) 35%, transparent), transparent 60%), var(--site-accent); box-shadow: 0 10px 22px -12px var(--site-accent); }
.sp-badge svg { width: 22px; height: 22px; }
.sp-media { aspect-ratio: 16 / 9; overflow: hidden; }
.sp-media .ws-media { transition: transform .8s var(--site-ease); }
.sp-donate:hover .sp-media .ws-media { transform: scale(1.03); }
/* Amount chips */
.sp-chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
@container ws-page (min-width: 440px) { .sp-chips { grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); } }
.sp-chip { position: relative; display: grid; place-items: center; align-content: center; gap: 1px; min-height: 52px; padding: 8px 10px; text-align: center;
  border-radius: calc(var(--site-radius) - 2px); border: 1.5px solid color-mix(in oklab, var(--site-text) 12%, transparent); background: color-mix(in oklab, var(--site-bg-base) 55%, var(--site-surface)); color: var(--site-text); }
.sp-chip b { font-size: 16px; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.sp-chip small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--site-accent); }
.sp-chip:hover { border-color: color-mix(in oklab, var(--site-accent) 60%, transparent); }
.sp-chip.is-popular { border-color: var(--site-accent); background: color-mix(in oklab, var(--site-accent) 11%, var(--site-surface)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--site-accent) 16%, transparent); }
.sp-chip-other b { font-size: 14px; font-weight: 700; color: var(--site-muted); }
.sp-chips-l .sp-chip { min-height: 66px; }
.sp-chips-l .sp-chip b { font-size: 19px; }
.sp-chip.has-emoji { min-height: 84px; gap: 3px; }
.sp-emoji { font-size: 26px; line-height: 1; transition: transform .25s var(--site-ease); }
.sp-chip:hover .sp-emoji { transform: scale(1.15) rotate(-6deg); }
/* The main button and the footnote */
.sp-cta { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; padding: 0 20px; border-radius: var(--site-btn-radius); font-weight: 800; font-size: 15.5px;
  background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 14px 28px -16px var(--site-accent); transition: transform .18s var(--site-ease), filter .18s; }
.sp-cta:hover { transform: translateY(-2px); filter: brightness(1.05); }
.sp-cta svg { width: 18px; height: 18px; }
.sp-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 16px; margin: -2px 0 0; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.sp-foot span { display: inline-flex; align-items: center; gap: 5px; }
.sp-foot svg { width: 14px; height: 14px; }
/* Compact row and pill */
.sp-compact { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 12px; padding-inline: 14px 12px; text-align: start; }
.sp-compact-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }
.sp-compact-ico svg { width: 20px; height: 20px; }
.sp-compact-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.sp-compact-t .ws-t2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sp-pill { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: 999px; font-weight: 800; font-size: 13.5px; background: var(--site-accent); color: var(--site-accent-text); }
.sp-btn .ws-button-icon { color: inherit; }
@media (prefers-reduced-motion: reduce) { .sp-media .ws-media, .sp-emoji, .sp-cta { transition: none; } }
.sp-chips .sp-chip-other { grid-column: 1 / -1; min-height: 44px; border-style: dashed; background: transparent; }
.sp-chips-l .sp-chip-other { min-height: 48px; }
.sp-chips .sp-chip-other b { font-size: 14px; }

/* css/site/variants/single/button.css */
/* Single variant: button. The theme's button (fill × shape) with optional icon or thumbnail; style tokens restyle it. */
.ws-sv-button .ws-button-label small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; letter-spacing: 0; opacity: .72; }
.ws-sv-button .ws-button-price { font-weight: 800; opacity: .9; }
.ws-button-thumb { width: 40px; height: 40px; flex: none; margin-block: -6px; margin-inline: -8px 0; border-radius: max(6px, calc(var(--site-radius) - 6px)); overflow: hidden; box-shadow: 0 6px 14px -8px rgb(0 0 0 / .4); }
.ws-bshape-pill .ws-button-thumb, .ws-s-shape-pill .ws-button-thumb { border-radius: 50%; }
.ws-button-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* Accent (the classic "featured" link) and outline keep their exact old look, sheen included (stilled under reduced motion). */
.ws-site .ws-s-surface-accent .ws-button { background: var(--site-accent) !important; color: var(--site-accent-text) !important; border-color: transparent !important; box-shadow: 0 12px 28px -14px var(--site-accent) !important; position: relative; overflow: hidden; }
.ws-s-surface-accent .ws-button::after { content: ""; position: absolute; top: -50%; bottom: -50%; left: -30%; width: 30%; transform: rotate(18deg); background: linear-gradient(90deg, transparent, rgb(255 255 255 / .35), transparent); animation: ws-sheen 4.5s ease-in-out infinite; pointer-events: none; }
.ws-site .ws-s-surface-outline .ws-button { background: transparent !important; color: var(--site-text) !important; border: 1.5px solid currentColor !important; box-shadow: none !important; }
.ws-site .ws-s-surface-soft .ws-button { background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-accent) 30%, transparent); box-shadow: none; }
.ws-site .ws-s-surface-glass .ws-button { background: color-mix(in oklab, var(--site-surface) 55%, transparent); color: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-text) 14%, transparent); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); }
.ws-site .ws-s-surface-solid .ws-button { background: var(--site-surface); color: var(--site-text); border: 1px solid var(--site-line); }
.ws-site .ws-s-surface-gradient .ws-button { background: linear-gradient(120deg, color-mix(in oklab, var(--site-accent) 90%, #fff), color-mix(in oklab, var(--site-accent) 62%, #000)); color: var(--site-on-media); border: 0; box-shadow: 0 16px 30px -16px var(--site-accent); }
.ws-site .ws-s-surface-none .ws-button { background: transparent; color: var(--site-text); border: 0; box-shadow: none; min-height: 48px; }
.ws-site .ws-s-surface-none .ws-button:hover { background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-site :is(.ws-s-elevation-sm, .ws-s-elevation-md, .ws-s-elevation-lg, .ws-s-elevation-float) .ws-button { box-shadow: var(--b-shadow); }
.ws-site .ws-s-elevation-none .ws-button { box-shadow: none; }
.ws-site .ws-s-border-hairline .ws-button { border: 1px solid color-mix(in oklab, var(--site-text) 16%, transparent); }
.ws-site .ws-s-border-strong .ws-button { border: 2px solid currentColor; }
.ws-site .ws-s-text-light .ws-button { color: var(--site-ink-light); } .ws-site .ws-s-text-dark .ws-button { color: var(--site-ink-dark); }
.ws-s-size-s .ws-sv-button { min-height: 48px; padding-block: 8px; font-size: 14px; }
.ws-s-size-l .ws-sv-button { min-height: 66px; font-size: 16.5px; }
.ws-s-size-xl .ws-sv-button { min-height: 76px; font-size: 18px; }
.ws-s-align-start .ws-sv-button .ws-button-label { text-align: start; }
.ws-s-padding-l .ws-sv-button { padding-inline: 24px; } .ws-s-padding-s .ws-sv-button { padding-inline: 12px; }
.ws-s-hover-lift .ws-button:hover { transform: translateY(-4px); }
.ws-s-hover-glow .ws-button:hover { box-shadow: 0 0 0 3px color-mix(in oklab, var(--site-accent) 35%, transparent), 0 18px 40px -18px var(--site-accent); }
.ws-s-hover-tilt .ws-button:hover { transform: translateY(-3px) rotate(-1deg); }

/* css/site/variants/single/icon-button.css */
/* Single variant: icon button. A round icon (or thumbnail) with a short label beneath. */
.ws-sv-icon-button { display: grid; justify-items: center; gap: 6px; width: fit-content; min-width: 88px; margin-inline: auto; padding: 4px; text-align: center; }
.ws-s-align-start .ws-sv-icon-button { margin-inline: 0; }
.ws-ib-disc { width: calc(64px * var(--b-scale, 1)); height: calc(64px * var(--b-scale, 1)); display: grid; place-items: center; overflow: hidden; border-radius: var(--b-radius, 50%); --b-bg: var(--site-surface); color: var(--site-accent); }
.ws-ib-disc svg { width: 26px; height: 26px; }
.ws-ib-disc img { width: 100%; height: 100%; object-fit: cover; }
.ws-sv-icon-button .ws-t1 { font-size: 13.5px; font-family: var(--site-font); letter-spacing: -0.005em; }
.ws-sv-icon-button .ws-t2 { font-size: 12px; }
.ws-s-surface-accent .ws-ib-disc { color: var(--site-accent-text); }

/* css/site/variants/single/thumb-row.css */
/* Single variant: thumbnail row. */
.ws-sv-thumb-row { display: flex; align-items: center; gap: 14px; padding: var(--b-pad, 10px 14px 10px 10px); text-align: start; min-height: 76px; }
.ws-sv-thumb-row .ws-txt { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ws-s-surface-accent .ws-sv-thumb-row .ws-pill { background: var(--site-accent-text); color: var(--site-accent); }
.ws-s-surface-accent .ws-sv-thumb-row .ws-t2 { color: color-mix(in oklab, var(--site-accent-text) 78%, transparent); }

/* css/site/variants/single/card.css */
/* Single variant: card. */
.ws-sv-card { display: flex; flex-direction: column; overflow: hidden; text-align: start; }
.ws-card-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-card-media img, .ws-card-media .ws-media-ph { transition: transform .5s var(--site-ease); }
.ws-sv-card:hover .ws-card-media img { transform: scale(1.03); }
.ws-card-body { display: block; padding: var(--b-pad, 16px 18px 18px); }
.ws-sv-card .ws-foot .ws-price { font-size: 1.1rem; }
/* Without an image: a row card with an accent icon badge. */
.ws-sv-card.is-plain { flex-direction: row; align-items: center; gap: 14px; padding: var(--b-pad, 14px 16px); isolation: isolate; position: relative; }
.ws-sv-card.is-plain::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: radial-gradient(120% 140% at 0% 0%, color-mix(in oklab, var(--site-accent) 20%, transparent), transparent 55%); }
.ws-sv-card.is-plain .ws-txt { flex: 1; }
.ws-sv-card.is-plain .ws-t1 { font-size: calc(1rem * var(--b-scale, 1)); }
.ws-card-badge { width: 48px; height: 48px; flex: none; border-radius: 15px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 10px 22px -12px var(--site-accent); }
.ws-card-badge svg { width: 22px; height: 22px; }
.ws-sv-card.is-plain .ws-pill { box-shadow: 0 10px 20px -12px var(--site-accent); }

/* css/site/variants/single/card-horizontal.css */
/* Single variant: horizontal card. */
.ws-sv-card-horizontal { display: flex; align-items: stretch; gap: 0; overflow: hidden; text-align: start; min-height: 112px; }
.ws-ch-media { position: relative; width: 36%; max-width: 220px; flex: none; min-height: 112px; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-ch-media img, .ws-ch-media .ws-media-ph { position: absolute; inset: 0; }
.ws-ch-body { flex: 1; min-width: 0; display: flex; align-items: center; padding: var(--b-pad, 14px 16px); }
.ws-sv-card-horizontal > .ws-go { align-self: center; margin-inline-end: 14px; }
.ws-sv-card-horizontal .ws-txt .ws-t1 { font-size: calc(1.05rem * var(--b-scale, 1)); }

/* css/site/variants/single/featured.css */
/* Single variant: featured. */
.ws-sv-featured { display: block; overflow: hidden; text-align: start; }
.ws-ft-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-ft-media img { transition: transform .6s var(--site-ease); }
.ws-sv-featured:hover .ws-ft-media img { transform: scale(1.03); }
.ws-ft-play { position: absolute; inset-inline-end: 14px; bottom: 14px; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--site-surface) 88%, transparent); color: var(--site-text); backdrop-filter: blur(8px); box-shadow: 0 10px 24px -10px rgb(0 0 0 / .5); }
.ws-ft-body { display: block; padding: var(--b-pad, 16px 18px 18px); }
.ws-sv-featured .ws-t1 { font-size: calc(1.35rem * var(--b-scale, 1)); letter-spacing: -0.03em; }

/* css/site/variants/single/split.css */
/* Single variant: split (stacks on phones). */
.ws-sv-split { display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; text-align: start; }
.ws-sp-media { position: relative; aspect-ratio: 4 / 3; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-sp-media img, .ws-sp-media .ws-media-ph { position: absolute; inset: 0; }
.ws-sp-body { display: flex; align-items: center; padding: var(--b-pad, 18px 20px 20px); }
.ws-sv-split .ws-t1 { font-size: calc(1.3rem * var(--b-scale, 1)); letter-spacing: -0.03em; }
@container ws-page (min-width: 600px) { .ws-sv-split { grid-template-columns: 1fr 1fr; } .ws-sp-media { aspect-ratio: auto; min-height: 240px; } .ws-sp-body { padding: var(--b-pad, 24px 26px); } }
.ws-r-t-layout-stack .ws-sv-split, .ws-r-d-layout-stack .ws-sv-split { grid-template-columns: minmax(0, 1fr); }

/* css/site/variants/single/image-card.css */
/* Single variant: image card. */
.ws-sv-image-card { position: relative; display: flex; align-items: flex-end; min-height: 240px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); color: var(--site-on-media); box-shadow: var(--b-shadow, var(--site-shadow-lg)); isolation: isolate; text-align: start; }
.ws-sv-image-card > .ws-media, .ws-sv-image-card > .ws-media-ph { position: absolute; inset: 0; z-index: -2; transition: transform .6s var(--site-ease); }
.ws-sv-image-card:hover > .ws-media { transform: scale(1.04); }
.ws-ic-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(0 0 0 / .72)); }
.ws-ic-body { flex: 1; display: flex; align-items: flex-end; gap: 12px; padding: var(--b-pad, 18px); }
.ws-ic-body .ws-txt { flex: 1; }
.ws-sv-image-card .ws-t1 { font-size: calc(1.4rem * var(--b-scale, 1)); letter-spacing: -0.03em; color: inherit; }
.ws-sv-image-card :is(.ws-t2, .ws-meta, .ws-eyebrow) { color: color-mix(in oklab, var(--site-on-media) 82%, transparent); }
.ws-sv-image-card .ws-go { background: color-mix(in oklab, var(--site-on-media) 22%, transparent); backdrop-filter: blur(8px); }
@container ws-page (min-width: 600px) { .ws-sv-image-card { aspect-ratio: 16 / 9; } }

/* css/site/variants/single/banner.css */
/* Single variant: banner. */
.ws-sv-banner { position: relative; display: flex; align-items: center; min-height: 128px; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); color: var(--site-on-media); box-shadow: var(--b-shadow, var(--site-shadow-md)); isolation: isolate; text-align: start; }
.ws-sv-banner > .ws-media, .ws-sv-banner > .ws-media-ph { position: absolute; inset: 0; z-index: -2; }
.ws-bn-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(0 0 0 / .7), rgb(0 0 0 / .15)); }
[dir="rtl"] .ws-bn-shade { background: linear-gradient(-90deg, rgb(0 0 0 / .7), rgb(0 0 0 / .15)); }
.ws-bn-body { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: var(--b-pad, 18px 20px); }
.ws-sv-banner .ws-t1 { font-size: calc(1.2rem * var(--b-scale, 1)); color: inherit; }
.ws-sv-banner :is(.ws-t2, .ws-eyebrow) { color: color-mix(in oklab, var(--site-on-media) 82%, transparent); }
.ws-sv-banner .ws-foot { margin-top: 2px; }
.ws-sv-banner .ws-go { background: color-mix(in oklab, var(--site-on-media) 22%, transparent); }
@container ws-page (min-width: 600px) { .ws-sv-banner { min-height: 160px; } }

/* css/site/variants/single/hero-cta.css */
/* Single variant: hero. */
.ws-sv-hero-cta { position: relative; overflow: hidden; display: grid; padding: var(--b-pad, 30px 22px); text-align: var(--b-align, center); isolation: isolate;
  --b-bg: radial-gradient(80% 90% at 100% 0%, color-mix(in oklab, var(--site-accent) 28%, transparent), transparent 60%), radial-gradient(70% 80% at 0% 100%, color-mix(in oklab, var(--site-accent) 16%, transparent), transparent 60%), var(--site-surface); }
.ws-hero-media { position: absolute; inset: 0; z-index: -1; opacity: .18; }
.ws-hero-media img { filter: saturate(1.1); }
.ws-hero-body { display: grid; gap: 10px; justify-items: var(--b-align, center); }
.ws-hero-title { margin: 0; font-family: var(--site-heading); font-size: clamp(1.8rem, 1.3rem + 3cqw, 3rem); font-weight: 800; line-height: 1.02; letter-spacing: -0.045em; max-width: 18ch; }
.ws-heading-serif .ws-hero-title { font-weight: 400; font-style: italic; letter-spacing: -0.03em; }
.ws-hero-text { margin: 0; color: var(--site-muted); font-size: 1.02rem; max-width: 44ch; }
.ws-hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: var(--b-justify, center); gap: 14px; margin-top: 8px; }
.ws-hero-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 26px; border-radius: var(--site-btn-radius); background: var(--site-accent); color: var(--site-accent-text); font-weight: 800; font-size: 15.5px; box-shadow: 0 16px 32px -14px var(--site-accent); transition: transform .2s var(--site-ease), box-shadow .2s; }
.ws-hero-btn:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -16px var(--site-accent); }
.ws-hero-btn svg { width: 18px; height: 18px; }
.ws-sv-hero-cta .ws-price { font-size: 1.3rem; }
.ws-s-surface-accent .ws-hero-btn, .ws-s-surface-gradient .ws-hero-btn { background: var(--site-accent-text); color: var(--site-accent); }
.ws-s-surface-accent .ws-hero-text { color: color-mix(in oklab, var(--site-accent-text) 80%, transparent); }

/* css/site/variants/single/tile.css */
/* Single variant: tile, and the tile look shared by the bento collection. */
.ws-sv-tile { max-width: 100%; }
.ws-k-single > .ws-sv-tile { aspect-ratio: auto; min-height: 150px; }

/* css/site/variants/single/editorial.css */
/* Single variant: editorial. */
.ws-sv-editorial { display: grid; gap: 14px; padding: 18px 0 16px; border-top: 1px solid color-mix(in oklab, var(--site-text) 16%, transparent); text-align: start; }
.ws-ed-media { display: block; aspect-ratio: 3 / 2; overflow: hidden; border-radius: max(4px, calc(var(--site-radius) - 4px)); background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-ed-media img { transition: transform .6s var(--site-ease); }
.ws-sv-editorial:hover .ws-ed-media img { transform: scale(1.03); }
.ws-ed-body { display: grid; gap: 6px; }
.ws-ed-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.5rem * var(--b-scale, 1)); font-weight: 700; line-height: 1.12; letter-spacing: -0.03em; }
.ws-heading-serif .ws-ed-title { font-weight: 400; font-style: italic; font-size: calc(1.75rem * var(--b-scale, 1)); letter-spacing: -0.02em; }
.ws-ed-dek { color: var(--site-muted); font-size: 14.5px; line-height: 1.55; }
.ws-ed-more { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 700; font-size: 13.5px; color: var(--site-accent); }
.ws-ed-more svg { width: 15px; height: 15px; transition: transform .2s; }
.ws-sv-editorial:hover .ws-ed-more svg { transform: translateX(calc(3px * var(--dir-sign, 1))); }
.ws-sv-editorial:hover .ws-ed-title { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }

/* css/site/variants/single/premium.css */
/* Single variant: premium. A dark glossy card whatever the theme, with an accent glow. */
.ws-sv-premium { position: relative; display: flex; align-items: center; gap: 14px; padding: var(--b-pad, 14px 16px 14px 14px); overflow: hidden; isolation: isolate; text-align: start;
  border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); color: var(--site-ink-light); --site-muted: color-mix(in oklab, var(--site-ink-light) 66%, transparent);
  background: linear-gradient(160deg, color-mix(in oklab, var(--site-ink-dark) 86%, var(--site-accent)), var(--site-ink-dark) 70%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / .12), 0 0 0 1px color-mix(in oklab, var(--site-accent) 35%, transparent), var(--b-shadow, 0 22px 44px -22px color-mix(in oklab, var(--site-accent) 70%, #000)); }
.ws-pm-glow { position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1; z-index: -1; border-radius: 50%; background: radial-gradient(circle, color-mix(in oklab, var(--site-accent) 55%, transparent), transparent 65%); filter: blur(6px); }
.ws-pm-media { width: 60px; height: 60px; flex: none; border-radius: 14px; overflow: hidden; display: grid; place-items: center; box-shadow: 0 10px 24px -12px rgb(0 0 0 / .8); }
.ws-pm-icon { width: 100%; height: 100%; display: grid; place-items: center; background: linear-gradient(145deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 55%, #000)); color: var(--site-accent-text); }
.ws-pm-icon svg { width: 24px; height: 24px; }
.ws-pm-body { flex: 1; min-width: 0; }
.ws-sv-premium .ws-eyebrow { color: color-mix(in oklab, var(--site-accent) 70%, var(--site-ink-light)); }
.ws-pm-end { display: flex; align-items: center; gap: 8px; flex: none; }
.ws-pm-price { padding: 7px 12px; border-radius: 999px; font-weight: 800; font-size: 13.5px; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 8px 20px -10px var(--site-accent); }
.ws-sv-premium .ws-go { background: rgb(255 255 255 / .1); }

/* css/site/variants/single/compact.css */
/* Single variant: compact. */
.ws-sv-compact { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: var(--b-pad, 8px 12px); border-radius: var(--b-radius, calc(var(--site-radius) - 2px)); border: var(--b-border, 1px solid var(--site-line)); background: var(--b-bg, color-mix(in oklab, var(--site-surface) 70%, transparent)); color: var(--b-fg, inherit); text-align: start; }
.ws-cp-icon { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; color: var(--site-accent); background: color-mix(in oklab, var(--site-accent) 13%, transparent); }
.ws-cp-icon svg { width: 15px; height: 15px; }
.ws-sv-compact .ws-t1 { font-family: var(--site-font); font-size: 14.5px; letter-spacing: -0.005em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-sv-compact .ws-t2 { flex: 1; min-width: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-sv-compact .ws-price { margin-inline-start: auto; font-size: 13.5px; }
.ws-cp-go { margin-inline-start: auto; opacity: .55; display: grid; }
.ws-sv-compact .ws-t2 + .ws-cp-go, .ws-sv-compact .ws-price + .ws-cp-go { margin-inline-start: 0; }

/* css/site/variants/single/minimal-text.css */
/* Single variant: text link. */
.ws-sv-minimal-text { display: grid; gap: 2px; padding: 10px 2px; text-align: var(--b-align, center); justify-items: var(--b-align, center); }
.ws-mt-line { display: inline-flex; align-items: center; gap: 6px; }
.ws-mt-title { font-family: var(--site-heading); font-size: calc(1.12rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--site-accent) 0%, transparent); text-decoration-thickness: 2px; text-underline-offset: 5px; transition: text-decoration-color .2s; }
.ws-sv-minimal-text:hover .ws-mt-title { text-decoration-color: var(--site-accent); }
.ws-mt-arrow { display: grid; color: var(--site-accent); transition: transform .2s var(--site-ease); }
.ws-mt-arrow svg { width: 16px; height: 16px; }
.ws-sv-minimal-text:hover .ws-mt-arrow { transform: translate(2px, -2px); }

/* css/site/variants/collection/list.css */
/* Collection variant: list. Rows separated by hairlines inside one surface. */
.ws-cv-list { padding: var(--b-pad, 4px 14px); }
.ws-cv-list .ws-track { gap: 0; }
.ws-cv-list .ws-track > div + div { border-top: 1px solid color-mix(in oklab, var(--site-text) 9%, transparent); }
.ws-li { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 12px 2px; text-align: start; }
a.ws-li:hover .ws-t1 { color: var(--site-accent); }
.ws-li .ws-txt { flex: 1; }
.ws-li .ws-t1 { font-size: calc(1rem * var(--b-scale, 1)); transition: color .15s; }
.ws-li-thumb { width: 44px; height: 44px; flex: none; border-radius: 10px; overflow: hidden; }
.ws-li-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-li-go { opacity: .45; display: grid; }
.ws-li .ws-ico { width: 36px; height: 36px; }

/* css/site/variants/collection/buttons.css */
/* Collection variant: buttons. A stack of theme buttons. */
.ws-cv-buttons .ws-track { gap: var(--gap, 12px); }
.ws-cv-buttons .ws-button-label small { display: block; margin-top: 1px; font-size: 12.5px; font-weight: 600; opacity: .72; }
.ws-cv-buttons .ws-button-thumb { width: 40px; height: 40px; flex: none; margin-block: -6px; margin-inline: -8px 0; border-radius: max(6px, calc(var(--site-radius) - 6px)); overflow: hidden; }
.ws-cv-buttons .ws-button-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-site .ws-s-surface-accent .ws-cv-buttons .ws-button { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; }
.ws-site .ws-s-surface-outline .ws-cv-buttons .ws-button { background: transparent; color: var(--site-text); border: 1.5px solid currentColor; box-shadow: none; }

/* css/site/variants/collection/rows.css */
/* Collection variant: rows. Card rows with thumbnails. */
.ws-cv-rows .ws-track { gap: 10px; }
.ws-row { display: flex; align-items: center; gap: 14px; padding: var(--b-pad, 10px 14px 10px 10px); min-height: 76px; text-align: start; }
.ws-row .ws-txt { flex: 1; }
.ws-row .ws-foot { margin-top: 2px; }
@container ws-page (min-width: 1024px) { .ws-cv-rows .ws-track { grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); } }

/* css/site/variants/collection/grid.css */
/* Collection variant: grid. Two columns on phones and tablets, three on desktop (block.responsive columns override).
   Items without media are tiles, which is the classic Tiles look; style.surface gradient gives the classic gradient tiles. */
.ws-cv-grid .ws-track { --c: 2; grid-template-columns: repeat(var(--cols, var(--c)), minmax(0, 1fr)); gap: 10px; }
@container ws-page (min-width: 1024px) { .ws-cv-grid .ws-track { --c: 3; } }
.ws-gcard { display: flex; flex-direction: column; overflow: hidden; text-align: start; }
.ws-gcard-media { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-gcard-media img { transition: transform .5s var(--site-ease); }
.ws-gcard:hover .ws-gcard-media img { transform: scale(1.04); }
.ws-gcard-body { display: block; padding: 10px 12px 12px; }
.ws-gcard .ws-t1 { font-size: 14.5px; }
.ws-gcard .ws-foot { margin-top: 4px; }

/* The tile (the Tiles block's look since 2.0). */
.ws-tile { position: relative; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 124px; padding: var(--b-pad, 14px); border-radius: var(--b-radius, calc(var(--site-radius) + 2px)); overflow: hidden; isolation: isolate; text-align: start;
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s; box-shadow: var(--b-shadow, 0 12px 30px -22px rgb(0 0 0 / .4)); }
a.ws-tile:hover { transform: translateY(-3px); }
.ws-tile-icon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }
.ws-tile-text { display: grid; gap: 2px; }
.ws-tile-text b { font-family: var(--site-heading); font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.ws-tile-text small { font-size: 12.5px; opacity: .72; font-weight: 600; }
.ws-tile-arrow { position: absolute; top: 12px; inset-inline-end: 12px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--site-text) 7%, transparent); }
.ws-tile-arrow svg { width: 14px; height: 14px; }
.ws-card-glass .ws-tile { backdrop-filter: blur(16px); }
.ws-s-surface-outline .ws-tile .ws-tile-icon { border: 1.5px solid currentColor; background: none; color: inherit; }
.ws-s-surface-outline .ws-tile { border: 1.5px solid color-mix(in oklab, var(--site-text) 22%, transparent); }
/* Gradient tiles: four hues in turn, as the classic Tiles block. */
.ws-s-surface-gradient .ws-tile { color: #fff; background: none; border: 0; box-shadow: 0 14px 30px -18px rgb(0 0 0 / .5); }
.ws-s-surface-gradient .ws-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .35), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 88%, #fff), color-mix(in oklab, var(--site-accent) 70%, #000)); }
.ws-s-surface-gradient .ws-tile:nth-child(4n+2)::before { background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .3), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-text) 80%, var(--site-accent)), var(--site-text)); }
.ws-s-surface-gradient .ws-tile:nth-child(4n+3)::before { background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .3), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 55%, #7C5CFF), color-mix(in oklab, var(--site-accent) 35%, #3A1FB0)); }
.ws-s-surface-gradient .ws-tile .ws-tile-icon { background: rgb(255 255 255 / .18); color: inherit; }
.ws-s-surface-gradient .ws-tile .ws-tile-arrow { background: rgb(255 255 255 / .18); }
.ws-s-surface-gradient .ws-tile:nth-child(4n+2) { color: var(--site-bg-base); }
.ws-dark .ws-s-surface-gradient .ws-tile:nth-child(4n+2) { color: #0A0B0B; }
/* Carousel layout (phones with many items): cards peek. */
.ws-cv-grid { --car-w: 46%; }
/* An odd last item fills the row on two-column layouts (phones and tablets), unless columns were set explicitly. */
@container ws-page (max-width: 1023.98px) { .ws-block:not([class*="-cols-"]) .ws-cv-grid .ws-track > .ws-tile:last-child:nth-child(odd) { grid-column: 1 / -1; } }

/* css/site/variants/collection/carousel.css */
/* Collection variant: carousel. Scroll snap with the next card peeking in; arrows with site.js. */
.ws-cv-carousel { --car-w: 78%; }
.ws-cv-carousel .ws-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 2px 8px; margin: -2px -2px 0; }
.ws-cv-carousel .ws-track::-webkit-scrollbar { display: none; }
.ws-cv-carousel .ws-track > * { flex: 0 0 var(--car-w); scroll-snap-align: start; }
.ws-cv-carousel .ws-car-nav { display: flex; }
@container ws-page (min-width: 600px) { .ws-cv-carousel { --car-w: 44%; } }
@container ws-page (min-width: 1024px) { .ws-cv-carousel { --car-w: calc((100% - 24px) / 3); } }
.ws-cc { display: flex; flex-direction: column; overflow: hidden; text-align: start; }
.ws-cc-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-cc-media img { transition: transform .5s var(--site-ease); }
.ws-cc:hover .ws-cc-media img { transform: scale(1.04); }
.ws-cc-body { display: block; padding: 12px 14px 14px; }
.ws-cc .ws-t1 { font-size: 15px; }
.ws-track:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 55%, transparent); outline-offset: 4px; border-radius: 12px; }

/* css/site/variants/collection/bento.css */
/* Collection variant: bento. Mixed tile sizes: the first is 2×2, every fourth is wide. */
.ws-cv-bento .ws-track { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: minmax(128px, auto); grid-auto-flow: dense; gap: 10px; }
@container ws-page (min-width: 600px) { .ws-cv-bento .ws-track { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); } }
.ws-cv-bento .ws-tile-x { aspect-ratio: auto; min-height: 128px; height: 100%; }
.ws-cv-bento .is-big { grid-column: span 2; grid-row: span 2; }
.ws-cv-bento .is-big .ws-tile-text b { font-size: 1.5rem; }
.ws-cv-bento .is-wide { grid-column: span 2; }
.ws-cv-bento .ws-tile-x:nth-child(4n+2):not(.has-media) { background: var(--b-bg, radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .28), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-text) 82%, var(--site-accent)), var(--site-text))); color: var(--b-fg, var(--site-bg-base)); }
.ws-cv-bento .ws-tile-x:nth-child(4n+3):not(.has-media) { background: var(--b-bg, var(--site-surface)); color: var(--b-fg, var(--site-text)); border: var(--b-border, 1px solid var(--site-line)); }
.ws-cv-bento .ws-tile-x:nth-child(4n+3):not(.has-media) .ws-tile-icon { background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }

/* css/site/variants/collection/masonry.css */
/* Collection variant: masonry. CSS columns; every image keeps its own shape. */
.ws-cv-masonry .ws-track { display: block; columns: var(--cols, 2); column-gap: 10px; }
@container ws-page (min-width: 1024px) { .ws-cv-masonry .ws-track { columns: var(--cols, 3); } }
.ws-mz { display: block; break-inside: avoid; margin-bottom: 10px; border-radius: var(--b-radius, calc(var(--site-radius) + 4px)); overflow: hidden; background: var(--b-bg, var(--site-surface)); box-shadow: var(--b-shadow, var(--site-shadow-md)); text-align: start; }
.ws-mz-media { display: block; aspect-ratio: var(--ratio, 4 / 5); overflow: hidden; }
.ws-mz-media img { transition: transform .5s var(--site-ease); }
.ws-mz:hover .ws-mz-media img { transform: scale(1.04); }
.ws-mz-cap { display: grid; gap: 1px; padding: 10px 12px 12px; font-size: 14px; }
.ws-mz-cap small { color: var(--site-muted); font-size: 12.5px; font-weight: 600; }
.ws-cv-masonry .ws-mz:nth-child(3n+2) .ws-mz-media:not([style]) { aspect-ratio: 1; }
.ws-cv-masonry .ws-mz:nth-child(3n) .ws-mz-media:not([style]) { aspect-ratio: 3 / 4; }

/* css/site/variants/collection/showcase.css */
/* Collection variant: showcase. One large item with the rest beside it (stacked on phones). */
.ws-cv-showcase .ws-track { grid-template-columns: minmax(0, 1fr); gap: 12px; }
@container ws-page (min-width: 600px) { .ws-cv-showcase .ws-track { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: stretch; } }
.ws-sc-lead { display: flex; flex-direction: column; overflow: hidden; text-align: start; }
.ws-sc-media { position: relative; display: block; aspect-ratio: 16 / 11; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-sc-body { display: block; padding: var(--b-pad, 16px 18px 18px); }
.ws-sc-lead .ws-t1 { font-size: 1.3rem; letter-spacing: -0.03em; }
.ws-sc-rest { display: grid; gap: 10px; align-content: start; }
.ws-sc-row { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: calc(var(--site-radius) + 2px); background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); text-align: start; }
.ws-sc-row .ws-thumb { width: 72px; height: 72px; }
.ws-sc-row .ws-txt { flex: 1; }
.ws-sc-row .ws-t1 { font-size: 14.5px; }

/* css/site/variants/collection/magazine.css */
/* Collection variant: magazine. A lead story over its image, then stories with small thumbnails. */
.ws-cv-magazine .ws-track { gap: 0; }
.ws-mg-lead { position: relative; display: flex; align-items: flex-end; min-height: 280px; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); color: var(--site-on-media); isolation: isolate; text-align: start; margin-bottom: 8px; }
.ws-mg-lead > .ws-media, .ws-mg-lead > .ws-media-ph { position: absolute; inset: 0; z-index: -2; transition: transform .6s var(--site-ease); }
.ws-mg-lead:hover > .ws-media { transform: scale(1.03); }
.ws-mg-lead .ws-ic-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, rgb(0 0 0 / .78)); }
.ws-mg-lead-body { display: grid; gap: 6px; padding: 20px; }
.ws-mg-lead .ws-eyebrow { color: color-mix(in oklab, var(--site-on-media) 85%, transparent); }
.ws-mg-title { margin: 0; font-family: var(--site-heading); font-size: clamp(1.4rem, 1.1rem + 1.8cqw, 2.2rem); line-height: 1.08; letter-spacing: -0.035em; }
.ws-heading-serif .ws-mg-title { font-weight: 400; font-style: italic; }
.ws-mg-dek { color: color-mix(in oklab, var(--site-on-media) 82%, transparent); font-size: 14.5px; max-width: 52ch; }
.ws-mg-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-bottom: 1px solid color-mix(in oklab, var(--site-text) 10%, transparent); text-align: start; }
.ws-mg-txt { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ws-mg-row-title { font-family: var(--site-heading); font-size: 1.08rem; line-height: 1.2; letter-spacing: -0.02em; }
a.ws-mg-row:hover .ws-mg-row-title { text-decoration: underline; text-underline-offset: 3px; }
.ws-mg-row .ws-thumb { width: 84px; height: 64px; border-radius: 8px; }
@container ws-page (min-width: 1024px) {
  .ws-cv-magazine .ws-track { grid-template-columns: 1fr 1fr; column-gap: 28px; }
  .ws-mg-lead { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
}

/* css/site/variants/collection/accordion.css */
/* Collection variant: accordion (the classic FAQ look). Native <details>, so it works without scripts. */
.ws-cv-accordion .ws-track { gap: 8px; }
.ws-acc.ws-surface { border-radius: var(--b-radius, var(--site-radius)); box-shadow: var(--b-shadow, none); text-align: start; }
.ws-acc summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; font-weight: 500; list-style: none; min-height: 48px; }
.ws-acc summary::-webkit-details-marker { display: none; }
.ws-acc-q { flex: 1; }
.ws-acc-icon { display: grid; color: var(--site-accent); }
.ws-acc-mark { transition: transform .2s; display: grid; }
.ws-acc[open] .ws-acc-mark { transform: rotate(45deg); }
.ws-acc-a { padding: 0 16px 14px; color: var(--site-muted); font-size: 14px; }
.ws-acc-a p { margin: 0; }
.ws-acc-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-weight: 700; color: var(--site-accent); }
.ws-acc-link svg { width: 15px; height: 15px; }

/* css/site/variants/collection/tabs.css */
/* Collection variant: tabs. Without scripts every panel shows in turn; with site.js it becomes ARIA tabs. */
.ws-tablist { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding: 4px; margin-bottom: 10px; border-radius: 999px; background: color-mix(in oklab, var(--site-text) 6%, transparent); width: fit-content; max-width: 100%; margin-inline: auto; }
.ws-s-align-start .ws-tablist { margin-inline: 0; }
.ws-tablist::-webkit-scrollbar { display: none; }
.ws-tablist [role="tab"] { flex: none; min-height: 40px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent; color: var(--site-muted); font: inherit; font-weight: 700; font-size: 14px; cursor: pointer; white-space: nowrap; transition: background .2s, color .2s; }
.ws-tablist [role="tab"][aria-selected="true"] { background: var(--site-surface); color: var(--site-text); box-shadow: var(--site-shadow-sm); }
.ws-tabpanel { display: grid; gap: 10px; padding: var(--b-pad, 18px); text-align: start; }
.ws-tabpanel[hidden] { display: none; }
.ws-tabpanel-title { margin: 0; font-family: var(--site-heading); font-size: 1.15rem; letter-spacing: -0.02em; }
.ws-tab-media { display: block; aspect-ratio: 16 / 9; border-radius: calc(var(--site-radius) - 2px); overflow: hidden; }
.ws-tabpanel .ws-cta { justify-self: start; }
html:not(.ws-js) .ws-mode-public .ws-tablist { display: none; }
.ws-js .ws-mode-public .ws-cv-tabs .ws-tabpanel-title, .ws-mode-canvas .ws-cv-tabs .ws-tabpanel-title, .ws-mode-thumb .ws-cv-tabs .ws-tabpanel-title { display: none; }
.ws-mode-canvas .ws-cv-tabs .ws-tabpanel:not(:first-child), .ws-mode-thumb .ws-cv-tabs .ws-tabpanel:not(:first-child) { display: none; }

/* css/site/variants/collection/marquee.css */
/* Collection variant: marquee. A slow strip that loops (two copies), pauses on hover and focus, and stops under reduced motion. */
.ws-mq-view { display: flex; overflow: hidden; gap: 12px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.ws-cv-marquee .ws-track { display: flex; flex: none; gap: 12px; min-width: 100%; justify-content: space-around; animation: ws-marquee calc(var(--n, 6) * 4s) linear infinite; }
.ws-cv-marquee:is(:hover, :focus-within) .ws-track { animation-play-state: paused; }
@keyframes ws-marquee { to { transform: translateX(calc(-100% - 12px)); } }
[dir="rtl"] .ws-cv-marquee .ws-track { animation-name: ws-marquee-rtl; }
@keyframes ws-marquee-rtl { to { transform: translateX(calc(100% + 12px)); } }
.ws-mq-item { display: inline-flex; align-items: center; gap: 10px; flex: none; min-height: 48px; padding: 8px 16px; border-radius: 999px; background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); white-space: nowrap; font-weight: 700; font-size: 14.5px; }
.ws-mq-media { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; }
.ws-mq-icon { display: grid; color: var(--site-accent); }
.ws-mq-s { font-weight: 500; color: var(--site-muted); font-size: 13px; }
.ws-mode-canvas .ws-cv-marquee .ws-track, .ws-mode-thumb .ws-cv-marquee .ws-track, .ws-motion-none .ws-cv-marquee .ws-track { animation: none; }
@media (prefers-reduced-motion: reduce) { .ws-mq-view { flex-wrap: wrap; mask-image: none; -webkit-mask-image: none; } .ws-cv-marquee .ws-track { animation: none; flex-wrap: wrap; justify-content: center; } .ws-cv-marquee .ws-mq-copy { display: none; } }

/* css/site/variants/collection/stack-cards.css */
/* Collection variant: stacked cards. Each card sticks a little lower than the last, so they pile up as you scroll. */
.ws-cv-stack-cards .ws-track { gap: 14px; }
.ws-sk { position: sticky; top: calc(16px + var(--i, 0) * 12px); display: grid; grid-template-columns: minmax(0, 1fr); overflow: hidden; text-align: start; box-shadow: var(--b-shadow, 0 -10px 30px -22px rgb(0 0 0 / .35), var(--site-shadow-lg)); }
.ws-mode-canvas .ws-sk, .ws-mode-thumb .ws-sk { position: relative; top: 0; }
.ws-sk-media { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.ws-sk-body { display: grid; gap: 6px; padding: var(--b-pad, 16px 18px 18px); }
.ws-sk-n { font-family: var(--site-heading); font-weight: 800; font-size: 13px; letter-spacing: .08em; color: var(--site-accent); }
@container ws-page (min-width: 600px) { .ws-sk { grid-template-columns: 1fr 1fr; } .ws-sk-media { aspect-ratio: auto; min-height: 220px; } .ws-sk-body { align-content: center; padding: 24px; } }

/* css/site/variants/collection/timeline.css */
/* Collection variant: timeline. */
.ws-cv-timeline .ws-track { list-style: none; margin: 0; padding: 0; gap: 0; position: relative; }
.ws-tl { position: relative; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-bottom: 18px; text-align: start; }
.ws-tl::before { content: ""; position: absolute; inset-inline-start: 13px; top: 28px; bottom: 0; width: 2px; background: color-mix(in oklab, var(--site-text) 12%, transparent); }
.ws-tl:last-child::before { display: none; }
.ws-tl-dot { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 0 0 5px color-mix(in oklab, var(--site-accent) 18%, transparent); }
.ws-tl-dot:empty::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ws-tl-dot svg { width: 14px; height: 14px; }
.ws-tl-card { display: block; padding: 2px 0 0; }
a.ws-tl-card:hover .ws-t1 { color: var(--site-accent); }

/* css/site/variants/collection/compact.css */
/* Collection variant: compact. Chips that wrap. */
.ws-cv-compact .ws-track { display: flex; flex-wrap: wrap; gap: 8px; justify-content: var(--b-justify, center); }
.ws-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 6px 14px; border-radius: 999px; background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); color: var(--b-fg, inherit); font-weight: 700; font-size: 14px; box-shadow: var(--b-shadow, var(--site-shadow-sm)); }
.ws-chip svg { width: 16px; height: 16px; color: var(--site-accent); }
.ws-chip-media { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; margin-inline-start: -6px; }
.ws-chip-s { font-weight: 500; color: var(--site-muted); font-size: 13px; }

/* css/site/blocks/_networks.css */
/* Brand colours of social networks, messengers and community platforms (the only fixed colours the social blocks use).
   A block puts .ws-net-{key} on an element and reads --net (the brand colour) and --net-ink (text on it).
   Pulled in by social profiles, follower counts, messengers, community channels and share this page. */
.ws-site [class*="ws-net-"] { --net-ink: #FFFFFF; }
.ws-net-instagram { --net: #E1306C; } .ws-net-tiktok { --net: #111111; } .ws-net-youtube { --net: #FF0033; } .ws-net-x { --net: #111111; }
.ws-net-facebook, .ws-net-facebook-group { --net: #1877F2; } .ws-net-linkedin { --net: #0A66C2; } .ws-net-threads { --net: #111111; }
.ws-net-pinterest { --net: #E60023; } .ws-net-twitch { --net: #9146FF; } .ws-net-spotify { --net: #1DB954; } .ws-net-soundcloud { --net: #FF5500; }
.ws-net-applemusic { --net: #FA243C; } .ws-net-github { --net: #24292F; } .ws-net-dribbble { --net: #EA4C89; } .ws-net-behance { --net: #1769FF; }
.ws-net-bluesky { --net: #1185FE; } .ws-net-mastodon { --net: #6364FF; } .ws-net-medium { --net: #111111; } .ws-net-substack { --net: #FF6719; }
.ws-net-patreon { --net: #FF424D; } .ws-net-reddit { --net: #FF4500; } .ws-net-discord { --net: #5865F2; }
.ws-net-telegram { --net: #229ED9; } .ws-net-whatsapp, .ws-net-whatsapp-channel, .ws-net-whatsapp-community { --net: #25D366; }
.ws-net-messenger { --net: #0A7CFF; } .ws-net-signal { --net: #3A76F0; } .ws-net-viber { --net: #7360F2; } .ws-net-sms { --net: #34C759; }
.ws-net-wechat { --net: #07C160; } .ws-net-line { --net: #06C755; } .ws-net-slack { --net: #4A154B; } .ws-net-skool { --net: #2E6BE6; }
.ws-net-circle { --net: #5F45FF; } .ws-net-email { --net: #6B7280; } .ws-net-linkedin-share { --net: #0A66C2; }
.ws-site .ws-net-snapchat { --net: #FFFC00; --net-ink: #111111; }
.ws-site :is(.ws-net-website, .ws-net-newsletter, .ws-net-other) { --net: var(--site-accent); --net-ink: var(--site-accent-text); }

/* css/site/blocks/add_to_calendar.css */
/* Add to calendar (ADR-0068, W3): buttons, card. */
.ws-atc { min-width: 0; text-align: var(--b-align, center); }
.ws-atc-what { display: grid; gap: 2px; margin: 0 0 10px; font-size: 14px; }
.ws-atc-what strong { font-family: var(--site-heading); font-size: 1.05rem; letter-spacing: -0.015em; }
.ws-atc-what time { color: var(--site-muted); font-weight: 600; }
.ws-atc .ws-ev-local { display: block; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-atc-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ws-atc-btn { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; min-height: 64px; padding: 10px 6px; border-radius: calc(var(--site-radius) + 2px);
  font-size: 12.5px; font-weight: 700; line-height: 1.2; text-align: center; background: var(--site-surface); color: var(--site-text); border: 1px solid var(--site-line); box-shadow: var(--site-shadow-sm);
  transition: transform .18s var(--site-ease), box-shadow .18s, border-color .18s; }
.ws-atc-btn:hover { transform: translateY(-2px); border-color: color-mix(in oklab, var(--site-accent) 45%, transparent); box-shadow: var(--site-shadow-md); }
.ws-atc-ico { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.ws-atc-ico svg { width: 16px; height: 16px; }
.ws-atc-ics { display: inline-block; margin-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--site-muted); text-decoration: underline; text-underline-offset: 3px; }
.ws-atc-ics:hover { color: var(--site-text); }
.ws-atc-ended { margin: 6px 0 0; color: var(--site-muted); font-size: 13.5px; font-weight: 600; }
@container ws-page (min-width: 600px) { .ws-atc-btn { flex-direction: row; min-height: 50px; font-size: 13.5px; } }

.ws-atc-card { padding: var(--b-pad, 18px); text-align: start; }
.ws-atc-top { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.ws-atc-card .ws-ev-date { flex: none; background: color-mix(in oklab, var(--site-accent) 12%, transparent); box-shadow: none; }
.ws-atc-txt { display: grid; gap: 3px; min-width: 0; }
.ws-atc-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.2rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ws-atc-when { margin: 0; font-size: 13.5px; font-weight: 700; }
.ws-atc-where { display: flex; align-items: center; gap: 5px; margin: 0; font-size: 13px; color: var(--site-muted); font-weight: 600; }
.ws-atc-where svg { width: 14px; height: 14px; }
.ws-atc-card .ws-atc-ics { display: block; text-align: center; }
.ws-site :is(.ws-atc-where, .ws-atc-ended) { color: var(--site-muted); }
.ws-site a.ws-atc-btn { color: var(--site-text); }
.ws-site a.ws-atc-ics { color: var(--site-muted); }
.ws-site .ws-atc-txt .ws-eyebrow { color: var(--site-accent); }

/* css/site/blocks/announcement.css */
/* Announcement: bar, pill, ticker, sticky-top (the bar in the page's top sticky slot). Tones: accent, contrast, soft. */
.ws-ann { --ann-bg: var(--site-accent); --ann-fg: var(--site-accent-text); display: flex; align-items: center; gap: 10px; min-height: 50px; min-width: 0;
  padding: var(--b-pad, 7px 7px 7px 14px); border-radius: var(--b-radius, calc(var(--site-radius) + 4px)); background: var(--ann-bg); color: var(--ann-fg);
  font-size: 14px; font-weight: 600; line-height: 1.35; text-align: start; box-shadow: var(--b-shadow, 0 12px 28px -20px rgb(0 0 0 / .55)); }
.ws-ann-contrast { --ann-bg: var(--site-text); --ann-fg: var(--site-bg-base, var(--site-surface)); }
.ws-ann-soft { --ann-bg: color-mix(in oklab, var(--site-accent) 13%, var(--site-surface)); --ann-fg: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-accent) 26%, transparent); box-shadow: none; }
.ws-ann-ico { width: 28px; height: 28px; flex: none; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, currentColor 16%, transparent); }
.ws-ann-soft .ws-ann-ico { background: var(--site-accent); color: var(--site-accent-text); }
.ws-ann-ico svg { width: 15px; height: 15px; }
.ws-ann-text { flex: 1; min-width: 0; margin: 0; overflow-wrap: anywhere; }
.ws-ann-link { flex: none; display: inline-flex; align-items: center; gap: 5px; min-height: 36px; padding: 0 12px; border-radius: 999px; font-weight: 800; font-size: 13px; white-space: nowrap;
  background: color-mix(in oklab, currentColor 16%, transparent); color: inherit; transition: background .18s; }
.ws-ann-soft .ws-ann-link { background: var(--site-accent); color: var(--site-accent-text); }
.ws-ann-link:hover { background: color-mix(in oklab, currentColor 26%, transparent); }
.ws-ann-link svg { width: 14px; height: 14px; }
.ws-ann-x { position: relative; flex: none; width: 36px; height: 36px; margin: -2px; border: 0; border-radius: 50%; display: grid; place-items: center; background: transparent; color: inherit; cursor: pointer; opacity: .8; }
.ws-ann-x::after { content: ""; position: absolute; inset: -4px; }
.ws-ann-x:hover { opacity: 1; background: color-mix(in oklab, currentColor 14%, transparent); }
.ws-ann-x svg { width: 16px; height: 16px; }
html:not(.ws-js) .ws-mode-public .ws-ann-x { display: none; }
.ws-site .ws-block-announcement[hidden], .ws-sticky-top > [hidden] { display: none !important; }
.ws-ann-bar:has(.ws-ann-link) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; grid-template-areas: "ico text link x"; }
.ws-ann-bar .ws-ann-ico { grid-area: ico; } .ws-ann-bar .ws-ann-text { grid-area: text; } .ws-ann-bar .ws-ann-link { grid-area: link; } .ws-ann-bar .ws-ann-x { grid-area: x; }
@container ws-page (max-width: 460px) {
  .ws-ann-bar:has(.ws-ann-link) { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ico text x" ". link ."; row-gap: 6px; padding-block-end: 10px; }
  .ws-ann-bar .ws-ann-link { justify-self: start; }
}
/* In the top sticky slot (outside the page container) the bar stays on one line: a smaller type and link. */
.ws-sticky-top .ws-ann { font-size: 13px; min-height: 46px; }
.ws-sticky-top .ws-ann-link { min-height: 32px; padding: 0 10px; font-size: 12.5px; }

/* Pill: a centred chip. */
.ws-ann-pill { width: fit-content; max-width: 100%; margin-inline: auto; min-height: 44px; padding: 5px 5px 5px 8px; border-radius: 26px; font-size: 13.5px; gap: 8px; }
.ws-ann-pill .ws-ann-ico { width: 30px; height: 30px; }
.ws-ann-pill .ws-ann-link { min-height: 34px; }
.ws-ann-pill:not(:has(.ws-ann-link, .ws-ann-x)) { padding-inline-end: 16px; }
.ws-s-align-start .ws-ann-pill { margin-inline: 0; }

/* Ticker: the message scrolls; pauses on hover or focus; still (and wrapping) under reduced motion. */
.ws-ann-ticker { padding-inline-start: 0; overflow: hidden; }
.ws-ann-track { flex: 1; min-width: 0; display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.ws-ann-run { flex: none; display: flex; margin: 0; animation: ws-ann-tick 28s linear infinite; }
.ws-ann-item { display: inline-flex; align-items: center; gap: 10px; padding-inline: 14px 26px; white-space: nowrap; }
.ws-ann-item::after { content: "✦"; margin-inline-start: 26px; opacity: .55; font-size: 11px; }
.ws-ann-ticker:hover .ws-ann-run, .ws-ann-ticker:focus-within .ws-ann-run { animation-play-state: paused; }
@keyframes ws-ann-tick { from { transform: translateX(0); } to { transform: translateX(calc(-100% * var(--dir-sign, 1))); } }
@media (prefers-reduced-motion: reduce) {
  .ws-ann-run { animation: none !important; } .ws-ann-run[aria-hidden], .ws-ann-item[aria-hidden] { display: none; }
  .ws-ann-item { white-space: normal; padding-inline: 14px 0; } .ws-ann-item::after { display: none; } .ws-ann-track { -webkit-mask-image: none; mask-image: none; }
}
.ws-motion-none .ws-ann-run { animation: none; } .ws-motion-none .ws-ann-run[aria-hidden], .ws-motion-none .ws-ann-item[aria-hidden] { display: none; }
.ws-motion-none .ws-ann-item { white-space: normal; } .ws-motion-none .ws-ann-item::after { display: none; }
.ws-is-thumb .ws-ann-run { animation: none; }

/* The top sticky slot (sticky-top): pinned under the top edge, clear of the notch. */
.ws-sticky-top { position: sticky; top: 0; z-index: 45; display: grid; justify-items: center; gap: 8px; padding: calc(8px + env(safe-area-inset-top, 0px)) 12px 0; pointer-events: none; }
.ws-sticky-top > * { pointer-events: auto; width: min(100%, var(--w-m, 560px)); }
.ws-sticky-top .ws-block { animation: none; }
.ws-ann-v-sticky-top { box-shadow: var(--b-shadow, 0 16px 36px -18px rgb(0 0 0 / .5)); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.ws-ann-v-sticky-top.ws-ann-soft { --ann-bg: color-mix(in oklab, color-mix(in oklab, var(--site-accent) 13%, var(--site-surface)) 88%, transparent); }

/* css/site/blocks/app_download.css */
/* App store badges: badges, card, split. The store buttons are ink pills with the store's mark (not copied badge art). */
.ws-stores { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.ws-site .ws-store { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; min-width: 164px; padding: 7px 18px 7px 14px; border-radius: 13px; text-align: start;
  background: var(--site-ink-dark); color: var(--site-ink-light); border: 1px solid color-mix(in oklab, var(--site-ink-light) 22%, transparent);
  box-shadow: 0 12px 24px -16px rgb(0 0 0 / .6); transition: transform .18s var(--site-ease), box-shadow .18s; }
.ws-store:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -16px rgb(0 0 0 / .7); }
.ws-site .ws-store svg { width: 26px; height: 26px; flex: none; }
.ws-store-t { display: grid; line-height: 1.05; }
.ws-store-t small { font-size: 10.5px; font-weight: 600; letter-spacing: .02em; opacity: .85; }
.ws-store-t b { font-size: 17.5px; font-weight: 700; letter-spacing: -0.01em; }
@container ws-page (max-width: 380px) { .ws-stores > .ws-store { flex: 1 1 100%; justify-content: center; } }

.ws-app { text-align: start; }
.ws-app-card, .ws-app-split { padding: var(--b-pad, 20px); display: grid; gap: 18px; }
.ws-app-body { display: grid; gap: 14px; min-width: 0; }
.ws-app-head { display: flex; align-items: center; gap: 14px; min-width: 0; }
.ws-app-icon { width: 64px; height: 64px; flex: none; overflow: hidden; border-radius: 22%; display: grid; box-shadow: 0 0 0 1px var(--site-line), 0 10px 22px -14px rgb(0 0 0 / .5); }
.ws-app-icon .ws-media { width: 100%; height: 100%; object-fit: cover; }
.ws-app-mono { display: grid; place-items: center; width: 100%; height: 100%; font-family: var(--site-heading); font-weight: 800; font-size: 28px; color: var(--site-accent-text);
  background: radial-gradient(100% 80% at 100% 0%, rgb(255 255 255 / .35), transparent 60%), linear-gradient(145deg, color-mix(in oklab, var(--site-accent) 85%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 60%, var(--site-text))); }
.ws-app-id { display: grid; gap: 3px; min-width: 0; }
.ws-app-id .ws-t1 { font-size: calc(1.2rem * var(--b-scale, 1)); }
.ws-site .ws-app-rating { margin: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--site-muted); }
.ws-app-rating b { color: var(--site-text); font-weight: 800; }
.ws-app-stars { font-size: 14px; letter-spacing: 1px; line-height: 1; background: linear-gradient(90deg, var(--site-accent) var(--r, 100%), color-mix(in oklab, currentColor 22%, transparent) var(--r, 100%)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ws-app-stars::before { content: "★★★★★"; }
[dir="rtl"] .ws-app-stars { background-image: linear-gradient(270deg, var(--site-accent) var(--r, 100%), color-mix(in oklab, currentColor 22%, transparent) var(--r, 100%)); }
.ws-site .ws-app-tag { margin: 0; color: var(--site-muted); font-size: 14.5px; line-height: 1.5; }
.ws-app .ws-stores { justify-content: flex-start; }
.ws-app-card .ws-stores > .ws-store, .ws-app-split .ws-stores > .ws-store { flex: 1 1 150px; max-width: 220px; }
.ws-s-align-center .ws-app-body { justify-items: center; text-align: center; } .ws-s-align-center .ws-app .ws-stores { justify-content: center; }

.ws-app-split { overflow: hidden; background: var(--b-bg, radial-gradient(80% 90% at 100% 100%, color-mix(in oklab, var(--site-accent) 22%, transparent), transparent 70%), var(--site-surface)); }
.ws-app-phone { justify-self: center; width: min(180px, 55%); padding: 7px; border-radius: 34px; background: var(--site-ink-dark); box-shadow: 0 0 0 1px color-mix(in oklab, var(--site-ink-light) 18%, transparent), 0 30px 50px -26px rgb(0 0 0 / .65); margin-bottom: -90px; }
.ws-app-screen { display: block; overflow: hidden; aspect-ratio: 9 / 18; border-radius: 28px; background: var(--site-surface); }
.ws-app-screen .ws-media { width: 100%; height: 100%; object-fit: cover; }
.ws-app-screen-ph { display: grid; place-items: center; align-content: center; gap: 12px; width: 100%; height: 100%; text-align: center; padding: 16px;
  background: radial-gradient(90% 60% at 50% 0%, color-mix(in oklab, var(--site-accent) 35%, transparent), transparent 70%), color-mix(in oklab, var(--site-accent) 8%, var(--site-surface)); }
.ws-app-screen-ph b { font-family: var(--site-heading); font-size: 15px; font-weight: 800; letter-spacing: -0.02em; }
@container ws-page (min-width: 600px) {
  .ws-app-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; padding: var(--b-pad, 30px 30px 0); }
  .ws-app-split .ws-app-body { padding-bottom: 30px; }
  .ws-app-split .ws-app-phone { width: min(220px, 100%); margin-bottom: -40px; align-self: end; }
}
.ws-app-badges .ws-stores { justify-content: center; }
.ws-s-align-start .ws-app-badges .ws-stores { justify-content: flex-start; }
.ws-app-rating > span:not(.ws-app-stars) { white-space: nowrap; }

/* css/site/blocks/audio_embed.css */
/* Spotify, Apple Music, SoundCloud (programme B · W2): compact, full, card; the builder's stand-in player. */
.ws-au { --au-r: var(--b-radius, max(12px, var(--site-radius))); display: grid; gap: 12px; text-align: start; }
.ws-au-spotify { --au-brand: #1DB954; }
.ws-au-apple-music { --au-brand: #FA2D48; }
.ws-au-soundcloud { --au-brand: #FF5500; }
.ws-au-frame { position: relative; width: 100%; overflow: hidden; border-radius: var(--au-r); background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-au-frame iframe { display: block; width: 100%; height: 100%; border: 0; color-scheme: normal; }
.ws-au.ws-surface { padding: var(--b-pad, 14px); border-radius: calc(var(--au-r) + 6px); }
.ws-au-head { display: flex; align-items: center; gap: 12px; padding: 2px 2px 0; min-width: 0; }
.ws-au-logo { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--au-brand); background: color-mix(in oklab, var(--au-brand) 13%, transparent); }
.ws-au-logo svg { width: 22px; height: 22px; fill: currentColor; }
.ws-au-words { display: grid; gap: 1px; min-width: 0; }
.ws-au-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--site-muted); }
.ws-au-title { font-family: var(--site-heading); font-size: calc(1.08rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.ws-au-sub { color: var(--site-muted); font-size: 13.5px; }
.ws-au-open { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--site-btn-radius); font-weight: 700; font-size: 14.5px;
  background: var(--site-accent); color: var(--site-accent-text); transition: transform .18s var(--site-ease), box-shadow .18s; }
.ws-au-open svg { width: 17px; height: 17px; fill: none; }
.ws-au-open svg:first-child { fill: currentColor; stroke: none; }
.ws-au-open:hover { transform: translateY(-2px); box-shadow: var(--site-shadow-md); }
.ws-au-open:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 2px; }

/* The builder's stand-in: artwork, words, a waveform and a play button, the height of the real player. */
.ws-au-mock { position: absolute; inset: 0; display: flex; align-items: center; gap: 14px; padding: 14px; color: var(--site-ink-light);
  background: radial-gradient(120% 140% at 0% 0%, color-mix(in oklab, var(--au-brand) 70%, var(--site-ink-light)) 0%, transparent 55%), linear-gradient(135deg, color-mix(in oklab, var(--au-brand) 55%, var(--site-ink-dark)) 0%, var(--site-ink-dark) 100%); }
.ws-au-mock.is-tall { flex-direction: column; align-items: flex-start; justify-content: flex-end; }
.ws-au-art { width: 96px; height: 96px; max-height: calc(100% - 8px); aspect-ratio: 1; flex: none; border-radius: 10px; display: grid; place-items: center; background: rgb(255 255 255 / .14); box-shadow: 0 12px 30px -12px rgb(0 0 0 / .6); }
.ws-au-mock.is-tall .ws-au-art { width: 132px; height: 132px; margin-block-end: auto; }
.ws-au-art svg { width: 42%; height: 42%; fill: currentColor; }
.ws-au-mock-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ws-au-mock-t b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ws-au-mock-t small { font-size: 12.5px; opacity: .75; }
.ws-au-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; margin-block-start: 8px; }
.ws-au-bars i { flex: 1; max-width: 5px; height: var(--h); border-radius: 2px; background: rgb(255 255 255 / .55); }
.ws-au-play { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--site-ink-light); color: var(--site-ink-dark); }
.ws-au-mock.is-tall .ws-au-play { position: absolute; inset-block-end: 14px; inset-inline-end: 14px; }
.ws-au-play svg { width: 18px; height: 18px; fill: currentColor; margin-inline-start: 2px; }
.ws-au-mock.is-tall .ws-au-mock-t { flex: none; width: 100%; padding-inline-end: 56px; }

/* css/site/blocks/awards.css */
/* Awards: rows, grid, marquee. Laurel medallions in the accent (gold-leaning for winners). */
.ws-aw { --aw-gold: color-mix(in oklab, var(--site-accent) 35%, hsl(40 80% 48%)); margin: 0; padding: 0; list-style: none; text-align: start; }
.ws-aw-cell { min-width: 0; display: grid; }
.ws-aw-item { display: flex; align-items: center; gap: 14px; min-width: 0; color: inherit; }
.ws-aw-medal { --tone: var(--site-accent); position: relative; flex: none; display: flex; align-items: center; justify-content: center; color: var(--tone); }
.ws-aw-winner .ws-aw-medal { --tone: var(--aw-gold); }
.ws-aw-nominee .ws-aw-medal, .ws-aw-none .ws-aw-medal { --tone: color-mix(in oklab, var(--site-text) 55%, transparent); }
.ws-aw-laurel { width: 16px !important; height: 34px !important; flex: none; }
.ws-aw-laurel:last-child { transform: scaleX(-1); }
.ws-aw-core { display: grid; justify-items: center; align-content: center; min-width: 42px; text-align: center; line-height: 1.05; color: var(--site-text); }
.ws-aw-core svg { width: 20px; height: 20px; color: var(--tone); }
.ws-aw-level { font-size: 8.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--tone); }
.ws-aw-year { font-family: var(--site-heading); font-size: 15px; font-weight: 800; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.ws-aw-words { display: grid; gap: 2px; min-width: 0; flex: 1; }
.ws-aw-t { font-family: var(--site-heading); font-weight: 700; font-size: calc(15px * var(--b-scale, 1)); line-height: 1.25; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ws-aw-by { color: var(--site-muted); font-size: 13px; }
a.ws-aw-item:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 3px; border-radius: 10px; }
/* Rows. */
.ws-aw-rows { padding: var(--b-pad, 6px 16px); }
.ws-aw-rows .ws-aw-item { padding-block: 12px; min-height: 64px; }
.ws-aw-rows .ws-aw-cell + .ws-aw-cell .ws-aw-item { border-block-start: 1px solid var(--site-line); }
.ws-aw-rows a.ws-aw-item:hover .ws-aw-t { color: var(--site-accent); }
/* Grid: badges. */
.ws-aw-grid { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 10px; }
.ws-aw-grid .ws-aw-item { flex-direction: column; justify-content: flex-start; gap: 10px; height: 100%; padding: var(--b-pad, 18px 12px 16px); text-align: center; border-radius: var(--b-radius, calc(var(--site-radius) + 4px)); }
.ws-aw-grid .ws-aw-laurel { width: 26px !important; height: 56px !important; }
.ws-aw-grid .ws-aw-core { width: 92px; min-height: 56px; }
.ws-aw-grid .ws-aw-core .ws-aw-t { font-size: 12.5px; line-height: 1.15; }
.ws-aw-grid .ws-aw-level { font-size: 9px; margin-block-end: 3px; }
.ws-aw-grid .ws-aw-words { justify-items: center; }
@container ws-page (min-width: 600px) { .ws-aw-grid { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
/* Marquee. */
.ws-aw-marquee .ws-track { gap: 34px; align-items: center; animation-duration: calc(var(--n, 4) * 6s); }
.ws-aw-marquee .ws-aw-item { white-space: nowrap; }
.ws-aw-marquee.is-paused .ws-track { animation-play-state: paused; }
.ws-aw-pause { display: grid; place-items: center; width: 44px; height: 44px; margin: 8px auto 0; border-radius: 50%; border: 1px solid var(--site-line); background: var(--site-surface); color: var(--site-text); cursor: pointer; }
.ws-aw-pause[hidden] { display: none; }
.ws-aw-pause svg { width: 15px; height: 15px; }
.ws-aw-i-play { display: none; }
.ws-aw-marquee.is-paused .ws-aw-i-play { display: grid; } .ws-aw-marquee.is-paused .ws-aw-i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .ws-aw-marquee .ws-track { gap: 14px 28px; } .ws-aw-marquee .ws-aw-item { white-space: normal; } }
.ws-aw-rows .ws-aw-core, .ws-aw-marquee .ws-aw-core { width: 56px; }
[dir="rtl"] .ws-aw-laurel { transform: scaleX(-1); }
[dir="rtl"] .ws-aw-laurel:last-child { transform: none; }

/* css/site/blocks/badges.css */
/* Badges & credentials: rows, grid, marquee and compact are shared; as chips a badge shows its name only (the issuer is in the rows and grid). */
.ws-block-badges .ws-cv-compact .ws-chip-s { display: none; }
.ws-block-badges .ws-cv-compact .ws-chip svg, .ws-block-badges .ws-cv-marquee .ws-mq-icon svg { color: var(--site-accent); }

/* css/site/blocks/bento_grid.css */
/* Bento grid container: its blocks become tiles; spans from each block's responsive settings (ws-r-*-span-*). */
.ws-bgrid { --grid-cols: 2; display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); grid-auto-rows: minmax(140px, auto); grid-auto-flow: dense; gap: var(--bg-gap, 12px); }
.ws-bgrid-gap-s { --bg-gap: 8px; } .ws-bgrid-gap-l { --bg-gap: 18px; }
.ws-bgrid > .ws-block { display: flex; flex-direction: column; min-width: 0; }
.ws-bgrid > .ws-block > :not(.ws-sheet) { flex: 1; }
.ws-bgrid .ws-sv-tile, .ws-bgrid .ws-tile-x { aspect-ratio: auto; height: 100%; min-height: 140px; }
.ws-bgrid .ws-image { height: 100%; } .ws-bgrid .ws-image img { height: 100%; object-fit: cover; }
@container ws-page (min-width: 600px) { .ws-bgrid-c3 { --grid-cols: 3; } .ws-bgrid-c4 { --grid-cols: 4; } .ws-bgrid { grid-auto-rows: minmax(160px, auto); } }

/* css/site/blocks/book.css */
/* Book / publication: card, featured, split. The cover is drawn as a book: spine shading, a page edge, a soft shadow. */
.ws-bk { position: relative; display: grid; gap: 18px; padding: var(--b-pad, 18px); text-align: start; border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); overflow: hidden; }
.ws-bk-stage { display: grid; place-items: center; }
.ws-bk-book { position: relative; width: 100%; max-width: var(--bk-w, 120px); aspect-ratio: 2 / 3; border-radius: 3px 8px 8px 3px;
  box-shadow: 1px 1px 0 color-mix(in oklab, var(--site-text) 12%, transparent), 4px 4px 0 -1px var(--site-surface), 4px 4px 0 0 color-mix(in oklab, var(--site-text) 14%, transparent),
    0 22px 36px -18px color-mix(in oklab, var(--site-ink-dark) 70%, transparent); transform: rotate(-1.5deg); transition: transform .4s var(--site-ease); }
[dir="rtl"] .ws-bk-book { transform: rotate(1.5deg) scaleX(1); }
.ws-bk:hover .ws-bk-book { transform: rotate(0) translateY(-3px); }
.ws-bk-cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ws-bk-spine { position: absolute; inset-block: 0; inset-inline-start: 0; width: 9%; border-radius: 3px 0 0 3px; pointer-events: none;
  background: linear-gradient(90deg, color-mix(in oklab, var(--site-ink-dark) 34%, transparent), color-mix(in oklab, var(--site-ink-light) 22%, transparent) 55%, transparent); }
[dir="rtl"] .ws-bk-spine { background: linear-gradient(-90deg, color-mix(in oklab, var(--site-ink-dark) 34%, transparent), color-mix(in oklab, var(--site-ink-light) 22%, transparent) 55%, transparent); }
.ws-bk-typeset { display: flex; flex-direction: column; justify-content: space-between; padding: 16% 12% 12% 16%; overflow: hidden; color: var(--site-accent-text);
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in oklab, var(--site-accent-text) 26%, transparent), transparent 60%), linear-gradient(160deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 55%, var(--site-ink-dark))); }
.ws-bk-ty-t { font-family: var(--site-heading); font-weight: 800; font-size: calc(var(--bk-w, 120px) * .13); line-height: 1.05; letter-spacing: -0.03em; overflow-wrap: anywhere; text-wrap: balance; }
.ws-bk-ty-a { font-size: calc(var(--bk-w, 120px) * .07); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .85; }
.ws-bk-body { display: grid; gap: 6px; align-content: start; min-width: 0; }
.ws-bk-badge { margin-block-end: 2px; }
.ws-bk-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.3rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; overflow-wrap: anywhere; }
.ws-heading-serif .ws-bk-title { font-weight: 600; font-style: italic; }
.ws-bk-author { margin: 0; color: var(--site-muted); font-weight: 600; font-size: 14px; }
.ws-bk-blurb { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: color-mix(in oklab, var(--site-text) 84%, transparent); text-wrap: pretty; }
.ws-bk-facts { margin: 2px 0 0; font-size: 12.5px; font-weight: 700; color: var(--site-muted); letter-spacing: .01em; }
.ws-bk-buy { display: flex; flex-wrap: wrap; gap: 8px; margin-block-start: 10px; }
.ws-bk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 44px; padding: 0 16px; border-radius: var(--site-btn-radius); font-weight: 700; font-size: 14px;
  border: 1.5px solid color-mix(in oklab, var(--site-text) 16%, transparent); transition: transform .18s var(--site-ease), background .18s, box-shadow .18s; }
.ws-bk-btn svg { width: 16px; height: 16px; }
.ws-bk-btn:hover { transform: translateY(-2px); background: color-mix(in oklab, var(--site-text) 5%, transparent); }
.ws-bk-btn.is-primary { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; box-shadow: 0 12px 26px -16px var(--site-accent); }
.ws-bk-btn.is-primary:hover { background: var(--site-accent); box-shadow: 0 16px 30px -14px var(--site-accent); }
/* Card: a compact row, cover first. */
.ws-bk-card { grid-template-columns: 96px minmax(0, 1fr); align-items: start; --bk-w: 96px; }
.ws-bk-card .ws-bk-blurb { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ws-bk-card .ws-bk-buy > * { flex: 1 1 auto; }
/* Featured: the book on a glowing stage. */
.ws-bk-featured { --bk-w: 170px; justify-items: center; text-align: center; padding: var(--b-pad, 4px 0); }
.ws-bk-featured .ws-bk-stage { width: 100%; padding: 30px 0 34px; border-radius: var(--b-radius, calc(var(--site-radius) + 10px));
  background: radial-gradient(60% 70% at 50% 40%, color-mix(in oklab, var(--site-accent) 34%, transparent), transparent 70%), color-mix(in oklab, var(--site-accent) 8%, var(--site-surface)); }
.ws-bk-featured .ws-bk-body { justify-items: center; max-width: 52ch; }
.ws-bk-featured .ws-bk-title { font-size: calc(1.7rem * var(--b-scale, 1)); }
.ws-bk-featured .ws-bk-buy { justify-content: center; }
/* Split: side by side from tablets. */
.ws-bk-split { --bk-w: 150px; }
.ws-bk-split .ws-bk-stage { padding: 22px 0; border-radius: calc(var(--site-radius) + 2px); background: color-mix(in oklab, var(--site-accent) 10%, transparent); }
@container ws-page (min-width: 600px) {
  .ws-bk-card { grid-template-columns: 110px minmax(0, 1fr); --bk-w: 110px; gap: 20px; }
  .ws-bk-card .ws-bk-buy > * { flex: 0 0 auto; }
  .ws-bk-split { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 26px; }
  .ws-bk-split .ws-bk-stage { height: 100%; padding: 30px 0; }
  .ws-bk-featured { --bk-w: 200px; }
}
@media (prefers-reduced-motion: reduce) { .ws-bk-book, .ws-bk-btn { transition: none; } .ws-bk:hover .ws-bk-book { transform: rotate(-1.5deg); } }

/* css/site/blocks/business_info.css */
/* Business details: card, rows, compact. */
.bi { display: grid; gap: 14px; padding: var(--b-pad, 20px); text-align: start; }
.bi-head { display: flex; align-items: center; gap: 12px; }
.bi-head-t { display: grid; gap: 2px; min-width: 0; }
.bi-logo { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-family: var(--site-heading); font-weight: 800; font-size: 1.35rem;
  background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 12px 24px -14px var(--site-accent); }
.bi-name { margin: 0; font-family: var(--site-heading); font-size: calc(1.2rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.bi-cat { margin: 0; color: var(--site-muted); font-size: 13.5px; }
.bi-facts { margin: 0; display: grid; gap: 0; }
.bi-fact { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-top: 1px solid var(--site-line); }
.bi-fact:first-child { border-top: 0; padding-top: 0; }
.bi-fact dt { display: flex; align-items: center; gap: 7px; font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--site-muted); }
.bi-fact dt svg { width: 14px; height: 14px; color: var(--site-accent); }
.bi-fact dd { margin: 0; font-weight: 600; font-size: 14.5px; overflow-wrap: anywhere; padding-inline-start: 21px; }
.bi-fact dd a { display: inline-flex; min-height: 32px; align-items: center; color: var(--site-text); text-decoration: underline; text-decoration-color: color-mix(in oklab, var(--site-accent) 55%, transparent); text-underline-offset: 3px; }
.bi-legal { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 14px; padding-top: 10px; border-top: 1px dashed var(--site-line); font-size: 12px; color: var(--site-muted); }
@container ws-page (min-width: 600px) {
  .bi-rows .bi-fact, .bi-card .bi-fact { grid-template-columns: 170px minmax(0, 1fr); align-items: baseline; gap: 12px; }
  .bi-rows .bi-fact dd, .bi-card .bi-fact dd { padding-inline-start: 0; }
}
.bi-compact { gap: 10px; padding: var(--b-pad, 16px); }
.bi-compact .bi-facts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px 16px; }
.bi-compact .bi-fact { border: 0; padding: 0; }
.bi-compact .bi-fact dt span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.bi-compact .bi-fact { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 8px; }
.bi-compact .bi-fact dd { padding: 0; font-size: 13.5px; }

/* css/site/blocks/button_group.css */
/* Button row: row (side by side, the main action filled); buttons, rows and grid are shared. */
.ws-bg-row { display: flex; flex-wrap: wrap; gap: 8px; }
.ws-bg-row > * { flex: 1 1 124px; }
.ws-site .ws-bg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; min-width: 0; padding: 10px 16px;
  border-radius: var(--site-btn-radius); font-weight: 700; font-size: 14.5px; letter-spacing: -0.01em; text-align: center;
  background: var(--b-bg, color-mix(in oklab, var(--site-surface) 70%, transparent)); color: var(--site-text); border: 1.5px solid color-mix(in oklab, currentColor 18%, transparent);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.ws-bg-btn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.ws-bg-btn svg { width: 17px; height: 17px; flex: none; }
.ws-bg-btn:hover { border-color: color-mix(in oklab, currentColor 40%, transparent); }
.ws-site .ws-bg-btn.is-primary { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; box-shadow: 0 12px 26px -16px var(--site-accent); }
.ws-bg-btn.is-primary:hover { filter: brightness(1.05); }
/* The shared grid, as short buttons: as many per line as fit, no tall tiles. */
.ws-block-button-group .ws-cv-grid .ws-track { display: flex; flex-wrap: wrap; } .ws-block-button-group .ws-cv-grid .ws-track > * { flex: 1 1 104px; }
.ws-block-button-group .ws-cv-grid .ws-tile { min-height: 0; gap: 10px; }
.ws-block-button-group .ws-cv-rows .ws-row { min-height: 60px; }
.ws-block-button-group .ws-cv-rows .ws-thumb { width: 42px; height: 42px; }

/* css/site/blocks/calendly.css */
/* Calendly: inline and button (the sheet holds the same frame). */
.cl { overflow: hidden; text-align: start; }
.cl-head { display: flex; gap: 12px; align-items: center; padding: var(--b-pad, 16px 18px); border-bottom: 1px solid var(--site-line); }
.cl-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 15%, transparent); color: var(--site-accent); }
.cl-title { margin: 0; font-family: var(--site-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.cl-text { margin: 2px 0 0; color: var(--site-muted); font-size: 13.5px; }
.cl-frame { position: relative; width: 100%; background: var(--site-ink-light); }
.cl-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.cl-ph { position: absolute; inset: 0; display: grid; align-content: start; gap: 18px; padding: 26px; background: color-mix(in oklab, var(--site-surface) 94%, var(--site-text)); }
.cl-ph-head { display: grid; gap: 8px; } .cl-ph-head i { display: block; height: 10px; width: 55%; border-radius: 5px; background: color-mix(in oklab, var(--site-text) 12%, transparent); } .cl-ph-head i + i { width: 35%; }
.cl-ph-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; max-width: 360px; }
.cl-ph-cal i { aspect-ratio: 1; border-radius: 50%; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.cl-ph-cal i.is-open { background: color-mix(in oklab, var(--site-accent) 30%, transparent); box-shadow: inset 0 0 0 2px var(--site-accent); }
.cl-ph-label { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; color: var(--site-muted); font-size: 13px; }
.ws-sheet .cl-frame { border-radius: calc(var(--site-radius) - 2px); overflow: hidden; }

/* css/site/blocks/callout.css */
/* Callout: info, success, warning, accent, glass. Tones mix the theme's text and accent with fixed hues for meaning. */
.ws-co { --tone: var(--site-accent); position: relative; display: flex; gap: 14px; align-items: flex-start; padding: var(--b-pad, 16px 18px); text-align: start;
  border-radius: var(--b-radius, calc(var(--site-radius) + 2px)); color: var(--b-fg, var(--site-text));
  background: var(--b-bg, color-mix(in oklab, var(--tone) 10%, var(--site-surface))); border: var(--b-border, 1px solid color-mix(in oklab, var(--tone) 26%, transparent)); box-shadow: var(--b-shadow, none); }
.ws-co-info { --tone: color-mix(in oklab, var(--site-accent) 30%, hsl(212 90% 52%)); }
.ws-co-success { --tone: hsl(152 70% 38%); }
.ws-co-warning { --tone: hsl(36 95% 48%); }
.ws-co:is(.ws-co-info, .ws-co-success, .ws-co-warning)::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--tone); }
[dir="rtl"] .ws-co::before { border-radius: 3px 0 0 3px; }
.ws-co-icon { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--tone); background: color-mix(in oklab, var(--tone) 16%, transparent); }
.ws-co-icon svg { width: 18px; height: 18px; }
.ws-co-body { display: grid; gap: 3px; min-width: 0; padding-block-start: 6px; }
.ws-co-title { margin: 0; font-family: var(--site-heading); font-weight: 700; font-size: calc(1rem * var(--b-scale, 1)); letter-spacing: -0.015em; line-height: 1.3; }
.ws-co-text { margin: 0; font-size: 14.5px; line-height: 1.55; color: color-mix(in oklab, currentColor 82%, transparent); text-wrap: pretty; }
.ws-co-link { display: inline-flex; align-items: center; gap: 6px; width: fit-content; min-height: 44px; margin-block: 2px -10px; font-weight: 700; font-size: 14px; color: var(--tone); text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 35%, transparent); text-underline-offset: 4px; }
.ws-co-link svg { width: 15px; height: 15px; transition: translate .18s var(--site-ease); }
.ws-co-link:hover svg { translate: calc(3px * var(--dir-sign, 1)) 0; }
.ws-co-warning .ws-co-link { color: color-mix(in oklab, var(--tone) 60%, var(--site-text)); }
.ws-co-accent { --tone: var(--site-accent-text); background: var(--b-bg, radial-gradient(120% 140% at 100% 0%, color-mix(in oklab, var(--site-accent-text) 18%, transparent), transparent 55%), var(--site-accent)); color: var(--b-fg, var(--site-accent-text)); border: var(--b-border, 0 solid transparent); box-shadow: var(--b-shadow, 0 16px 34px -20px var(--site-accent)); }
.ws-co-accent .ws-co-icon { background: color-mix(in oklab, var(--site-accent-text) 18%, transparent); }
.ws-co-glass { --tone: var(--site-accent); background: var(--b-bg, color-mix(in oklab, var(--site-surface) 55%, transparent)); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4);
  border: var(--b-border, 1px solid color-mix(in oklab, var(--site-text) 12%, transparent)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-dark .ws-co-warning .ws-co-link { color: var(--tone); }
@container ws-page (min-width: 600px) { .ws-co { gap: 16px; padding: var(--b-pad, 18px 22px); } }

/* css/site/blocks/carousel.css */
/* Image carousel: carousel, slideshow (optional autoplay), cards, peek. Scroll snap; arrows, dots and autoplay via site.js. */
.ws-sl { --sl-r: var(--b-radius, calc(var(--site-radius) + 4px)); --shade: color-mix(in oklab, var(--site-ink-dark) 78%, transparent); margin: 0; }
.ws-sl-stage { position: relative; min-width: 0; }
.ws-sl .ws-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding-block-end: 6px; }
.ws-sl .ws-track::-webkit-scrollbar { display: none; }
.ws-sl-slide { flex: 0 0 var(--car-w, 76%); min-width: 0; scroll-snap-align: start; scroll-snap-stop: always; }
.ws-sl-card { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; text-align: start; color: inherit; }
.ws-sl-media { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: var(--shape, 4 / 5); border-radius: var(--sl-r); background: color-mix(in oklab, var(--site-text) 7%, transparent); }
.ws-sl-media .ws-media, .ws-sl-media .ws-media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--b-fit, cover); transition: transform .8s var(--site-ease); }
a.ws-sl-card:hover .ws-sl-media .ws-media { transform: scale(1.04); }
a.ws-sl-card[data-lightbox] { cursor: zoom-in; }
a.ws-sl-card:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 3px; border-radius: var(--sl-r); }
.ws-sl-body { display: grid; gap: 3px; padding-inline: 2px; min-width: 0; }
.ws-sl-t { font-family: var(--site-heading); font-weight: 700; font-size: calc(1rem * var(--b-scale, 1)); letter-spacing: -0.015em; line-height: 1.25; overflow-wrap: anywhere; }
.ws-sl-c { color: var(--site-muted); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-sl-cta { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-block-start: 8px; min-height: 40px; padding: 0 16px; border-radius: var(--site-btn-radius);
  background: var(--site-accent); color: var(--site-accent-text); font-weight: 700; font-size: 13.5px; }
.ws-sl-cta svg { width: 15px; height: 15px; transition: translate .2s var(--site-ease); }
a.ws-sl-card:hover .ws-sl-cta svg { translate: calc(3px * var(--dir-sign, 1)) 0; }
.ws-sl .ws-car-nav { display: flex; }
@container ws-page (min-width: 600px) { .ws-sl-carousel .ws-sl-slide { flex-basis: var(--car-w, 42%); } }
@container ws-page (min-width: 1024px) { .ws-sl-carousel .ws-sl-slide { flex-basis: var(--car-w, calc((100% - 24px) / 3)); } }

/* Slideshow: one wide slide, the words over a soft shade, arrows over the photo. */
.ws-sl-slideshow .ws-track { gap: 0; padding: 0; border-radius: var(--sl-r); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-sl-slideshow .ws-sl-slide { flex-basis: 100%; }
.ws-sl-slideshow .ws-sl-media { border-radius: 0; }
.ws-sl-slideshow .ws-sl-card { gap: 0; }
.ws-sl-slideshow .ws-sl-body { position: absolute; z-index: 2; inset-inline: 0; inset-block-end: 0; padding: 20px 20px 18px; color: var(--site-ink-light); }
.ws-sl-slideshow .ws-sl-t { font-size: calc(1.3rem * var(--b-scale, 1)); letter-spacing: -0.025em; text-wrap: balance; }
.ws-sl-slideshow .ws-sl-c { color: color-mix(in oklab, var(--site-ink-light) 82%, transparent); max-width: 48ch; }
.ws-sl-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, transparent 40%, var(--shade)); pointer-events: none; }
:is(.ws-sl-slideshow, .ws-sl-peek) .ws-car-nav { position: absolute; z-index: 3; inset-inline: 10px; inset-block-start: 50%; margin: 0; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
:is(.ws-sl-slideshow, .ws-sl-peek) .ws-car-nav button { pointer-events: auto; background: color-mix(in oklab, var(--site-surface) 80%, transparent); border-color: transparent; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); box-shadow: var(--site-shadow-md); }
:is(.ws-sl-slideshow, .ws-sl-peek) .ws-car-nav button[disabled] { opacity: 0; pointer-events: none; }
@container ws-page (min-width: 600px) { .ws-sl-slideshow .ws-sl-body { padding: 28px 30px 26px; } .ws-sl-slideshow .ws-sl-t { font-size: calc(1.65rem * var(--b-scale, 1)); } }

/* Cards: each slide is a card with its photo on top and a call to action. */
.ws-sl-cards .ws-sl-slide { flex-basis: var(--car-w, 84%); }
.ws-sl-cards .ws-sl-card { gap: 0; overflow: hidden; }
.ws-sl-cards .ws-sl-media { border-radius: 0; }
.ws-sl-cards .ws-sl-body { padding: 14px 16px 16px; gap: 4px; }
.ws-sl-cards .ws-sl-c { -webkit-line-clamp: 3; }
@container ws-page (min-width: 600px) { .ws-sl-cards .ws-sl-slide { flex-basis: var(--car-w, 58%); } }
@container ws-page (min-width: 1024px) { .ws-sl-cards .ws-sl-slide { flex-basis: var(--car-w, 46%); } }

/* Peek: the current slide in the middle, its neighbours dimmed at the edges. */
.ws-sl-peek .ws-track { padding-inline: 12%; scroll-padding-inline: 12%; gap: 10px; }
.ws-sl-peek .ws-sl-slide { flex-basis: 100%; scroll-snap-align: center; transition: opacity .35s, transform .35s var(--site-ease); }
.ws-sl-peek .ws-sl-body { text-align: center; justify-items: center; padding-block-start: 2px; }
.ws-js .ws-sl-peek .ws-sl-slide { opacity: .45; transform: scale(.93); }
.ws-js .ws-sl-peek .ws-sl-slide.is-current { opacity: 1; transform: none; }
.ws-mode-canvas .ws-sl-peek .ws-sl-slide, .ws-mode-thumb .ws-sl-peek .ws-sl-slide { opacity: 1; transform: none; }
@container ws-page (min-width: 600px) { .ws-sl-peek .ws-track { padding-inline: 22%; scroll-padding-inline: 22%; } }

/* Dots, pause. */
.ws-sl-foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-block-start: 6px; }
.ws-sl-dots { display: flex; flex-wrap: wrap; justify-content: center; }
.ws-sl-dots button { width: 22px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ws-sl-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: color-mix(in oklab, var(--site-text) 26%, transparent); transition: width .25s var(--site-ease), background .25s; }
.ws-sl-dots button.is-on::before { width: 18px; background: var(--site-accent); }
.ws-sl-dots button:focus-visible { outline: 2px solid var(--site-accent); outline-offset: -8px; border-radius: 999px; }
.ws-sl-play { width: 44px; height: 44px; flex: none; border-radius: 50%; border: 1px solid var(--site-line); background: var(--site-surface); color: var(--site-text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--site-shadow-sm); }
.ws-sl-play[hidden] { display: none; }
.ws-sl-play svg { width: 16px; height: 16px; }
.ws-sl-i-play { display: none; }
.ws-sl.is-stopped .ws-sl-i-play { display: grid; }
.ws-sl.is-stopped .ws-sl-i-pause { display: none; }
html:not(.ws-js) .ws-mode-public .ws-sl-dots { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ws-sl-media .ws-media, .ws-sl-peek .ws-sl-slide, .ws-sl-dots button::before { transition: none; }
  a.ws-sl-card:hover .ws-sl-media .ws-media { transform: none; }
}

/* css/site/blocks/columns.css */
/* Columns container: 2, 3, 4 or a sidebar; each child block is a column. Stacks on phones (and tablets when asked). */
.ws-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--cols-gap, 14px); align-items: stretch; }
.ws-cols-gap-s { --cols-gap: 8px; } .ws-cols-gap-l { --cols-gap: 24px; }
.ws-cols-v-start { align-items: start; } .ws-cols-v-center { align-items: center; }
.ws-cols-v-stretch > .ws-block > :not(.ws-sheet) { height: 100%; }
.ws-cols > .ws-block { min-width: 0; }
@container ws-page (min-width: 600px) {
  .ws-cols-stack-mobile.ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-cols-stack-mobile.ws-cols-2.ws-cols-r-wide-start { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .ws-cols-stack-mobile.ws-cols-2.ws-cols-r-wide-end { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .ws-cols-stack-mobile.ws-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-cols-stack-mobile.ws-cols-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-cols-stack-mobile.ws-cols-sidebar { grid-template-columns: minmax(200px, 1fr) minmax(0, 2.2fr); }
}
@container ws-page (min-width: 1024px) {
  .ws-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ws-cols-2.ws-cols-r-wide-start { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); }
  .ws-cols-2.ws-cols-r-wide-end { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
  .ws-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ws-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .ws-cols-sidebar { grid-template-columns: minmax(240px, 1fr) minmax(0, 2.6fr); }
  .ws-cols-sidebar > .ws-block:first-child { position: sticky; top: 24px; align-self: start; }
}

/* css/site/blocks/community_channels.css */
/* Community channels: cards, buttons, rows. Platform colours from blocks/_networks (--net, --net-ink). */
.ws-cc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ws-cc > li { min-width: 0; display: grid; }
.ws-cc-item { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; color: inherit; text-align: start; }
.ws-cc-ico { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }
.ws-site .ws-cc-ico svg { width: 22px; height: 22px; }
.ws-cc-t { flex: 1; min-width: 0; display: grid; gap: 2px; line-height: 1.3; }
.ws-cc-name { font-family: var(--site-heading); font-weight: 750; font-size: 15.5px; letter-spacing: -0.015em; overflow-wrap: anywhere; }
.ws-cc-t small { font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-cc-join { display: inline-flex; align-items: center; gap: 6px; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 750; font-size: 13.5px; white-space: nowrap;
  background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }
.ws-cc-join svg { width: 15px; height: 15px; transition: translate .18s; }
.ws-cc-item:hover .ws-cc-join svg { translate: calc(3px * var(--dir-sign, 1)) 0; }

/* Cards: a tinted card per community. */
.ws-cc-cards { grid-template-columns: minmax(0, 1fr); }
@container ws-page (min-width: 600px) { .ws-cc-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-cc-cards > li:only-child { grid-column: 1 / -1; } }
.ws-cc-cards .ws-cc-item { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; overflow: hidden; isolation: isolate;
  border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); border: var(--b-border, 1px solid color-mix(in oklab, var(--net, var(--site-accent)) 24%, var(--site-line)));
  background: var(--b-bg, radial-gradient(120% 90% at 100% 0%, color-mix(in oklab, var(--net, var(--site-accent)) 16%, transparent), transparent 60%), var(--site-surface)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-cc-plat { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: color-mix(in oklab, var(--net, var(--site-accent)) 75%, var(--site-text)); }
.ws-cc-about { font-size: 13.5px; font-weight: 500; color: var(--site-muted); line-height: 1.45; }
.ws-cc-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; }
.ws-cc-members { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 700; }
.ws-cc-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--net, var(--site-accent)); box-shadow: 0 0 0 3px color-mix(in oklab, var(--net, var(--site-accent)) 25%, transparent); }
.ws-cc-cards .ws-cc-foot .ws-cc-join { margin-inline-start: auto; }

/* Buttons: full width in the platform's colour. */
.ws-cc-buttons .ws-cc-item { min-height: 62px; padding: 9px 18px 9px 9px; border-radius: var(--site-btn-radius); background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); box-shadow: 0 12px 26px -18px var(--net, var(--site-accent)); }
.ws-cc-buttons .ws-cc-ico { background: color-mix(in oklab, var(--net-ink, #FFFFFF) 18%, transparent); color: inherit; }
.ws-cc-buttons .ws-cc-t small { color: inherit; opacity: .8; }
.ws-cc-go svg { width: 18px; height: 18px; }

/* Rows. */
.ws-cc-rows .ws-cc-item { padding: 10px 10px 10px 10px; background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); border-radius: var(--b-radius, calc(var(--site-radius) + 4px)); box-shadow: var(--b-shadow, var(--site-shadow-sm)); }

/* css/site/blocks/contact_buttons.css */
/* Contact buttons: floating (buttons, rows and grid are the shared collection variants). */
.ws-block-contact-buttons.ws-v-floating { width: 100%; }
.cb-float { display: flex; flex-wrap: wrap-reverse; align-items: center; justify-content: flex-end; gap: 10px; padding-inline-end: env(safe-area-inset-right, 0px); }
.cb-fab { display: inline-flex; align-items: center; gap: 8px; min-width: 52px; height: 52px; padding: 0 14px; justify-content: center; border-radius: 999px;
  background: var(--site-surface); color: var(--site-text); box-shadow: 0 16px 34px -14px color-mix(in oklab, var(--site-ink-dark) 60%, transparent), 0 0 0 1px var(--site-line); }
.cb-fab.is-main { background: var(--site-accent); color: var(--site-accent-text); padding-inline: 16px 20px; box-shadow: 0 18px 36px -14px var(--site-accent); }
.cb-fab-ico { display: grid; place-items: center; }
.cb-fab-ico svg { width: 21px; height: 21px; }
.cb-fab-t { font-weight: 800; font-size: 14.5px; white-space: nowrap; }
.cb-fab:not(.is-main) { padding: 0; width: 52px; }
.ws-mode-canvas .cb-float { justify-content: flex-end; }

/* css/site/blocks/contact_card.css */
/* Save my contact: button (the classic look), card, qr. */
.ws-vc { padding: var(--b-pad, 20px); display: grid; gap: 14px; text-align: start; }
.ws-vc-head { display: flex; align-items: center; gap: 12px; }
.ws-vc-avatar { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-family: var(--site-heading); font-weight: 700; font-size: 1.3rem; background: var(--site-accent); color: var(--site-accent-text); flex: none; }
.ws-vc-head p { margin: 0; }
.ws-vc-rows { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ws-vc-rows li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; min-width: 0; }
.ws-vc-rows li span { overflow-wrap: anywhere; }
.ws-vc-rows svg { color: var(--site-accent); width: 16px; height: 16px; }
.ws-vc-save { width: 100%; }
.ws-vc-qr { width: min(220px, 70%); margin-inline: auto; padding: 12px; border-radius: 16px; background: #FFFFFF; color: #0E1A15; }
.ws-vc-qr svg { width: 100%; height: auto; display: block; }
.ws-vc-qr { text-align: center; }

/* css/site/blocks/contact_form.css */
/* Contact form: card, inline, split (fields from modules/forms). */
.cf { display: grid; gap: 18px; padding: var(--b-pad, 22px); text-align: start; }
.cf-inline { padding: var(--b-pad, 0); }
.cf-copy { display: grid; gap: 6px; align-content: start; }
.cf-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.3rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.cf-text { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; }
.cf-reply { margin: 4px 0 0; display: inline-flex; align-items: center; gap: 7px; width: fit-content; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700;
  background: color-mix(in oklab, var(--site-accent) 11%, transparent); color: var(--site-text); }
.cf-reply svg { width: 14px; height: 14px; color: var(--site-accent); }
.cf-badge { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 6px; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 12px 24px -14px var(--site-accent); }
.cf-badge svg { width: 22px; height: 22px; }
.cf-form { margin: 0; }
.cf-send { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 0 20px; border: 0; border-radius: var(--site-btn-radius);
  font: inherit; font-weight: 800; cursor: pointer; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 14px 28px -16px var(--site-accent); transition: transform .18s var(--site-ease), filter .18s; }
.cf-send:hover { transform: translateY(-1px); filter: brightness(1.05); }
.cf-send svg { width: 17px; height: 17px; }
.cf-done { display: grid; justify-items: center; gap: 10px; padding: 18px 8px; text-align: center; }
.cf-done p { margin: 0; font-weight: 600; max-width: 38ch; }
.cf-done-icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); animation: cf-pop .5s var(--site-ease) both; }
.cf-done-icon svg { width: 26px; height: 26px; stroke-width: 3; }
@keyframes cf-pop { from { transform: scale(.6); opacity: 0; } }
.cf .wf-grid { gap: 12px; }
@container ws-page (max-width: 440px) { .cf .wf-field.wf-w-half { grid-column: 1 / -1; } }
@container ws-page (min-width: 600px) {
  .cf-split { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px; padding: var(--b-pad, 28px); }
  .cf-split .cf-title { font-size: calc(1.6rem * var(--b-scale, 1)); }
}
@media (prefers-reduced-motion: reduce) { .cf-done-icon { animation: none; } .cf-send { transition: none; } }
.cf-split .cf-form .wf-field.wf-w-half { grid-column: 1 / -1; }

/* css/site/blocks/countdown.css */
/* Countdown: card (the classic look), banner, flip, minimal, bar, ring. */
.ws-countdown-grid { margin-top: 12px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.ws-countdown-grid div { display: grid; padding: 10px 4px; border-radius: calc(var(--site-radius) - 4px); background: color-mix(in oklab, var(--site-accent) 12%, transparent); }
.ws-countdown-grid strong { font-size: 1.5rem; font-variant-numeric: tabular-nums; line-height: 1.1; }
.ws-countdown-grid span { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--site-muted); }
.ws-countdown-ended { margin: 10px 0 0; font-weight: 600; }
.ws-heading-serif .ws-countdown .ws-card-title { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.ws-cd-banner { display: grid; gap: 10px; align-items: center; padding: var(--b-pad, 14px 18px); text-align: start; }
.ws-cd-banner .ws-countdown-grid { margin: 0; gap: 6px; }
.ws-cd-banner .ws-countdown-grid div { padding: 6px 2px; text-align: center; }
@container ws-page (min-width: 600px) { .ws-cd-banner { grid-template-columns: minmax(0, 1fr) auto; } .ws-cd-banner .ws-countdown-grid { grid-template-columns: repeat(4, 64px); } }
.ws-cd-flip { padding: var(--b-pad, 20px); text-align: center; }
.ws-cd-flip .ws-countdown-grid div { position: relative; padding: 14px 4px 10px; background: color-mix(in oklab, var(--site-text) 90%, var(--site-bg-base)); color: var(--site-bg-base); box-shadow: inset 0 -2px 0 rgb(0 0 0 / .2), var(--site-shadow-sm); }
.ws-cd-flip .ws-countdown-grid div::after { content: ""; position: absolute; inset-inline: 0; top: 50%; height: 1px; background: rgb(0 0 0 / .25); }
.ws-cd-flip .ws-countdown-grid strong { font-size: 1.9rem; }
.ws-cd-flip .ws-countdown-grid span { color: color-mix(in oklab, var(--site-bg-base) 70%, transparent); }
.ws-cd-minimal { text-align: var(--b-align, center); }
.ws-cd-minimal .ws-countdown-grid { gap: 2px; max-width: 360px; margin-inline: auto; }
.ws-cd-minimal .ws-countdown-grid div { background: none; }
.ws-cd-minimal .ws-countdown-grid strong { font-family: var(--site-heading); font-size: 2.2rem; font-weight: 700; letter-spacing: -0.04em; }
.ws-cd-bar { padding: var(--b-pad, 16px 18px); text-align: start; }
.ws-cd-bar .ws-countdown-grid { grid-template-columns: repeat(4, auto); justify-content: start; gap: 14px; margin-top: 6px; }
.ws-cd-bar .ws-countdown-grid div { background: none; padding: 0; display: flex; align-items: baseline; gap: 4px; }
.ws-cd-track { margin-top: 12px; height: 8px; border-radius: 999px; background: color-mix(in oklab, var(--site-text) 10%, transparent); overflow: hidden; }
.ws-cd-track span { display: block; height: 100%; width: var(--p, 50%); border-radius: inherit; background: linear-gradient(90deg, color-mix(in oklab, var(--site-accent) 60%, transparent), var(--site-accent)); }
.ws-cd-ring { padding: var(--b-pad, 20px); text-align: center; }
.ws-cd-ring .ws-countdown-grid div { aspect-ratio: 1; align-content: center; border-radius: 50%; background: conic-gradient(var(--site-accent) var(--turn, 75%), color-mix(in oklab, var(--site-accent) 14%, transparent) 0); position: relative; }
.ws-cd-ring .ws-countdown-grid div::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--site-surface); }
.ws-cd-ring .ws-countdown-grid div > * { position: relative; }
.ws-cd-ring .ws-countdown-grid div:nth-child(2) { --turn: 60%; } .ws-cd-ring .ws-countdown-grid div:nth-child(3) { --turn: 45%; } .ws-cd-ring .ws-countdown-grid div:nth-child(4) { --turn: 30%; }

/* css/site/blocks/cta.css */
/* Call to action: hero, split, card, banner, minimal, gradient, glass, premium. */
.ws-ctab { position: relative; isolation: isolate; overflow: hidden; display: grid; gap: 20px; padding: var(--b-pad, 28px 22px); text-align: center;
  border-radius: var(--b-radius, calc(var(--site-radius) + 10px)); color: var(--b-fg, var(--site-text)); }
.ws-ctab-body { position: relative; display: grid; justify-items: center; gap: 10px; min-width: 0; }
.ws-site .ws-ctab-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.ws-ctab-h { margin: 0; max-width: 22ch; font-family: var(--site-heading); font-size: calc(1.62rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.035em; line-height: 1.08; text-wrap: balance; overflow-wrap: anywhere; }
.ws-site .ws-ctab-text { margin: 0; max-width: 46ch; color: var(--site-muted); font-size: 15px; line-height: 1.55; text-wrap: pretty; }
.ws-ctab-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; width: 100%; margin-top: 8px; }
.ws-ctab-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: var(--site-btn-radius); font-weight: 750; font-size: 15px; letter-spacing: -0.01em; text-align: center;
  transition: transform .18s var(--site-ease), box-shadow .18s, background .18s, border-color .18s; }
.ws-ctab-btn svg { width: 17px; height: 17px; transition: translate .18s var(--site-ease); }
.ws-ctab-btn:hover { transform: translateY(-2px); }
.ws-ctab-btn:hover svg { translate: calc(3px * var(--dir-sign, 1)) 0; }
.ws-ctab-btn.is-primary { background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 14px 30px -16px var(--site-accent); }
.ws-ctab-btn.is-primary:hover { box-shadow: 0 18px 36px -14px var(--site-accent); }
.ws-ctab-btn.is-secondary { background: color-mix(in oklab, currentColor 6%, transparent); color: inherit; border: 1.5px solid color-mix(in oklab, currentColor 18%, transparent); }
.ws-ctab-btn.is-secondary svg { display: none; }
.ws-site .ws-ctab-note { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 6px; color: var(--site-muted); font-size: 12.5px; font-weight: 600; }
.ws-ctab-note svg { width: 14px; height: 14px; color: var(--site-accent); }
.ws-ctab-media { display: block; overflow: hidden; aspect-ratio: 16 / 10; border-radius: calc(var(--site-radius) + 4px); box-shadow: var(--site-shadow-md); }
.ws-ctab-media .ws-media { width: 100%; height: 100%; object-fit: var(--b-fit, cover); }
.ws-ctab-bg { position: absolute; inset: 0; z-index: -2; }
.ws-ctab-bg .ws-media { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--site-ease); }
.ws-ctab:hover .ws-ctab-bg .ws-media { transform: scale(1.03); }
.ws-ctab-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(0 0 0 / .08) 0%, rgb(0 0 0 / .35) 45%, rgb(0 0 0 / .78) 100%); }
.ws-ctab-glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
@container ws-page (max-width: 440px) { .ws-ctab-actions > * { flex: 1 1 100%; } }
@container ws-page (min-width: 600px) { .ws-ctab { padding: var(--b-pad, 38px 34px); } .ws-ctab-h { font-size: calc(2rem * var(--b-scale, 1)); } }
.ws-s-align-start .ws-ctab { text-align: start; } .ws-s-align-start .ws-ctab-body { justify-items: start; } .ws-s-align-start .ws-ctab-actions { justify-content: flex-start; }

/* Hero: a soft accent glow on the surface, a large headline, media beneath. */
.ws-ctab-hero { padding-block: var(--b-pad, 40px 30px); border: var(--b-border, 1px solid var(--site-line)); box-shadow: var(--b-shadow, var(--site-shadow-md));
  background: var(--b-bg, radial-gradient(90% 70% at 50% -10%, color-mix(in oklab, var(--site-accent) 22%, transparent), transparent 70%), var(--site-surface)); }
.ws-ctab-hero .ws-ctab-h { font-size: calc(1.9rem * var(--b-scale, 1)); }
@container ws-page (min-width: 600px) { .ws-ctab-hero .ws-ctab-h { font-size: calc(2.5rem * var(--b-scale, 1)); } .ws-ctab-hero { padding-block: var(--b-pad, 56px 40px); } }
@container ws-page (min-width: 1024px) { .ws-ctab-hero .ws-ctab-h { font-size: calc(2.9rem * var(--b-scale, 1)); } }

/* Split: media beside the words (stacked on phones, media first). */
.ws-ctab-split { text-align: start; background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-ctab-split .ws-ctab-body { justify-items: start; }
.ws-ctab-split .ws-ctab-actions { justify-content: flex-start; }
.ws-ctab-split.has-media { padding: var(--b-pad, 14px); gap: 18px; }
.ws-ctab-split.has-media .ws-ctab-body { padding: 4px 8px 12px; }
.ws-ctab-split.has-media:not(.is-media-start) .ws-ctab-media { order: -1; }
.ws-ctab-split .ws-ctab-media { aspect-ratio: 4 / 3; }
@container ws-page (min-width: 600px) {
  .ws-ctab-split.has-media { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 26px; }
  .ws-ctab-split.has-media:not(.is-media-start) .ws-ctab-media { order: 0; }
  .ws-ctab-split.has-media .ws-ctab-body { padding: 18px 8px 18px 18px; }
  .ws-ctab-split .ws-ctab-media { aspect-ratio: 1; height: 100%; }
  .ws-ctab-split .ws-ctab-actions > * { flex: 0 1 auto; }
}

/* Card: media on top of a card, words left-aligned below. */
.ws-ctab-card { text-align: start; background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-ctab-card .ws-ctab-body { justify-items: start; }
.ws-ctab-card .ws-ctab-actions { justify-content: flex-start; }
.ws-ctab-card.has-media { padding: 0; gap: 0; }
.ws-ctab-card.has-media .ws-ctab-media { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 9; }
.ws-ctab-card.has-media .ws-ctab-body { padding: var(--b-pad, 22px 22px 24px); }
.ws-ctab-card .ws-ctab-h { font-size: calc(1.4rem * var(--b-scale, 1)); }

/* Banner: the words over the image (or over a deep accent wash), anchored to the bottom. */
.ws-ctab-banner { min-height: 280px; align-content: end; text-align: start; color: var(--site-on-media); --site-muted: color-mix(in oklab, var(--site-on-media) 80%, transparent);
  box-shadow: var(--b-shadow, var(--site-shadow-lg)); background: color-mix(in oklab, var(--site-accent) 70%, var(--site-ink-dark)); }
.ws-ctab-banner .ws-ctab-body { justify-items: start; }
.ws-ctab-banner .ws-ctab-actions { justify-content: flex-start; }
.ws-ctab-banner .ws-ctab-eyebrow, .ws-ctab-gradient .ws-ctab-eyebrow { background: color-mix(in oklab, var(--site-on-media) 18%, transparent); color: var(--site-on-media); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.ws-ctab-banner .ws-ctab-note svg, .ws-ctab-gradient .ws-ctab-note svg { color: currentColor; }
.ws-ctab-banner.no-media .ws-ctab-glow { background: radial-gradient(70% 90% at 100% 0%, color-mix(in oklab, var(--site-accent) 80%, var(--site-on-media)) 0%, transparent 60%),
  radial-gradient(60% 80% at 0% 100%, color-mix(in oklab, var(--site-accent) 60%, var(--site-ink-dark)), transparent 70%); }
@container ws-page (min-width: 600px) { .ws-ctab-banner { min-height: 340px; } }

/* Minimal: no surface, just the words and arrow links between two hairlines. */
.ws-ctab-minimal { padding: var(--b-pad, 30px 4px); border-radius: 0; border-block: 1px solid color-mix(in oklab, currentColor 14%, transparent); gap: 8px; }
.ws-ctab-minimal .ws-ctab-eyebrow { background: none; padding: 0; }
.ws-ctab-minimal .ws-ctab-actions { gap: 4px 18px; margin-top: 4px; }
.ws-ctab-minimal .ws-ctab-btn { min-height: 44px; padding: 0 2px; border: 0; border-radius: 0; background: none; box-shadow: none; flex: 0 0 auto; }
.ws-ctab-minimal .ws-ctab-btn span { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .25s var(--site-ease); padding-bottom: 2px; }
.ws-ctab-minimal .ws-ctab-btn:hover { transform: none; }
.ws-ctab-minimal .ws-ctab-btn:hover span { background-size: 100% 1.5px; }
.ws-ctab-minimal .ws-ctab-btn.is-primary { color: var(--site-accent); }
.ws-ctab-minimal .ws-ctab-btn.is-secondary { color: inherit; opacity: .78; }
.ws-ctab-minimal .ws-ctab-btn.is-secondary svg { display: inline; }

/* Gradient: a vivid accent mesh with light text and a light main button. */
.ws-ctab-gradient { color: var(--site-on-media); --site-muted: color-mix(in oklab, var(--site-on-media) 82%, transparent); box-shadow: var(--b-shadow, 0 24px 50px -26px var(--site-accent));
  background: var(--b-bg, linear-gradient(135deg, color-mix(in oklab, var(--site-accent) 92%, var(--site-on-media)) 0%, var(--site-accent) 45%, color-mix(in oklab, var(--site-accent) 55%, var(--site-ink-dark)) 100%)); }
.ws-ctab-gradient .ws-ctab-glow { background: radial-gradient(45% 60% at 85% 10%, rgb(255 255 255 / .35), transparent 70%), radial-gradient(50% 60% at 10% 100%, color-mix(in oklab, var(--site-accent) 40%, var(--site-ink-dark)), transparent 70%); }
.ws-ctab-gradient .ws-ctab-btn.is-primary, .ws-ctab-banner .ws-ctab-btn.is-primary { background: var(--site-on-media); color: color-mix(in oklab, var(--site-accent) 45%, var(--site-ink-dark)); box-shadow: 0 14px 30px -16px rgb(0 0 0 / .5); }
.ws-ctab-gradient .ws-ctab-btn.is-secondary, .ws-ctab-banner .ws-ctab-btn.is-secondary { background: color-mix(in oklab, var(--site-on-media) 14%, transparent); border-color: color-mix(in oklab, var(--site-on-media) 40%, transparent); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* Glass: frosted glass over soft colour (or over the image). */
.ws-ctab-glass { padding: var(--b-pad, 18px); background: color-mix(in oklab, var(--site-accent) 10%, var(--site-surface)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-ctab-glass .ws-ctab-glow { background: radial-gradient(45% 60% at 15% 12%, var(--site-accent), transparent 70%),
  radial-gradient(42% 55% at 90% 28%, color-mix(in oklab, var(--site-accent) 60%, #7C5CFF), transparent 70%),
  radial-gradient(50% 60% at 55% 105%, color-mix(in oklab, var(--site-accent) 70%, var(--site-ink-dark)), transparent 72%); filter: saturate(1.3); }
.ws-ctab-glass .ws-ctab-body { padding: 26px 20px; border-radius: calc(var(--site-radius) + 6px); background: color-mix(in oklab, var(--site-surface) 56%, transparent);
  border: 1px solid color-mix(in oklab, var(--site-on-media) 50%, transparent); box-shadow: inset 0 1px 0 color-mix(in oklab, var(--site-on-media) 50%, transparent), 0 20px 40px -24px rgb(0 0 0 / .45);
  backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); }
.ws-ctab-glass.has-media { min-height: 300px; align-content: end; }
@container ws-page (min-width: 600px) { .ws-ctab-glass { padding: var(--b-pad, 34px); } .ws-ctab-glass .ws-ctab-body { padding: 34px 30px; } }

/* Premium: an ink card with an accent glow, gradient headline and a fine gradient border. */
.ws-ctab-premium { color: var(--site-ink-light); --site-muted: color-mix(in oklab, var(--site-ink-light) 68%, transparent); box-shadow: var(--b-shadow, 0 30px 60px -30px rgb(0 0 0 / .7));
  background: var(--b-bg, radial-gradient(100% 70% at 50% -10%, color-mix(in oklab, var(--site-accent) 38%, transparent), transparent 62%), linear-gradient(180deg, color-mix(in oklab, var(--site-ink-dark) 88%, var(--site-accent)), var(--site-ink-dark))); }
.ws-ctab-premium::before { content: ""; position: absolute; inset: 0; z-index: 0; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(160deg, color-mix(in oklab, var(--site-accent) 80%, var(--site-ink-light)), transparent 35%, transparent 65%, color-mix(in oklab, var(--site-accent) 50%, transparent));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.ws-ctab-premium .ws-ctab-glow { background: radial-gradient(30% 40% at 50% 0%, color-mix(in oklab, var(--site-accent) 55%, transparent), transparent 70%); filter: blur(10px); }
.ws-ctab-premium .ws-ctab-eyebrow { background: color-mix(in oklab, var(--site-accent) 22%, transparent); color: color-mix(in oklab, var(--site-accent) 60%, var(--site-ink-light)); border: 1px solid color-mix(in oklab, var(--site-accent) 40%, transparent); }
.ws-ctab-premium .ws-ctab-h { background: linear-gradient(180deg, var(--site-ink-light) 30%, color-mix(in oklab, var(--site-ink-light) 55%, var(--site-accent))); -webkit-background-clip: text; background-clip: text; color: transparent; padding-bottom: .06em; }
.ws-ctab-premium .ws-ctab-btn.is-primary { box-shadow: 0 0 0 1px color-mix(in oklab, var(--site-accent) 60%, var(--site-ink-light)), 0 16px 40px -12px var(--site-accent); }
.ws-ctab-premium .ws-ctab-btn.is-secondary { background: color-mix(in oklab, var(--site-ink-light) 7%, transparent); border-color: color-mix(in oklab, var(--site-ink-light) 18%, transparent); }
.ws-ctab-premium .ws-ctab-media { border: 1px solid color-mix(in oklab, var(--site-ink-light) 12%, transparent); box-shadow: 0 20px 40px -20px rgb(0 0 0 / .8); }
@container ws-page (min-width: 600px) { .ws-ctab-premium { padding: var(--b-pad, 48px 40px); } .ws-ctab-premium .ws-ctab-h { font-size: calc(2.2rem * var(--b-scale, 1)); } }

/* css/site/blocks/divider.css */
/* Divider: line, dots, space (the classic three), wave, gradient, ornament. */
.ws-divider { display: flex; justify-content: center; align-items: center; padding: 6px 0; color: color-mix(in oklab, var(--site-text) 22%, transparent); }
.ws-divider-line span { display: block; width: 100%; height: 1px; background: color-mix(in oklab, var(--site-text) 14%, transparent); }
.ws-divider-dots span { display: block; width: 40px; height: 6px; background: radial-gradient(circle, color-mix(in oklab, var(--site-text) 35%, transparent) 2px, transparent 2.5px) 0 0 / 13px 6px repeat-x; }
.ws-divider-space span { height: 12px; }
.ws-divider-wave svg { width: 120px; height: 12px; color: color-mix(in oklab, var(--site-accent) 70%, transparent); }
.ws-divider-gradient span { display: block; width: 100%; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--site-accent), transparent); }
.ws-divider-ornament { gap: 14px; color: var(--site-accent); }
.ws-orn-line { flex: 1; max-width: 120px; height: 1px; background: color-mix(in oklab, var(--site-text) 18%, transparent); }
.ws-orn { font-size: 14px; line-height: 1; }

/* css/site/blocks/donate.css */
/* Donate: card, amounts, featured, compact, button (shared parts in modules/donations). */
.sp-dv-card.has-media .sp-body { padding-top: 18px; }
.sp-dv-amounts .sp-body { gap: 16px; }
.sp-dv-amounts .sp-title { font-size: calc(1.22rem * var(--b-scale, 1)); }
.sp-dv-featured .sp-hero { position: relative; min-height: 240px; display: flex; align-items: flex-end; isolation: isolate; color: var(--site-on-media);
  background: radial-gradient(80% 90% at 100% 0%, color-mix(in oklab, var(--site-surface) 30%, transparent), transparent 60%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 90%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 55%, var(--site-ink-dark))); }
.sp-dv-featured .sp-hero-img { position: absolute; inset: 0; z-index: -2; }
.sp-dv-featured.has-media .sp-hero-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 25%, color-mix(in oklab, var(--site-ink-dark) 78%, transparent)); }
.sp-hero-text { display: grid; gap: 10px; padding: 22px var(--b-pad, 22px) 20px; }
.sp-dv-featured .sp-title { font-size: calc(1.7rem * var(--b-scale, 1)); color: var(--site-on-media); text-wrap: balance; }
.sp-tag { display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .02em;
  background: color-mix(in oklab, var(--site-ink-dark) 35%, transparent); color: var(--site-on-media); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.sp-tag svg { width: 14px; height: 14px; }
@container ws-page (min-width: 600px) { .sp-dv-featured .sp-hero { min-height: 300px; } .sp-dv-featured .sp-title { font-size: calc(2rem * var(--b-scale, 1)); } }

/* css/site/blocks/download.css */
/* Download: its own card (a file card); button, card-horizontal, thumb-row and featured are shared. */
.ws-site .ws-dl { display: flex; align-items: center; gap: 16px; padding: var(--b-pad, 14px); text-align: start; }
.ws-dl-file { position: relative; width: 84px; height: 104px; flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 10px 22px 10px 10px; color: var(--site-accent-text);
  background: radial-gradient(90% 70% at 100% 0%, rgb(255 255 255 / .3), transparent 60%), linear-gradient(160deg, color-mix(in oklab, var(--site-accent) 85%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 60%, var(--site-text)));
  box-shadow: 0 14px 26px -16px color-mix(in oklab, var(--site-accent) 70%, var(--site-text)); }
.ws-dl-file::after { content: ""; position: absolute; top: 0; inset-inline-end: 0; width: 22px; height: 22px; background: linear-gradient(225deg, var(--site-surface) 50%, rgb(255 255 255 / .35) 50%); border-end-start-radius: 8px; }
.ws-dl-file.has-media::after { display: none; }
.ws-dl-file .ws-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-site .ws-dl-file > svg { width: 32px; height: 32px; margin-bottom: 14px; }
.ws-dl-type { position: absolute; bottom: 8px; inset-inline: 8px; padding: 2px 0; border-radius: 6px; text-align: center; font-size: 11px; font-weight: 800; letter-spacing: .06em; background: rgb(0 0 0 / .22); color: #FFFFFF; backdrop-filter: blur(4px); }
.ws-dl-body { flex: 1; min-width: 0; display: grid; gap: 5px; }
.ws-dl-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 6px; }
.ws-dl-btn { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 16px; border-radius: var(--site-btn-radius); background: var(--site-accent); color: var(--site-accent-text); font-weight: 750; font-size: 14px; box-shadow: 0 10px 22px -14px var(--site-accent); }
.ws-dl-btn svg { width: 16px; height: 16px; transition: translate .2s var(--site-ease); }
.ws-dl:hover .ws-dl-btn svg { translate: 0 2px; }
.ws-dl-size { font-size: 12.5px; font-weight: 700; color: var(--site-muted); font-variant-numeric: tabular-nums; }

/* css/site/blocks/email_capture.css */
/* Email sign-up: card (the classic look), inline, banner, split, minimal, gradient, sticky. */
.ws-capture .ws-ec-copy { display: grid; gap: 0; }
@container ws-page (max-width: 420px) { .ws-capture-row { flex-direction: column; } .ws-capture-row .ws-input { flex: none; width: 100%; } .ws-capture .ws-submit { width: 100%; } }
.ws-ec-inline { text-align: var(--b-align, center); }
.ws-ec-banner { display: grid; gap: 12px; padding: var(--b-pad, 18px 20px); text-align: start; }
.ws-ec-banner .ws-capture-form { margin-top: 0; }
@container ws-page (min-width: 600px) { .ws-ec-banner { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: center; gap: 24px; } }
.ws-ec-split { display: grid; gap: 16px; padding: var(--b-pad, 24px); text-align: start; }
@container ws-page (min-width: 600px) { .ws-ec-split { grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; } .ws-ec-split .ws-capture-form { margin-top: 0; } }
.ws-ec-split .ws-card-title { font-size: 1.45rem; letter-spacing: -0.03em; }
.ws-ec-minimal { text-align: var(--b-align, center); }
.ws-ec-minimal .ws-input { border-radius: 0; border-width: 0 0 1.5px; background: transparent; padding-inline: 2px; }
.ws-ec-minimal .ws-submit { background: transparent; color: var(--site-text); border-bottom: 1.5px solid currentColor; border-radius: 0; padding-inline: 6px; }
.ws-ec-gradient { padding: var(--b-pad, 26px 22px); text-align: center; --b-bg: radial-gradient(120% 120% at 100% 0%, rgb(255 255 255 / .28), transparent 50%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 92%, #fff), color-mix(in oklab, var(--site-accent) 62%, #000)); --b-fg: var(--site-accent-text); --b-border: 0 solid transparent; --b-shadow: 0 24px 50px -26px var(--site-accent); }
.ws-ec-gradient .ws-card-text { color: color-mix(in oklab, var(--site-accent-text) 80%, transparent); }
.ws-ec-gradient .ws-submit { background: var(--site-accent-text); color: var(--site-accent); }
.ws-ec-gradient .ws-input { background: color-mix(in oklab, var(--site-accent-text) 92%, transparent); border-color: transparent; color: var(--site-ink-dark); }
.ws-ec-gradient .ws-consent { color: color-mix(in oklab, var(--site-accent-text) 80%, transparent); }
.ws-ec-sticky { display: flex; align-items: center; gap: 12px; padding: var(--b-pad, 10px 12px); text-align: start; --b-shadow: var(--site-shadow-float); }
.ws-ec-sticky .ws-ec-copy { flex: 1; min-width: 0; }
.ws-ec-sticky .ws-card-title { font-size: 14.5px; }
.ws-ec-sticky .ws-capture-form { margin: 0; flex: 1.4; }
.ws-ec-sticky .ws-consent { display: none; }
.ws-ec-gradient .ws-input::placeholder { color: color-mix(in oklab, var(--site-ink-dark) 55%, transparent); }

/* css/site/blocks/embed.css */
/* Video & music embeds: player (the classic look), card, compact. */
.ws-embed { width: 100%; overflow: hidden; border-radius: var(--site-radius); background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-embed iframe { display: block; width: 100%; height: 100%; min-height: 152px; border: 0; }
.ws-embed-spotify iframe, .ws-embed-soundcloud iframe { min-height: 152px; }
.ws-embed-preview { height: 100%; border-style: solid; }
.ws-embed-wrap.ws-ev-card { padding: 12px; display: grid; gap: 10px; }
.ws-embed-head { display: grid; gap: 2px; padding: 4px 6px 0; text-align: start; }
.ws-embed-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.ws-embed-row-t { flex: 1; min-width: 0; display: grid; gap: 2px; text-align: start; }

/* css/site/blocks/event.css */
/* Event (ADR-0068, W3): card, featured, split, banner, ticket, compact. Shared parts: the date tile, the "when" line
   (with the visitor's own time added by site.js), facts, and the button with an add-to-calendar disclosure. */
.ws-ev { position: relative; min-width: 0; text-align: start; }
.ws-ev-body { display: grid; gap: 8px; min-width: 0; }
.ws-ev-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.3rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; overflow-wrap: anywhere; }
.ws-heading-serif .ws-ev-title { font-style: italic; font-weight: 400; }
.ws-ev-cue { margin: 0; width: fit-content; padding: 3px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.is-live .ws-ev-cue { background: var(--site-accent); color: var(--site-accent-text); }
.ws-ev-when { display: flex; align-items: flex-start; gap: 8px; margin: 0; font-size: 14px; font-weight: 700; line-height: 1.4; }
.ws-ev-when > svg { width: 17px; height: 17px; margin-top: 1px; color: var(--site-accent); }
.ws-ev-when time { display: block; }
.ws-ev-local { display: block; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-ev-facts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 0; padding: 0; list-style: none; font-size: 13px; font-weight: 600; color: var(--site-muted); }
.ws-ev-facts li { display: inline-flex; align-items: center; gap: 6px; }
.ws-ev-facts svg { width: 15px; height: 15px; }
.ws-ev-places.is-few { color: color-mix(in oklab, var(--site-accent) 80%, var(--site-text)); font-weight: 800; }
.ws-ev-text { margin: 2px 0 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

.ws-ev-date { display: grid; justify-items: center; align-content: center; width: 60px; min-height: 64px; padding: 6px 4px; border-radius: calc(var(--site-radius) + 2px); line-height: 1.05; text-align: center;
  background: var(--site-surface); color: var(--site-text); box-shadow: 0 10px 24px -14px rgb(0 0 0 / .45); font-variant-numeric: tabular-nums; }
.ws-ev-date small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.ws-ev-date small:first-child { color: var(--site-accent); }
.ws-ev-date small:last-child { color: var(--site-muted); font-weight: 700; letter-spacing: .04em; }
.ws-ev-date b { font-family: var(--site-heading); font-size: 1.6rem; font-weight: 800; letter-spacing: -0.04em; }

.ws-ev-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.ws-ev-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 20px; border-radius: var(--site-btn-radius); flex: 1 1 auto;
  background: var(--site-accent); color: var(--site-accent-text); font-weight: 800; font-size: 15px; box-shadow: 0 12px 26px -14px var(--site-accent); transition: transform .18s var(--site-ease), filter .18s; }
.ws-ev-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ws-ev-btn-price { padding: 3px 9px; border-radius: 999px; font-size: 13px; background: color-mix(in oklab, var(--site-accent-text) 18%, transparent); font-variant-numeric: tabular-nums; }
.ws-ev-btn.is-off { background: color-mix(in oklab, var(--site-text) 8%, transparent); color: var(--site-muted); box-shadow: none; cursor: default; flex: 0 1 auto; }
.ws-ev-btn.is-off:hover { transform: none; filter: none; }
.ws-ev-btn.is-small { flex: none; min-height: 44px; padding: 0 16px; font-size: 13.5px; }
.ws-ev-pricetag { font-weight: 800; font-variant-numeric: tabular-nums; }
.ws-ev-cal { position: relative; }
.ws-ev-cal summary { display: inline-flex; align-items: center; gap: 7px; min-height: 48px; padding: 0 16px; border-radius: var(--site-btn-radius); cursor: pointer; list-style: none;
  font-weight: 700; font-size: 14px; border: 1.5px solid color-mix(in oklab, currentColor 20%, transparent); }
.ws-ev-cal summary::-webkit-details-marker { display: none; }
.ws-ev-cal summary svg { width: 16px; height: 16px; }
.ws-ev-cal[open] summary { background: color-mix(in oklab, currentColor 6%, transparent); }
.ws-ev-cal-menu { position: absolute; z-index: 5; inset-inline-end: 0; top: calc(100% + 6px); min-width: 210px; display: grid; padding: 6px; border-radius: calc(var(--site-radius) + 4px);
  background: var(--site-surface); color: var(--site-text); border: 1px solid var(--site-line); box-shadow: var(--site-shadow-lg); }
.ws-ev-cal-menu a { display: flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: calc(var(--site-radius) - 2px); font-size: 14px; font-weight: 600; }
.ws-ev-cal-menu a:hover, .ws-ev-cal-menu a:focus-visible { background: color-mix(in oklab, var(--site-accent) 12%, transparent); }

.ws-ev-media, .ws-ev-hero { position: relative; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-ev-media .ws-ev-date, .ws-ev-hero .ws-ev-date { position: absolute; top: 12px; inset-inline-start: 12px; }
.is-ended .ws-ev-media img, .is-ended .ws-ev-hero img { filter: grayscale(1); opacity: .7; }

/* Card */
.ws-ev-card { overflow: hidden; }
.ws-ev-card .ws-ev-media { aspect-ratio: 16 / 9; }
.ws-ev-card .ws-ev-body { padding: var(--b-pad, 16px 18px 18px); }

/* Featured */
.ws-ev-featured { overflow: hidden; }
.ws-ev-hero { aspect-ratio: 4 / 5; color: var(--site-on-media); }
@container ws-page (min-width: 600px) { .ws-ev-hero { aspect-ratio: 16 / 9; } }
.ws-ev-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / .72)); }
.ws-ev-hero-txt { position: absolute; inset-inline: 0; bottom: 0; display: grid; gap: 8px; padding: 20px; }
.ws-ev-hero-txt .ws-ev-title { font-size: calc(1.7rem * var(--b-scale, 1)); color: var(--site-on-media); text-shadow: 0 2px 18px rgb(0 0 0 / .35); }
.ws-ev-hero-txt .ws-ev-cue { background: rgb(255 255 255 / .2); color: var(--site-on-media); backdrop-filter: blur(8px); }
.ws-ev-featured .ws-ev-body { padding: var(--b-pad, 16px 20px 20px); }

/* Split */
.ws-ev-split { display: grid; overflow: hidden; }
.ws-ev-split .ws-ev-media { aspect-ratio: 16 / 9; }
.ws-ev-split .ws-ev-body { padding: var(--b-pad, 16px 18px 18px); }
@container ws-page (min-width: 600px) {
  .ws-ev-split { grid-template-columns: minmax(0, 42%) minmax(0, 1fr); }
  .ws-ev-split .ws-ev-media { aspect-ratio: auto; min-height: 100%; }
  .ws-ev-split .ws-ev-body { align-self: center; padding: var(--b-pad, 22px); }
}

/* Banner */
.ws-ev-banner { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; align-items: center; padding: var(--b-pad, 16px); border-radius: var(--b-radius, calc(var(--site-radius) + 8px));
  background: var(--b-bg, radial-gradient(90% 120% at 100% 0%, rgb(255 255 255 / .22), transparent 55%), linear-gradient(135deg, color-mix(in oklab, var(--site-accent) 92%, #fff), color-mix(in oklab, var(--site-accent) 70%, #000)));
  color: var(--b-fg, var(--site-accent-text)); box-shadow: var(--b-shadow, 0 18px 36px -22px var(--site-accent)); border: var(--b-border, 0 solid transparent); }
.ws-ev-banner .ws-ev-actions { grid-column: 1 / -1; margin: 0; }
.ws-ev-banner :is(.ws-ev-when > svg, .ws-ev-local, .ws-ev-facts) { color: inherit; opacity: .85; }
.ws-ev-banner .ws-ev-cue { background: color-mix(in oklab, currentColor 18%, transparent); color: inherit; }
.ws-ev-banner .ws-ev-btn { background: var(--site-accent-text); color: var(--site-accent); box-shadow: 0 10px 22px -14px rgb(0 0 0 / .5); }
.ws-ev-banner .ws-ev-date { box-shadow: none; }
@container ws-page (min-width: 600px) { .ws-ev-banner { grid-template-columns: auto minmax(0, 1fr) auto; padding: var(--b-pad, 18px 20px); } .ws-ev-banner .ws-ev-actions { grid-column: auto; flex-direction: column; align-items: stretch; } }

/* Ticket */
.ws-ev-ticket { --notch: 14px; display: grid; grid-template-columns: 92px minmax(0, 1fr); border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); color: var(--b-fg, var(--site-text));
  background: var(--b-bg, var(--site-surface)); box-shadow: var(--b-shadow, var(--site-shadow-md)); border: var(--b-border, 1px solid var(--site-line));
  -webkit-mask: radial-gradient(circle var(--notch) at 92px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 92px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at 92px 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at 92px 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
[dir="rtl"] .ws-ev-ticket { -webkit-mask: radial-gradient(circle var(--notch) at calc(100% - 92px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - 92px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat;
  mask: radial-gradient(circle var(--notch) at calc(100% - 92px) 0, transparent 98%, #000) top / 100% 51% no-repeat, radial-gradient(circle var(--notch) at calc(100% - 92px) 100%, transparent 98%, #000) bottom / 100% 51% no-repeat; }
.ws-ev-stub { display: grid; align-content: center; justify-items: center; gap: 2px; padding: 16px 8px; border-inline-end: 2px dashed color-mix(in oklab, var(--site-text) 18%, transparent);
  background: color-mix(in oklab, var(--site-accent) 12%, transparent); border-start-start-radius: inherit; border-end-start-radius: inherit; text-align: center; font-variant-numeric: tabular-nums; }
.ws-ev-stub-mon { font-size: 12px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }
.ws-ev-stub-day { font-family: var(--site-heading); font-size: 2.4rem; font-weight: 800; letter-spacing: -0.05em; line-height: 1; }
.ws-ev-stub-time { font-size: 12px; font-weight: 700; color: var(--site-muted); }
.ws-ev-ticket .ws-ev-body { padding: var(--b-pad, 16px 18px); }

/* Compact */
.ws-ev-compact { display: flex; align-items: center; gap: 12px; padding: var(--b-pad, 10px 12px); }
.ws-ev-compact .ws-ev-date { width: 52px; min-height: 56px; box-shadow: none; background: color-mix(in oklab, var(--site-accent) 12%, transparent); }
.ws-ev-compact .ws-ev-date b { font-size: 1.35rem; }
.ws-ev-compact .ws-ev-body { flex: 1; gap: 2px; }
.ws-ev-compact .ws-ev-title { font-size: 1rem; }
.ws-ev-line { margin: 0; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-ev-line .ws-ev-local { display: block; }
.ws-ev-compact .ws-ev-places { margin: 0; font-size: 12px; font-weight: 800; }
.ws-ev-places.is-sold_out { color: var(--site-muted); }
.ws-site .ws-ev-cue { color: var(--site-accent); }
.ws-site .is-live .ws-ev-cue { color: var(--site-accent-text); }
.ws-site .ws-ev-hero-txt .ws-ev-cue, .ws-site .ws-ev-banner .ws-ev-cue { color: inherit; }
.ws-site .ws-ev-text, .ws-site .ws-ev-line { color: var(--site-muted); }
.ws-site .ws-ev-places.is-few { color: color-mix(in oklab, var(--site-accent) 80%, var(--site-text)); }
.ws-site .ws-ev-places.is-sold_out { color: var(--site-muted); }
.ws-site a.ws-ev-btn { color: var(--site-accent-text); }
.ws-site .ws-ev-banner a.ws-ev-btn { color: var(--site-accent); }
.ws-site .ws-ev-banner .ws-ev-places, .ws-ev-banner .ws-ev-when > svg { color: inherit; }

/* css/site/blocks/events_list.css */
/* Events list (ADR-0068, W3): list, cards, timeline, calendar, carousel. Reuses the event block's parts (blocks/event). */
.ws-el { margin: 0; padding: 0; list-style: none; min-width: 0; text-align: start; }
.ws-el-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.02rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.015em; line-height: 1.25; overflow-wrap: anywhere; }
.ws-el-where { display: inline-flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.ws-el-where svg { width: 13px; height: 13px; }
.ws-el-price { font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-el-btns { display: inline-flex; align-items: center; gap: 6px; }
.ws-el .ws-ev-places { margin: 0; font-size: 12.5px; font-weight: 800; }
.ws-ev-cal.is-small summary { width: 44px; min-height: 44px; padding: 0; justify-content: center; }

/* Rows (list and calendar) */
.ws-el-list { display: grid; margin: 0; padding: 0; list-style: none; }
.ws-el-list.ws-surface { padding: 4px var(--b-pad, 16px); }
.ws-el-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 12px; align-items: center; padding: 14px 0; border-top: 1px solid var(--site-line); scroll-margin-top: 80px; }
.ws-el-row:first-child { border-top: 0; }
.ws-el-row .ws-ev-date { width: 54px; min-height: 58px; box-shadow: none; background: color-mix(in oklab, var(--site-accent) 11%, transparent); }
.ws-el-row .ws-ev-date b { font-size: 1.35rem; }
.ws-el-main { display: grid; gap: 3px; min-width: 0; }
.ws-el-main .ws-ev-cue { font-size: 10.5px; padding: 2px 8px; }
.ws-el-end { grid-column: 2; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
@container ws-page (min-width: 600px) { .ws-el-row { grid-template-columns: auto minmax(0, 1fr) auto; } .ws-el-end { grid-column: auto; justify-content: flex-end; } }
.ws-el-row.is-sold_out .ws-el-title, .ws-el-row.is-closed .ws-el-title { color: var(--site-muted); }
.ws-el-row:target { background: color-mix(in oklab, var(--site-accent) 7%, transparent); border-radius: calc(var(--site-radius) - 2px); }

/* Cards and carousel */
.ws-el-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@container ws-page (min-width: 600px) { .ws-el-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container ws-page (min-width: 1024px) { .ws-el-cards:not([data-count="2"]):not([data-count="4"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-el-card { display: flex; flex-direction: column; overflow: hidden; scroll-margin-top: 80px; }
.ws-el-card .ws-ev-media { aspect-ratio: 16 / 10; }
.ws-el-cue { position: absolute; top: 14px; inset-inline-end: 12px; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 6px 16px -8px rgb(0 0 0 / .45); }
.ws-el-card-body { display: flex; flex-direction: column; gap: 6px; flex: 1; padding: var(--b-pad, 14px 16px 16px); }
.ws-el-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 8px; }
.ws-el-carousel .ws-track > .ws-el-card { flex-basis: var(--car-w); }

/* Timeline */
.ws-el-timeline { position: relative; display: grid; gap: 12px; padding-inline-start: 22px; }
.ws-el-timeline::before { content: ""; position: absolute; top: 6px; bottom: 6px; inset-inline-start: 6px; width: 2px; border-radius: 2px; background: color-mix(in oklab, var(--site-accent) 30%, transparent); }
.ws-el-month { margin: 6px 0 -2px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }
.ws-el-month:first-child { margin-top: 0; }
.ws-el-tl { position: relative; scroll-margin-top: 80px; }
.ws-el-dot { position: absolute; top: 20px; inset-inline-start: -21px; width: 12px; height: 12px; border-radius: 50%; background: var(--site-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-accent) 18%, var(--site-bg-base)); }
.ws-el-tl.is-sold_out .ws-el-dot { background: var(--site-muted); }
.ws-el-tl-card { display: grid; gap: 8px; padding: var(--b-pad, 14px 16px); }
.ws-el-tl-top { display: flex; gap: 12px; align-items: flex-start; }
.ws-el-tl-day { display: grid; justify-items: center; min-width: 40px; line-height: 1; }
.ws-el-tl-day b { font-family: var(--site-heading); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.04em; }
.ws-el-tl-day small { margin-top: 3px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--site-muted); }
.ws-el-tl .ws-el-card-foot { padding-top: 2px; }

/* Calendar */
.ws-el-calendar { display: grid; gap: 12px; }
.ws-el-cal { padding: var(--b-pad, 16px); }
.ws-el-cal-title { margin: 0 0 10px; font-family: var(--site-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; text-align: center; }
.ws-el-grid { width: 100%; border-collapse: separate; border-spacing: 3px; table-layout: fixed; font-variant-numeric: tabular-nums; }
.ws-el-grid th { padding: 2px 0 6px; font-size: 11px; font-weight: 800; color: var(--site-muted); text-transform: uppercase; }
.ws-el-grid abbr { text-decoration: none; }
.ws-el-grid td { padding: 0; text-align: center; }
.ws-el-grid td > * { display: grid; place-items: center; aspect-ratio: 1; max-height: 48px; margin-inline: auto; width: 100%; max-width: 48px; border-radius: 50%; font-size: 13.5px; font-weight: 600; }
.ws-el-grid td.is-out > * { opacity: .3; }
.ws-el-grid td.is-today > * { box-shadow: inset 0 0 0 1.5px color-mix(in oklab, var(--site-text) 35%, transparent); }
.ws-el-grid td.has-ev a { background: var(--site-accent); color: var(--site-accent-text); font-weight: 800; box-shadow: 0 8px 18px -10px var(--site-accent); transition: transform .15s var(--site-ease); }
.ws-el-grid td.has-ev a:hover { transform: scale(1.08); }
.ws-el-cal .ws-el-list { margin-top: 10px; border-top: 1px solid var(--site-line); }
.ws-el-cal .ws-el-row:first-child { border-top: 0; }

/* css/site/blocks/faq.css */
/* FAQ: accordion (the classic look, on the shared accordion variant), list, two-column, cards. */
.ws-faq2 dl { margin: 0; display: grid; gap: 18px 28px; }
@container ws-page (min-width: 600px) { .ws-faq2 dl { grid-template-columns: 1fr 1fr; } }
.ws-faq2-item { text-align: start; }
.ws-faq2-item dt { font-family: var(--site-heading); font-weight: 700; font-size: 1.02rem; letter-spacing: -0.015em; }
.ws-faq2-item dd { margin: 6px 0 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; }
.ws-faqc .ws-track { gap: 10px; }
@container ws-page (min-width: 600px) { .ws-faqc .ws-track { grid-template-columns: 1fr 1fr; } }
.ws-faqc-item { padding: var(--b-pad, 18px); text-align: start; display: grid; gap: 6px; align-content: start; }
.ws-faqc-q { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--site-accent); color: var(--site-accent-text); }

/* css/site/blocks/follower_counts.css */
/* Follower counts: grid, rows, compact, bento. Brand colour per platform from blocks/_networks (--net, --net-ink). */
.ws-fc-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 12px; }
.ws-fc-head h2 { margin: 0; font-family: var(--site-heading); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.025em; }
.ws-site .ws-fc-total { margin: 0; font-size: 13.5px; font-weight: 600; color: var(--site-muted); }
.ws-fc-total b { color: var(--site-text); font-size: 1.05rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.ws-fc { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ws-fc-cell { min-width: 0; display: grid; }
.ws-site .ws-fc-item { position: relative; min-width: 0; display: grid; gap: 4px; align-content: start; text-align: start; color: var(--site-text); }
.ws-fc-ico { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }
.ws-site .ws-fc-ico svg { width: 19px; height: 19px; }
.ws-fc-num { font-family: var(--site-heading); font-size: calc(1.7rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ws-fc-lab { display: grid; gap: 0; line-height: 1.3; min-width: 0; }
.ws-fc-net { font-weight: 700; font-size: 13px; }
.ws-fc-aud { font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-fc-go { position: absolute; top: 12px; inset-inline-end: 12px; opacity: .45; }
.ws-fc-go svg { width: 15px; height: 15px; }
[dir="rtl"] .ws-fc-go svg { transform: scaleX(-1); }

/* Grid: tinted tiles. */
.ws-fc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container ws-page (min-width: 600px) { .ws-fc-grid { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); } }
.ws-fc-grid .ws-fc-item { padding: 14px; gap: 8px; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); border: 1px solid color-mix(in oklab, var(--net, var(--site-accent)) 22%, var(--site-line));
  background: var(--b-bg, linear-gradient(160deg, color-mix(in oklab, var(--net, var(--site-accent)) 12%, var(--site-surface)), var(--site-surface) 70%)); box-shadow: var(--b-shadow, var(--site-shadow-sm)); }
.ws-fc-grid .ws-fc-num { margin-top: 6px; }

/* Rows: one surface, a row per platform, the number at the end. */
.ws-fc-rows { gap: 0; padding: 4px 0; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-fc-rows .ws-fc-cell + .ws-fc-cell { border-top: 1px solid var(--site-line); }
.ws-fc-rows .ws-fc-item { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "ico lab num"; align-items: center; column-gap: 12px; padding: 12px 16px; min-height: 64px; }
.ws-fc-rows .ws-fc-ico { grid-area: ico; }
.ws-fc-rows .ws-fc-lab { grid-area: lab; }
.ws-fc-rows .ws-fc-num { grid-area: num; font-size: calc(1.3rem * var(--b-scale, 1)); }
.ws-fc-rows .ws-fc-go { display: none; }
.ws-fc-rows .ws-fc-net { font-size: 14.5px; }

/* Compact: chips. */
.ws-fc-compact { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ws-fc-compact .ws-fc-item { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 4px 14px 4px 4px; border-radius: 999px; background: var(--site-surface); border: 1px solid var(--site-line); box-shadow: var(--site-shadow-sm); }
.ws-fc-compact .ws-fc-ico { width: 34px; height: 34px; }
.ws-site .ws-fc-compact .ws-fc-ico svg { width: 16px; height: 16px; }
.ws-fc-compact .ws-fc-num { font-size: 15px; letter-spacing: -0.02em; }
.ws-s-align-start .ws-fc-compact { justify-content: flex-start; }

/* Bento: the biggest audience as a large branded tile. */
.ws-fc-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container ws-page (min-width: 600px) { .ws-fc-bento { grid-template-columns: repeat(4, minmax(0, 1fr)); } .ws-fc-bento .is-lead { grid-row: span 2; } }
.ws-fc-bento .ws-fc-item { padding: 14px; gap: 6px; border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); background: var(--site-surface); border: 1px solid var(--site-line); box-shadow: var(--site-shadow-sm); }
.ws-fc-bento .is-lead { grid-column: span 2; }
.ws-fc-bento .is-lead .ws-fc-item { align-content: space-between; min-height: 170px; padding: 18px; color: var(--net-ink, var(--site-accent-text)); border: 0;
  background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .28), transparent 55%), var(--net, var(--site-accent)); box-shadow: 0 18px 36px -20px var(--net, var(--site-accent)); }
.ws-fc-bento .is-lead .ws-fc-ico { background: rgb(255 255 255 / .2); color: inherit; width: 44px; height: 44px; }
.ws-fc-bento .is-lead .ws-fc-num { font-size: calc(2.6rem * var(--b-scale, 1)); }
.ws-fc-bento .is-lead .ws-fc-aud { color: inherit; opacity: .82; }
.ws-fc-bento .ws-fc-cell:not(.is-lead) .ws-fc-num { font-size: calc(1.35rem * var(--b-scale, 1)); }

/* css/site/blocks/form.css */
/* Form block: inline, card and button (the trigger styles live in modules/sheets). */
.ws-block-form .ws-card { text-align: start; }

/* css/site/blocks/fundraiser.css */
/* Fundraising goal: thermometer, ring, bar-card, banner (buttons in modules/donations). --p is the progress (0–100%). */
.fr { display: grid; gap: 16px; padding: var(--b-pad, 22px); text-align: var(--b-align, start); position: relative; overflow: hidden; }
.fr-copy { display: grid; gap: 6px; min-width: 0; }
.fr-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.3rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; text-wrap: balance; }
.fr-text { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; }
.fr-raised { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.fr-raised strong { font-family: var(--site-heading); font-size: calc(2rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; color: var(--site-accent); }
.fr-raised span { font-weight: 700; color: var(--site-muted); }
.fr-stats { display: grid; gap: 12px; min-width: 0; }
.fr-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.fr-facts li { display: inline-flex; align-items: baseline; gap: 4px; padding: 6px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--site-muted); background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.fr-facts b { color: var(--site-text); font-weight: 800; font-variant-numeric: tabular-nums; }
.fr-bar { height: 12px; border-radius: 999px; background: color-mix(in oklab, var(--site-accent) 14%, transparent); overflow: hidden; }
.fr-bar span { display: block; height: 100%; width: var(--p); min-width: 12px; border-radius: inherit; position: relative; overflow: hidden;
  background: linear-gradient(90deg, color-mix(in oklab, var(--site-accent) 70%, var(--site-surface)), var(--site-accent)); animation: fr-grow 1.1s var(--site-ease) both; }
.fr-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, color-mix(in oklab, var(--site-surface) 45%, transparent), transparent); transform: translateX(-100%); animation: fr-shine 2.8s 1.2s ease-in-out infinite; }
@keyframes fr-grow { from { width: 0; } }
@keyframes fr-shine { to { transform: translateX(100%); } }
.fr-act .sp-cta { width: 100%; }
.fr-ended { margin: 0; display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: calc(var(--site-radius) - 2px); font-weight: 600; font-size: 14px; background: color-mix(in oklab, var(--site-accent) 10%, transparent); }
.fr-ended svg { color: var(--site-accent); }
.fr.is-reached .fr-raised strong::after { content: " ✓"; }

/* Thermometer: the tube sits beside the numbers */
.fr-thermometer { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "copy copy" "stats thermo" "act act"; align-items: end; }
.fr-thermometer .fr-copy { grid-area: copy; } .fr-thermometer .fr-stats { grid-area: stats; } .fr-thermometer .fr-act { grid-area: act; }
.fr-thermo { grid-area: thermo; position: relative; display: grid; justify-items: center; width: 64px; padding-bottom: 28px; }
.fr-tube { position: relative; width: 26px; height: 170px; border-radius: 999px; background: color-mix(in oklab, var(--site-accent) 13%, transparent); box-shadow: inset 0 2px 6px color-mix(in oklab, var(--site-ink-dark) 12%, transparent); overflow: hidden; }
.fr-fill { position: absolute; inset-inline: 0; bottom: 0; height: max(var(--p), 14%); border-radius: inherit; background: linear-gradient(0deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 65%, var(--site-surface))); animation: fr-rise 1.2s var(--site-ease) both; }
@keyframes fr-rise { from { height: 0; } }
.fr-bulb { position: absolute; bottom: 0; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 0 0 6px var(--site-surface), 0 14px 26px -12px var(--site-accent); }
.fr-bulb svg { width: 24px; height: 24px; }
.fr-thermometer .fr-facts { flex-direction: column; align-items: flex-start; }

/* Ring */
.fr-ring { justify-items: center; text-align: center; }
.fr-ring .fr-copy, .fr-ring .fr-act { width: 100%; }
.fr-gauge { position: relative; width: min(220px, 70%); aspect-ratio: 1; }
.fr-gauge svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fr-gauge circle { fill: none; stroke-width: 11; stroke-linecap: round; }
.fr-ring-bg { stroke: color-mix(in oklab, var(--site-accent) 14%, transparent); }
.fr-ring-fg { stroke: var(--site-accent); animation: fr-dash 1.3s var(--site-ease) both; }
@keyframes fr-dash { from { stroke-dasharray: 0 100; } }
.fr-gauge-in { position: absolute; inset: 0; display: grid; place-content: center; gap: 2px; }
.fr-gauge-in strong { font-family: var(--site-heading); font-size: calc(2.2rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.fr-gauge-in span { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; color: var(--site-muted); }
.fr-ring .fr-raised, .fr-ring .fr-facts { justify-content: center; }

/* Banner: one wide strip */
.fr-banner { gap: 12px; }
.fr-banner .fr-title { font-size: calc(1.1rem * var(--b-scale, 1)); }
.fr-banner .fr-raised strong { font-size: calc(1.5rem * var(--b-scale, 1)); }
@container ws-page (min-width: 600px) {
  .fr-banner { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) auto; align-items: center; gap: 20px; }
  .fr-banner .fr-act .sp-cta { width: auto; }
  .fr-bar-card { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .fr-bar span, .fr-bar span::after, .fr-fill, .fr-ring-fg { animation: none; } }

/* css/site/blocks/gallery.css */
/* Gallery: grid, masonry, carousel, slideshow, bento, stack-cards, filmstrip. Photos first: thin gutters, soft corners,
   captions over or under the photo, a zoom hint on photos that open full screen. */
.ws-gl { --gl-gap: 6px; --gl-r: var(--b-radius, max(8px, calc(var(--site-radius) - 2px))); --shade: color-mix(in oklab, var(--site-ink-dark) 74%, transparent); }
.ws-gl-stage { position: relative; min-width: 0; }
.ws-gl .ws-track { gap: var(--gl-gap); }
.ws-gl-shot { position: relative; margin: 0; min-width: 0; display: grid; gap: 7px; align-content: start; }
.ws-gl-link { position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: var(--shape, 1 / 1); border-radius: var(--gl-r);
  background: color-mix(in oklab, var(--site-text) 7%, transparent); }
.ws-gl-link .ws-media, .ws-gl-link .ws-media-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: var(--b-fit, cover); transition: transform .7s var(--site-ease), filter .3s; }
a.ws-gl-link { cursor: zoom-in; }
a.ws-gl-link:hover .ws-media { transform: scale(1.05); }
a.ws-gl-link:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 65%, transparent); outline-offset: 2px; }
.ws-gl-zoom { position: absolute; z-index: 2; inset-block-start: 8px; inset-inline-end: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: color-mix(in oklab, var(--site-ink-dark) 42%, transparent); color: var(--site-ink-light); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  opacity: 0; transform: scale(.85); transition: opacity .2s, transform .2s var(--site-ease); }
.ws-gl-zoom svg { width: 14px; height: 14px; }
a.ws-gl-link:is(:hover, :focus-visible) .ws-gl-zoom { opacity: 1; transform: none; }
@media (hover: none) { .ws-gl-zoom { opacity: .85; transform: none; } }
.ws-gl-cap { margin: 0; padding-inline: 2px; font-size: 12.5px; font-weight: 500; line-height: 1.4; color: var(--site-muted); text-align: start; text-wrap: pretty; }
/* Captions laid over the photo (grid, bento, slideshow, filmstrip). */
:is(.ws-gl-grid, .ws-gl-bento, .ws-gl-slideshow, .ws-gl-filmstrip) .ws-gl-cap { position: absolute; z-index: 1; inset-inline: 0; inset-block-end: 0; padding: 36px 12px 10px;
  border-radius: 0 0 var(--gl-r) var(--gl-r); background: linear-gradient(180deg, transparent, var(--shade)); color: var(--site-ink-light); font-weight: 650; pointer-events: none;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-gl-grid .ws-gl-cap { font-size: 12px; padding: 26px 10px 8px; }

/* Grid: two columns on phones, three from tablets (Responsive → columns overrides). */
.ws-gl-grid .ws-track { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); }
@container ws-page (min-width: 600px) { .ws-gl-grid .ws-track { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }

/* Masonry: columns of the photos' own shapes. */
.ws-gl-masonry .ws-track { display: block; columns: var(--cols, 2); column-gap: var(--gl-gap); }
.ws-gl-masonry .ws-gl-shot { break-inside: avoid; margin-block-end: var(--gl-gap); }
.ws-gl-masonry .ws-gl-link { aspect-ratio: var(--r, 4 / 3); }
.ws-gl-masonry .ws-gl-cap { padding-block-end: 6px; }
@container ws-page (min-width: 600px) { .ws-gl-masonry .ws-track { columns: var(--cols, 3); } }

/* Carousel and the slide shows: scroll snap, the next photo peeking in; arrows with site.js. */
:is(.ws-gl-carousel, .ws-gl-slideshow, .ws-gl-filmstrip) .ws-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
:is(.ws-gl-carousel, .ws-gl-slideshow, .ws-gl-filmstrip) .ws-track::-webkit-scrollbar { display: none; }
:is(.ws-gl-carousel, .ws-gl-slideshow, .ws-gl-filmstrip) .ws-track > * { scroll-snap-align: start; scroll-snap-stop: always; }
.ws-gl-carousel .ws-track { gap: 10px; padding-block-end: 4px; }
.ws-gl-carousel .ws-track > * { flex: 0 0 var(--car-w, 74%); }
.ws-gl-carousel .ws-car-nav { display: flex; }
@container ws-page (min-width: 600px) { .ws-gl-carousel .ws-track > * { flex-basis: var(--car-w, 42%); } }
@container ws-page (min-width: 1024px) { .ws-gl-carousel .ws-track > * { flex-basis: var(--car-w, calc((100% - 20px) / 3)); } }

.ws-gl-slideshow .ws-track, .ws-gl-filmstrip .ws-track { gap: 0; border-radius: var(--gl-r); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-gl-slideshow .ws-track > *, .ws-gl-filmstrip .ws-track > * { flex: 0 0 100%; }
.ws-gl-slideshow .ws-gl-link, .ws-gl-filmstrip .ws-gl-link { border-radius: 0; }
.ws-gl-slideshow .ws-gl-cap, .ws-gl-filmstrip .ws-gl-cap { border-radius: 0; padding: 48px 18px 16px; font-size: 14px; }
:is(.ws-gl-slideshow, .ws-gl-filmstrip) .ws-car-nav { position: absolute; z-index: 3; inset-inline: 10px; inset-block-start: 50%; margin: 0; display: flex; justify-content: space-between; transform: translateY(-50%); pointer-events: none; }
:is(.ws-gl-slideshow, .ws-gl-filmstrip) .ws-car-nav button { pointer-events: auto; background: color-mix(in oklab, var(--site-surface) 78%, transparent); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-color: transparent; box-shadow: var(--site-shadow-md); }
:is(.ws-gl-slideshow, .ws-gl-filmstrip) .ws-car-nav button[disabled] { opacity: 0; pointer-events: none; }
.ws-gl-count { position: absolute; z-index: 3; inset-block-start: 12px; inset-inline-end: 12px; padding: 4px 10px; border-radius: 999px; pointer-events: none;
  background: color-mix(in oklab, var(--site-ink-dark) 55%, transparent); color: var(--site-ink-light); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; letter-spacing: .02em; }
html:not(.ws-js) .ws-mode-public .ws-gl-count { display: none; }
.ws-gl-dots { display: flex; flex-wrap: wrap; justify-content: center; margin-block-start: 6px; }
.ws-gl-dots button { width: 22px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; display: grid; place-items: center; }
.ws-gl-dots button::before { content: ""; width: 7px; height: 7px; border-radius: 999px; background: color-mix(in oklab, var(--site-text) 26%, transparent); transition: width .25s var(--site-ease), background .25s; }
.ws-gl-dots button.is-on::before { width: 18px; background: var(--site-accent); }
.ws-gl-dots button:focus-visible { outline: 2px solid var(--site-accent); outline-offset: -8px; border-radius: 999px; }
.ws-gl-thumbs { display: flex; gap: 6px; margin-block-start: 8px; padding: 2px; overflow-x: auto; scrollbar-width: none; scroll-snap-type: x proximity; }
.ws-gl-thumbs::-webkit-scrollbar { display: none; }
.ws-gl-thumbs button { position: relative; flex: 0 0 60px; height: 60px; padding: 0; overflow: hidden; cursor: pointer; scroll-snap-align: start;
  border: 0; border-radius: max(6px, calc(var(--site-radius) - 6px)); background: color-mix(in oklab, var(--site-text) 8%, transparent); opacity: .55; transition: opacity .2s, transform .2s var(--site-ease); }
.ws-gl-thumbs button::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px transparent; transition: box-shadow .2s; }
.ws-gl-thumbs button:hover { opacity: .85; }
.ws-gl-thumbs button.is-on { opacity: 1; }
.ws-gl-thumbs button.is-on::after { box-shadow: inset 0 0 0 2.5px var(--site-accent); }
.ws-gl-thumbs .ws-media { width: 100%; height: 100%; object-fit: cover; }
@container ws-page (min-width: 600px) { .ws-gl-thumbs button { flex-basis: 72px; height: 72px; } }

/* Bento: a big photo, then wide and tall ones between squares. */
.ws-gl-bento .ws-track { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); grid-auto-flow: dense; }
.ws-gl-bento .ws-gl-shot { aspect-ratio: 1; }
.ws-gl-bento .ws-gl-link { position: absolute; inset: 0; aspect-ratio: auto; }
.ws-gl-bento .is-big { grid-column: span 2; grid-row: span 2; }
.ws-gl-bento .is-wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.ws-gl-bento .is-tall { grid-row: span 2; aspect-ratio: auto; }
@container ws-page (min-width: 600px) { .ws-gl-bento .ws-track { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); } }

/* Stacked cards: each photo sticks a little lower than the last, so they pile up like prints. */
.ws-gl-stack-cards .ws-track { display: grid; gap: 18px; }
.ws-gl-stack-cards .ws-gl-shot { position: sticky; inset-block-start: calc(16px + var(--i, 0) * 10px); padding: 8px; gap: 8px;
  background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); border-radius: calc(var(--gl-r) + 6px); box-shadow: var(--site-shadow-lg); }
.ws-gl-stack-cards .ws-gl-link { aspect-ratio: 4 / 5; }
.ws-gl-stack-cards .ws-gl-cap { padding: 2px 6px 4px; font-size: 13.5px; color: var(--site-text); font-weight: 600; }
@container ws-page (min-width: 600px) { .ws-gl-stack-cards .ws-gl-link { aspect-ratio: 3 / 2; } }
.ws-mode-thumb .ws-gl-stack-cards .ws-gl-shot { position: relative; inset-block-start: auto; }

@media (prefers-reduced-motion: reduce) {
  .ws-gl .ws-media, .ws-gl-thumbs button, .ws-gl-dots button::before { transition: none; }
  a.ws-gl-link:hover .ws-media { transform: none; }
}

/* css/site/blocks/heading.css */
/* Heading: plain (the classic look; style.size s/m/l/xl), eyebrow, underline, display, gradient, split, numbered. */
.ws-hd { text-align: var(--b-align, center); }
.ws-heading { margin: 16px 0 0; font-family: var(--site-heading); font-weight: 700; letter-spacing: -0.025em; font-size: 1.15rem; }
.ws-font-lora .ws-heading { font-family: "Lora", Georgia, serif; font-style: italic; }
.ws-heading-serif .ws-heading { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.ws-s-size-s .ws-hd-plain .ws-heading { font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; color: var(--site-muted); }
.ws-heading-serif .ws-s-size-s .ws-hd-plain .ws-heading { font-style: normal; font-family: var(--site-font); font-weight: 700; }
.ws-s-size-l .ws-heading { font-size: 1.5rem; }
.ws-s-size-xl .ws-heading { font-size: 2rem; }
.ws-hd .ws-eyebrow { margin-top: 16px; }
.ws-hd .ws-eyebrow + .ws-heading { margin-top: 4px; }
.ws-hd-eyebrow .ws-heading { font-size: 1.35rem; line-height: 1.2; }
.ws-hd-underline .ws-heading { display: inline-block; padding-bottom: 8px; background: linear-gradient(90deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 30%, transparent)) no-repeat center bottom / 48px 3px; }
.ws-s-align-start .ws-hd-underline .ws-heading, .ws-hd-underline:is([style*="start"]) .ws-heading { background-position: left bottom; }
.ws-hd-display .ws-heading { font-size: clamp(1.9rem, 1.4rem + 3cqw, 3.2rem); letter-spacing: -0.045em; line-height: 1.02; }
.ws-heading-serif .ws-hd-display .ws-heading { letter-spacing: -0.03em; }
.ws-hd-gradient .ws-heading { font-size: clamp(1.6rem, 1.3rem + 2cqw, 2.4rem); letter-spacing: -0.04em; background: linear-gradient(100deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 45%, var(--site-text))); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ws-hd-split { display: flex; align-items: flex-end; gap: 16px; text-align: start; }
.ws-hd-split .ws-hd-in { flex: none; max-width: 75%; }
.ws-hd-split .ws-hd-rule { flex: 1; height: 1px; margin-bottom: 9px; background: color-mix(in oklab, var(--site-text) 18%, transparent); }
.ws-hd-numbered { display: flex; align-items: baseline; gap: 14px; text-align: start; }
.ws-hd-num { font-family: var(--site-heading); font-size: 2.4rem; font-weight: 700; line-height: 1; letter-spacing: -0.05em; color: color-mix(in oklab, var(--site-accent) 75%, transparent); font-variant-numeric: tabular-nums; }
.ws-hd-numbered .ws-heading { font-size: 1.35rem; margin-top: 0; }

/* css/site/blocks/hours.css */
/* Opening hours: table, compact, card. Status colours come from the accent and text tokens. */
.hr { display: grid; gap: 14px; padding: var(--b-pad, 20px); text-align: start; }
.hr-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.hr-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.15rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.hr-status { margin: 0; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; font-size: 13.5px; color: var(--site-muted); }
.hr-status strong { color: var(--site-text); font-weight: 800; }
.hr-dot { width: 9px; height: 9px; border-radius: 50%; flex: none; background: color-mix(in oklab, var(--site-text) 35%, transparent); }
.hr-status.is-open .hr-dot { background: var(--site-accent); box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-accent) 22%, transparent); animation: hr-pulse 2.4s ease-in-out infinite; }
.hr-status.is-open strong { color: var(--site-accent); }
.hr-status.is-soon .hr-dot { background: color-mix(in oklab, var(--site-accent) 50%, var(--site-text)); box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-text) 12%, transparent); }
@keyframes hr-pulse { 50% { box-shadow: 0 0 0 7px color-mix(in oklab, var(--site-accent) 8%, transparent); } }
.hr-status.is-big { display: grid; justify-items: start; gap: 4px; }
.hr-status.is-big strong { font-family: var(--site-heading); font-size: calc(1.8rem * var(--b-scale, 1)); letter-spacing: -0.03em; line-height: 1.05; display: flex; align-items: center; gap: 10px; }
.hr-status.is-big { grid-template-columns: auto 1fr; align-items: center; column-gap: 10px; }
.hr-status.is-big .hr-dot { width: 12px; height: 12px; }
.hr-status.is-big > span:not(.hr-dot) { grid-column: 1 / -1; font-size: 14px; }
.hr-week { width: 100%; border-collapse: collapse; font-size: 14px; }
.hr-week th, .hr-week td { padding: 9px 4px; text-align: start; vertical-align: top; border-top: 1px solid var(--site-line); }
.hr-week tr:first-child th, .hr-week tr:first-child td { border-top: 0; }
.hr-week th { font-weight: 600; color: var(--site-muted); }
.hr-week td { text-align: end; font-weight: 700; font-variant-numeric: tabular-nums; }
.hr-week td span { display: block; }
.hr-week tr.is-closed td { color: var(--site-muted); font-weight: 600; }
.hr-week tr.is-today th, .hr-week tr.is-today td { color: var(--site-text); }
.hr-week tr.is-today { background: color-mix(in oklab, var(--site-accent) 9%, transparent); }
.hr-week tr.is-today th { font-weight: 800; }
.hr-week tr.is-today th, .hr-week tr.is-today td { border-radius: 0; }
.hr-tag { display: inline-block; margin-inline-start: 6px; padding: 2px 7px; border-radius: 999px; font-size: 11px; font-weight: 800; background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-text); }
.hr-today { margin: 0; font-size: 14px; color: var(--site-muted); }
.hr-today b { color: var(--site-text); font-variant-numeric: tabular-nums; }
.hr-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 6px; }
.hr-tiles li { display: grid; gap: 2px; align-content: start; padding: 9px 8px; border-radius: calc(var(--site-radius) - 4px); background: color-mix(in oklab, var(--site-text) 5%, transparent); font-size: 12px; font-variant-numeric: tabular-nums; }
.hr-tiles b { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--site-muted); }
.hr-tiles li.is-today { background: var(--site-accent); color: var(--site-accent-text); }
.hr-tiles li.is-today b { color: inherit; opacity: .85; }
.hr-tiles li.is-closed:not(.is-today) span { color: var(--site-muted); }
.hr-specials { list-style: none; margin: 0; padding: 10px 12px; display: grid; gap: 6px; border-radius: calc(var(--site-radius) - 2px); background: color-mix(in oklab, var(--site-accent) 7%, transparent); font-size: 13px; }
.hr-specials li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.hr-specials svg { width: 14px; height: 14px; color: var(--site-accent); }
.hr-specials em { font-style: normal; color: var(--site-muted); }
.hr-foot { display: grid; gap: 4px; }
.hr-foot p { margin: 0; font-size: 12.5px; color: var(--site-muted); line-height: 1.45; }
.hr-tz { display: flex; flex-wrap: wrap; gap: 2px 6px; align-items: center; }
.hr-tz svg { width: 13px; height: 13px; }
.hr-tz [data-local-out] { font-weight: 700; color: var(--site-text); }
/* Compact: a disclosure */
.hr-compact { padding: 0; gap: 0; }
.hr-compact .hr-foot, .hr-compact .hr-specials { margin: 0 16px 14px; }
.hr-more summary { list-style: none; cursor: pointer; }
.hr-more summary::-webkit-details-marker { display: none; }
.hr-sum { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 12px; padding-inline: 14px; }
.hr-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 15%, transparent); color: var(--site-accent); }
.hr-sum-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.hr-sum-t small { font-size: 12px; font-weight: 600; color: var(--site-muted); }
.hr-chev { transition: transform .2s var(--site-ease); color: var(--site-muted); }
.hr-more[open] .hr-chev { transform: rotate(180deg); }
.hr-more .hr-week { margin: 0 16px 10px; width: calc(100% - 32px); }
.hr-compact:not(:has(details[open])) .hr-foot, .hr-compact:not(:has(details[open])) .hr-specials { display: none; }
@media (prefers-reduced-motion: reduce) { .hr-status.is-open .hr-dot { animation: none; } }

/* css/site/blocks/image.css */
/* Image: rounded, square, wide (the classic three), portrait, circle, frame, polaroid, full-bleed. Width and height come
   from the media library, so nothing shifts while images load. */
.ws-image { display: block; margin: 0; overflow: hidden; border-radius: var(--site-radius); box-shadow: 0 10px 30px -18px rgb(0 0 0 / .4); position: relative; }
.ws-image img { display: block; width: 100%; height: auto; object-fit: var(--b-fit, cover); }
.ws-image-square { border-radius: 0; }
.ws-image-wide img { aspect-ratio: 16 / 7; object-fit: var(--b-fit, cover); }
.ws-image-portrait img { aspect-ratio: 4 / 5; object-fit: var(--b-fit, cover); }
.ws-image-circle { width: min(72%, 320px); margin-inline: auto; border-radius: 50%; aspect-ratio: 1; box-shadow: 0 0 0 6px color-mix(in oklab, var(--site-surface) 80%, transparent), var(--site-shadow-lg); }
.ws-image-circle img { height: 100%; aspect-ratio: 1; object-fit: cover; }
.ws-image-frame { padding: 10px; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: calc(var(--site-radius) + 8px); box-shadow: var(--site-shadow-lg); }
.ws-image-frame img { border-radius: max(4px, calc(var(--site-radius) - 2px)); }
.ws-image-polaroid { padding: 12px 12px 14px; background: #FFFFFF; color: var(--site-ink-dark); border-radius: 4px; box-shadow: 0 1px 2px rgb(0 0 0 / .1), 0 20px 40px -20px rgb(0 0 0 / .45); transform: rotate(-1.4deg); max-width: 92%; margin-inline: auto; }
.ws-image-polaroid img { aspect-ratio: 1; object-fit: cover; border-radius: 2px; }
.ws-image-polaroid .ws-image-cap { display: block; margin-top: 12px; text-align: center; font-family: var(--site-heading); font-size: 1rem; font-style: italic; }
.ws-image-full-bleed { width: 100cqw; max-width: none; margin-inline: calc(50% - 50cqw); border-radius: 0; box-shadow: none; }
.ws-image-full-bleed img { max-height: 70vh; object-fit: cover; }
.ws-image-cap { display: block; padding: 10px 4px 0; font-size: 13px; color: var(--site-muted); text-align: var(--b-align, center); }
.ws-image:not(.ws-image-polaroid):not(.ws-image-frame) .ws-image-cap { position: absolute; inset: auto 0 0; padding: 26px 14px 12px; color: var(--site-on-media); background: linear-gradient(transparent, rgb(0 0 0 / .55)); font-weight: 600; }
a.ws-image { transition: transform .2s var(--site-ease), box-shadow .2s; }
a.ws-image:hover { transform: translateY(-2px); }
.ws-image:not(.ws-image-circle):not(.ws-image-full-bleed) img { max-height: min(640px, 88vh); }

/* css/site/blocks/instagram_post.css */
/* Instagram post: embed (Instagram's /embed frame) and card (Weesify's own, also the builder's preview). */
.ws-block-instagram-post { --ig: linear-gradient(45deg, #FEDA75 0%, #FA7E1E 25%, #D62976 55%, #962FBF 78%, #4F5BD5 100%); }
.ws-ig-embed { width: min(100%, 480px); margin-inline: auto; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); background: var(--site-surface); box-shadow: var(--site-shadow-md); border: 1px solid var(--site-line); }
.ws-ig-embed iframe { display: block; width: 100%; height: 640px; border: 0; }
@container ws-page (max-width: 420px) { .ws-ig-embed iframe { height: 560px; } }
.ws-ig-card { display: grid; width: min(100%, 480px); margin-inline: auto; overflow: hidden; text-align: start; }
.ws-ig-top { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.ws-ig-avatar { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; color: #FFFFFF; background: var(--ig); box-shadow: 0 0 0 2px var(--site-surface), 0 0 0 3.5px #D62976; }
.ws-site .ws-ig-avatar svg { width: 18px; height: 18px; }
.ws-ig-who { flex: 1; min-width: 0; display: grid; line-height: 1.25; }
.ws-ig-who b { font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-ig-who small { font-size: 12px; color: var(--site-muted); font-weight: 600; }
.ws-ig-open { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: color-mix(in oklab, currentColor 7%, transparent); }
.ws-ig-open svg { width: 15px; height: 15px; }
.ws-ig-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; }
.ws-ig-media .ws-media { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--site-ease); }
.ws-hov:hover .ws-ig-media .ws-media { transform: scale(1.03); }
.ws-ig-wash { display: grid; place-items: center; width: 100%; height: 100%; color: #FFFFFF; background: radial-gradient(90% 70% at 20% 110%, rgb(255 255 255 / .22), transparent 60%), var(--ig); }
.ws-site .ws-ig-wash svg { width: 64px; height: 64px; opacity: .92; }
.ws-ig-reel { position: absolute; top: 10px; inset-inline-end: 10px; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: rgb(0 0 0 / .45); color: #FFFFFF; }
.ws-site .ws-ig-reel svg { width: 16px; height: 16px; }
.ws-ig-body { display: grid; gap: 8px; padding: 12px 14px 16px; }
.ws-ig-acts { display: flex; gap: 14px; }
.ws-site .ws-ig-acts svg { width: 22px; height: 22px; }
.ws-ig-cap { font-size: 14px; line-height: 1.45; font-weight: 500; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ws-ig-cap b { font-weight: 700; margin-inline-end: 4px; }
.ws-ig-cta { justify-self: start; display: inline-flex; align-items: center; min-height: 40px; padding: 0 16px; border-radius: var(--site-btn-radius); font-weight: 700; font-size: 14px; color: #FFFFFF; background: var(--ig); }

/* css/site/blocks/instructor.css */
/* Instructor (ADR-0068, W3): card, split, compact. */
.ws-in { padding: var(--b-pad, 20px); min-width: 0; }
.ws-in-name { margin: 0; font-family: var(--site-heading); font-size: calc(1.25rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.ws-heading-serif .ws-in-name { font-style: italic; font-weight: 400; }
.ws-in-role { margin: 2px 0 0; color: var(--site-accent); font-size: 13.5px; font-weight: 700; }
.ws-in-bio { margin: 10px 0 0; color: var(--site-muted); font-size: 14.5px; line-height: 1.6; }
.ws-in-hl { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.ws-in-hl li { display: inline-flex; align-items: center; gap: 5px; padding: 6px 11px; border-radius: 999px; font-size: 12.5px; font-weight: 700; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-in-hl svg { width: 13px; height: 13px; color: var(--site-accent); stroke-width: 3; }
.ws-in-link { margin-top: 16px; }
.ws-in-course { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; align-items: center; margin-top: 16px; padding: 12px; text-align: start;
  border-radius: calc(var(--site-radius) + 2px); background: color-mix(in oklab, var(--site-text) 4%, transparent); border: 1px solid var(--site-line); }
.ws-in-course-txt { display: grid; gap: 3px; min-width: 0; }
.ws-in-course-txt strong { font-weight: 700; line-height: 1.25; }
.ws-in-course-txt .ws-eyebrow { font-size: 10.5px; }
.ws-in-course-end { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
@container ws-page (min-width: 600px) { .ws-in-course { grid-template-columns: auto minmax(0, 1fr) auto; } .ws-in-course-end { grid-column: auto; flex-direction: column; align-items: flex-end; } }

.ws-in-card { text-align: center; }
.ws-in-photo { display: block; width: calc(104px * var(--b-scale, 1)); aspect-ratio: 1; margin: 0 auto 12px; border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 4px var(--b-bg, var(--site-surface)), 0 0 0 6px color-mix(in oklab, var(--site-accent) 45%, transparent), var(--site-shadow-md); }
.ws-in-card .ws-in-hl { justify-content: center; }
.ws-in-card .ws-in-bio { max-width: 46ch; margin-inline: auto; }

.ws-in-split { display: grid; gap: 18px; padding: 0; overflow: hidden; text-align: start; }
.ws-in-portrait { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-in-body { padding: 0 var(--b-pad, 20px) var(--b-pad, 20px); }
.ws-in-body .ws-eyebrow { margin-bottom: 6px; }
@container ws-page (min-width: 600px) {
  .ws-in-split { grid-template-columns: minmax(200px, 38%) minmax(0, 1fr); gap: 0; }
  .ws-in-portrait { aspect-ratio: auto; height: 100%; min-height: 320px; }
  .ws-in-body { padding: var(--b-pad, 26px); align-self: center; }
}

.ws-in-compact { padding: var(--b-pad, 12px 14px); }
.ws-in-row { display: flex; align-items: center; gap: 12px; }
.ws-in-avatar { width: 52px; height: 52px; flex: none; border-radius: 50%; overflow: hidden; }
.ws-in-who { flex: 1; min-width: 0; display: grid; gap: 1px; text-align: start; }
.ws-in-who .ws-in-name { font-size: 1rem; }
.ws-in-who .ws-in-role { margin: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-in-go { min-height: 44px; padding: 0 14px; font-size: 13.5px; }
.ws-site .ws-in-role { color: var(--site-accent); }
.ws-site .ws-in-bio { color: var(--site-muted); }
.ws-site a.ws-cta:is(.ws-in-link, .ws-in-go) { color: var(--site-accent-text); }
.ws-in-portrait img { object-position: 50% 22%; }
.ws-site .ws-in-body .ws-eyebrow { color: var(--site-accent); }

/* css/site/blocks/join_community.css */
/* Join community: card, banner, split. Faces come from blocks/member_count when both are used; the essentials are here too. */
.jc { position: relative; overflow: hidden; display: grid; text-align: var(--b-align, start); }
.jc-media { position: relative; aspect-ratio: 16 / 9; overflow: hidden;
  background: radial-gradient(70% 90% at 90% 10%, color-mix(in oklab, var(--site-surface) 40%, transparent), transparent 60%), linear-gradient(140deg, color-mix(in oklab, var(--site-accent) 85%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 55%, var(--site-ink-dark))); }
.jc-art { position: absolute; inset: 0; display: grid; place-items: center; color: color-mix(in oklab, var(--site-accent-text) 85%, transparent); }
.jc-art svg { width: 64px; height: 64px; stroke-width: 1.4; }
.jc-price { position: absolute; top: 12px; inset-inline-end: 12px; padding: 6px 12px; border-radius: 999px; font-weight: 800; font-size: 13px; background: var(--site-surface); color: var(--site-text); box-shadow: var(--site-shadow-md); }
.jc-body { display: grid; gap: 10px; padding: var(--b-pad, 20px 22px 22px); min-width: 0; }
.jc-kicker { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 11.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--site-accent); }
.jc-kicker svg { width: 14px; height: 14px; }
.jc-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.35rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.025em; line-height: 1.12; text-wrap: balance; }
.jc-text { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; }
.jc-proof { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.jc-facts { display: grid; gap: 1px; font-size: 13px; color: var(--site-muted); }
.jc-facts b { color: var(--site-text); font-weight: 800; }
.jc-cta { margin-top: 4px; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 20px; border-radius: var(--site-btn-radius);
  font-weight: 800; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 14px 28px -16px var(--site-accent); transition: transform .18s var(--site-ease); }
.jc-cta:hover { transform: translateY(-2px); }
.jc-cta svg { width: 17px; height: 17px; }
.jc-cta-price { padding: 3px 9px; border-radius: 999px; font-size: 12.5px; background: color-mix(in oklab, var(--site-accent-text) 18%, transparent); }
/* Banner: the whole block is a bold accent strip */
.jc-banner { border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); color: var(--site-accent-text); box-shadow: var(--b-shadow, var(--site-shadow-lg));
  background: radial-gradient(80% 120% at 100% 0%, color-mix(in oklab, var(--site-surface) 28%, transparent), transparent 60%), linear-gradient(135deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 60%, var(--site-ink-dark))); }
.jc-banner .jc-kicker, .jc-banner .jc-text, .jc-banner .jc-facts, .jc-banner .jc-facts b { color: inherit; }
.jc-banner .jc-text, .jc-banner .jc-facts { opacity: .86; }
.jc-banner .jc-cta { background: var(--site-surface); color: var(--site-text); box-shadow: 0 12px 26px -14px var(--site-ink-dark); }
.jc-banner .jc-cta-price { background: color-mix(in oklab, var(--site-accent) 16%, transparent); }
.jc-banner .mc-face { box-shadow: 0 0 0 2px var(--site-accent); }
@container ws-page (min-width: 600px) {
  .jc-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: stretch; }
  .jc-split .jc-media { aspect-ratio: auto; min-height: 100%; }
  .jc-split .jc-body { align-content: center; padding: var(--b-pad, 26px); }
  .jc-banner .jc-body { grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; align-items: center; }
  .jc-banner .jc-body > :not(.jc-cta) { grid-column: 1; }
  .jc-banner .jc-cta { grid-column: 2; grid-row: 1 / span 4; }
}
/* Member initials (also in blocks/member_count) */
.jc .mc-faces, .mc .mc-faces { display: inline-flex; align-items: center; }
.mc-face { width: var(--fs, 32px); height: var(--fs, 32px); flex: none; border-radius: 50%; display: grid; place-items: center; margin-inline-start: calc(var(--fs, 32px) * -.16);
  font-size: calc(var(--fs, 32px) * .42); font-weight: 800; color: var(--site-accent-text); box-shadow: 0 0 0 2px var(--site-surface);
  background: color-mix(in oklab, var(--site-accent) calc(100% - var(--i, 0) * 12%), var(--site-text)); }
.mc-face:first-child { margin-inline-start: 0; }
.mc-more { background: var(--site-surface); color: var(--site-text); font-size: calc(var(--fs, 32px) * .32); box-shadow: 0 0 0 2px var(--site-surface), inset 0 0 0 1px var(--site-line); }
.mc-faces-s { --fs: 30px; } .mc-faces-m { --fs: 38px; } .mc-faces-l { --fs: 48px; }
@media (prefers-reduced-motion: reduce) { .jc-cta { transition: none; } }

/* css/site/blocks/lead_magnet.css */
/* Free download for email: card, featured, split, banner. */
.lm { display: grid; gap: 18px; padding: var(--b-pad, 22px); text-align: start; overflow: hidden; }
.lm-cover { justify-self: center; width: min(170px, 48%); aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; transform: rotate(-3deg);
  box-shadow: 0 1px 0 color-mix(in oklab, var(--site-surface) 60%, transparent) inset, 0 24px 44px -22px color-mix(in oklab, var(--site-ink-dark) 70%, transparent), 0 6px 14px -8px color-mix(in oklab, var(--site-ink-dark) 40%, transparent); }
.lm-doc { position: relative; display: grid; align-content: space-between; gap: 10px; width: 100%; height: 100%; padding: 16px 14px; color: var(--site-accent-text);
  background: radial-gradient(90% 70% at 100% 0%, color-mix(in oklab, var(--site-surface) 32%, transparent), transparent 60%), linear-gradient(160deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 55%, var(--site-ink-dark))); }
.lm-doc::before { content: ""; position: absolute; inset-block: 0; inset-inline-start: 8px; width: 2px; background: color-mix(in oklab, var(--site-accent-text) 22%, transparent); }
.lm-doc-top svg { width: 24px; height: 24px; opacity: .9; }
.lm-doc-lines { display: grid; gap: 6px; }
.lm-doc-lines i { display: block; height: 5px; border-radius: 3px; background: color-mix(in oklab, var(--site-accent-text) 30%, transparent); }
.lm-doc-lines i:nth-child(2) { width: 80%; } .lm-doc-lines i:nth-child(3) { width: 60%; }
.lm-doc b { font-family: var(--site-heading); font-size: 15px; line-height: 1.15; letter-spacing: -0.01em; }
.lm-body { display: grid; gap: 10px; min-width: 0; align-content: center; }
.lm-eyebrow { margin: 0; display: inline-flex; align-items: center; gap: 6px; width: fit-content; padding: 5px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  background: color-mix(in oklab, var(--site-accent) 13%, transparent); color: var(--site-accent); }
.lm-eyebrow svg { width: 13px; height: 13px; }
.lm-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.4rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; }
.lm-text { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.55; }
.lm-points { list-style: none; margin: 2px 0; padding: 0; display: grid; gap: 7px; }
.lm-points li { display: flex; gap: 9px; align-items: flex-start; font-size: 14px; font-weight: 600; }
.lm-points svg { width: 18px; height: 18px; flex: none; padding: 3px; border-radius: 50%; background: var(--site-accent); color: var(--site-accent-text); stroke-width: 3; margin-top: 1px; }
.lm-form { display: grid; gap: 8px; margin-top: 4px; }
.lm-row { display: flex; gap: 8px; }
.lm-row .ws-input { height: 50px; }
.lm-send { flex: none; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 50px; padding: 0 18px; border: 0; border-radius: var(--site-btn-radius);
  font: inherit; font-weight: 800; cursor: pointer; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 12px 24px -14px var(--site-accent); }
.lm-send svg { width: 17px; height: 17px; }
@container ws-page (max-width: 440px) { .lm-row { flex-direction: column; } .lm-row .ws-input { flex: none; width: 100%; } .lm-send { width: 100%; } }
.lm-done { display: grid; gap: 10px; }
.lm-done-t { margin: 0; display: flex; align-items: center; gap: 8px; font-weight: 700; }
.lm-done-t svg { color: var(--site-accent); width: 20px; height: 20px; }
.lm-mailed { padding: 12px 14px; border-radius: calc(var(--site-radius) - 2px); background: color-mix(in oklab, var(--site-accent) 10%, transparent); }
.lm-files { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.lm-file { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border-radius: calc(var(--site-radius) - 2px); border: 1.5px solid color-mix(in oklab, var(--site-accent) 45%, transparent); background: color-mix(in oklab, var(--site-accent) 7%, transparent); }
.lm-file-ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); }
.lm-file-t { display: grid; gap: 1px; min-width: 0; }
.lm-file-t strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lm-file-t small { color: var(--site-muted); font-size: 12px; }
/* Featured: a big cover on top */
.lm-featured .lm-cover { width: min(210px, 60%); margin-top: 6px; }
.lm-featured .lm-body { text-align: center; justify-items: center; }
.lm-featured .lm-points { justify-items: start; text-align: start; }
.lm-featured .lm-form { width: 100%; }
/* Banner: a slim strip */
.lm-banner { gap: 12px; }
.lm-banner .lm-title { font-size: calc(1.15rem * var(--b-scale, 1)); }
@container ws-page (min-width: 600px) {
  .lm-card, .lm-split { grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 26px; }
  .lm-card .lm-cover { width: 150px; }
  .lm-split { padding: var(--b-pad, 28px); }
  .lm-split .lm-cover { width: 220px; }
  .lm-split .lm-title { font-size: calc(1.7rem * var(--b-scale, 1)); }
}

/* css/site/blocks/link_group.css */
/* Link group: every shared collection layout, plus its own accordion (one fold for the whole group). */
.ws-block-link-group .ws-cv-buttons .ws-button .ws-button-label small { display: block; font-size: 12.5px; font-weight: 500; opacity: .72; }
.ws-lg-fold { overflow: hidden; }
.ws-lg-sum { display: flex; align-items: center; gap: 12px; min-height: 64px; padding: var(--b-pad, 14px 16px); cursor: pointer; list-style: none; text-align: start; }
.ws-lg-sum::-webkit-details-marker { display: none; }
.ws-lg-sum:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: -3px; border-radius: inherit; }
.ws-lg-sum-t { flex: 1; min-width: 0; display: grid; gap: 2px; }
.ws-lg-mark { width: 34px; height: 34px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, currentColor 7%, transparent); transition: transform .25s var(--site-ease); }
.ws-lg-fold[open] .ws-lg-mark { transform: rotate(180deg); }
.ws-lg-list { list-style: none; margin: 0; padding: 0 8px 8px; display: grid; gap: 2px; border-top: 1px solid var(--site-line); padding-top: 8px; }
.ws-lg-fold[open] .ws-lg-list > li { animation: ws-lg-in .35s var(--site-ease) both; animation-delay: calc(min(var(--i, 0), 8) * 35ms); }
@keyframes ws-lg-in { from { opacity: 0; transform: translateY(-4px); } }
.ws-lg-row { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 8px; border-radius: calc(var(--site-radius) + 2px); color: inherit; text-align: start; transition: background .18s; }
.ws-lg-row:hover { background: color-mix(in oklab, currentColor 6%, transparent); }
.ws-lg-thumb { width: 44px; height: 44px; flex: none; border-radius: max(10px, calc(var(--site-radius) - 4px)); overflow: hidden; display: grid; }
.ws-lg-thumb .ws-ico { width: 100%; height: 100%; border-radius: inherit; }
.ws-lg-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ws-lg-row-t { flex: 1; min-width: 0; display: grid; gap: 1px; }
.ws-lg-row-t strong { font-weight: 700; font-size: 15px; line-height: 1.3; overflow-wrap: anywhere; }
.ws-lg-row-t small { font-size: 13px; font-weight: 500; color: var(--site-muted); line-height: 1.35; }
.ws-lg-go { width: 18px; flex: none; display: grid; opacity: .45; transition: opacity .18s, transform .18s; }
.ws-lg-go svg { width: 16px; height: 16px; }
.ws-lg-row:hover .ws-lg-go { opacity: .9; transform: translate(calc(2px * var(--dir-sign, 1)), -2px); }
[dir="rtl"] .ws-lg-go svg { transform: scaleX(-1); }
.ws-block-link-group .ws-cv-compact .ws-chip-s { display: none; }

/* css/site/blocks/list_block.css */
/* Checklist / features: checklist, icons, grid, numbered. */
.ws-lb { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; text-align: start; }
.ws-lb.ws-surface { padding: var(--b-pad, 18px 18px); gap: 0; }
.ws-lb-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.ws-lb-mark { flex: none; display: grid; place-items: center; }
.ws-lb-words { display: grid; gap: 2px; min-width: 0; padding-block-start: 3px; }
.ws-lb-t { font-weight: 700; font-size: calc(15px * var(--b-scale, 1)); line-height: 1.35; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.ws-lb-x { color: var(--site-muted); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
/* Checklist: accent ticks, hairlines between points. */
.ws-lb-checklist .ws-lb-item { padding-block: 12px; border-block-end: 1px solid var(--site-line); }
.ws-lb-checklist .ws-lb-item:first-child { padding-block-start: 2px; }
.ws-lb-checklist .ws-lb-item:last-child { border-block-end: 0; padding-block-end: 2px; }
.ws-lb-checklist .ws-lb-mark { width: 24px; height: 24px; margin-block-start: 1px; border-radius: 50%; background: var(--site-accent); color: var(--site-accent-text); }
.ws-lb-checklist .ws-lb-mark svg { width: 14px; height: 14px; stroke-width: 3; }
.ws-lb-checklist .ws-lb-words { padding-block-start: 1px; }
/* Icons: a soft tile per point. */
.ws-lb-icons { gap: 16px; }
.ws-lb-icons .ws-lb-mark, .ws-lb-grid .ws-lb-mark { width: 42px; height: 42px; border-radius: calc(var(--site-radius) - 4px); background: color-mix(in oklab, var(--site-accent) 15%, transparent); color: var(--site-accent); }
.ws-lb-icons .ws-lb-mark svg, .ws-lb-grid .ws-lb-mark svg { width: 20px; height: 20px; }
.ws-lb-icons .ws-lb-words { padding-block-start: 1px; }
/* Grid: feature tiles. */
.ws-lb-grid { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; }
.ws-lb-grid .ws-lb-item { flex-direction: column; gap: 12px; padding: var(--b-pad, 16px); border-radius: var(--b-radius, calc(var(--site-radius) + 4px)); }
.ws-lb-grid .ws-lb-words { padding: 0; }
.ws-lb-grid .ws-lb-x { font-size: 13px; }
/* Numbered: big numerals in the heading face. */
.ws-lb-numbered .ws-lb-item { gap: 16px; padding-block: 14px; border-block-end: 1px solid var(--site-line); }
.ws-lb-numbered .ws-lb-item:first-child { padding-block-start: 2px; }
.ws-lb-numbered .ws-lb-item:last-child { border-block-end: 0; padding-block-end: 2px; }
.ws-lb-numbered .ws-lb-mark { min-width: 36px; font-family: var(--site-heading); font-size: 1.55rem; font-weight: 800; line-height: 1; letter-spacing: -0.04em; color: var(--site-accent); font-variant-numeric: tabular-nums; }

/* css/site/blocks/logo_cloud.css */
/* Logos / as seen in: grid, marquee, rows, grayscale. Logos are contained, never cropped; names without a logo
   become wordmarks in four typographic treatments so a row still looks designed. */
.ws-lc { --lc-h: 30px; display: grid; gap: 14px; text-align: center; }
.ws-lc-size-s { --lc-h: 22px; } .ws-lc-size-l { --lc-h: 42px; }
.ws-lc-title { margin: 0; font-size: 11.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--site-muted); }
.ws-lc-list { margin: 0; padding: 0; list-style: none; }
.ws-lc-cell { min-width: 0; display: grid; }
.ws-lc-logo { display: grid; place-items: center; min-height: 44px; min-width: 0; color: var(--site-text); transition: opacity .25s, filter .25s, transform .2s var(--site-ease); }
.ws-lc-logo .ws-media { width: auto; height: var(--lc-h); max-width: 100%; object-fit: contain; }
a.ws-lc-logo:hover { transform: translateY(-1px); }
a.ws-lc-logo:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: 2px; border-radius: 8px; }
.ws-lc-word { font-family: var(--site-heading); font-size: calc(var(--lc-h) * .62); line-height: 1; font-weight: 800; letter-spacing: -0.03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ws-lc-w1 .ws-lc-word { font-weight: 500; font-style: italic; font-family: "Instrument Serif", Georgia, serif; font-size: calc(var(--lc-h) * .78); letter-spacing: -0.01em; }
.ws-lc-w2 .ws-lc-word { font-weight: 700; letter-spacing: .18em; font-size: calc(var(--lc-h) * .46); text-transform: uppercase; }
.ws-lc-w3 .ws-lc-word { font-weight: 600; letter-spacing: -0.05em; }
.ws-lc-w3 .ws-lc-word::before { content: "●"; margin-inline-end: 4px; font-size: .7em; color: var(--site-accent); vertical-align: .1em; }
/* Grid and grayscale: even cells on a soft surface. */
:is(.ws-lc-grid, .ws-lc-grayscale) .ws-lc-list { display: grid; grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); gap: 8px; }
:is(.ws-lc-grid, .ws-lc-grayscale) .ws-lc-logo { min-height: calc(var(--lc-h) + 44px); padding: 12px 14px; border-radius: var(--b-radius, calc(var(--site-radius) + 2px));
  background: var(--b-bg, color-mix(in oklab, var(--site-surface) 70%, transparent)); border: var(--b-border, 1px solid var(--site-line)); }
@container ws-page (min-width: 600px) { :is(.ws-lc-grid, .ws-lc-grayscale) .ws-lc-list { grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); } }
.ws-lc-grayscale .ws-lc-logo { filter: grayscale(1); opacity: .6; }
.ws-lc-grayscale .ws-lc-logo:is(:hover, :focus-visible), .ws-lc-grayscale .ws-lc-cell:focus-within .ws-lc-logo { filter: none; opacity: 1; }
.ws-lc-grayscale .ws-lc-word { color: var(--site-muted); }
.ws-lc-grayscale .ws-lc-logo:is(:hover, :focus-visible) .ws-lc-word { color: var(--site-text); }
/* Rows: a wrapping line of logos between hairlines. */
.ws-lc-rows .ws-lc-list { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 28px; padding-block: 16px; border-block: 1px solid var(--site-line); }
.ws-lc-rows .ws-lc-logo { opacity: .82; }
.ws-lc-rows .ws-lc-logo:hover { opacity: 1; }
/* Marquee: on the shared strip, logos spaced out; a pause button. */
.ws-lc-mq .ws-track { gap: 40px; align-items: center; animation-duration: calc(var(--n, 6) * 3.2s); }
.ws-lc-mq .ws-lc-logo { opacity: .82; }
.ws-lc-mq .ws-lc-cell { flex: none; }
.ws-lc-mq.is-paused .ws-track { animation-play-state: paused; }
.ws-lc-mq .ws-mq-view { padding-block: 6px; }
.ws-lc-pause { display: grid; place-items: center; width: 44px; height: 44px; margin: 6px auto 0; border-radius: 50%; border: 1px solid var(--site-line); background: var(--site-surface); color: var(--site-text); cursor: pointer; }
.ws-lc-pause[hidden] { display: none; }
.ws-lc-pause svg { width: 15px; height: 15px; }
.ws-lc-i-play { display: none; }
.ws-lc-mq.is-paused .ws-lc-i-play { display: grid; } .ws-lc-mq.is-paused .ws-lc-i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .ws-lc-mq .ws-track { gap: 14px 28px; } .ws-lc-logo { transition: none; } }

/* css/site/blocks/logo_header.css */
/* Logo header: centered, left, banner. The mark is the logo (circle, rounded, square or a wide wordmark) or a monogram. */
.ws-lh { --lh: 84px; display: grid; justify-items: center; gap: 12px; text-align: center; }
.ws-lh-size-s { --lh: 64px; } .ws-lh-size-l { --lh: 112px; }
@container ws-page (min-width: 600px) { .ws-lh-size-m { --lh: 92px; } .ws-lh-size-l { --lh: 124px; } }
.ws-lh-mark { position: relative; z-index: 1; width: var(--lh); height: var(--lh); flex: none; display: grid; place-items: center; overflow: hidden; border-radius: 26%;
  background: var(--site-surface); box-shadow: 0 0 0 1px var(--site-line), 0 14px 30px -18px rgb(0 0 0 / .45); color: inherit; transition: transform .2s var(--site-ease); }
a.ws-lh-mark:hover { transform: translateY(-2px) scale(1.02); }
.ws-lh-circle .ws-lh-mark { border-radius: 50%; }
.ws-lh-square .ws-lh-mark { border-radius: 6px; }
.ws-lh-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-lh-wordmark .ws-lh-mark { width: auto; max-width: min(280px, 80%); height: calc(var(--lh) * .62); border-radius: 0; background: none; box-shadow: none; overflow: visible; }
.ws-lh-wordmark .ws-lh-img { width: auto; max-width: 100%; height: 100%; object-fit: contain; }
.ws-lh-mono { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--site-heading); font-weight: 800; letter-spacing: -0.04em;
  font-size: calc(var(--lh) * .36); color: var(--site-accent-text);
  background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / .35), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 85%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 60%, var(--site-text))); }
.ws-lh-wordmark .ws-lh-mono { width: auto; padding-inline: .5em; border-radius: 12px; }
.ws-lh-text { display: grid; gap: 4px; min-width: 0; }
.ws-lh-name { margin: 0; font-family: var(--site-heading); font-size: calc(1.45rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; overflow-wrap: anywhere; }
.ws-site .ws-lh-tag { margin: 0; color: var(--site-muted); font-size: 14.5px; font-weight: 500; line-height: 1.45; max-width: 40ch; margin-inline: auto; }
.ws-lh-wordmark .ws-lh-name { font-size: calc(1.1rem * var(--b-scale, 1)); }
@container ws-page (min-width: 600px) { .ws-lh-name { font-size: calc(1.7rem * var(--b-scale, 1)); } }

.ws-lh-left { display: flex; align-items: center; gap: 16px; text-align: start; }
.ws-lh-left .ws-lh-tag { margin-inline: 0; }
.ws-s-align-start .ws-lh-centered { justify-items: start; text-align: start; }
.ws-s-align-start .ws-lh-centered .ws-lh-tag { margin-inline: 0; }

.ws-lh-banner { justify-items: start; text-align: start; gap: 0; }
.ws-lh-cover { width: 100%; aspect-ratio: 2.4 / 1; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 10px)); box-shadow: var(--site-shadow-md); }
@container ws-page (min-width: 600px) { .ws-lh-cover { aspect-ratio: 3.2 / 1; } }
.ws-lh-cover-ph { display: block; width: 100%; height: 100%;
  background: radial-gradient(60% 90% at 12% 110%, color-mix(in oklab, var(--site-accent) 70%, transparent), transparent 70%),
    radial-gradient(50% 80% at 90% 0%, color-mix(in oklab, var(--site-accent) 45%, var(--site-surface)), transparent 70%),
    linear-gradient(135deg, color-mix(in oklab, var(--site-accent) 35%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 80%, var(--site-text))); }
.ws-lh-banner .ws-lh-mark { margin-top: calc(var(--lh) * -.5); margin-inline-start: 18px; box-shadow: 0 0 0 4px var(--site-bg-base, var(--site-surface)), 0 14px 30px -18px rgb(0 0 0 / .5); }
.ws-lh-banner.ws-lh-wordmark .ws-lh-mark { margin-top: 14px; box-shadow: none; }
.ws-lh-banner .ws-lh-text { padding: 12px 6px 0; }
.ws-lh-banner .ws-lh-tag { margin-inline: 0; }
.ws-s-align-center .ws-lh-banner { justify-items: center; text-align: center; }
.ws-s-align-center .ws-lh-banner .ws-lh-mark { margin-inline-start: 0; }

/* css/site/blocks/map.css */
/* Map / location: map, card, split, compact. The placeholder (builder, or no coordinates) is drawn with tokens only. */
.mp { overflow: hidden; display: grid; text-align: start; }
.mp-map { position: relative; aspect-ratio: 16 / 10; min-height: 200px; background: color-mix(in oklab, var(--site-accent) 8%, var(--site-surface)); }
.mp-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.mp-ph { position: absolute; inset: 0; overflow: hidden; display: grid; place-items: center; }
.mp-ph-grid { position: absolute; inset: 0; background: linear-gradient(color-mix(in oklab, var(--site-text) 6%, transparent) 1px, transparent 1px) 0 0 / 28px 28px,
  linear-gradient(90deg, color-mix(in oklab, var(--site-text) 6%, transparent) 1px, transparent 1px) 0 0 / 28px 28px; }
.mp-ph-road { position: absolute; background: color-mix(in oklab, var(--site-surface) 92%, var(--site-text)); border-radius: 6px; box-shadow: 0 0 0 1px color-mix(in oklab, var(--site-text) 8%, transparent); }
.mp-ph-r1 { inset-inline: -10%; top: 58%; height: 14px; transform: rotate(-8deg); }
.mp-ph-r2 { inset-block: -10%; inset-inline-start: 34%; width: 12px; transform: rotate(14deg); }
.mp-ph-r3 { inset-inline: 40% -10%; top: 24%; height: 9px; transform: rotate(22deg); }
.mp-ph-pin { position: relative; width: 50px; height: 50px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 16px 28px -12px var(--site-accent); }
.mp-ph-pin svg { transform: rotate(45deg); width: 22px; height: 22px; }
.mp-ph-note { position: absolute; bottom: 12px; padding: 6px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; background: var(--site-surface); color: var(--site-muted); box-shadow: var(--site-shadow-sm); }
.mp-chip { position: absolute; bottom: 12px; inset-inline-start: 12px; max-width: calc(100% - 24px); display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 999px;
  font-weight: 800; font-size: 13px; background: var(--site-surface); color: var(--site-text); box-shadow: var(--site-shadow-md); pointer-events: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mp-chip svg { width: 15px; height: 15px; color: var(--site-accent); flex: none; }
.mp-info { display: grid; gap: 12px; padding: var(--b-pad, 18px 20px 20px); }
.mp-where { display: flex; gap: 12px; align-items: flex-start; }
.mp-pin { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 15%, transparent); color: var(--site-accent); }
.mp-pin svg { width: 20px; height: 20px; }
.mp-title { margin: 0 0 2px; font-family: var(--site-heading); font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; }
.mp-address { font-style: normal; display: grid; color: var(--site-muted); font-size: 14px; line-height: 1.45; }
.mp-note { margin: 0; display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--site-muted); }
.mp-note svg { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.mp-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mp-btn { flex: 1 1 140px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 46px; padding: 0 16px; border-radius: var(--site-btn-radius);
  font-weight: 800; font-size: 14px; border: 1.5px solid color-mix(in oklab, var(--site-text) 14%, transparent); color: var(--site-text); }
.mp-btn.is-main { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; box-shadow: 0 12px 24px -14px var(--site-accent); }
.mp-btn svg { width: 16px; height: 16px; }
.mp-map-v .mp-map, .mp-map.is-tall { aspect-ratio: 4 / 3; }
.mp-row { display: flex; align-items: center; gap: 12px; min-height: 64px; padding-block: 12px; padding-inline: 14px 12px; text-align: start; }
.mp-row-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.mp-row-t .ws-t2 { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@container ws-page (min-width: 600px) {
  .mp-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
  .mp-split .mp-map { aspect-ratio: auto; min-height: 300px; }
  .mp-split .mp-info { align-content: center; padding: var(--b-pad, 24px); }
  .mp-split .mp-actions { flex-direction: column; }
  .mp-split .mp-btn { flex: none; }
}

/* css/site/blocks/media_banner.css */
/* Media banner: polish on the shared banner, image-card, hero and split for a photo-led promotion. */
.ws-block-media-banner .ws-sv-banner { min-height: 220px; align-items: flex-end; }
.ws-block-media-banner .ws-bn-body { flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 12px; padding: var(--b-pad, 22px 20px); }
.ws-block-media-banner .ws-sv-banner .ws-t1 { font-size: calc(1.45rem * var(--b-scale, 1)); letter-spacing: -0.03em; text-wrap: balance; max-width: 22ch; }
.ws-block-media-banner .ws-bn-shade { background: linear-gradient(180deg, transparent 20%, color-mix(in oklab, var(--site-ink-dark) 78%, transparent)); }
.ws-block-media-banner .ws-sv-banner .ws-media { transition: transform 1s var(--site-ease); }
.ws-block-media-banner .ws-sv-banner:hover .ws-media { transform: scale(1.03); }
@container ws-page (min-width: 600px) {
  .ws-block-media-banner .ws-sv-banner { min-height: 260px; align-items: center; }
  .ws-block-media-banner .ws-bn-body { flex-direction: row; align-items: flex-end; justify-content: space-between; padding: var(--b-pad, 30px 32px); }
  .ws-block-media-banner .ws-bn-shade { background: linear-gradient(90deg, color-mix(in oklab, var(--site-ink-dark) 76%, transparent), transparent 75%); }
  [dir="rtl"] .ws-block-media-banner .ws-bn-shade { background: linear-gradient(-90deg, color-mix(in oklab, var(--site-ink-dark) 76%, transparent), transparent 75%); }
}
@media (prefers-reduced-motion: reduce) { .ws-block-media-banner .ws-sv-banner .ws-media { transition: none; } .ws-block-media-banner .ws-sv-banner:hover .ws-media { transform: none; } }

/* css/site/blocks/member_count.css */
/* Member avatars: avatars, count, card (the initials themselves are in blocks/join_community, which this block loads). */
.mc { display: grid; gap: 10px; justify-items: var(--b-justify, center); text-align: var(--b-align, center); }
.mc-row { display: flex; align-items: center; justify-content: var(--b-justify, center); gap: 12px; flex-wrap: wrap; }
.mc-line { margin: 0; font-size: 15px; color: var(--site-muted); font-weight: 600; }
.mc-line strong { color: var(--site-text); font-weight: 800; font-variant-numeric: tabular-nums; }
.mc-text { margin: 0; color: var(--site-muted); font-size: 13.5px; line-height: 1.5; max-width: 42ch; }
.mc-big { margin: 0; display: grid; gap: 2px; }
.mc-big strong { font-family: var(--site-heading); font-size: calc(3rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.05em; line-height: .95; font-variant-numeric: tabular-nums;
  background: linear-gradient(135deg, var(--site-text), var(--site-accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mc-big span { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .14em; color: var(--site-muted); }
.mc-card { padding: var(--b-pad, 22px); }
.mc-card .mc-line { font-size: 16px; }
.mc-card .jc-cta { width: 100%; }

/* css/site/blocks/messengers.css */
/* Message me: buttons, rows, grid, floating (the page's sticky slot). App colours from blocks/_networks. */
.ws-msg { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ws-msg > li { min-width: 0; display: grid; }
.ws-msg-item { display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 56px; padding: 8px 16px 8px 8px; border: 0; font: inherit; text-align: start; cursor: pointer; color: inherit; background: none; width: 100%; }
.ws-msg-ico { width: 40px; height: 40px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }
.ws-site .ws-msg-ico svg { width: 21px; height: 21px; }
.ws-msg-t { flex: 1; min-width: 0; display: grid; gap: 1px; line-height: 1.3; }
.ws-msg-t b { font-weight: 750; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-msg-t small { font-size: 12.5px; font-weight: 600; color: var(--site-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Buttons: the app's colour, full width. */
.ws-msg-buttons .ws-msg-item { border-radius: var(--site-btn-radius); background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); min-height: 58px; box-shadow: 0 12px 26px -18px var(--net, var(--site-accent)); }
.ws-msg-buttons .ws-msg-ico { background: color-mix(in oklab, var(--net-ink, #FFFFFF) 18%, transparent); color: inherit; }
.ws-msg-buttons .ws-msg-t { text-align: center; padding-inline-end: 40px; }
.ws-msg-buttons .ws-msg-t small { color: inherit; opacity: .8; }

/* Rows: one surface card per app. */
.ws-msg-rows .ws-msg-item { background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); border-radius: var(--b-radius, calc(var(--site-radius) + 4px)); box-shadow: var(--b-shadow, var(--site-shadow-sm)); padding-inline-end: 12px; }
.ws-msg-copy { display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: color-mix(in oklab, currentColor 8%, transparent); }
.ws-msg-copy svg { width: 14px; height: 14px; }
.ws-msg-copied { display: none; }
[data-copied] .ws-msg-copy-t { display: none; } [data-copied] .ws-msg-copied { display: inline; }
.ws-msg-item.ws-copied { outline-offset: 2px; }

/* Grid: branded tiles. */
.ws-msg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container ws-page (min-width: 600px) { .ws-msg-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-msg-grid .ws-msg-item { flex-direction: column; align-items: flex-start; gap: 18px; min-height: 124px; padding: 14px; border-radius: var(--b-radius, calc(var(--site-radius) + 6px));
  background: linear-gradient(160deg, color-mix(in oklab, var(--net, var(--site-accent)) 14%, var(--site-surface)), var(--site-surface) 75%); border: 1px solid color-mix(in oklab, var(--net, var(--site-accent)) 25%, var(--site-line)); box-shadow: var(--site-shadow-sm); }
.ws-msg-grid .ws-msg-t { flex: none; width: 100%; }
.ws-msg-grid .ws-msg-ico { width: 44px; height: 44px; }

/* Floating: a round button in the corner of the screen (inline end), clear of the home bar. */
.ws-sticky > .ws-block-messengers.ws-v-floating { justify-self: end; width: auto; }
.ws-msg-float { position: relative; display: grid; justify-items: end; }
.ws-msg-fab { position: relative; width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; border: 0; cursor: pointer; list-style: none; padding: 0;
  background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); box-shadow: 0 16px 36px -12px rgb(0 0 0 / .45), 0 0 0 4px color-mix(in oklab, var(--net, var(--site-accent)) 22%, transparent);
  transition: transform .2s var(--site-ease); }
.ws-msg-fab::-webkit-details-marker { display: none; }
.ws-msg-fab:hover { transform: scale(1.06); }
.ws-site .ws-msg-fab svg { width: 28px; height: 28px; }
.ws-msg-fab-main { background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 16px 36px -12px rgb(0 0 0 / .45), 0 0 0 4px color-mix(in oklab, var(--site-accent) 22%, transparent); }
.ws-msg-fab-tip { position: absolute; inset-inline-end: calc(100% + 10px); white-space: nowrap; padding: 8px 12px; border-radius: 999px; font-size: 13px; font-weight: 700;
  background: var(--site-surface); color: var(--site-text); box-shadow: var(--site-shadow-md); border: 1px solid var(--site-line); pointer-events: none; }
.ws-msg-close { display: none; }
.ws-msg-menu[open] .ws-msg-open { display: none; } .ws-msg-menu[open] .ws-msg-close { display: grid; }
.ws-msg-pop { position: absolute; bottom: calc(100% + 12px); inset-inline-end: 0; list-style: none; margin: 0; padding: 0; display: grid; justify-items: end; gap: 8px; }
.ws-msg-menu[open] .ws-msg-pop li { animation: ws-msg-pop .28s var(--site-ease) both; animation-delay: calc((var(--n, 4) - var(--i, 0)) * 30ms); }
@keyframes ws-msg-pop { from { opacity: 0; transform: translateY(8px) scale(.96); } }
.ws-msg-pill { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 5px 16px 5px 5px; border-radius: 999px; border: 0; font: inherit; cursor: pointer; white-space: nowrap;
  font-size: 14px; font-weight: 700; background: var(--site-surface); color: var(--site-text); box-shadow: 0 12px 28px -12px rgb(0 0 0 / .4); border: 1px solid var(--site-line); }
.ws-msg-pill .ws-msg-ico { width: 38px; height: 38px; }
.ws-site .ws-msg-pill .ws-msg-ico svg { width: 19px; height: 19px; }
.ws-mode-canvas .ws-msg-menu .ws-msg-pop, .ws-is-thumb .ws-msg-menu .ws-msg-pop { position: static; margin-bottom: 10px; }

/* css/site/blocks/price_list.css */
/* Price list / menu (ADR-0068, W3): rows, grid, menu. */
.ws-pl { display: grid; gap: 12px; min-width: 0; text-align: start; }
.ws-pl-sname { margin: 0 0 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--site-accent); }
.ws-pl-list { display: grid; margin: 0; padding: 0; list-style: none; }
.ws-pl-name { font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; overflow-wrap: anywhere; }
.ws-pl-desc { display: block; margin-top: 2px; color: var(--site-muted); font-size: 13.5px; line-height: 1.45; }
.ws-pl-tag { display: inline-flex; vertical-align: 2px; margin-inline-start: 6px; padding: 2px 8px; border-radius: 999px; font-size: 10.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.ws-pl-price { display: inline-flex; align-items: baseline; gap: 5px; flex: none; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ws-pl-price b { font-weight: 800; font-size: 15px; }
.ws-pl-price small { font-size: 12px; font-weight: 600; color: var(--site-muted); }
.ws-pl-price small.is-alone { font-style: italic; }
.ws-pl-note { margin: 2px 0 0; color: var(--site-muted); font-size: 12.5px; text-align: var(--b-align, center); }

/* Rows */
.ws-pl-rows .ws-pl-section { padding: var(--b-pad, 16px 18px); }
.ws-pl-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--site-line); }
.ws-pl-row:first-child { border-top: 0; padding-top: 6px; }
.ws-pl-row:last-child { padding-bottom: 2px; }
.ws-pl-main { flex: 1; min-width: 0; }
.ws-pl-row .ws-thumb { width: 52px; height: 52px; }

/* Grid */
.ws-pl-grid { gap: 18px; }
.ws-pl-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
@container ws-page (min-width: 1024px) { .ws-pl-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-pl-card { display: flex; flex-direction: column; overflow: hidden; }
.ws-pl-card-media { display: block; aspect-ratio: 1; overflow: hidden; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-pl-card-body { display: flex; flex-direction: column; gap: 4px; flex: 1; padding: 12px; }
.ws-pl-card .ws-pl-tag { margin: 0 0 2px; width: fit-content; }
.ws-pl-card .ws-pl-price { margin-top: auto; padding-top: 6px; }
.ws-pl-card .ws-pl-price b { font-size: 16px; color: var(--site-accent); }

/* Menu */
.ws-pl-menu { gap: 22px; padding: var(--b-pad, 26px 22px); }
.ws-pl-mtitle { margin: 0; text-align: center; font-family: var(--site-heading); font-size: calc(1.6rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.ws-pl-mintro { margin: -14px auto 0; max-width: 42ch; text-align: center; color: var(--site-muted); font-size: 14px; }
.ws-heading-serif .ws-pl-mtitle { font-style: italic; font-weight: 400; }
.ws-pl-menu .ws-pl-sname { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; text-align: center; }
.ws-pl-menu .ws-pl-sname::before, .ws-pl-menu .ws-pl-sname::after { content: ""; flex: 1; height: 1px; background: color-mix(in oklab, var(--site-accent) 40%, transparent); }
.ws-pl-menu .ws-pl-list { gap: 14px; }
.ws-pl-line { display: flex; align-items: baseline; gap: 8px; }
.ws-pl-dots { flex: 1; min-width: 16px; border-bottom: 1.5px dotted color-mix(in oklab, var(--site-text) 30%, transparent); transform: translateY(-4px); }
.ws-pl-menu .ws-pl-desc { font-style: italic; }
.ws-pl-menu .ws-pl-note { margin-top: -6px; }
.ws-site .ws-pl-sname { color: var(--site-accent); }
.ws-site :is(.ws-pl-note, .ws-pl-mintro) { color: var(--site-muted); }

/* css/site/blocks/pricing_table.css */
/* Pricing table (ADR-0068, W3): cards, compare, rows. The highlighted plan carries an accent ring and a filled button. */
.ws-pt { --pt-line: color-mix(in oklab, var(--site-text) 10%, transparent); min-width: 0; }
.ws-pt-name { margin: 0; font-family: var(--site-heading); font-size: calc(1.08rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; }
.ws-pt-for { margin: 2px 0 0; color: var(--site-muted); font-size: 13.5px; line-height: 1.4; }
.ws-pt-badge { display: inline-flex; align-items: center; gap: 5px; width: fit-content; padding: 4px 10px; border-radius: 999px; font-size: 11.5px; font-weight: 800; letter-spacing: .02em; white-space: nowrap;
  background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.ws-pt-badge svg { width: 13px; height: 13px; }
.ws-pt-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; margin: 0; font-variant-numeric: tabular-nums; }
.ws-pt-amount { font-family: var(--site-heading); font-size: calc(2rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
.ws-pt-per { color: var(--site-muted); font-size: 13.5px; font-weight: 600; }
.ws-pt-was { color: var(--site-muted); font-size: 13.5px; font-weight: 600; }
.ws-pt-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 18px; border-radius: var(--site-btn-radius); font-weight: 700; font-size: 14.5px;
  border: 1.5px solid color-mix(in oklab, var(--site-text) 18%, transparent); color: inherit; background: transparent; transition: transform .18s var(--site-ease), background .18s, box-shadow .18s; }
.ws-pt-cta svg { width: 16px; height: 16px; transition: transform .18s var(--site-ease); }
.ws-pt-cta:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-pt-cta:hover svg { transform: translateX(calc(3px * var(--dir-sign, 1))); }
.ws-pt-cta.is-primary { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; box-shadow: 0 12px 26px -14px var(--site-accent); }
.ws-pt-cta.is-primary:hover { background: var(--site-accent); filter: brightness(1.05); }
.ws-pt-note { margin: 10px 0 0; color: var(--site-muted); font-size: 12.5px; text-align: var(--b-align, center); }

/* Cards */
.ws-pt-cards { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; align-items: stretch; }
@container ws-page (min-width: 600px) { .ws-pt-cards[data-count="2"], .ws-pt-cards[data-count="4"] { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ws-pt-cards:is([data-count="3"], [data-count="5"], [data-count="6"]) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@container ws-page (min-width: 1024px) { .ws-pt-cards[data-count="4"] { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ws-pt-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: var(--b-pad, 20px); text-align: start; min-width: 0; }
.ws-pt-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ws-pt-titles { min-width: 0; }
.ws-pt-plan .ws-pt-cta { width: 100%; }
.ws-pt-plan.is-hl { border-color: transparent; box-shadow: 0 0 0 2px var(--site-accent), var(--b-shadow, var(--site-shadow-lg)); }
.ws-pt-plan.is-hl .ws-pt-badge { background: var(--site-accent); color: var(--site-accent-text); }
@container ws-page (min-width: 600px) { .ws-pt-cards .ws-pt-plan.is-hl { transform: translateY(-6px); } }
.ws-pt-feats { display: grid; gap: 9px; margin: 2px 0 0; padding: 14px 0 0; list-style: none; border-top: 1px solid var(--pt-line); font-size: 14px; line-height: 1.4; }
.ws-pt-feats li { display: flex; align-items: flex-start; gap: 9px; }
.ws-pt-feats li.is-off { color: var(--site-muted); }
.ws-pt-feats li.is-off > span:last-child { text-decoration: line-through; text-decoration-color: color-mix(in oklab, currentColor 45%, transparent); }
.ws-pt-tick { width: 20px; height: 20px; flex: none; border-radius: 50%; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 16%, transparent); color: var(--site-accent); }
.ws-pt-tick svg { width: 12px; height: 12px; stroke-width: 3; }
.is-off > .ws-pt-tick, .ws-pt-tick.is-off { background: color-mix(in oklab, var(--site-text) 7%, transparent); color: var(--site-muted); }

/* Rows */
.ws-pt-rows { display: grid; gap: 10px; }
.ws-pt-row { display: grid; gap: 14px; padding: var(--b-pad, 16px 18px); text-align: start; }
.ws-pt-row.is-hl { box-shadow: 0 0 0 2px var(--site-accent), var(--b-shadow, var(--site-shadow-md)); border-color: transparent; }
.ws-pt-row.is-hl .ws-pt-badge { background: var(--site-accent); color: var(--site-accent-text); }
.ws-pt-row-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ws-pt-row-end { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ws-pt-row .ws-pt-amount { font-size: calc(1.5rem * var(--b-scale, 1)); }
.ws-pt-chips { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 8px 0 0; padding: 0; list-style: none; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-pt-chips li { display: inline-flex; align-items: center; gap: 4px; }
.ws-pt-chips svg { width: 13px; height: 13px; color: var(--site-accent); stroke-width: 3; }
@container ws-page (min-width: 600px) {
  .ws-pt-row { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .ws-pt-row-end { flex-direction: column; align-items: flex-end; gap: 8px; }
}

/* Compare */
.ws-pt-compare { padding: 0; overflow: hidden; }
.ws-pt-scroll { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.ws-pt-scroll:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 60%, transparent); outline-offset: -3px; }
.ws-pt-table { width: 100%; min-width: calc(150px + var(--n, 3) * 128px); border-collapse: separate; border-spacing: 0; font-size: 14px; }
.ws-pt-table th, .ws-pt-table td { padding: 12px 10px; border-bottom: 1px solid var(--pt-line); text-align: center; vertical-align: middle; }
.ws-pt-table tbody tr:last-child > * { border-bottom: 0; }
.ws-pt-table tbody th { position: sticky; inset-inline-start: 0; z-index: 1; text-align: start; font-weight: 600; background: var(--b-bg, var(--site-surface)); min-width: 150px; max-width: 220px; }
.ws-pt-table thead th { vertical-align: bottom; padding-top: 18px; background: color-mix(in oklab, var(--site-text) 3%, transparent); }
.ws-pt-table thead th > * { display: flex; justify-content: center; margin-inline: auto; }
.ws-pt-table thead th > * + * { margin-top: 6px; }
.ws-pt-table thead .ws-pt-corner { position: sticky; inset-inline-start: 0; z-index: 2; background: var(--b-bg, var(--site-surface)); }
.ws-pt-table .ws-pt-amount { font-size: 1.35rem; }
.ws-pt-table .ws-pt-price { justify-content: center; }
.ws-pt-table .ws-pt-cta { min-height: 40px; padding: 0 14px; font-size: 13.5px; width: 100%; }
.ws-pt-table .is-hl { background: color-mix(in oklab, var(--site-accent) 7%, var(--b-bg, var(--site-surface))); }
.ws-pt-table thead th.is-hl { background: color-mix(in oklab, var(--site-accent) 12%, var(--b-bg, var(--site-surface))); box-shadow: inset 0 3px 0 var(--site-accent); }
.ws-pt-table .ws-pt-tick { margin-inline: auto; }
@media (prefers-reduced-motion: reduce) { .ws-pt-cards .ws-pt-plan.is-hl { transform: none; } }
.ws-pt-rows .ws-pt-cta { white-space: nowrap; flex: none; }
.ws-pt-rows .ws-pt-price { flex-wrap: nowrap; }
.ws-pt-table thead th { min-width: 132px; }
/* Beat the shell's `.ws-site p/h3 { color: inherit }`. */
.ws-site :is(.ws-pt-for, .ws-pt-note, .ws-pt-per, .ws-pt-was) { color: var(--site-muted); }
.ws-site a.ws-pt-cta.is-primary { color: var(--site-accent-text); }

/* css/site/blocks/profile.css */
/* Profile block (ADR-0068): classic, cover, hero and left keep their original look; split, card, minimal and sidebar are new. */
.ws-profile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; margin-bottom: 6px; }
.ws-profile-left { flex-direction: row; text-align: start; }
.ws-profile-hero .ws-avatar { width: 120px; height: 120px; }
.ws-profile-hero .ws-name { font-size: 1.7rem; }
.ws-avatar { width: 96px; height: 96px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 22%, var(--site-surface)); color: var(--site-text); font-size: 2rem; font-weight: 600; box-shadow: 0 0 0 4px color-mix(in oklab, var(--site-surface) 70%, transparent), 0 10px 30px -10px rgb(0 0 0 / .25); }
.ws-avatar img { width: 100%; height: 100%; object-fit: cover; }
.ws-name { margin: 0; font-family: var(--site-heading); font-size: 1.6rem; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; display: inline-flex; align-items: center; gap: 6px; }
.ws-font-lora .ws-name { font-family: "Lora", Georgia, serif; font-style: italic; }
.ws-heading-serif .ws-name { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.ws-heading-serif .ws-name { font-size: 2.1rem; }
.ws-verified { color: var(--site-accent); width: 20px !important; height: 20px !important; }
.ws-bio { margin: 4px 0 0; color: var(--site-muted); max-width: 420px; }
.ws-profile-cover { margin: -44px -18px 6px; gap: 10px; }
.ws-cover { width: 100%; height: 190px; background: var(--site-cover, none); background-size: cover; background-position: center; border-radius: 0 0 34px 34px; position: relative; overflow: hidden; }
.ws-cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 80% at 80% 0%, rgb(255 255 255 / .28), transparent 60%); pointer-events: none; }
.ws-light .ws-cover:not([style]) { background: var(--site-cover); }
.ws-profile-cover .ws-avatar { position: relative; z-index: 1; width: 112px; height: 112px; margin-top: -64px; font-size: 2.3rem; font-family: var(--site-heading); font-weight: 700; box-shadow: 0 0 0 5px var(--site-bg-base), 0 18px 40px -16px rgb(0 0 0 / .45); background: linear-gradient(145deg, color-mix(in oklab, var(--site-accent) 70%, #000), var(--site-accent)); color: var(--site-accent-text); }
.ws-profile-cover .ws-profile-text { padding: 0 18px; }
.ws-profile-cover .ws-bio { margin: 6px auto 0; }
.ws-profile-hero .ws-avatar { width: 128px; height: 128px; }
.ws-profile-hero .ws-name { font-size: 2rem; }
@container ws-page (min-width: 720px) { .ws-cover { height: 220px; border-radius: 0 0 40px 40px; } }
/* The cover reaches the page edges only where the page is one column (classic-width shells). */
.ws-shell-modern .ws-profile-cover, .ws-shell-advanced .ws-profile-cover { margin-top: -44px; }
.ws-profile-left .ws-bio { margin-inline: 0; }

/* Hero with a cover: a big cover band behind a large avatar. */
.ws-pv-hero .ws-cover { position: absolute; inset: -44px -18px auto; width: auto; height: 170px; border-radius: 0 0 36px 36px; z-index: 0; }
.ws-pv-hero:has(.ws-cover) { position: relative; padding-top: 70px; }
.ws-pv-hero .ws-avatar, .ws-pv-hero .ws-profile-text { position: relative; z-index: 1; }
.ws-pv-hero:has(.ws-cover) .ws-avatar { box-shadow: 0 0 0 5px var(--site-bg-base), 0 18px 40px -16px rgb(0 0 0 / .45); }

/* Split: a large photo beside the name and bio (stacked on phones). */
.ws-pv-split { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; text-align: start; align-items: center; }
.ws-pv-photo { position: relative; aspect-ratio: 4 / 3; border-radius: calc(var(--site-radius) + 10px); overflow: hidden; box-shadow: var(--site-shadow-lg); background: color-mix(in oklab, var(--site-accent) 22%, var(--site-surface)); }
.ws-pv-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ws-pv-initial { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--site-heading); font-size: 4rem; font-weight: 700; color: var(--site-accent-text); background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .3), transparent 55%), linear-gradient(150deg, color-mix(in oklab, var(--site-accent) 85%, #fff), color-mix(in oklab, var(--site-accent) 65%, #000)); }
.ws-pv-split .ws-name { font-size: clamp(1.9rem, 1.4rem + 2.4cqw, 3rem); letter-spacing: -0.04em; }
.ws-pv-split .ws-bio { font-size: 1.05rem; max-width: 46ch; }
@container ws-page (min-width: 600px) { .ws-pv-split { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(20px, 4cqw, 48px); } .ws-pv-photo { aspect-ratio: 4 / 5; max-height: 420px; } }

/* Card: the profile on a surface, with an optional cover strip. */
.ws-pv-card { position: relative; overflow: hidden; padding: var(--b-pad, 24px 20px); }
.ws-pv-card .ws-cover { position: absolute; inset: 0 0 auto; height: 96px; border-radius: 0; }
.ws-pv-card:has(.ws-cover) { padding-top: 56px; }
.ws-pv-card .ws-avatar { position: relative; box-shadow: 0 0 0 4px var(--site-surface), var(--site-shadow-md); }
.ws-card-glass .ws-pv-card:has(.ws-cover) .ws-avatar { box-shadow: 0 0 0 4px var(--site-bg-base), var(--site-shadow-md); }

/* Minimal: name and bio, typographic. */
.ws-pv-minimal { align-items: var(--b-justify, center); gap: 6px; padding-block: 8px; }
.ws-pv-minimal .ws-name { font-size: clamp(2rem, 1.5rem + 3cqw, 3.4rem); letter-spacing: -0.045em; }
.ws-pv-minimal .ws-bio { font-size: 1.05rem; max-width: 52ch; }

/* Sidebar: large avatar; the Creator system pins it beside the content on desktop. */
.ws-pv-sidebar .ws-avatar { width: 120px; height: 120px; }
.ws-pv-sidebar .ws-cover { height: 120px; border-radius: calc(var(--site-radius) + 10px); margin-bottom: -60px; }
.ws-pv-sidebar:has(.ws-cover) .ws-avatar { position: relative; box-shadow: 0 0 0 5px var(--site-bg-base), var(--site-shadow-md); }
.ws-pv-sidebar .ws-name { font-size: 1.9rem; }
@container ws-page (min-width: 1024px) { .ws-pv-sidebar { align-items: flex-start; text-align: start; } .ws-pv-sidebar .ws-bio { margin-inline: 0; } }

/* css/site/blocks/qr_code.css */
/* QR code: card, compact, poster. The code always sits on a light tile so it scans in dark themes too. */
.qr { display: grid; gap: 16px; padding: var(--b-pad, 20px); justify-items: center; text-align: center; }
.qr-code { width: min(220px, 72%); aspect-ratio: 1; padding: 10px; border-radius: 18px; background: var(--site-ink-light); box-shadow: 0 0 0 1px var(--site-line), var(--site-shadow-md); }
.qr-code svg { width: 100%; height: 100%; display: block; }
.qr-body { display: grid; gap: 6px; justify-items: center; min-width: 0; }
.qr-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.2rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.02em; }
.qr-text { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.5; max-width: 40ch; }
.qr-url { margin: 2px 0 0; display: inline-flex; align-items: center; gap: 6px; max-width: 100%; font-size: 12.5px; font-weight: 700; color: var(--site-muted); }
.qr-url span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qr-url svg { width: 14px; height: 14px; flex: none; }
.qr-dl { display: flex; gap: 8px; margin-top: 6px; }
.qr-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 14px; border-radius: 999px; font-weight: 800; font-size: 13px; border: 1.5px solid color-mix(in oklab, var(--site-text) 14%, transparent); }
.qr-btn:hover { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; }
.qr-btn svg { width: 15px; height: 15px; }
@container ws-page (min-width: 600px) {
  .qr-card { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: start; align-items: center; gap: 22px; }
  .qr-card .qr-code { width: 180px; }
  .qr-card .qr-body { justify-items: start; }
}
.qr-compact { grid-template-columns: auto minmax(0, 1fr); justify-items: start; text-align: start; align-items: center; gap: 14px; padding: var(--b-pad, 12px 14px); }
.qr-compact .qr-code { width: 84px; padding: 5px; border-radius: 12px; box-shadow: 0 0 0 1px var(--site-line); }
.qr-compact .qr-body { justify-items: start; gap: 2px; }
.qr-compact .qr-title { font-size: 1rem; }
.qr-compact .qr-dl { margin-top: 4px; }
.qr-compact .qr-btn { min-height: 36px; padding: 0 11px; }
.qr-poster { padding: var(--b-pad, 28px 22px); gap: 18px; background: var(--b-bg, radial-gradient(90% 60% at 50% 0%, color-mix(in oklab, var(--site-accent) 16%, var(--site-surface)), var(--site-surface) 70%)); }
.qr-poster .qr-title { font-size: calc(1.8rem * var(--b-scale, 1)); letter-spacing: -0.035em; }
.qr-poster .qr-code { width: min(300px, 82%); padding: 16px; border-radius: 24px; box-shadow: 0 0 0 6px color-mix(in oklab, var(--site-accent) 22%, transparent), var(--site-shadow-lg); }

/* css/site/blocks/quote.css */
/* Quote: card (the classic look), plain, large, pull, minimal. */
.ws-quote { margin: 0; padding: 22px 22px 20px; border-radius: calc(var(--site-radius) + 6px); position: relative; }
.ws-quote.ws-surface { border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); box-shadow: var(--b-shadow, none); padding: var(--b-pad, 22px 22px 20px); }
.ws-quote-mark { width: 30px !important; height: 30px !important; color: var(--site-accent); margin-bottom: 6px; }
.ws-quote blockquote { margin: 0; font-family: var(--site-heading); font-size: 1.15rem; font-weight: 600; line-height: 1.4; letter-spacing: -0.015em; }
.ws-heading-serif .ws-quote blockquote { font-style: italic; font-weight: 400; font-size: 1.35rem; }
.ws-quote figcaption { margin-top: 12px; font-size: 13px; color: var(--site-muted); display: flex; align-items: center; gap: 10px; justify-content: var(--b-justify, flex-start); }
.ws-quote figcaption b { color: var(--site-text); }
.ws-q-avatar { width: 38px; height: 38px; border-radius: 50%; overflow: hidden; flex: none; }
.ws-qv-plain { padding: 8px 4px; text-align: var(--b-align, center); }
.ws-qv-plain figcaption { justify-content: var(--b-justify, center); }
.ws-qv-large { padding: 12px 4px; text-align: var(--b-align, center); }
.ws-qv-large .ws-quote-mark { width: 44px !important; height: 44px !important; margin-inline: auto; display: block; }
.ws-qv-large blockquote { font-size: clamp(1.4rem, 1.1rem + 1.8cqw, 2.1rem); line-height: 1.25; letter-spacing: -0.03em; }
.ws-heading-serif .ws-qv-large blockquote { font-size: clamp(1.6rem, 1.2rem + 2cqw, 2.4rem); }
.ws-qv-large figcaption { justify-content: var(--b-justify, center); font-size: 14px; }
.ws-qv-pull { padding: 6px 0 6px 20px; border-inline-start: 3px solid var(--site-accent); border-radius: 0; text-align: start; }
.ws-qv-pull blockquote { font-size: 1.35rem; line-height: 1.35; }
.ws-qv-minimal { padding: 4px 0; text-align: var(--b-align, center); }
.ws-qv-minimal blockquote { font-family: var(--site-font); font-weight: 500; font-size: 1.05rem; color: var(--site-text); }
.ws-qv-minimal blockquote::before { content: "“"; } .ws-qv-minimal blockquote::after { content: "”"; }
.ws-qv-minimal figcaption { justify-content: var(--b-justify, center); }

/* css/site/blocks/section.css */
/* Section container: contained, full-bleed, card, split; backgrounds page, card, tint, accent or image. */
.ws-sec { position: relative; display: grid; gap: var(--gap); padding: var(--b-pad, 22px 0); border-radius: var(--b-radius, calc(var(--site-radius) + 10px)); isolation: isolate; }
.ws-sec-in { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.ws-sec-title { margin: 0 0 4px; font-family: var(--site-heading); font-size: clamp(1.4rem, 1.2rem + 1.2cqw, 2rem); letter-spacing: -0.035em; text-align: var(--b-align, start); }
.ws-sec-bg-surface { background: var(--site-surface); border: 1px solid var(--site-line); padding: var(--b-pad, 22px 18px); }
.ws-sec-bg-soft { background: color-mix(in oklab, var(--site-accent) 9%, transparent); padding: var(--b-pad, 22px 18px); }
.ws-sec-bg-accent { background: var(--site-accent); color: var(--site-accent-text); padding: var(--b-pad, 24px 18px); }
.ws-sec-bg-image { color: var(--site-on-media); padding: var(--b-pad, 32px 18px); background: linear-gradient(rgb(0 0 0 / .45), rgb(0 0 0 / .55)), var(--sec-img, none) center / cover; }
.ws-sec-full-bleed { width: 100cqw; margin-inline: calc(50% - 50cqw); border-radius: 0; padding-inline: max(18px, calc(50cqw - var(--w, 560px) / 2)); }
.ws-sec-card { padding: var(--b-pad, 22px 18px); }
.ws-sec-split { grid-template-columns: minmax(0, 1fr); overflow: hidden; padding: 0; }
.ws-sec-media { position: relative; min-height: 220px; border-radius: inherit; overflow: hidden; }
.ws-sec-media .ws-media, .ws-sec-media .ws-media-ph { position: absolute; inset: 0; }
.ws-sec-split .ws-sec-in { padding: var(--b-pad, 20px 4px); }
@container ws-page (min-width: 600px) { .ws-sec-split { grid-template-columns: 1fr 1fr; gap: clamp(20px, 3cqw, 40px); align-items: center; } .ws-sec-media { min-height: 360px; height: 100%; } }
.ws-drop { display: grid; place-items: center; min-height: 72px; padding: 12px; border: 1.5px dashed color-mix(in oklab, var(--site-text) 24%, transparent); border-radius: var(--site-radius); color: var(--site-muted); font-size: 13px; font-weight: 600; }
.ws-sec .ws-block, .ws-cols .ws-block, .ws-bgrid .ws-block { animation: none; }
.ws-sec-bg-accent > .ws-sec-in > .ws-block > :is(.ws-text, .ws-hd, .ws-socials) { --site-muted: color-mix(in oklab, var(--site-accent-text) 78%, transparent); }
.ws-site .ws-sec-bg-accent .ws-button { background: var(--site-accent-text); color: var(--site-accent); border-color: transparent; }

/* css/site/blocks/services.css */
/* Services menu (ADR-0068, W3): the cards variant (rows, grid, accordion and tabs are the shared collection variants). */
.ws-svc-cards .ws-track { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@container ws-page (min-width: 600px) { .ws-svc-cards .ws-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container ws-page (min-width: 1024px) { .ws-svc-cards[data-count="3"] .ws-track, .ws-svc-cards[data-count="6"] .ws-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-svc { display: flex; flex-direction: column; gap: 14px; padding: var(--b-pad, 18px); text-align: start; }
.ws-svc-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ws-svc-ico, .ws-svc-img { width: 48px; height: 48px; flex: none; border-radius: calc(var(--site-radius) - 2px); overflow: hidden; display: grid; place-items: center;
  background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-accent); }
.ws-svc-ico svg { width: 22px; height: 22px; }
.ws-svc-price .ws-price { font-size: 1.15rem; }
.ws-svc-body { display: grid; gap: 4px; flex: 1; }
.ws-svc-body .ws-meta { margin-top: 6px; display: grid; gap: 6px; }
.ws-svc-body .ws-meta li:last-child { color: var(--site-accent); }
.ws-svc-cta { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; border-radius: var(--site-btn-radius); font-weight: 700; font-size: 14.5px;
  background: var(--site-accent); color: var(--site-accent-text); }
.ws-svc-cta svg { width: 16px; height: 16px; transition: transform .18s var(--site-ease); }
.ws-svc:hover .ws-svc-cta svg { transform: translateX(calc(3px * var(--dir-sign, 1))); }

/* css/site/blocks/share_page.css */
/* Share this page: buttons, card, compact. Targets carry their network's colour (blocks/_networks). */
.ws-share { display: grid; gap: 12px; text-align: start; }
.ws-share-head { display: flex; align-items: center; gap: 12px; }
.ws-share-head > div { display: grid; gap: 2px; min-width: 0; }
.ws-share-buttons .ws-share-head { justify-content: center; text-align: center; }
.ws-share-main { display: flex; gap: 8px; }
.ws-share-native, .ws-share-copy { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 52px; padding: 0 18px; border: 0; cursor: pointer;
  border-radius: var(--site-btn-radius); font: inherit; font-weight: 750; font-size: 15px; background: var(--site-accent); color: var(--site-accent-text); box-shadow: 0 14px 28px -18px var(--site-accent);
  transition: transform .18s var(--site-ease), filter .18s; }
.ws-share-native:hover, .ws-share-copy:hover { transform: translateY(-2px); filter: brightness(1.04); }
.ws-share-native[hidden] { display: none; }
.ws-share-native svg, .ws-share-copy svg { width: 18px; height: 18px; }
.ws-share-done { display: none; }
.ws-share-copy[data-copied] .ws-share-copy-t { display: none; }
.ws-share-copy[data-copied] .ws-share-done { display: inline; }
.ws-share-copy.ws-copied { outline: none !important; }
.has-native:not(.ws-share-card) .ws-share-copy { display: none; }
.ws-share-targets { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.ws-site .ws-share-t { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--net-ink, var(--site-accent-text)); background: var(--net, var(--site-accent));
  box-shadow: 0 10px 20px -14px var(--net, var(--site-accent)); transition: transform .18s var(--site-ease), filter .18s; }
.ws-share-t:hover { transform: translateY(-2px); filter: brightness(1.08); }
.ws-share-ico { display: grid; place-items: center; }
.ws-site .ws-share-ico svg { width: 20px; height: 20px; }

/* Buttons: every target as a labelled button in a grid. */
.ws-share-buttons .ws-share-targets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-share-buttons .ws-share-t { width: auto; height: auto; min-height: 50px; padding: 0 14px; border-radius: var(--site-btn-radius); display: flex; justify-content: flex-start; gap: 10px;
  background: var(--site-surface); color: var(--site-text); border: 1px solid var(--site-line); box-shadow: var(--site-shadow-sm); }
.ws-share-buttons .ws-share-ico { width: 30px; height: 30px; border-radius: 50%; background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); flex: none; }
.ws-site .ws-share-buttons .ws-share-ico svg { width: 16px; height: 16px; }
.ws-share-l { font-weight: 700; font-size: 14.5px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@container ws-page (min-width: 600px) { .ws-share-buttons .ws-share-targets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Card: the page link with a copy button, then round targets. */
.ws-share-card { padding: var(--b-pad, 20px); gap: 16px; }
.ws-share-link { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 0 6px 0 14px; border-radius: var(--site-btn-radius);
  background: color-mix(in oklab, var(--site-text) 5%, transparent); border: 1px solid var(--site-line); color: var(--site-muted); }
.ws-share-link svg { width: 16px; height: 16px; flex: none; }
.ws-share-link input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 14px; font-weight: 600; color: var(--site-text); text-overflow: ellipsis; outline: none; }
.ws-share-link:focus-within { outline: 3px solid color-mix(in oklab, var(--site-accent) 45%, transparent); }
.ws-share-card .ws-share-copy { flex: none; min-height: 52px; padding: 0 16px; }
.ws-share-card .ws-share-native { flex: none; width: 52px; padding: 0; }
.ws-share-card .ws-share-native span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ws-share-card .ws-share-targets { justify-content: flex-start; }
@container ws-page (max-width: 400px) { .ws-share-card .ws-share-main { flex-wrap: wrap; } .ws-share-card .ws-share-link { flex-basis: 100%; } .ws-share-card .ws-share-copy { flex: 1; } }

/* Compact: one line. */
.ws-share-compact { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; }
.ws-share-compact .ws-share-main { flex: none; }
.ws-share-compact .ws-share-native, .ws-share-compact .ws-share-copy { min-height: 44px; padding: 0 16px; font-size: 14px; border-radius: 999px; }
.ws-share-compact .ws-share-t { width: 44px; height: 44px; }
.ws-site .ws-share-compact .ws-share-ico svg { width: 18px; height: 18px; }
.ws-s-align-start .ws-share-compact, .ws-s-align-start .ws-share-targets { justify-content: flex-start; }

/* css/site/blocks/social_profiles.css */
/* Social profile cards: cards, grid, carousel, rows. Brand colour per profile from blocks/_networks (--net, --net-ink). */
.ws-sp-track { display: grid; gap: 10px; }
.ws-sp-cell { min-width: 0; display: grid; }
.ws-site .ws-sp-item { position: relative; display: grid; justify-items: center; gap: 4px; min-width: 0; overflow: hidden; text-align: center; color: var(--site-text);
  background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); box-shadow: var(--b-shadow, var(--site-shadow-md)); }
.ws-sp-avatar { position: relative; width: 60px; height: 60px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }
.ws-site .ws-sp-avatar > svg { width: 28px; height: 28px; }
.ws-sp-avatar .ws-media { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.ws-sp-badge { position: absolute; inset-inline-end: -3px; bottom: -3px; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--net); color: var(--net-ink); box-shadow: 0 0 0 2.5px var(--site-surface); }
.ws-site .ws-sp-badge svg { width: 13px; height: 13px; }
.ws-sp-text { display: grid; gap: 1px; min-width: 0; max-width: 100%; }
.ws-sp-name { font-family: var(--site-heading); font-weight: 750; font-size: 15px; letter-spacing: -0.015em; line-height: 1.25; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-sp-handle { font-size: 12.5px; font-weight: 600; color: var(--site-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; direction: ltr; unicode-bidi: plaintext; }
.ws-sp-count { font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-sp-count b { color: var(--site-text); font-weight: 800; font-size: 14px; font-variant-numeric: tabular-nums; }
.ws-sp-follow { display: inline-flex; align-items: center; justify-content: center; min-height: 38px; padding: 0 16px; border-radius: 999px; font-weight: 750; font-size: 13.5px; background: var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }

/* Cards (and the carousel's cards): a colour band with the mark, the picture overlapping it. */
.ws-sp-cards .ws-sp-track { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.ws-sp-cards .ws-sp-item, .ws-sp-carousel .ws-sp-item { padding: 0 12px 14px; }
.ws-sp-band { align-self: stretch; justify-self: stretch; height: 56px; margin-inline: -12px; margin-bottom: -30px; display: flex; justify-content: flex-end; align-items: flex-start; padding: 8px 10px;
  background: radial-gradient(80% 120% at 100% 0%, rgb(255 255 255 / .28), transparent 60%), var(--net, var(--site-accent)); color: var(--net-ink, var(--site-accent-text)); }
.ws-sp-mark { opacity: .9; } .ws-site .ws-sp-mark svg { width: 16px; height: 16px; }
.ws-sp-cards .ws-sp-avatar, .ws-sp-carousel .ws-sp-avatar { box-shadow: 0 0 0 3px var(--site-surface), 0 8px 18px -10px rgb(0 0 0 / .5); margin-bottom: 4px; }
.ws-sp-cards .ws-sp-follow, .ws-sp-carousel .ws-sp-follow { margin-top: 6px; align-self: end; }
.ws-sp-cards .ws-sp-item, .ws-sp-carousel .ws-sp-item { grid-template-rows: auto auto auto 1fr auto; }

/* Carousel. */
.ws-sp-carousel .ws-sp-track { grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; scroll-snap-type: x mandatory; padding: 2px 2px 10px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ws-sp-carousel .ws-sp-track::-webkit-scrollbar { display: none; }
.ws-sp-carousel .ws-sp-cell { scroll-snap-align: start; }
.ws-sp-carousel .ws-car-nav { display: flex; }
@container ws-page (min-width: 600px) { .ws-sp-carousel .ws-sp-track { grid-auto-columns: 190px; } }

/* Grid: compact branded tiles. */
.ws-sp-grid .ws-sp-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container ws-page (min-width: 600px) { .ws-sp-grid .ws-sp-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-sp-grid .ws-sp-item { justify-items: start; text-align: start; gap: 8px; padding: 14px; color: var(--net-ink, var(--site-accent-text)); border: 0;
  background: radial-gradient(90% 90% at 100% 0%, rgb(255 255 255 / .25), transparent 55%), var(--net, var(--site-accent)); box-shadow: 0 14px 28px -18px var(--net, var(--site-accent)); }
.ws-sp-grid .ws-sp-avatar { width: 40px; height: 40px; background: rgb(255 255 255 / .2); color: inherit; }
.ws-site .ws-sp-grid .ws-sp-avatar > svg { width: 20px; height: 20px; }
.ws-sp-grid .ws-sp-handle, .ws-sp-grid .ws-sp-count, .ws-sp-grid .ws-sp-count b { color: inherit; opacity: .85; }
.ws-sp-grid .ws-sp-count b { opacity: 1; }
.ws-sp-grid .ws-sp-text { margin-top: 10px; }

/* Rows. */
.ws-sp-rows .ws-sp-item { grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: "av text follow" "av count follow"; justify-items: start; align-items: center; column-gap: 12px; row-gap: 0; padding: 10px 12px; text-align: start; }
.ws-sp-rows .ws-sp-avatar { grid-area: av; width: 48px; height: 48px; }
.ws-site .ws-sp-rows .ws-sp-avatar > svg { width: 22px; height: 22px; }
.ws-sp-rows .ws-sp-text { grid-area: text; }
.ws-sp-rows .ws-sp-count { grid-area: count; font-size: 12px; }
.ws-sp-rows .ws-sp-count b { font-size: 12.5px; }
.ws-sp-rows .ws-sp-follow { grid-area: follow; }
.ws-sp-rows .ws-sp-item:not(:has(.ws-sp-count)) { grid-template-areas: "av text follow"; }

/* css/site/blocks/socials.css */
/* Social icons: icons (the classic look), pills, buttons, grid, brand-colored, large, minimal. */
.ws-socials { display: flex; flex-wrap: wrap; justify-content: var(--b-justify, center); gap: 6px; }
.ws-social { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--site-text); transition: background .18s, transform .18s; }
.ws-social:hover { background: color-mix(in oklab, var(--site-text) 8%, transparent); transform: translateY(-2px); }
.ws-social { background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-dark .ws-social:hover { background: rgb(255 255 255 / .08); }
.ws-s-size-s .ws-so-icons .ws-social { width: 36px; height: 36px; } .ws-s-size-s .ws-so-icons svg { width: 16px; height: 16px; }
.ws-s-size-l .ws-so-icons .ws-social, .ws-s-size-xl .ws-so-icons .ws-social { width: 50px; height: 50px; } .ws-s-size-l .ws-so-icons svg, .ws-s-size-xl .ws-so-icons svg { width: 24px; height: 24px; }
.ws-social > span { font-size: 13.5px; font-weight: 700; letter-spacing: -0.005em; }

.ws-so-pills { gap: 8px; }
.ws-so-pills .ws-social { width: auto; height: 44px; padding: 0 16px 0 12px; border-radius: 999px; display: inline-flex; gap: 8px; border: 1px solid var(--site-line); background: var(--site-surface); box-shadow: var(--site-shadow-sm); }
.ws-so-buttons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.ws-so-buttons .ws-social { width: 100%; height: 52px; border-radius: var(--site-btn-radius); display: flex; justify-content: center; gap: 10px; background: var(--site-surface); border: 1px solid var(--site-line); }
.ws-so-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.ws-so-grid .ws-social { width: auto; height: auto; aspect-ratio: 1.2; border-radius: calc(var(--site-radius) + 4px); display: grid; align-content: center; justify-items: center; gap: 6px; background: var(--site-surface); border: 1px solid var(--site-line); box-shadow: var(--site-shadow-sm); }
.ws-so-grid .ws-social svg { width: 24px; height: 24px; }
.ws-so-large .ws-social { width: 58px; height: 58px; } .ws-so-large svg { width: 26px; height: 26px; }
.ws-so-minimal { gap: 2px; } .ws-so-minimal .ws-social { background: transparent; opacity: .8; } .ws-so-minimal .ws-social:hover { opacity: 1; background: transparent; }
.ws-so-brand-colored .ws-social { color: #fff; background: var(--net, var(--site-accent)); box-shadow: 0 10px 20px -14px var(--net, var(--site-accent)); }
.ws-so-brand-colored .ws-social:hover { background: var(--net, var(--site-accent)); filter: brightness(1.08); }
/* Network colours (brand marks; the only fixed colours here). */
.ws-net-instagram { --net: #E1306C; } .ws-net-tiktok { --net: #111111; } .ws-net-youtube { --net: #FF0033; } .ws-net-x { --net: #111111; }
.ws-net-facebook { --net: #1877F2; } .ws-net-linkedin { --net: #0A66C2; } .ws-net-whatsapp { --net: #25D366; } .ws-net-telegram { --net: #229ED9; }
.ws-net-snapchat { --net: #F7C600; } .ws-net-pinterest { --net: #E60023; } .ws-net-spotify { --net: #1DB954; } .ws-net-twitch { --net: #9146FF; }
.ws-net-discord { --net: #5865F2; } .ws-net-github { --net: #24292F; } .ws-net-threads { --net: #111111; } .ws-net-soundcloud { --net: #FF5500; }
.ws-net-behance { --net: #1769FF; } .ws-net-dribbble { --net: #EA4C89; } .ws-net-medium { --net: #111111; } .ws-net-substack { --net: #FF6719; }
.ws-net-patreon { --net: #FF424D; } .ws-net-apple { --net: #111111; } .ws-net-bluesky { --net: #1185FE; } .ws-net-reddit { --net: #FF4500; }

/* css/site/blocks/spacer.css */
/* Spacer: empty space (s, m, l, xl), a little taller on desktop. */
.ws-spacer { height: 12px; }
.ws-spacer-m { height: 24px; } .ws-spacer-l { height: 44px; } .ws-spacer-xl { height: 72px; }
@container ws-page (min-width: 1024px) { .ws-spacer-m { height: 32px; } .ws-spacer-l { height: 60px; } .ws-spacer-xl { height: 100px; } }
.ws-mode-canvas .ws-spacer { display: grid; place-items: center; min-height: 18px; border: 1px dashed color-mix(in oklab, var(--site-text) 18%, transparent); border-radius: 8px; }
.ws-mode-canvas .ws-spacer span { font-size: 11px; font-weight: 700; color: var(--site-muted); text-transform: uppercase; letter-spacing: .08em; }

/* css/site/blocks/stats.css */
/* Highlights: counters (the classic look); on the shared grid, rows, bento and compact variants the value leads. */
.ws-stats { display: grid; grid-template-columns: repeat(var(--n), minmax(0, 1fr)); gap: 4px; padding: 16px 8px; border-radius: calc(var(--site-radius) + 6px); text-align: center; }
.ws-stats.ws-surface { box-shadow: var(--b-shadow, none); padding: var(--b-pad, 16px 8px); }
.ws-stats > div { display: grid; gap: 2px; position: relative; }
.ws-stats > div + div::before { content: ""; position: absolute; inset-inline-start: -2px; top: 12%; bottom: 12%; width: 1px; background: color-mix(in oklab, var(--site-text) 12%, transparent); }
.ws-stats strong { font-family: var(--site-heading); font-size: 1.65rem; font-weight: 700; letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.ws-heading-serif .ws-stats strong { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.ws-stats span { font-size: 12px; font-weight: 600; color: var(--site-muted); text-transform: uppercase; letter-spacing: .06em; }
.ws-block-stats :is(.ws-tile, .ws-tile-x) .ws-tile-text b { font-size: 2rem; letter-spacing: -0.045em; line-height: 1; }
.ws-block-stats :is(.ws-tile, .ws-tile-x) .ws-tile-text small { text-transform: uppercase; letter-spacing: .06em; font-size: 11.5px; }
.ws-block-stats .ws-cv-grid .ws-tile { min-height: 104px; justify-content: flex-end; }
.ws-block-stats .ws-cv-compact .ws-chip-t { font-family: var(--site-heading); font-size: 1.05rem; letter-spacing: -0.03em; }
.ws-block-stats .ws-cv-rows .ws-thumb { display: none; }
.ws-block-stats .ws-cv-rows .ws-t1 { font-size: 1.6rem; letter-spacing: -0.04em; }
.ws-block-stats .ws-cv-grid .ws-track { --c: min(var(--n, 3), 4); }
.ws-block-stats .ws-cv-grid .ws-tile { min-height: 96px; padding: 14px 12px; }
@container ws-page (max-width: 420px) { .ws-block-stats .ws-cv-grid .ws-tile-text b { font-size: 1.5rem; } }

/* css/site/blocks/stats_header.css */
/* Profile stats: inline (the social-profile header row, split by hairlines); rows, grid and compact are shared. */
.ws-sh-inline { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); max-width: calc(var(--n, 3) * 140px); }
.ws-sh-inline li { position: relative; min-width: 0; }
.ws-sh-inline li + li::before { content: ""; position: absolute; inset-block: 24%; inset-inline-start: 0; width: 1px; background: color-mix(in oklab, currentColor 16%, transparent); }
.ws-sh-stat { display: grid; justify-items: center; align-content: center; gap: 2px; min-height: 52px; padding: 6px 8px; border-radius: 14px; text-align: center; color: inherit; }
a.ws-sh-stat:hover { background: color-mix(in oklab, currentColor 6%, transparent); }
.ws-sh-num { font-family: var(--site-heading); font-size: calc(1.3rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.025em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.ws-sh-label { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--site-muted); overflow-wrap: anywhere; }
.ws-s-align-start .ws-sh-inline { margin-inline: 0; }
.ws-s-align-start .ws-sh-stat { justify-items: start; text-align: start; }
@container ws-page (min-width: 600px) { .ws-sh-num { font-size: calc(1.45rem * var(--b-scale, 1)); } .ws-sh-label { font-size: 13px; } }
/* The shared layouts, tuned for numbers: no placeholder thumbnails, the number large, tiles as short as their content. */
.ws-block-stats-header .ws-cv-rows .ws-thumb { display: none; }
.ws-block-stats-header .ws-cv-rows .ws-row { min-height: 58px; padding: var(--b-pad, 12px 16px); }
.ws-block-stats-header .ws-cv-rows .ws-txt { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
.ws-block-stats-header .ws-cv-rows .ws-t1 { font-size: calc(1.3rem * var(--b-scale, 1)); font-weight: 800; font-variant-numeric: tabular-nums; }
.ws-block-stats-header .ws-cv-grid .ws-track { display: flex; flex-wrap: wrap; } .ws-block-stats-header .ws-cv-grid .ws-track > * { flex: 1 1 96px; }
.ws-block-stats-header .ws-cv-grid .ws-tile { min-height: 0; gap: 0; padding: var(--b-pad, 16px 12px); justify-content: center; text-align: center; background: var(--b-bg, var(--site-surface)); border: var(--b-border, 1px solid var(--site-line)); }
.ws-block-stats-header .ws-cv-grid .ws-tile-text { justify-items: center; }
.ws-block-stats-header .ws-cv-grid .ws-tile-text b { font-size: calc(1.5rem * var(--b-scale, 1)); font-weight: 800; font-variant-numeric: tabular-nums; }
.ws-block-stats-header .ws-cv-grid .ws-tile-arrow { top: 8px; inset-inline-end: 8px; width: 24px; height: 24px; }

/* css/site/blocks/steps.css */
/* How it works: timeline, numbered, cards, horizontal. */
.ws-st { display: grid; gap: 16px; text-align: start; }
.ws-st-list { margin: 0; padding: 0; list-style: none; }
.ws-st-step { position: relative; display: flex; gap: 14px; min-width: 0; }
.ws-st-mark { flex: none; display: grid; place-items: center; font-variant-numeric: tabular-nums; }
.ws-st-mark svg { width: 18px; height: 18px; }
.ws-st-words { display: grid; gap: 3px; min-width: 0; }
.ws-st-n { font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--site-accent); }
.ws-st-t { font-family: var(--site-heading); font-weight: 700; font-size: calc(1.02rem * var(--b-scale, 1)); letter-spacing: -0.015em; line-height: 1.3; overflow-wrap: anywhere; }
.ws-st-x { color: var(--site-muted); font-size: 14px; line-height: 1.55; text-wrap: pretty; }
.ws-st-cta { justify-self: var(--b-justify, start); display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 22px; border-radius: var(--site-btn-radius);
  background: var(--site-accent); color: var(--site-accent-text); font-weight: 700; font-size: 15px; box-shadow: 0 14px 30px -18px var(--site-accent); transition: transform .18s var(--site-ease); }
.ws-st-cta svg { width: 16px; height: 16px; }
.ws-st-cta:hover { transform: translateY(-2px); }
/* Timeline: numbered dots joined by a line. */
.ws-st-timeline .ws-st-list { gap: 0; }
.ws-st-timeline .ws-st-step { padding-block-end: 22px; }
.ws-st-timeline .ws-st-step:last-child { padding-block-end: 0; }
.ws-st-timeline .ws-st-step:not(:last-child)::before { content: ""; position: absolute; inset-inline-start: 15px; inset-block: 34px 2px; width: 2px; border-radius: 2px;
  background: linear-gradient(180deg, color-mix(in oklab, var(--site-accent) 60%, transparent), color-mix(in oklab, var(--site-text) 10%, transparent)); }
.ws-st-timeline .ws-st-mark { width: 32px; height: 32px; border-radius: 50%; background: var(--site-accent); color: var(--site-accent-text); font-weight: 800; font-size: 14px;
  box-shadow: 0 0 0 5px color-mix(in oklab, var(--site-accent) 16%, transparent); }
.ws-st-timeline .ws-st-words { padding-block-start: 4px; }
/* Numbered: editorial numerals. */
.ws-st-numbered .ws-st-list { gap: 0; }
.ws-st-numbered .ws-st-step { gap: 18px; padding-block: 16px; border-block-start: 1px solid var(--site-line); }
.ws-st-numbered .ws-st-step:first-child { border-block-start: 0; padding-block-start: 0; }
.ws-st-numbered .ws-st-mark { align-self: start; min-width: 48px; font-family: var(--site-heading); font-size: 2.1rem; font-weight: 800; line-height: .9; letter-spacing: -0.05em;
  background: linear-gradient(160deg, var(--site-accent), color-mix(in oklab, var(--site-accent) 45%, var(--site-text))); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* Cards. */
.ws-st-cards .ws-st-list { display: grid; gap: 10px; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.ws-st-cards .ws-st-step { flex-direction: column; gap: 12px; padding: var(--b-pad, 18px); border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); }
.ws-st-cards .ws-st-mark { width: 44px; height: 44px; border-radius: calc(var(--site-radius) - 2px); background: color-mix(in oklab, var(--site-accent) 15%, transparent); color: var(--site-accent); font-weight: 800; font-size: 16px; }
@container ws-page (min-width: 600px) { .ws-st-cards .ws-st-list { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); } }
/* Horizontal: a row joined by a line; a swipeable strip on phones. */
.ws-st-horizontal .ws-st-list { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-block: 2px 6px; }
.ws-st-horizontal .ws-st-list::-webkit-scrollbar { display: none; }
.ws-st-horizontal .ws-st-step { flex: 0 0 72%; flex-direction: column; gap: 12px; scroll-snap-align: start; }
.ws-st-horizontal .ws-st-step:not(:last-child)::after { content: ""; position: absolute; inset-block-start: 21px; inset-inline: 54px -10px; height: 2px; border-radius: 2px;
  background: repeating-linear-gradient(90deg, color-mix(in oklab, var(--site-accent) 55%, transparent) 0 6px, transparent 6px 11px); }
.ws-st-horizontal .ws-st-mark { width: 44px; height: 44px; border-radius: 50%; background: var(--site-surface); color: var(--site-accent); font-weight: 800; font-size: 16px;
  border: 2px solid var(--site-accent); box-shadow: var(--site-shadow-sm); }
@container ws-page (min-width: 600px) { .ws-st-horizontal .ws-st-list { overflow: visible; } .ws-st-horizontal .ws-st-step { flex: 1 1 0; } }
.ws-st-list:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 55%, transparent); outline-offset: 4px; border-radius: 12px; }

/* css/site/blocks/supporter_perks.css */
/* Supporter perks: cards and checklist (rows is the shared collection variant). */
.spk-cards { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
@container ws-page (min-width: 600px) { .spk-cards { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); } }
.spk-card { display: flex; flex-direction: column; gap: 8px; padding: var(--b-pad, 18px); text-align: var(--b-align, start); position: relative; }
.spk-card.is-mid { box-shadow: 0 0 0 2px var(--site-accent), var(--site-shadow-lg); }
.spk-ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in oklab, var(--site-accent) 15%, transparent); color: var(--site-accent); }
.spk-ico svg { width: 20px; height: 20px; }
.spk-price { margin: 4px 0 0; font-family: var(--site-heading); font-size: calc(1.5rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.spk-t { margin: 0; font-size: 1rem; font-weight: 700; letter-spacing: -0.01em; }
.spk-tx { margin: 0; color: var(--site-muted); font-size: 13.5px; line-height: 1.5; flex: 1; }
.spk-cta { margin-top: 6px; display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 16px; border-radius: var(--site-btn-radius); font-weight: 800; font-size: 14px;
  background: color-mix(in oklab, var(--site-accent) 14%, transparent); color: var(--site-text); border: 1.5px solid color-mix(in oklab, var(--site-accent) 40%, transparent); }
.spk-card.is-mid .spk-cta, .spk-cta:hover { background: var(--site-accent); color: var(--site-accent-text); border-color: transparent; }
.spk-checklist { list-style: none; margin: 0; padding: 6px; display: grid; }
.spk-checklist li + li { border-top: 1px solid var(--site-line); }
.spk-line { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border-radius: calc(var(--site-radius) - 2px); text-align: start; }
.spk-tick { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); }
.spk-tick svg { width: 14px; height: 14px; stroke-width: 3; }
.spk-line-t { display: grid; gap: 2px; min-width: 0; flex: 1; }
.spk-line-t strong { font-weight: 700; }
.spk-line-t small { color: var(--site-muted); font-size: 13px; line-height: 1.4; }
.spk-amt { flex: none; padding: 6px 11px; border-radius: 999px; font-weight: 800; font-size: 13px; font-variant-numeric: tabular-nums; background: color-mix(in oklab, var(--site-accent) 13%, transparent); color: var(--site-text); }
a.spk-line:hover .spk-amt { background: var(--site-accent); color: var(--site-accent-text); }

/* css/site/blocks/team.css */
/* Team: cards (grid, carousel and rows are the shared collection variants). */
.tm-cards { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@container ws-page (min-width: 600px) { .tm-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.tm-card { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: var(--b-pad, 18px 14px); text-align: center; min-width: 0; }
.tm-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: none; display: grid; place-items: center; box-shadow: 0 0 0 3px var(--site-surface), 0 0 0 5px color-mix(in oklab, var(--site-accent) 35%, transparent); }
.tm-initials { width: 100%; height: 100%; display: grid; place-items: center; font-family: var(--site-heading); font-weight: 800; font-size: 1.6rem; letter-spacing: -0.02em;
  background: linear-gradient(145deg, color-mix(in oklab, var(--site-accent) 80%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 60%, var(--site-ink-dark))); color: var(--site-accent-text); }
.tm-t { display: grid; gap: 2px; min-width: 0; }
.tm-name { font-family: var(--site-heading); font-weight: 700; letter-spacing: -0.015em; font-size: 1rem; overflow-wrap: anywhere; }
.tm-role { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .07em; color: var(--site-accent); }
.tm-bio { margin: 0; color: var(--site-muted); font-size: 13px; line-height: 1.5; flex: 1; }
.tm-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; }
.tm-link { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; padding: 0 12px; border-radius: 999px; font-size: 13px; font-weight: 700; background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.tm-link:hover { background: var(--site-accent); color: var(--site-accent-text); }
.tm-link svg { width: 14px; height: 14px; }

/* css/site/blocks/testimonial.css */
/* Testimonial (one): card, large, minimal, split, bubble, video. The card itself is styled by testimonials.css. */
.ws-tm.ws-tm1-large { align-items: center; text-align: center; gap: 18px; padding: var(--b-pad, 12px 4px); }
.ws-tm1-large::before { content: "“"; display: block; height: .55em; margin-block-end: -6px; font-family: var(--site-heading); font-size: 5rem; line-height: 1; font-weight: 800; color: var(--site-accent); }
.ws-tm1-large .ws-tm-top { justify-content: center; }
.ws-tm1-large .ws-tm-q p { font-family: var(--site-heading); font-size: clamp(1.3rem, 1.05rem + 1.6cqw, 2rem); font-weight: 700; line-height: 1.3; letter-spacing: -0.025em; text-wrap: balance; }
.ws-tm1-large .ws-tm-q p::before, .ws-tm1-large .ws-tm-q p::after { content: none; }
.ws-tm1-large .ws-tm-by { justify-content: center; }
.ws-tm1-large .ws-tm-who { flex: none; text-align: start; }
.ws-tm.ws-tm1-minimal { align-items: center; text-align: center; gap: 10px; padding: var(--b-pad, 6px 4px); }
.ws-tm1-minimal .ws-tm-q p { font-size: calc(17px * var(--b-scale, 1)); color: var(--site-text); }
.ws-tm1-minimal .ws-tm-av { display: none; }
.ws-tm1-minimal .ws-tm-by { justify-content: center; }
.ws-tm1-minimal .ws-tm-who { flex: none; display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; justify-content: center; }
.ws-tm1-minimal .ws-tm-who b::before { content: "— "; }
.ws-tm1-minimal .ws-tm-top { justify-content: center; }
/* Bubble: the words in a speech bubble, the person beneath its tail. */
.ws-tm.ws-tm1-bubble { padding: 0; gap: 16px; }
.ws-tm1-bubble .ws-tm-top { order: 2; padding-inline: 4px; }
.ws-tm1-bubble .ws-tm-q { position: relative; order: 1; padding: var(--b-pad, 18px 20px); border-radius: var(--b-radius, calc(var(--site-radius) + 10px));
  background: var(--b-bg, var(--site-accent)); color: var(--b-fg, var(--site-accent-text)); box-shadow: 0 18px 36px -22px var(--site-accent); }
.ws-tm1-bubble .ws-tm-q::after { content: ""; position: absolute; inset-block-start: 100%; inset-inline-start: 26px; width: 22px; height: 14px; background: inherit; clip-path: polygon(0 0, 100% 0, 0 100%); }
[dir="rtl"] .ws-tm1-bubble .ws-tm-q::after { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.ws-tm1-bubble .ws-tm-q p { font-size: calc(16.5px * var(--b-scale, 1)); font-weight: 600; }
.ws-tm1-bubble .ws-tm-by { order: 3; padding-inline: 12px; }
/* Split: a portrait beside the words. */
.ws-tm1.ws-tm1-split { display: grid; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); padding: 0; }
.ws-tm1-photo { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: color-mix(in oklab, var(--site-accent) 16%, var(--site-surface)); }
.ws-tm1-photo .ws-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ws-tm1-mono { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--site-heading); font-size: 3.4rem; font-weight: 800; letter-spacing: -0.03em; color: var(--site-accent);
  background: radial-gradient(80% 80% at 30% 20%, color-mix(in oklab, var(--site-accent) 30%, transparent), transparent 70%); }
.ws-tm1-split .ws-tm1-body { padding: var(--b-pad, 20px 20px 22px); border-radius: 0; }
.ws-tm1-split .ws-tm-q p { font-size: calc(17px * var(--b-scale, 1)); }
@container ws-page (min-width: 600px) { .ws-tm1-split { grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .ws-tm1-photo { aspect-ratio: auto; min-height: 100%; } .ws-tm1-split .ws-tm1-body { align-self: center; padding: 28px 28px 26px; } }
/* Video. */
.ws-tm1-video { display: grid; overflow: hidden; padding: 0; border-radius: var(--b-radius, calc(var(--site-radius) + 8px)); }
.ws-tm1-frame { position: relative; width: 100%; max-height: 80svh; margin-inline: auto; background: var(--site-ink-dark); }
.ws-tm1-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.ws-tm1-stand { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 10px; color: var(--site-ink-light);
  background: radial-gradient(90% 90% at 20% 10%, color-mix(in oklab, var(--site-accent) 45%, transparent), transparent 60%), var(--site-ink-dark); }
.ws-tm1-stand small { font-size: 12.5px; font-weight: 600; opacity: .8; }
.ws-tm1-play { width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--site-ink-light); color: var(--site-ink-dark); box-shadow: 0 16px 34px -12px rgb(0 0 0 / .6); }
.ws-tm1-play svg { width: 22px; height: 22px; fill: currentColor; margin-inline-start: 3px; }
.ws-tm1-video .ws-tm1-body { border-radius: 0; }
.ws-tm1-split .ws-tm-av { display: none; }

/* css/site/blocks/testimonials.css */
/* Testimonials (and the single Testimonial's card): carousel, grid, masonry, marquee, stack-cards, list. */
.ws-tm { margin: 0; display: flex; flex-direction: column; gap: 14px; padding: var(--b-pad, 20px); text-align: start; min-width: 0; height: 100%;
  border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); }
.ws-tm-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px; }
.ws-tm-stars { position: relative; display: inline-block; font-size: 15px; line-height: 1; letter-spacing: 2px; color: color-mix(in oklab, var(--site-text) 16%, transparent); white-space: nowrap; }
.ws-tm-stars-on { position: absolute; inset-block: 0; inset-inline-start: 0; width: var(--r, 100%); overflow: hidden; color: var(--site-star, hsl(42 96% 52%)); }
.ws-tm-src { display: inline-flex; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; color: var(--site-muted); }
a.ws-tm-src { min-height: 32px; text-decoration: underline; text-decoration-color: color-mix(in oklab, currentColor 30%, transparent); text-underline-offset: 3px; }
a.ws-tm-src:hover { color: var(--site-text); }
.ws-tm-src svg { width: 13px; height: 13px; }
.ws-tm-q { margin: 0; flex: 1; }
.ws-tm-q p { margin: 0; font-size: calc(15.5px * var(--b-scale, 1)); line-height: 1.6; font-weight: 500; letter-spacing: -0.005em; text-wrap: pretty; }
.ws-tm-q p::before { content: "“"; } .ws-tm-q p::after { content: "”"; }
.ws-heading-serif .ws-tm-q p { font-family: var(--site-heading); font-style: italic; font-size: calc(17px * var(--b-scale, 1)); }
.ws-tm-by { display: flex; align-items: center; gap: 11px; min-width: 0; }
.ws-tm-av { width: 42px; height: 42px; flex: none; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; font-size: 14px; letter-spacing: .02em;
  background: linear-gradient(145deg, color-mix(in oklab, var(--site-accent) 30%, var(--site-surface)), color-mix(in oklab, var(--site-accent) 60%, var(--site-surface))); color: color-mix(in oklab, var(--site-accent) 45%, var(--site-text)); }
.ws-tm-av .ws-media { width: 100%; height: 100%; object-fit: cover; }
.ws-tm-who { display: grid; min-width: 0; flex: 1; line-height: 1.3; }
.ws-tm-who b { font-size: 14px; }
.ws-tm-who span { color: var(--site-muted); font-size: 12.5px; }
.ws-tm-go { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--site-muted); }
.ws-tm-go:hover { color: var(--site-text); background: color-mix(in oklab, var(--site-text) 6%, transparent); }
.ws-tm-go svg { width: 16px; height: 16px; }

.ws-tms-head { gap: 6px; }
.ws-tms-avg { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 2px 0 0 !important; color: var(--site-text) !important; font-size: 14px !important; }
.ws-tms-avg b { font-size: 15px; }
.ws-tms-avg span:last-child { color: var(--site-muted); }
.ws-tms .ws-track { gap: 12px; }
.ws-tms-cell { min-width: 0; }

/* Carousel. */
.ws-tms-carousel .ws-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; padding: 2px 2px 10px; margin: -2px -2px 0; }
.ws-tms-carousel .ws-track::-webkit-scrollbar { display: none; }
.ws-tms-carousel .ws-tms-cell { flex: 0 0 var(--car-w, 86%); scroll-snap-align: start; }
.ws-tms-carousel .ws-car-nav { display: flex; }
@container ws-page (min-width: 600px) { .ws-tms-carousel .ws-tms-cell { flex-basis: var(--car-w, 60%); } }
@container ws-page (min-width: 1024px) { .ws-tms-carousel .ws-tms-cell { flex-basis: var(--car-w, calc((100% - 12px) / 2)); } }
/* Grid and masonry. */
.ws-tms-grid .ws-track { display: grid; grid-template-columns: repeat(var(--cols, 1), minmax(0, 1fr)); }
.ws-tms-masonry .ws-track { display: block; columns: var(--cols, 1); column-gap: 12px; }
.ws-tms-masonry .ws-tms-cell { break-inside: avoid; margin-block-end: 12px; }
.ws-tms-masonry .ws-tms-cell:nth-child(3n+1) .ws-tm-q p { font-size: calc(16.5px * var(--b-scale, 1)); }
@container ws-page (min-width: 600px) { .ws-tms-grid .ws-track { grid-template-columns: repeat(var(--cols, 2), minmax(0, 1fr)); } .ws-tms-masonry .ws-track { columns: var(--cols, 2); } }
/* Marquee: fixed-width cards on the shared marquee strip; a pause button in the corner. */
.ws-tms-marquee .ws-track { align-items: stretch; gap: 12px; animation-duration: calc(var(--n, 4) * 9s); }
.ws-tms-marquee .ws-tms-cell { flex: 0 0 290px; }
.ws-tms-marquee .ws-tm-q p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.ws-tms-marquee.is-paused .ws-track { animation-play-state: paused; }
.ws-tms-marquee .ws-mq-view { padding-block: 4px 12px; }
.ws-tms-pause { position: absolute; inset-block-end: -6px; inset-inline-end: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--site-line); background: var(--site-surface);
  color: var(--site-text); display: grid; place-items: center; cursor: pointer; box-shadow: var(--site-shadow-sm); z-index: 2; }
.ws-tms-marquee:has(.ws-tms-pause:not([hidden])) { padding-block-end: 40px; }
.ws-tms-pause[hidden] { display: none; }
.ws-tms-pause svg { width: 15px; height: 15px; }
.ws-tms-i-play { display: none; }
.ws-tms-marquee.is-paused .ws-tms-i-play { display: grid; }
.ws-tms-marquee.is-paused .ws-tms-i-pause { display: none; }
@media (prefers-reduced-motion: reduce) { .ws-tms-marquee .ws-tms-cell { flex-basis: min(290px, 100%); } }
/* Stacked cards. */
.ws-tms-stack-cards .ws-track { display: grid; gap: 16px; }
.ws-tms-stack-cards .ws-tms-cell { position: sticky; inset-block-start: calc(16px + var(--i, 0) * 12px); }
.ws-tms-stack-cards .ws-tm { box-shadow: var(--b-shadow, var(--site-shadow-lg)); padding: var(--b-pad, 24px); }
.ws-tms-stack-cards .ws-tm-q p { font-size: calc(17px * var(--b-scale, 1)); }
.ws-mode-thumb .ws-tms-stack-cards .ws-tms-cell { position: relative; inset-block-start: auto; }
/* List. */
.ws-tms-list .ws-track { gap: 0; }
.ws-tms-list .ws-tm { padding: 18px 2px; border-radius: 0; border-block-end: 1px solid var(--site-line); }
.ws-tms-list .ws-tms-cell:first-child .ws-tm { padding-block-start: 4px; }
.ws-tms-list .ws-tms-cell:last-child .ws-tm { border-block-end: 0; }

/* css/site/blocks/text.css */
/* Text: plain (the classic look), card, lead, columns, callout. */
.ws-text { color: var(--site-text); text-align: var(--b-align, center); }
.ws-text p { margin: 0 0 .7em; } .ws-text p:last-child { margin-bottom: 0; }
.ws-text a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklab, var(--site-accent) 70%, transparent); }
.ws-text ul, .ws-text ol { text-align: start; margin: 0 0 .7em; padding-inline-start: 1.3em; }
.ws-tv-card { padding: var(--b-pad, 20px); text-align: var(--b-align, start); }
.ws-tv-lead { font-size: 1.18rem; line-height: 1.5; font-weight: 500; letter-spacing: -0.01em; }
.ws-heading-serif .ws-tv-lead { font-family: var(--site-heading); font-size: 1.4rem; font-style: italic; font-weight: 400; }
.ws-tv-columns { text-align: var(--b-align, start); }
@container ws-page (min-width: 600px) { .ws-tv-columns .ws-tv-body { columns: 2; column-gap: 32px; } .ws-tv-columns p { break-inside: avoid; } }
.ws-tv-callout { display: flex; gap: 12px; align-items: flex-start; padding: var(--b-pad, 16px 18px); text-align: start; --b-bg: color-mix(in oklab, var(--site-accent) 11%, var(--site-surface)); --b-border: 1px solid color-mix(in oklab, var(--site-accent) 26%, transparent); --b-shadow: none; }
.ws-tv-icon { flex: none; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--site-accent); color: var(--site-accent-text); }
.ws-tv-icon svg { width: 16px; height: 16px; }
.ws-tv-callout .ws-tv-body { flex: 1; min-width: 0; padding-top: 3px; }

/* css/site/blocks/tiktok.css */
/* TikTok: player, card, carousel. Frames are 9:16; the builder shows a placeholder in the same shape. */
.ws-tt-track { display: grid; gap: 12px; }
.ws-tt.is-one .ws-tt-track { justify-content: center; grid-template-columns: min(100%, 340px); }
.ws-tt-player.is-many .ws-tt-track, .ws-tt-card.is-many .ws-tt-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ws-tt-card.is-many .ws-tt-track { grid-template-columns: minmax(0, 1fr); }
@container ws-page (min-width: 600px) { .ws-tt-card.is-many .ws-tt-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@container ws-page (min-width: 1024px) { .ws-tt-player.is-many .ws-tt-track { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ws-tt-item { margin: 0; min-width: 0; display: grid; gap: 8px; }
.ws-tt-frame { position: relative; aspect-ratio: 9 / 16; overflow: hidden; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); background: var(--site-ink-dark); box-shadow: var(--site-shadow-md); }
.ws-tt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-tt-ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: end; gap: 10px; padding: 16px; color: var(--site-on-media); text-align: center;
  background: radial-gradient(70% 45% at 20% 10%, color-mix(in oklab, var(--site-accent) 45%, transparent), transparent 70%), linear-gradient(170deg, color-mix(in oklab, var(--site-ink-dark) 80%, var(--site-accent)), var(--site-ink-dark)); }
.ws-tt-ph-mark { position: absolute; top: 12px; inset-inline-start: 12px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .12); }
.ws-site .ws-tt-ph-mark svg { width: 16px; height: 16px; }
.ws-tt-ph-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .16); backdrop-filter: blur(6px); }
.ws-site .ws-tt-ph-play svg { width: 22px; height: 22px; fill: currentColor; stroke: none; margin-inline-start: 3px; }
.ws-tt-ph-cap { font-size: 13px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

.ws-tt-card .ws-tt-item { padding: var(--b-pad, 10px); gap: 10px; text-align: start; }
.ws-tt-card .ws-tt-frame { border-radius: calc(var(--site-radius) + 2px); box-shadow: none; }
.ws-tt-head { display: flex; align-items: center; gap: 8px; padding: 2px 4px 0; font-size: 14px; }
.ws-tt-mark { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--site-ink-dark); color: var(--site-ink-light); }
.ws-site .ws-tt-mark svg { width: 15px; height: 15px; }
.ws-tt-foot { display: grid; gap: 4px; padding: 0 4px 4px; }
.ws-site .ws-tt-cap { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.4; }
.ws-site .ws-tt-out { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-weight: 700; font-size: 13.5px; color: var(--site-accent); }
.ws-tt-out svg { width: 15px; height: 15px; }

.ws-tt-carousel .ws-tt-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; padding: 2px 2px 8px; scrollbar-width: none; overscroll-behavior-x: contain; }
.ws-tt-carousel .ws-tt-track::-webkit-scrollbar { display: none; }
.ws-tt-carousel.is-one .ws-tt-track { grid-auto-columns: min(100%, 340px); justify-content: center; }
.ws-tt-carousel .ws-tt-item { scroll-snap-align: start; }
.ws-tt-carousel .ws-tt-cap { padding-inline: 4px; color: var(--site-muted); font-size: 13px; }
.ws-tt-carousel .ws-car-nav { display: flex; }
@container ws-page (min-width: 600px) { .ws-tt-carousel .ws-tt-track { grid-auto-columns: 240px; } }

/* css/site/blocks/tiles.css */
/* Tiles: the shared grid, bento, carousel and list variants; the classic 2-column look is the grid at every width. */
.ws-block-tiles .ws-cv-grid .ws-track { --c: 2; }

/* css/site/blocks/timeline.css */
/* Timeline / journey: polish on the shared timeline, stacked cards and compact variants. */
.ws-block-timeline .ws-sk-n { display: none; }
.ws-block-timeline .ws-sk-media:has(.ws-media-ph) { display: none; }
.ws-block-timeline .ws-cv-timeline .ws-eyebrow { font-variant-numeric: tabular-nums; letter-spacing: .06em; }
.ws-block-timeline .ws-cv-timeline .ws-t1 { font-size: calc(1.05rem * var(--b-scale, 1)); }
.ws-block-timeline .ws-cv-stack-cards .ws-eyebrow { display: inline-block; padding: 3px 9px; border-radius: 999px; background: color-mix(in oklab, var(--site-accent) 14%, transparent); }

/* css/site/blocks/tip_jar.css */
/* Tip jar: card, emoji, amounts, button (chips and the button in modules/donations). */
.tj { display: grid; gap: 16px; padding: var(--b-pad, 22px); text-align: var(--b-align, start); }
.tj-head { display: flex; align-items: center; gap: 14px; }
.tj-head-t { display: grid; gap: 4px; min-width: 0; }
.tj-title { margin: 0; font-family: var(--site-heading); font-size: calc(1.25rem * var(--b-scale, 1)); font-weight: 700; letter-spacing: -0.025em; line-height: 1.15; }
.tj-text { margin: 0; color: var(--site-muted); font-size: 14px; line-height: 1.5; }
.tj-jar { width: 62px; height: 62px; flex: none; border-radius: 20px; display: grid; place-items: center; font-size: 32px; line-height: 1;
  background: radial-gradient(90% 90% at 100% 0%, color-mix(in oklab, var(--site-surface) 55%, transparent), transparent 60%), color-mix(in oklab, var(--site-accent) 22%, var(--site-surface));
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--site-accent) 30%, transparent); transform: rotate(-4deg); }
.tj-jar svg { width: 28px; height: 28px; color: var(--site-accent); }
.tj-emoji { padding: var(--b-pad, 4px 0); text-align: var(--b-align, center); }
.tj-emoji .tj-head { justify-content: center; text-align: center; }
.tj-emoji .sp-chips { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); }
.tj-emoji .sp-chip { min-height: 112px; background: var(--site-surface); box-shadow: var(--site-shadow-md); border-color: transparent; }
.tj-emoji .sp-emoji { font-size: 38px; }
.tj-amounts .sp-chip { min-height: 58px; }
.tj-button-emoji { font-size: 20px; line-height: 1; }

/* css/site/blocks/tour_dates.css */
/* Tour dates (ADR-0068, W3): rows, list, compact. */
.ws-td { margin: 0; padding: 0; list-style: none; min-width: 0; text-align: start; }
.ws-td-city { font-family: var(--site-heading); font-weight: 700; letter-spacing: -0.02em; line-height: 1.2; overflow-wrap: anywhere; }
.ws-td-venue { display: block; color: var(--site-muted); font-size: 13px; font-weight: 600; }
.ws-td-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border-radius: var(--site-btn-radius); font-weight: 800; font-size: 14px; white-space: nowrap;
  background: var(--site-accent); color: var(--site-accent-text); transition: transform .18s var(--site-ease), filter .18s; }
.ws-td-btn:hover { transform: translateY(-1px); filter: brightness(1.05); }
.ws-td-btn.is-small { min-height: 40px; padding: 0 14px; font-size: 13px; }
.ws-td-state { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; white-space: nowrap;
  border: 1.5px solid color-mix(in oklab, var(--site-text) 18%, transparent); color: var(--site-muted); }
.ws-td-state.is-sold_out { background: color-mix(in oklab, var(--site-text) 8%, transparent); border-color: transparent; }
.ws-td-state.is-cancelled { text-decoration: line-through; }
.ws-td-few { display: inline-block; margin-top: 4px; font-size: 11.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--site-accent); }
.is-cancelled .ws-td-city, .is-sold_out .ws-td-city { color: var(--site-muted); }

/* Rows */
.ws-td-rows { display: grid; gap: 8px; }
.ws-td-row { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: var(--b-pad, 12px 14px); }
.ws-td-date { display: grid; justify-items: center; width: 52px; padding: 4px 0; line-height: 1.05; font-variant-numeric: tabular-nums; border-inline-end: 1px solid var(--site-line); padding-inline-end: 12px; box-sizing: content-box; }
.ws-td-date small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--site-muted); }
.ws-td-date small:first-child { color: var(--site-accent); }
.ws-td-date b { font-family: var(--site-heading); font-size: 1.55rem; font-weight: 800; letter-spacing: -0.04em; }
.ws-td-row .ws-td-city { font-size: calc(1.1rem * var(--b-scale, 1)); }
.ws-td-row .ws-td-where { min-width: 0; }

/* List */
.ws-td-list { padding: 4px var(--b-pad, 16px); }
.ws-td-li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; align-items: center; padding: 12px 0; border-top: 1px solid var(--site-line); }
.ws-td-li:first-child { border-top: 0; }
.ws-td-short { grid-column: 1 / -1; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--site-accent); }
@container ws-page (min-width: 600px) { .ws-td-li { grid-template-columns: 130px minmax(0, 1fr) auto; } .ws-td-short { grid-column: auto; } }

/* Compact */
.ws-td-compact { display: grid; gap: 2px; }
.ws-td-compact :is(a, .is-static) { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px; border-radius: calc(var(--site-radius) - 2px); font-size: 14px; font-weight: 600; }
.ws-td-compact a:hover, .ws-td-compact a:focus-visible { background: color-mix(in oklab, var(--site-accent) 10%, transparent); }
.ws-td-compact time { min-width: 64px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--site-accent); }
.ws-td-compact span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ws-td-compact svg { width: 16px; height: 16px; opacity: .7; }
.ws-td-compact small { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; color: var(--site-muted); }
.ws-td-compact .is-static { color: var(--site-muted); }
.ws-site .is-cancelled .ws-td-city, .ws-site .is-sold_out .ws-td-city { color: var(--site-muted); }
.ws-site a.ws-td-btn { color: var(--site-accent-text); }

/* css/site/blocks/youtube.css */
/* YouTube: player, featured, banner (play in place), card, thumb-row (open YouTube). The red is YouTube's own mark. */
.ws-block-youtube { --yt: #FF0033; }
.ws-yt { display: grid; gap: 0; min-width: 0; }
.ws-yt-stage { position: relative; overflow: hidden; aspect-ratio: 16 / 9; border-radius: var(--b-radius, calc(var(--site-radius) + 6px)); background: var(--site-ink-dark); box-shadow: var(--b-shadow, var(--site-shadow-md)); isolation: isolate; }
.ws-yt-player.is-vertical .ws-yt-stage { aspect-ratio: 9 / 16; width: min(100%, 340px); margin-inline: auto; }
.ws-yt-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.ws-site .ws-yt-facade { position: absolute; inset: 0; display: block; color: var(--site-on-media); }
.ws-yt-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--site-ease), filter .3s; }
.ws-yt-facade:hover .ws-yt-poster { transform: scale(1.03); }
.ws-yt-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .55) 0%, rgb(0 0 0 / 0) 34%, rgb(0 0 0 / 0) 62%, rgb(0 0 0 / .45) 100%); }
.ws-yt-top { position: absolute; inset-inline: 0; top: 0; display: flex; align-items: center; gap: 10px; padding: 14px 16px; text-align: start; }
.ws-yt-mark { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 50%; background: rgb(255 255 255 / .92); color: var(--yt); }
.ws-site .ws-yt-mark svg { width: 17px; height: 17px; }
.ws-yt-title { font-weight: 700; font-size: 15px; line-height: 1.3; text-shadow: 0 1px 8px rgb(0 0 0 / .45); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-yt-play { position: absolute; inset: 0; margin: auto; width: 72px; height: 50px; border-radius: 16px; display: grid; place-items: center; background: var(--yt); color: #FFFFFF;
  box-shadow: 0 12px 30px -10px rgb(0 0 0 / .6); transition: transform .2s var(--site-ease), background .2s; }
.ws-site .ws-yt-play svg { width: 24px; height: 24px; fill: currentColor; stroke: none; margin-inline-start: 3px; }
.ws-yt-facade:hover .ws-yt-play, .ws-yt-facade:focus-visible .ws-yt-play { transform: scale(1.08); }
.ws-yt-play.is-small { width: 52px; height: 36px; border-radius: 12px; }
.ws-yt-play.is-tiny { width: 34px; height: 24px; border-radius: 8px; }
.ws-site .ws-yt-play.is-small svg { width: 18px; height: 18px; } .ws-site .ws-yt-play.is-tiny svg { width: 13px; height: 13px; margin-inline-start: 1px; }
.ws-yt-dur { position: absolute; inset-inline-end: 10px; bottom: 10px; padding: 2px 7px; border-radius: 6px; background: rgb(0 0 0 / .78); color: #FFFFFF; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; direction: ltr; }
.ws-yt-facade:focus-visible { outline: 3px solid color-mix(in oklab, var(--site-accent) 70%, transparent); outline-offset: -3px; border-radius: inherit; }

/* Featured: the player on a card with the words beneath. */
.ws-yt-featured { padding: var(--b-pad, 10px); gap: 12px; }
.ws-yt-featured .ws-yt-stage { border-radius: calc(var(--site-radius) + 2px); box-shadow: none; }
.ws-yt-body { display: grid; gap: 6px; padding: 2px 8px 8px; text-align: start; min-width: 0; }
.ws-site .ws-yt-meta { margin: 0; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--site-muted); }
.ws-site .ws-yt-meta svg { width: 15px; height: 15px; color: var(--yt); }
.ws-site .ws-yt-out { justify-self: start; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; margin-top: 2px; font-weight: 700; font-size: 14px; color: var(--site-accent); }
.ws-yt-out svg { width: 15px; height: 15px; }

/* Banner: cinematic, the title over the picture. */
.ws-yt-banner .ws-yt-stage { aspect-ratio: 4 / 3; box-shadow: var(--b-shadow, var(--site-shadow-lg)); }
@container ws-page (min-width: 600px) { .ws-yt-banner .ws-yt-stage { aspect-ratio: 2 / 1; } }
.ws-yt-banner .ws-yt-shade { background: linear-gradient(180deg, rgb(0 0 0 / 0) 25%, rgb(0 0 0 / .82) 100%); }
.ws-yt-over { position: absolute; inset-inline: 0; bottom: 0; display: grid; justify-items: start; gap: 10px; padding: 20px; text-align: start; }
.ws-yt-eyebrow { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; opacity: .9; }
.ws-site .ws-yt-eyebrow svg { width: 17px; height: 17px; color: var(--yt); background: #FFFFFF; border-radius: 4px; padding: 1px; }
.ws-yt-big { font-family: var(--site-heading); font-size: calc(1.45rem * var(--b-scale, 1)); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance; text-shadow: 0 2px 16px rgb(0 0 0 / .35); max-width: 26ch; }
@container ws-page (min-width: 600px) { .ws-yt-big { font-size: calc(1.9rem * var(--b-scale, 1)); } .ws-yt-over { padding: 28px; } }
.ws-yt-go { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 5px 16px 5px 5px; border-radius: 999px; background: rgb(255 255 255 / .16); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgb(255 255 255 / .28); font-weight: 700; font-size: 14px; transition: background .2s; }
.ws-yt-facade:hover .ws-yt-go { background: rgb(255 255 255 / .26); }
.ws-yt-go-play { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--yt); }
.ws-site .ws-yt-go-play svg { width: 15px; height: 15px; fill: currentColor; stroke: none; margin-inline-start: 2px; }
.ws-yt-go-dur { opacity: .75; font-variant-numeric: tabular-nums; direction: ltr; }

/* Card: opens YouTube. */
.ws-yt-card { display: grid; overflow: hidden; text-align: start; }
.ws-yt-card .ws-yt-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; background: var(--site-ink-dark); }
.ws-yt-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s var(--site-ease); }
.ws-hov:hover .ws-yt-thumb img { transform: scale(1.04); }
.ws-yt-card .ws-yt-body { padding: var(--b-pad, 16px 18px 18px); gap: 7px; }
.ws-yt-cta { justify-self: start; display: inline-flex; align-items: center; gap: 7px; min-height: 42px; margin-top: 4px; padding: 0 16px; border-radius: var(--site-btn-radius); background: var(--yt); color: #FFFFFF; font-weight: 700; font-size: 14px; }
.ws-site .ws-yt-cta svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }

/* Thumbnail row: compact, opens YouTube. */
.ws-yt-row { display: flex; align-items: center; gap: 12px; padding: var(--b-pad, 8px); padding-inline-end: 14px; text-align: start; min-height: 76px; }
.ws-yt-row .ws-yt-thumb { position: relative; width: 116px; flex: none; aspect-ratio: 16 / 9; overflow: hidden; border-radius: max(8px, calc(var(--site-radius) - 2px)); background: var(--site-ink-dark); }
.ws-yt-row .ws-yt-dur { inset-inline-end: 5px; bottom: 5px; font-size: 10.5px; padding: 1px 5px; }
.ws-yt-row-t { flex: 1; min-width: 0; display: grid; gap: 3px; }
.ws-yt-row-t strong { font-weight: 700; font-size: 14.5px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ws-yt-row-t small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--site-muted); }
.ws-site .ws-yt-row-t small svg { width: 14px; height: 14px; color: var(--yt); }
@container ws-page (min-width: 600px) { .ws-yt-row .ws-yt-thumb { width: 150px; } }

/* css/site/systems/classic.css */
/* Classic system: the profile and one list, 560 px wide at every size (the pre-ADR-0068 page). The base part is all it needs. */
.ws-sys-classic .ws-site-inner { max-width: 560px; }

/* css/site/systems/modern.css */
/* Modern system: a rich header, cards and media, swipeable collections. */
.ws-sys-modern .ws-site-inner { --gap: 14px; }
.ws-shell-modern .ws-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 6px; }
.ws-sys-modern .ws-pv-hero .ws-name { font-size: clamp(2rem, 1.6rem + 2cqw, 2.6rem); letter-spacing: -0.045em; }
.ws-sys-modern .ws-hd .ws-heading { margin-top: 20px; }
@container ws-page (min-width: 1024px) { .ws-sys-modern .ws-site-inner { padding-top: 64px; --gap: 16px; } }

/* css/site/systems/creator.css */
/* Creator system: content first; on desktop the header is a sticky sidebar beside the content. */
.ws-shell-creator { width: 100%; max-width: var(--w); margin: 0 auto; padding: 44px 18px 40px; display: grid; gap: var(--gap); position: relative; }
.ws-shell-creator .ws-side-in, .ws-shell-creator .ws-main { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.ws-sys-creator .ws-hd .ws-heading { margin-top: 18px; }
@container ws-page (min-width: 1024px) {
  .ws-shell-creator { grid-template-columns: 340px minmax(0, 1fr); column-gap: 44px; padding: 48px 32px 48px; align-items: start; }
  .ws-shell-creator.no-side { grid-template-columns: minmax(0, 1fr); }
  .ws-shell-creator .ws-side { position: sticky; top: 28px; }
  .ws-shell-creator .ws-side-in { padding: 28px 22px 24px; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: calc(var(--site-radius) + 14px); box-shadow: var(--site-shadow-lg); }
  .ws-card-glass .ws-shell-creator .ws-side-in { backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
  .ws-shell-creator .ws-side .ws-profile-cover { margin: -28px -22px 6px; }
  .ws-shell-creator .ws-side .ws-cover { border-radius: calc(var(--site-radius) + 14px) calc(var(--site-radius) + 14px) 28px 28px; }
  .ws-shell-creator .ws-main { padding-top: 4px; }
  .ws-opt-sidebar-end .ws-shell-creator { grid-template-columns: minmax(0, 1fr) 340px; }
  .ws-opt-sidebar-end .ws-shell-creator .ws-side { order: 2; }
  .ws-shell-creator .ws-main > .ws-block:first-child .ws-heading { margin-top: 0; }
}
.ws-sys-creator .ws-main .ws-hd { text-align: var(--b-align, start); }

/* css/site/systems/commerce.css */
/* Commerce system: a compact store header, a product hero, products in grids; single items two to a row on larger screens. */
.ws-sys-commerce .ws-site-inner { --gap: 14px; }
.ws-shell-commerce .ws-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--site-line); }
.ws-shell-commerce .ws-head .ws-socials { justify-content: flex-start; }
.ws-shell-commerce .ws-profile-left { align-items: center; }
.ws-sys-commerce .ws-hd { text-align: var(--b-align, start); }
.ws-sys-commerce .ws-hd .ws-heading { font-size: 1.45rem; letter-spacing: -0.035em; }
@container ws-page (min-width: 1024px) { .ws-sys-commerce .ws-site-inner { padding: 40px 32px 48px; } .ws-shell-commerce .ws-head { flex-direction: row; align-items: center; justify-content: space-between; } }

/* css/site/systems/portfolio.css */
/* Portfolio system: a quiet header, then the work at full width in masonry and showcase layouts. */
.ws-sys-portfolio .ws-site-inner { --gap: 18px; }
.ws-shell-portfolio .ws-head { display: flex; flex-direction: column; gap: 10px; padding-bottom: 8px; }
.ws-shell-portfolio .ws-head .ws-socials { justify-content: flex-start; }
.ws-sys-portfolio .ws-hd { text-align: var(--b-align, start); }
.ws-sys-portfolio .ws-hd-display .ws-heading { font-size: clamp(2.2rem, 1.5rem + 4cqw, 4.2rem); }
.ws-sys-portfolio .ws-profile-left .ws-name { font-size: clamp(1.8rem, 1.4rem + 2cqw, 2.6rem); }
@container ws-page (min-width: 1024px) {
  .ws-sys-portfolio .ws-site-inner { padding: 56px 40px 56px; --gap: 22px; }
  .ws-shell-portfolio .ws-head { flex-direction: row; align-items: flex-end; justify-content: space-between; padding-bottom: 24px; border-bottom: 1px solid var(--site-line); }
}

/* css/site/systems/professional.css */
/* Professional system: a split hero band across the page, then services and contact. */
.ws-hero-band { position: relative; background: radial-gradient(70% 90% at 90% 0%, color-mix(in oklab, var(--site-accent) 20%, transparent), transparent 60%), linear-gradient(180deg, color-mix(in oklab, var(--site-accent) 8%, var(--site-bg-base)), transparent); border-bottom: 1px solid var(--site-line); }
.ws-hero-in { width: 100%; max-width: var(--w); margin: 0 auto; padding: 40px 18px 30px; display: flex; flex-direction: column; gap: 14px; }
.ws-hero-in .ws-socials { justify-content: flex-start; }
.ws-sys-professional .ws-site-inner { padding-top: 32px; --gap: 14px; }
.ws-sys-professional .ws-hd { text-align: var(--b-align, start); }
.ws-sys-professional .ws-hd .ws-heading { font-size: 1.4rem; letter-spacing: -0.03em; }
@container ws-page (min-width: 1024px) { .ws-hero-in { padding: 64px 32px 48px; } .ws-sys-professional .ws-site-inner { padding: 48px 32px 56px; } }

/* css/site/systems/editorial.css */
/* Editorial system: a masthead and a big serif type scale; stories two to a row on larger screens. */
.ws-sys-editorial > .ws-frame { --site-heading: "Instrument Serif", "Iowan Old Style", Georgia, serif; } /* the theme sets --site-heading on .ws-site */
.ws-sys-editorial :is(.ws-name, .ws-heading, .ws-ed-title, .ws-mg-title, .ws-hero-title) { font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.ws-shell-editorial .ws-masthead { display: flex; flex-direction: column; gap: 10px; padding-bottom: 20px; margin-bottom: 10px; border-bottom: 3px double color-mix(in oklab, var(--site-text) 30%, transparent); }
.ws-sys-editorial .ws-pv-minimal .ws-name { font-size: clamp(2.6rem, 1.8rem + 5cqw, 5rem); line-height: .95; }
.ws-sys-editorial .ws-hd { text-align: var(--b-align, start); }
.ws-sys-editorial .ws-hd .ws-heading { font-size: 1.9rem; }
.ws-sys-editorial .ws-hd-display .ws-heading { font-size: clamp(2.4rem, 1.6rem + 4cqw, 4.2rem); }
@container ws-page (min-width: 1024px) {
  .ws-sys-editorial .ws-site-inner { padding: 56px 40px; }
  .ws-shell-editorial .ws-flow { column-gap: 40px; }
  .ws-opt-columns-1 .ws-shell-editorial .ws-flow > .ws-flow-half { grid-column: 1 / -1; }
  .ws-shell-editorial .ws-masthead { flex-direction: row; align-items: flex-end; justify-content: space-between; }
}
.ws-shell-editorial .ws-masthead .ws-profile { align-items: flex-start; text-align: start; } .ws-shell-editorial .ws-masthead .ws-bio { margin-inline: 0; } .ws-shell-editorial .ws-masthead .ws-socials { justify-content: flex-start; }

/* css/site/systems/bento.css */
/* Bento system: every block is a tile in one grid, four across on desktop and two on phones; spans from responsive rules. */
.ws-bento { --grid-cols: 2; display: grid; grid-template-columns: repeat(var(--grid-cols), minmax(0, 1fr)); grid-auto-rows: minmax(150px, auto); grid-auto-flow: dense; gap: var(--bento-gap, 12px); }
.ws-opt-density-tight .ws-bento { --bento-gap: 8px; } .ws-opt-density-airy .ws-bento { --bento-gap: 18px; }
.ws-bento > .ws-block { display: flex; flex-direction: column; min-width: 0; animation: none; }
.ws-bento > .ws-block > :not(.ws-sheet) { flex: 1; }
.ws-bento .ws-sv-tile, .ws-bento .ws-tile-x { aspect-ratio: auto; height: 100%; min-height: 150px; }
.ws-bento :is(.ws-sv-card, .ws-sv-featured, .ws-sv-thumb-row, .ws-quote, .ws-capture, .ws-countdown, .ws-text, .ws-stats, .ws-pv-card) { height: 100%; }
.ws-bento .ws-block-heading, .ws-bento .ws-block-divider { min-height: 0; }
.ws-bento .ws-block-heading .ws-heading { margin-top: 10px; }
.ws-bento .ws-image { height: 100%; } .ws-bento .ws-image img { height: 100%; object-fit: cover; }
.ws-bento .ws-block-image { min-height: 0; }
.ws-bento .ws-embed { height: 100%; }
.ws-bento .ws-text.ws-tv-plain { padding: 18px; background: var(--site-surface); border: 1px solid var(--site-line); border-radius: calc(var(--site-radius) + 8px); text-align: start; }
.ws-bento .ws-socials { height: 100%; align-content: center; }
.ws-sys-bento .ws-site-inner { padding-top: 32px; }
@container ws-page (min-width: 600px) { .ws-bento { --grid-cols: 4; grid-auto-rows: minmax(160px, auto); } }
@container ws-page (min-width: 1024px) { .ws-sys-bento .ws-site-inner { padding: 48px 32px; } .ws-bento { grid-auto-rows: minmax(180px, auto); } }

/* css/site/systems/luxury.css */
/* Luxury system: full-bleed imagery, generous whitespace, refined type and quiet, hairline buttons. */
.ws-lux-head { position: relative; }
.ws-lux-head .ws-block { animation: none; }
.ws-lux-head .ws-profile-cover { margin: 0; gap: 14px; padding-bottom: 20px; }
.ws-lux-head .ws-cover { height: clamp(240px, 42cqw, 460px); border-radius: 0; }
.ws-lux-head .ws-profile-cover .ws-avatar { width: 124px; height: 124px; margin-top: -72px; }
.ws-lux-head .ws-socials { padding-bottom: 8px; }
.ws-sys-luxury .ws-name { font-size: clamp(2rem, 1.6rem + 2.4cqw, 3rem); font-weight: 500; letter-spacing: -0.02em; }
.ws-sys-luxury .ws-bio { letter-spacing: .01em; }
.ws-sys-luxury .ws-site-inner { --gap: 18px; padding-top: 36px; }
.ws-sys-luxury .ws-button { background: transparent; color: var(--site-text); border: 1px solid color-mix(in oklab, var(--site-text) 34%, transparent); box-shadow: none; text-transform: uppercase; letter-spacing: .16em; font-size: 12.5px; font-weight: 600; min-height: 58px; backdrop-filter: none; }
.ws-sys-luxury .ws-button:hover { background: var(--site-text); color: var(--site-bg-base); transform: none; }
.ws-sys-luxury .ws-button-icon { background: none; }
.ws-sys-luxury .ws-eyebrow { letter-spacing: .24em; font-weight: 600; }
.ws-sys-luxury .ws-hd .ws-heading { font-weight: 500; letter-spacing: -0.01em; }
.ws-sys-luxury .ws-surface { box-shadow: none; }
@container ws-page (min-width: 1024px) { .ws-sys-luxury .ws-site-inner { padding-top: 56px; --gap: 22px; } }

/* css/site/systems/minimal.css */
/* Minimal system: typography first, no boxes (a block's explicit surface still applies). */
.ws-sys-minimal .ws-block:not([class*=" ws-s-surface-"]) :is(.ws-surface, .ws-card) { background: transparent; border-color: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; padding-inline: 0; }
.ws-sys-minimal .ws-block:not([class*=" ws-s-surface-"]) .ws-acc { border-bottom: 1px solid var(--site-line); border-radius: 0; }
.ws-sys-minimal .ws-site-inner { --gap: 10px; padding-top: 56px; }
.ws-sys-minimal .ws-pv-minimal .ws-name { font-size: clamp(2rem, 1.6rem + 2.4cqw, 2.8rem); }
.ws-sys-minimal .ws-sv-minimal-text { padding-block: 12px; border-bottom: 1px solid var(--site-line); }
.ws-sys-minimal .ws-hd .ws-heading { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: var(--site-muted); margin-top: 24px; font-family: var(--site-font); font-style: normal; }

/* css/site/systems/advanced.css */
/* Advanced system: sections and columns, with a sticky menu of the page's sections. */
.ws-pnav { position: sticky; top: 0; z-index: 30; background: color-mix(in oklab, var(--site-bg-base) 82%, transparent); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); border-bottom: 1px solid var(--site-line); }
.ws-pnav-in { width: 100%; max-width: var(--w); margin: 0 auto; display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; padding: 8px 12px; }
.ws-pnav-in::-webkit-scrollbar { display: none; }
.ws-pnav a { flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--site-muted); transition: background .2s, color .2s; }
.ws-pnav a:hover { background: color-mix(in oklab, var(--site-text) 7%, transparent); color: var(--site-text); }
.ws-sys-advanced .ws-block[id] { scroll-margin-top: 72px; }
.ws-shell-advanced .ws-head { display: flex; flex-direction: column; gap: 12px; }
.ws-sys-advanced .ws-hd { text-align: var(--b-align, start); }
.ws-sys-advanced .ws-hd .ws-heading { font-size: 1.6rem; letter-spacing: -0.035em; }
@container ws-page (min-width: 1024px) { .ws-sys-advanced .ws-site-inner { padding: 48px 32px 56px; --gap: 18px; } }
.ws-shell-advanced .ws-head .ws-socials { justify-content: flex-start; }

/* css/site/responsive.css */
/* GENERATED by App\Domain\Presence\Display\ResponsiveRules::css() — do not edit by hand (ADR-0068 §5).
   Per-block responsive settings as container queries on the page frame. */
@container ws-page (max-width: 599.98px) {
  .ws-r-m-hidden { display: none !important; }
  .ws-mode-canvas .ws-block.ws-r-m-hidden { display: block !important; opacity: .35; }
  .ws-r-m-cols-1 { --cols: 1; }
  .ws-r-m-cols-2 { --cols: 2; }
  .ws-r-m-cols-3 { --cols: 3; }
  .ws-r-m-cols-4 { --cols: 4; }
  .ws-r-m-span-1x1 { grid-column: span 1; grid-row: span 1; }
  .ws-r-m-span-2x1 { grid-column: span 2; grid-row: span 1; }
  .ws-r-m-span-1x2 { grid-column: span 1; grid-row: span 2; }
  .ws-r-m-span-2x2 { grid-column: span 2; grid-row: span 2; }
  .ws-r-m-span-full { grid-column: 1 / -1; }
  .ws-r-m-align-start { --b-align: start; --b-justify: flex-start; text-align: start; }
  .ws-r-m-align-center { --b-align: center; --b-justify: center; text-align: center; }
  .ws-r-m-layout-grid .ws-track { display: grid !important; grid-template-columns: repeat(var(--cols, var(--c, 2)), minmax(0, 1fr)) !important; overflow: visible !important; }
  .ws-r-m-layout-grid .ws-track > * { flex: initial !important; }
  .ws-r-m-layout-grid .ws-car-nav { display: none !important; }
  .ws-r-m-layout-carousel .ws-track { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: none; padding-block-end: 4px; }
  .ws-r-m-layout-carousel .ws-track::-webkit-scrollbar { display: none; }
  .ws-r-m-layout-carousel .ws-track > * { flex: 0 0 var(--car-w, 78%) !important; scroll-snap-align: start; grid-column: auto !important; grid-row: auto !important; }
  .ws-r-m-layout-carousel .ws-car-nav { display: flex !important; }
  .ws-r-m-layout-list .ws-track, .ws-r-m-layout-stack .ws-track { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; overflow: visible !important; }
  .ws-r-m-layout-list .ws-track > *, .ws-r-m-layout-stack .ws-track > * { grid-column: auto !important; grid-row: auto !important; flex: initial !important; }
  .ws-r-m-layout-stack .ws-track { gap: calc(var(--site-gap, 12px) * 1.5) !important; }
  .ws-r-m-layout-list .ws-car-nav, .ws-r-m-layout-stack .ws-car-nav { display: none !important; }
}
@container ws-page (min-width: 600px) and (max-width: 1023.98px) {
  .ws-r-t-hidden { display: none !important; }
  .ws-mode-canvas .ws-block.ws-r-t-hidden { display: block !important; opacity: .35; }
  .ws-r-t-cols-1 { --cols: 1; }
  .ws-r-t-cols-2 { --cols: 2; }
  .ws-r-t-cols-3 { --cols: 3; }
  .ws-r-t-cols-4 { --cols: 4; }
  .ws-r-t-span-1x1 { grid-column: span 1; grid-row: span 1; }
  .ws-r-t-span-2x1 { grid-column: span 2; grid-row: span 1; }
  .ws-r-t-span-1x2 { grid-column: span 1; grid-row: span 2; }
  .ws-r-t-span-2x2 { grid-column: span 2; grid-row: span 2; }
  .ws-r-t-span-full { grid-column: 1 / -1; }
  .ws-r-t-align-start { --b-align: start; --b-justify: flex-start; text-align: start; }
  .ws-r-t-align-center { --b-align: center; --b-justify: center; text-align: center; }
  .ws-r-t-layout-grid .ws-track { display: grid !important; grid-template-columns: repeat(var(--cols, var(--c, 2)), minmax(0, 1fr)) !important; overflow: visible !important; }
  .ws-r-t-layout-grid .ws-track > * { flex: initial !important; }
  .ws-r-t-layout-grid .ws-car-nav { display: none !important; }
  .ws-r-t-layout-carousel .ws-track { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: none; padding-block-end: 4px; }
  .ws-r-t-layout-carousel .ws-track::-webkit-scrollbar { display: none; }
  .ws-r-t-layout-carousel .ws-track > * { flex: 0 0 var(--car-w, 78%) !important; scroll-snap-align: start; grid-column: auto !important; grid-row: auto !important; }
  .ws-r-t-layout-carousel .ws-car-nav { display: flex !important; }
  .ws-r-t-layout-list .ws-track, .ws-r-t-layout-stack .ws-track { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; overflow: visible !important; }
  .ws-r-t-layout-list .ws-track > *, .ws-r-t-layout-stack .ws-track > * { grid-column: auto !important; grid-row: auto !important; flex: initial !important; }
  .ws-r-t-layout-stack .ws-track { gap: calc(var(--site-gap, 12px) * 1.5) !important; }
  .ws-r-t-layout-list .ws-car-nav, .ws-r-t-layout-stack .ws-car-nav { display: none !important; }
}
@container ws-page (min-width: 1024px) {
  .ws-r-d-hidden { display: none !important; }
  .ws-mode-canvas .ws-block.ws-r-d-hidden { display: block !important; opacity: .35; }
  .ws-r-d-cols-1 { --cols: 1; }
  .ws-r-d-cols-2 { --cols: 2; }
  .ws-r-d-cols-3 { --cols: 3; }
  .ws-r-d-cols-4 { --cols: 4; }
  .ws-r-d-span-1x1 { grid-column: span 1; grid-row: span 1; }
  .ws-r-d-span-2x1 { grid-column: span 2; grid-row: span 1; }
  .ws-r-d-span-1x2 { grid-column: span 1; grid-row: span 2; }
  .ws-r-d-span-2x2 { grid-column: span 2; grid-row: span 2; }
  .ws-r-d-span-full { grid-column: 1 / -1; }
  .ws-r-d-align-start { --b-align: start; --b-justify: flex-start; text-align: start; }
  .ws-r-d-align-center { --b-align: center; --b-justify: center; text-align: center; }
  .ws-r-d-layout-grid .ws-track { display: grid !important; grid-template-columns: repeat(var(--cols, var(--c, 2)), minmax(0, 1fr)) !important; overflow: visible !important; }
  .ws-r-d-layout-grid .ws-track > * { flex: initial !important; }
  .ws-r-d-layout-grid .ws-car-nav { display: none !important; }
  .ws-r-d-layout-carousel .ws-track { display: flex !important; overflow-x: auto !important; scroll-snap-type: x mandatory; scroll-padding-inline: 2px; overscroll-behavior-x: contain; scrollbar-width: none; padding-block-end: 4px; }
  .ws-r-d-layout-carousel .ws-track::-webkit-scrollbar { display: none; }
  .ws-r-d-layout-carousel .ws-track > * { flex: 0 0 var(--car-w, 78%) !important; scroll-snap-align: start; grid-column: auto !important; grid-row: auto !important; }
  .ws-r-d-layout-carousel .ws-car-nav { display: flex !important; }
  .ws-r-d-layout-list .ws-track, .ws-r-d-layout-stack .ws-track { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; overflow: visible !important; }
  .ws-r-d-layout-list .ws-track > *, .ws-r-d-layout-stack .ws-track > * { grid-column: auto !important; grid-row: auto !important; flex: initial !important; }
  .ws-r-d-layout-stack .ws-track { gap: calc(var(--site-gap, 12px) * 1.5) !important; }
  .ws-r-d-layout-list .ws-car-nav, .ws-r-d-layout-stack .ws-car-nav { display: none !important; }
}

/* css/utilities.css */
/* Small, deliberate utility layer (ADR-0005). Prefer components. ---------- */
@layer utilities {
  .stack { display: grid; gap: var(--gap, 16px); }
  .stack-sm { display: grid; gap: 8px; }
  .stack-lg { display: grid; gap: 24px; }
  .cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, 8px); }
  .between { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
  .center { display: grid; place-items: center; }
  .grow { flex: 1; min-width: 0; }
  .nowrap { white-space: nowrap; }
  .truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
  .muted { color: var(--text-muted); }
  .subtle { color: var(--text-subtle); }
  .ink { color: var(--ink); }
  .accent-text { color: var(--accent-text); }
  .danger-text { color: var(--danger); }
  .text-sm { font-size: var(--fs-small); }
  .text-xs { font-size: var(--fs-micro); }
  .text-lg { font-size: var(--fs-h3); }
  .fw-500 { font-weight: 500; }
  .mono { font-family: var(--font-mono); }
  .mt-1 { margin-top: 4px; } .mt-2 { margin-top: 8px; } .mt-3 { margin-top: 12px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; }
  .mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
  .w-full { width: 100%; }
  .icon-14 { width: 14px; height: 14px; } .icon-16 { width: 16px; height: 16px; } .icon-18 { width: 18px; height: 18px; } .icon-20 { width: 20px; height: 20px; }
  .hide-mobile { } @media (max-width: 640px) { .hide-mobile { display: none !important; } }
  .show-mobile { display: none !important; } @media (max-width: 640px) { .show-mobile { display: revert !important; } }
  .fade-in { animation: fade-in var(--t-slow) var(--ease-out) both; }
  .rise-in { animation: rise-in var(--t-slow) var(--ease-out) both; }
  @keyframes fade-in { from { opacity: 0; } }
  @keyframes rise-in { from { opacity: 0; transform: translateY(6px); } }
}
